From 0e8320347c7906384e38ddba2352ea77fef8f831 Mon Sep 17 00:00:00 2001 From: Juliusz Sosinowicz Date: Mon, 2 Dec 2024 16:16:33 +0100 Subject: [PATCH] CID also supported in DTLS 1.2 --- configure.ac | 4 ---- wolfssl/wolfcrypt/settings.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index 24775bd1b..3afab6063 100644 --- a/configure.ac +++ b/configure.ac @@ -5018,10 +5018,6 @@ AC_ARG_ENABLE([dtlscid], ) if test "x$ENABLED_DTLS_CID" = "xyes" then - if test "x$ENABLED_DTLS13" != "xyes" - then - AC_MSG_ERROR([You need to enable DTLSv1.3 to use DTLS ConnectionID]) - fi AM_CFLAGS="$AM_CFLAGS -DWOLFSSL_DTLS_CID" fi diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index d5459ae3b..19bb50ed1 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -4138,10 +4138,6 @@ extern void uITRON4_free(void *p) ; #error "DTLS v1.3 requires both WOLFSSL_TLS13 and WOLFSSL_DTLS" #endif -#if defined(WOLFSSL_DTLS_CID) && !defined(WOLFSSL_DTLS13) -#error "ConnectionID is supported for DTLSv1.3 only" -#endif - #if defined(WOLFSSL_QUIC) && defined(WOLFSSL_CALLBACKS) #error WOLFSSL_QUIC is incompatible with WOLFSSL_CALLBACKS. #endif