mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 09:10:53 +02:00
CMake: allow CID in DTLS 1.2
This commit is contained in:
+2
-2
@@ -447,8 +447,8 @@ add_option("WOLFSSL_DTLS_CID"
|
||||
"no" "yes;no")
|
||||
|
||||
if(WOLFSSL_DTLS_CID)
|
||||
if(NOT WOLFSSL_DTLS13)
|
||||
message(FATAL_ERROR "CID are supported only for DTLSv1.3")
|
||||
if(NOT WOLFSSL_DTLS)
|
||||
message(FATAL_ERROR "CID requires DTLS")
|
||||
endif()
|
||||
list(APPEND WOLFSSL_DEFINITIONS "-DWOLFSSL_DTLS_CID")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user