mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-23 02:17:33 +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.')
|
error('kea-shell requires python. Python not found.')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if crypto_opt == 'auto'
|
if crypto_opt == 'botan'
|
||||||
if openssl.found()
|
|
||||||
crypto = openssl
|
|
||||||
elif botan.found()
|
|
||||||
crypto = botan
|
|
||||||
endif
|
|
||||||
elif crypto_opt == 'botan'
|
|
||||||
if botan.found()
|
if botan.found()
|
||||||
crypto = botan
|
crypto = botan
|
||||||
endif
|
endif
|
||||||
|
@ -7,7 +7,7 @@ option(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Dependency-related options
|
# 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('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('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.')
|
option('mysql', type: 'combo', choices: ['', 'auto', 'enabled', 'disabled'], value: '', description: 'Support for MySQL backends.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user