Commit 9637c1fd authored by Nirbheek Chauhan's avatar Nirbheek Chauhan

meson: Fix typos in crypto-library detection

parent 165086e8
...@@ -189,7 +189,7 @@ gthread_dep = dependency('gthread-2.0', ...@@ -189,7 +189,7 @@ gthread_dep = dependency('gthread-2.0',
# Cryto library # Cryto library
opt_cryptolib = get_option('crypto-library') opt_cryptolib = get_option('crypto-library')
message('Crypto librar requested: ' + opt_cryptolib) message('Crypto library requested: ' + opt_cryptolib)
if opt_cryptolib != 'openssl' if opt_cryptolib != 'openssl'
crypto_dep = dependency('gnutls', version: gnutls_req, required: false) crypto_dep = dependency('gnutls', version: gnutls_req, required: false)
cdata.set('HAVE_GNUTLS', crypto_dep.found()) cdata.set('HAVE_GNUTLS', crypto_dep.found())
...@@ -243,7 +243,7 @@ endif ...@@ -243,7 +243,7 @@ endif
if not crypto_dep.found() if not crypto_dep.found()
if opt_cryptolib == 'gnutls' if opt_cryptolib == 'gnutls'
error('GnuTLS requested as crypto library, but not found') error('GnuTLS requested as crypto library, but not found')
elif opt_cryptolib == 'gnutls' elif opt_cryptolib == 'openssl'
error('OpenSSL requested as crypto library, but not found') error('OpenSSL requested as crypto library, but not found')
else else
error('Either GnuTLS or OpenSSL is required as crypto library, but neither was found') error('Either GnuTLS or OpenSSL is required as crypto library, but neither was found')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment