This is a fix over the recent fix in commit
574f44b4
Change-Id: I922f0895ae13d5802aea4775860f642d18c8d86c
else
crypto_dep = dependency('openssl', required: false)
cdata.set('HAVE_OPENSSL', crypto_dep.found())
else
crypto_dep = dependency('openssl', required: false)
cdata.set('HAVE_OPENSSL', crypto_dep.found())
- if not crypto_dep.found() and openssl == 'auto'
+ if not crypto_dep.found() and opt_cryptolib == 'auto'
crypto_dep = dependency('gnutls', version: gnutls_req, required: false)
cdata.set('HAVE_GNUTLS', crypto_dep.found())
endif
crypto_dep = dependency('gnutls', version: gnutls_req, required: false)
cdata.set('HAVE_GNUTLS', crypto_dep.found())
endif