2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 01:49:48 +00:00

[#3731] Simplified crypto option

This commit is contained in:
Francis Dupont 2025-03-07 09:10:23 +01:00
parent cefca689ff
commit a3b76f0ceb
2 changed files with 2 additions and 8 deletions

View File

@ -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

View File

@ -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.')