Commit 9637c1fd authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

meson: Fix typos in crypto-library detection

parent 165086e8
Pipeline #166414 passed with stages
in 6 minutes and 14 seconds
......@@ -189,7 +189,7 @@ gthread_dep = dependency('gthread-2.0',
# Cryto library
opt_cryptolib = get_option('crypto-library')
message('Crypto librar requested: ' + opt_cryptolib)
message('Crypto library requested: ' + opt_cryptolib)
if opt_cryptolib != 'openssl'
crypto_dep = dependency('gnutls', version: gnutls_req, required: false)
cdata.set('HAVE_GNUTLS', crypto_dep.found())
......@@ -243,7 +243,7 @@ endif
if not crypto_dep.found()
if opt_cryptolib == 'gnutls'
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('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