From: Hugo Landau Date: Wed, 30 Aug 2023 12:43:35 +0000 (+0100) Subject: QUIC: Make TLS1_FLAGS_QUIC private X-Git-Tag: openssl-3.2.0-alpha1~54 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d492e34351ae49e899a7c66f1882703a4fedced2;p=thirdparty%2Fopenssl.git QUIC: Make TLS1_FLAGS_QUIC private Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/21905) --- diff --git a/include/internal/ssl.h b/include/internal/ssl.h index 46146a9e7eb..8a0c7974967 100644 --- a/include/internal/ssl.h +++ b/include/internal/ssl.h @@ -18,4 +18,7 @@ typedef void (*ossl_msg_cb)(int write_p, int version, int content_type, int ossl_ssl_get_error(const SSL *s, int i, int check_err); +/* Set if this is the QUIC handshake layer */ +# define TLS1_FLAGS_QUIC 0x2000 + #endif diff --git a/include/openssl/ssl3.h b/include/openssl/ssl3.h index 2747a9d65be..3007a31d52a 100644 --- a/include/openssl/ssl3.h +++ b/include/openssl/ssl3.h @@ -307,9 +307,6 @@ extern "C" { /* Set if extended master secret extension required on renegotiation */ # define TLS1_FLAGS_REQUIRED_EXTMS 0x1000 -/* Set if this is the QUIC handshake layer */ -# define TLS1_FLAGS_QUIC 0x2000 - # define SSL3_MT_HELLO_REQUEST 0 # define SSL3_MT_CLIENT_HELLO 1 # define SSL3_MT_SERVER_HELLO 2