mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 18:08:16 +00:00
[#3731] Simplified crypto option
This commit is contained in:
parent
cefca689ff
commit
a3b76f0ceb
@ -337,13 +337,7 @@ if SHELL_OPT == 'enabled' and not PYTHON.found()
|
||||
error('kea-shell requires python. Python not found.')
|
||||
endif
|
||||
|
||||
if crypto_opt == 'auto'
|
||||
if openssl.found()
|
||||
crypto = openssl
|
||||
elif botan.found()
|
||||
crypto = botan
|
||||
endif
|
||||
elif crypto_opt == 'botan'
|
||||
if crypto_opt == 'botan'
|
||||
if botan.found()
|
||||
crypto = botan
|
||||
endif
|
||||
|
@ -7,7 +7,7 @@ option(
|
||||
)
|
||||
|
||||
# Dependency-related options
|
||||
option('crypto', type: 'combo', choices: ['auto', 'botan', 'openssl'], value: 'auto', description: 'Backend for cryptographical operations. Mandatory.')
|
||||
option('crypto', type: 'combo', choices: ['botan', 'openssl'], value: 'openssl', description: 'Backend for cryptographical operations. Mandatory.')
|
||||
option('krb5', type: 'combo', choices: ['', 'auto', 'enabled', 'disabled'], value: '', description: 'Support for GSS-TSIG. Requires krb5 with gssapi.')
|
||||
option('gtest', type: 'combo', choices: ['', 'auto', 'enabled', 'disabled'], value: '', description: 'Support for unit tests with GTest.')
|
||||
option('mysql', type: 'combo', choices: ['', 'auto', 'enabled', 'disabled'], value: '', description: 'Support for MySQL backends.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user