Default alg setting brought in line with documentation (#744)

This commit is contained in:
Michael Baentsch 2020-05-04 15:43:36 +02:00 committed by GitHub
parent e69bdcbd32
commit 2bcc8ae038
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,11 @@
include(CMakeDependentOption)
set(OQS_KEM_DEFAULT "OQS_KEM_alg_frodokem_640_aes")
set(OQS_SIG_DEFAULT "OQS_SIG_alg_dilithium_2")
if(NOT DEFINED OQS_KEM_DEFAULT)
set(OQS_KEM_DEFAULT "OQS_KEM_alg_frodokem_640_aes")
endif()
if(NOT DEFINED OQS_SIG_DEFAULT)
set(OQS_SIG_DEFAULT "OQS_SIG_alg_dilithium_2")
endif()
if(NOT WIN32)
option(OQS_USE_OPENSSL "" ON)