From: Hugo Landau Date: Tue, 6 Jun 2023 15:59:11 +0000 (+0100) Subject: make update X-Git-Tag: openssl-3.2.0-alpha1~423 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bac3f4da5579887d6e203020e83298676cc982ba;p=thirdparty%2Fopenssl.git make update Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/21135) --- diff --git a/crypto/err/openssl.txt b/crypto/err/openssl.txt index df8b73ba2d9..cbb32969428 100644 --- a/crypto/err/openssl.txt +++ b/crypto/err/openssl.txt @@ -1558,6 +1558,10 @@ SSL_R_SSL_SESSION_ID_HAS_BAD_LENGTH:303:ssl session id has bad length SSL_R_SSL_SESSION_ID_TOO_LONG:408:ssl session id too long SSL_R_SSL_SESSION_VERSION_MISMATCH:210:ssl session version mismatch SSL_R_STILL_IN_INIT:121:still in init +SSL_R_STREAM_FINISHED:365:stream finished +SSL_R_STREAM_RECV_ONLY:366:stream recv only +SSL_R_STREAM_RESET:375:stream reset +SSL_R_STREAM_SEND_ONLY:379:stream send only SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED:1116:tlsv13 alert certificate required SSL_R_TLSV13_ALERT_MISSING_EXTENSION:1109:tlsv13 alert missing extension SSL_R_TLSV1_ALERT_ACCESS_DENIED:1049:tlsv1 alert access denied diff --git a/include/openssl/sslerr.h b/include/openssl/sslerr.h index 81e3fd8c216..b46883e7dbb 100644 --- a/include/openssl/sslerr.h +++ b/include/openssl/sslerr.h @@ -286,6 +286,10 @@ # define SSL_R_SSL_SESSION_ID_TOO_LONG 408 # define SSL_R_SSL_SESSION_VERSION_MISMATCH 210 # define SSL_R_STILL_IN_INIT 121 +# define SSL_R_STREAM_FINISHED 365 +# define SSL_R_STREAM_RECV_ONLY 366 +# define SSL_R_STREAM_RESET 375 +# define SSL_R_STREAM_SEND_ONLY 379 # define SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED 1116 # define SSL_R_TLSV13_ALERT_MISSING_EXTENSION 1109 # define SSL_R_TLSV1_ALERT_ACCESS_DENIED 1049 @@ -355,9 +359,5 @@ # define SSL_R_WRONG_VERSION_NUMBER 267 # define SSL_R_X509_LIB 268 # define SSL_R_X509_VERIFICATION_SETUP_PROBLEMS 269 -# define SSL_R_STREAM_RECV_ONLY 382 -# define SSL_R_STREAM_SEND_ONLY 387 -# define SSL_R_STREAM_RESET 393 -# define SSL_R_STREAM_FINISHED 395 #endif diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index e2e2b65e0d8..403ef59bc1c 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -459,6 +459,10 @@ static const ERR_STRING_DATA SSL_str_reasons[] = { {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SSL_SESSION_VERSION_MISMATCH), "ssl session version mismatch"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STILL_IN_INIT), "still in init"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_FINISHED), "stream finished"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_RECV_ONLY), "stream recv only"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_RESET), "stream reset"}, + {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_STREAM_SEND_ONLY), "stream send only"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV13_ALERT_CERTIFICATE_REQUIRED), "tlsv13 alert certificate required"}, {ERR_PACK(ERR_LIB_SSL, 0, SSL_R_TLSV13_ALERT_MISSING_EXTENSION),