From a86025b05aaae54ef4c42ec9ee435cadf3bc898c Mon Sep 17 00:00:00 2001 From: phuslu Date: Sun, 18 Feb 2024 01:48:25 +0800 Subject: [PATCH] update openssl 1.1.1 patch --- patches/openssl.OpenSSL_1_1_1-stable.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/patches/openssl.OpenSSL_1_1_1-stable.patch b/patches/openssl.OpenSSL_1_1_1-stable.patch index f36320c..10aeeb7 100644 --- a/patches/openssl.OpenSSL_1_1_1-stable.patch +++ b/patches/openssl.OpenSSL_1_1_1-stable.patch @@ -1,5 +1,5 @@ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h -index 9af0c8995e..c77a04cd90 100644 +index 9af0c899..c77a04cd 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1818,6 +1818,7 @@ size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out); @@ -11,7 +11,7 @@ index 9af0c8995e..c77a04cd90 100644 const unsigned char **out, size_t *outlen); diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h -index 76d9fda46e..a29114f215 100644 +index 76d9fda4..a29114f2 100644 --- a/include/openssl/tls1.h +++ b/include/openssl/tls1.h @@ -131,6 +131,15 @@ extern "C" { @@ -31,10 +31,10 @@ index 76d9fda46e..a29114f215 100644 # define TLSEXT_TYPE_session_ticket 35 diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c -index 25a1a44785..5fd60998c8 100644 +index 47adc321..da586733 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c -@@ -5205,6 +5205,106 @@ int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen) +@@ -5219,6 +5219,106 @@ int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen) return 0; } @@ -142,7 +142,7 @@ index 25a1a44785..5fd60998c8 100644 size_t *outlen) { diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h -index 5c79215423..a3038c79ea 100644 +index 5c792154..a3038c79 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -714,6 +714,10 @@ typedef enum tlsext_index_en { @@ -157,7 +157,7 @@ index 5c79215423..a3038c79ea 100644 TLSEXT_IDX_psk, /* Dummy index - must always be the last entry */ diff --git a/ssl/statem/extensions.c b/ssl/statem/extensions.c -index 0f39275baa..7cb1e62287 100644 +index 0f39275b..7cb1e622 100644 --- a/ssl/statem/extensions.c +++ b/ssl/statem/extensions.c @@ -377,6 +377,38 @@ static const EXTENSION_DEFINITION ext_defs[] = {