From f7b2942c041ee803557a009a4554760c56484c9d Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Mon, 7 Aug 2023 20:48:09 +0200 Subject: [PATCH] ssl_local.h: Define SSL_OP_CISCO_ANYCONNECT if undefined in public headers Fixes #21626 Reviewed-by: Hugo Landau Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/21677) --- ssl/ssl_local.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index 82747f6dfb4..d628f402626 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -3019,6 +3019,10 @@ void ossl_ssl_set_custom_record_layer(SSL_CONNECTION *s, SSL_OP_SINGLE_ECDH_USE | \ SSL_OP_EPHEMERAL_RSA ) +/* This option is undefined in public headers with no-dtls1-method. */ +#ifndef SSL_OP_CISCO_ANYCONNECT +# define SSL_OP_CISCO_ANYCONNECT 0 +#endif /* * Options which are no-ops under QUIC or TLSv1.3 and which are therefore * allowed but ignored under QUIC. -- 2.47.2