diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc47e6bf3dff6f..e916ec09c964a3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,7 +33,8 @@ release.
-17.7.1
+17.7.2
+17.7.1
17.7.0
17.6.0
17.5.0
diff --git a/deps/openssl/config/archs/BSD-x86/asm/apps/progs.c b/deps/openssl/config/archs/BSD-x86/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/apps/progs.c
+++ b/deps/openssl/config/archs/BSD-x86/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86/asm/configdata.pm b/deps/openssl/config/archs/BSD-x86/asm/configdata.pm
index a641047e0a6eb4..28e6c0549b259e 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/configdata.pm
+++ b/deps/openssl/config/archs/BSD-x86/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -203,10 +203,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -255,11 +255,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "BSD-x86",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3556,6 +3556,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3655,6 +3658,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5893,6 +5899,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5992,6 +6001,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9729,10 +9741,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12458,6 +12470,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12557,6 +12572,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14795,6 +14813,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14894,6 +14915,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16633,6 +16657,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16666,6 +16691,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19566,6 +19592,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19599,6 +19626,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27262,8 +27290,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27290,7 +27318,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27307,8 +27335,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/BSD-x86/asm/crypto/buildinf.h b/deps/openssl/config/archs/BSD-x86/asm/crypto/buildinf.h
index 2e712738376878..9cdc86eca8728e 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/BSD-x86/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: BSD-x86"
-#define DATE "built on: Tue Dec 14 22:49:16 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:51:37 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/bio.h b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/crypto.h b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/ssl.h b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/BSD-x86/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/BSD-x86/asm/include/progs.h b/deps/openssl/config/archs/BSD-x86/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/BSD-x86/asm/include/progs.h
+++ b/deps/openssl/config/archs/BSD-x86/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/apps/progs.c b/deps/openssl/config/archs/BSD-x86/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/configdata.pm b/deps/openssl/config/archs/BSD-x86/asm_avx2/configdata.pm
index 154622700cea26..3ead4d7f9b6432 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -203,10 +203,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -255,11 +255,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "BSD-x86",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3556,6 +3556,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3655,6 +3658,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5893,6 +5899,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5992,6 +6001,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8008,9 +8020,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8028,7 +8037,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9729,10 +9741,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12458,6 +12470,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12557,6 +12572,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14795,6 +14813,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14894,6 +14915,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16633,6 +16657,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16666,6 +16691,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19566,6 +19592,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19599,6 +19626,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27262,8 +27290,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27290,7 +27318,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27307,8 +27335,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/crypto/buildinf.h
index f7c161b8577d71..dffe36cdccc3c2 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: BSD-x86"
-#define DATE "built on: Tue Dec 14 22:49:37 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:51:50 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/progs.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/BSD-x86/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/apps/progs.c b/deps/openssl/config/archs/BSD-x86/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/configdata.pm b/deps/openssl/config/archs/BSD-x86/no-asm/configdata.pm
index 6a60a5302dd0ed..487299b334e074 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -202,10 +202,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -255,11 +255,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "BSD-x86",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3499,6 +3499,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3598,6 +3601,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5836,6 +5842,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5935,6 +5944,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9646,10 +9658,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12375,6 +12387,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12474,6 +12489,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14712,6 +14730,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14811,6 +14832,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16550,6 +16574,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16583,6 +16608,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19483,6 +19509,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19516,6 +19543,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27078,8 +27106,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27106,7 +27134,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27123,8 +27151,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/BSD-x86/no-asm/crypto/buildinf.h
index c3bb81e8a4c391..25722290c6d10d 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: BSD-x86"
-#define DATE "built on: Tue Dec 14 22:49:57 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:52:04 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/BSD-x86/no-asm/include/progs.h b/deps/openssl/config/archs/BSD-x86/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/BSD-x86/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/BSD-x86/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/apps/progs.c b/deps/openssl/config/archs/BSD-x86_64/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/apps/progs.c
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/configdata.pm b/deps/openssl/config/archs/BSD-x86_64/asm/configdata.pm
index 0aabb457cd8547..3c30036f99a768 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/configdata.pm
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -203,10 +203,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -255,11 +255,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "BSD-x86_64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3559,6 +3559,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3658,6 +3661,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5896,6 +5902,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5995,6 +6004,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8011,9 +8023,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8031,7 +8040,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9774,10 +9786,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12503,6 +12515,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12602,6 +12617,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14840,6 +14858,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14939,6 +14960,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16678,6 +16702,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16711,6 +16736,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19611,6 +19637,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19644,6 +19671,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27431,8 +27459,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27459,7 +27487,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27476,8 +27504,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/crypto/buildinf.h b/deps/openssl/config/archs/BSD-x86_64/asm/crypto/buildinf.h
index 81a96f8049c35b..8c90b3247c3032 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: BSD-x86_64"
-#define DATE "built on: Tue Dec 14 22:50:15 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:52:16 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/bio.h b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/crypto.h b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/ssl.h b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm/include/progs.h b/deps/openssl/config/archs/BSD-x86_64/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm/include/progs.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/apps/progs.c b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/configdata.pm b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/configdata.pm
index 4f8a94a7c937ed..7f53b2e2d4a266 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -203,10 +203,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -255,11 +255,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "BSD-x86_64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3559,6 +3559,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3658,6 +3661,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5896,6 +5902,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5995,6 +6004,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12503,6 +12515,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12602,6 +12617,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14840,6 +14858,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14939,6 +14960,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16678,6 +16702,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16711,6 +16736,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19611,6 +19637,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19644,6 +19671,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27431,8 +27459,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27459,7 +27487,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27476,8 +27504,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h
index 3559295284921c..29225178b43ded 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: BSD-x86_64"
-#define DATE "built on: Tue Dec 14 22:50:43 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:52:34 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/progs.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/apps/progs.c b/deps/openssl/config/archs/BSD-x86_64/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/configdata.pm b/deps/openssl/config/archs/BSD-x86_64/no-asm/configdata.pm
index 3c88f1d32f738f..d63fe8ef50221e 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -202,10 +202,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -255,11 +255,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "BSD-x86_64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3500,6 +3500,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3599,6 +3602,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5837,6 +5843,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5936,6 +5945,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9647,10 +9659,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12376,6 +12388,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12475,6 +12490,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14713,6 +14731,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14812,6 +14833,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16551,6 +16575,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16584,6 +16609,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19484,6 +19510,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19517,6 +19544,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27079,8 +27107,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27107,7 +27135,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27124,8 +27152,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/crypto/buildinf.h
index dd0a57e847aa0a..9d4aa9a694462b 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: BSD-x86_64"
-#define DATE "built on: Tue Dec 14 22:51:10 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:52:51 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/progs.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/BSD-x86_64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/apps/progs.c b/deps/openssl/config/archs/VC-WIN32/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN32/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/configdata.pm b/deps/openssl/config/archs/VC-WIN32/asm/configdata.pm
index 5816474c7a6198..952d7ae9872b05 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN32/asm/configdata.pm
@@ -165,7 +165,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -216,10 +216,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -268,11 +268,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN32",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -287,7 +287,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x559bdf5df6e0)",
+ "RANLIB" => "CODE(0x564903bb20a0)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3604,6 +3604,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3703,6 +3706,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5941,6 +5947,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6040,6 +6049,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12516,6 +12528,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12615,6 +12630,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14853,6 +14871,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14952,6 +14973,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16699,6 +16723,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16732,6 +16757,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19638,6 +19664,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19671,6 +19698,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27341,8 +27369,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27369,7 +27397,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27386,8 +27414,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN32/asm/crypto/buildinf.h
index 645ecc9f2d64e7..6aa9f2de5c01f5 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: "
-#define DATE "built on: Tue Dec 14 23:08:57 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:03:33 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN32/asm/include/progs.h b/deps/openssl/config/archs/VC-WIN32/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/apps/progs.c b/deps/openssl/config/archs/VC-WIN32/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/configdata.pm b/deps/openssl/config/archs/VC-WIN32/asm_avx2/configdata.pm
index 41fa7896e89a98..d6f98464f55c5e 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/configdata.pm
@@ -165,7 +165,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -216,10 +216,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -268,11 +268,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN32",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -287,7 +287,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x55a124919710)",
+ "RANLIB" => "CODE(0x561566bd9380)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3604,6 +3604,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3703,6 +3706,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5941,6 +5947,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6040,6 +6049,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8062,6 +8074,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8081,10 +8096,7 @@ our %unified_info = (
"apps/lib/libapps-lib-tlssrp_depr.o",
"apps/lib/libapps-lib-win32_init.o",
"apps/lib/libtestutil-lib-opt.o",
- "apps/lib/libtestutil-lib-win32_init.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-win32_init.o"
],
"products" => {
"bin" => [
@@ -9784,10 +9796,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12516,6 +12528,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12615,6 +12630,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14853,6 +14871,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14952,6 +14973,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16699,6 +16723,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16732,6 +16757,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19638,6 +19664,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19671,6 +19698,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27341,8 +27369,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27369,7 +27397,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27386,8 +27414,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/crypto/buildinf.h
index 894424abf64f03..cfec505bcb62a1 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: "
-#define DATE "built on: Tue Dec 14 23:09:16 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:03:45 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/progs.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/apps/progs.c b/deps/openssl/config/archs/VC-WIN32/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/configdata.pm b/deps/openssl/config/archs/VC-WIN32/no-asm/configdata.pm
index e2588aec1f1b00..27741848ffbe4f 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/configdata.pm
@@ -163,7 +163,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -215,10 +215,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -268,11 +268,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN32",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -287,7 +287,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x55d20a1d5e40)",
+ "RANLIB" => "CODE(0x55f4c6692920)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3547,6 +3547,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3646,6 +3649,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5884,6 +5890,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5983,6 +5992,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9701,10 +9713,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12433,6 +12445,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12532,6 +12547,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14770,6 +14788,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14869,6 +14890,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16616,6 +16640,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16649,6 +16674,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19555,6 +19581,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19588,6 +19615,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27157,8 +27185,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27185,7 +27213,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27202,8 +27230,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN32/no-asm/crypto/buildinf.h
index d8c351b06b74a6..3184d862959142 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: "
-#define DATE "built on: Tue Dec 14 23:09:35 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:03:57 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN32/no-asm/include/progs.h b/deps/openssl/config/archs/VC-WIN32/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN32/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN32/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/apps/progs.c b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/configdata.pm b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/configdata.pm
index da39c58010c077..d8090707bb6db7 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/configdata.pm
@@ -163,7 +163,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -213,10 +213,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -266,11 +266,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN64-ARM",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -283,7 +283,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x55d4902aca90)",
+ "RANLIB" => "CODE(0x562e2bc2c820)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3539,6 +3539,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3638,6 +3641,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5876,6 +5882,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5975,6 +5984,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12425,6 +12437,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12524,6 +12539,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14762,6 +14780,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14861,6 +14882,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16608,6 +16632,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16641,6 +16666,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19547,6 +19573,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19580,6 +19607,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27149,8 +27177,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27177,7 +27205,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27194,8 +27222,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h
index 1612c4fc062019..9660e2b507804f 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: VC-WIN64-ARM"
-#define DATE "built on: Tue Dec 14 23:09:51 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:04:07 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/progs.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/apps/progs.c b/deps/openssl/config/archs/VC-WIN64A/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/configdata.pm b/deps/openssl/config/archs/VC-WIN64A/asm/configdata.pm
index 1a031d3d3d1431..d2eb08f4967fb2 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/configdata.pm
@@ -168,7 +168,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -219,10 +219,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -271,11 +271,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN64A",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -290,7 +290,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x55a849a36c50)",
+ "RANLIB" => "CODE(0x5579ca06f6e0)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3610,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3709,6 +3712,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5947,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6046,6 +6055,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9821,10 +9833,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12553,6 +12565,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12652,6 +12667,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14890,6 +14908,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14989,6 +15010,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16736,6 +16760,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16769,6 +16794,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19675,6 +19701,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19708,6 +19735,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27502,8 +27530,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27530,7 +27558,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27547,8 +27575,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN64A/asm/crypto/buildinf.h
index 1ab1493e8a6e35..bb6286128b5fc7 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: "
-#define DATE "built on: Tue Dec 14 23:07:47 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:02:50 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm/include/progs.h b/deps/openssl/config/archs/VC-WIN64A/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/apps/progs.c b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/configdata.pm b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/configdata.pm
index 524aa7e66bee79..674429534e35bb 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/configdata.pm
@@ -168,7 +168,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -219,10 +219,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -271,11 +271,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN64A",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -290,7 +290,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x55bfc1739eb0)",
+ "RANLIB" => "CODE(0x5575e5b916a0)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3610,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3709,6 +3712,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5947,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6046,6 +6055,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12553,6 +12565,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12652,6 +12667,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14890,6 +14908,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14989,6 +15010,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16736,6 +16760,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16769,6 +16794,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19675,6 +19701,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19708,6 +19735,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27502,8 +27530,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27530,7 +27558,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27547,8 +27575,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h
index dd427f23c67535..7268ba1317dbe9 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: "
-#define DATE "built on: Tue Dec 14 23:08:14 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:03:06 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/progs.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/apps/progs.c b/deps/openssl/config/archs/VC-WIN64A/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/configdata.pm b/deps/openssl/config/archs/VC-WIN64A/no-asm/configdata.pm
index 19191893d69a62..ff2d55e1b87a97 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/configdata.pm
@@ -166,7 +166,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -218,10 +218,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -271,11 +271,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "VC-WIN64A",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "lib",
@@ -290,7 +290,7 @@ our %target = (
"LDFLAGS" => "/nologo /debug",
"MT" => "mt",
"MTFLAGS" => "-nologo",
- "RANLIB" => "CODE(0x55d60f0492d0)",
+ "RANLIB" => "CODE(0x557288449bd0)",
"RC" => "rc",
"_conf_fname_int" => [
"Configurations/00-base-templates.conf",
@@ -3551,6 +3551,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3650,6 +3653,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5888,6 +5894,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5987,6 +5996,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9705,10 +9717,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12437,6 +12449,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12536,6 +12551,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14774,6 +14792,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14873,6 +14894,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16620,6 +16644,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16653,6 +16678,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19559,6 +19585,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19592,6 +19619,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27161,8 +27189,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27189,7 +27217,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27206,8 +27234,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/crypto/buildinf.h
index de49ca52d7b19f..92b9cdf819a52d 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: "
-#define DATE "built on: Tue Dec 14 23:08:41 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:03:22 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/bio.h
index 9534d5b5546b5f..14f0ada683c157 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/crypto.h
index 69775c2cd0cabe..0aab81b3c437ab 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h
index 5f572d2ef13e81..c1fac576fd3a90 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/ssl.h
index 9376faf6e6fa16..fb02a445b2aca5 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/progs.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/VC-WIN64A/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix-gcc/asm/apps/progs.c b/deps/openssl/config/archs/aix-gcc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/aix-gcc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix-gcc/asm/configdata.pm b/deps/openssl/config/archs/aix-gcc/asm/configdata.pm
index 86160bdcbeae1c..0ea45c0d70b1b4 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/configdata.pm
+++ b/deps/openssl/config/archs/aix-gcc/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "aix-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar -X32",
@@ -3529,6 +3529,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3628,6 +3631,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5866,6 +5872,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5965,6 +5974,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7981,6 +7993,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -7998,10 +8013,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -12436,6 +12448,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12535,6 +12550,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14773,6 +14791,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14872,6 +14893,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16611,6 +16635,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16644,6 +16669,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19544,6 +19570,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19577,6 +19604,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27263,8 +27291,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27291,7 +27319,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27308,8 +27336,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/aix-gcc/asm/crypto/buildinf.h b/deps/openssl/config/archs/aix-gcc/asm/crypto/buildinf.h
index 5849f226e6d67c..2bd8c3c431ac58 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/aix-gcc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: aix-gcc"
-#define DATE "built on: Tue Dec 14 22:47:22 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:50:23 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/bio.h b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/aix-gcc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/aix-gcc/asm/include/progs.h b/deps/openssl/config/archs/aix-gcc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/aix-gcc/asm/include/progs.h
+++ b/deps/openssl/config/archs/aix-gcc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/aix-gcc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/configdata.pm b/deps/openssl/config/archs/aix-gcc/asm_avx2/configdata.pm
index 24570d1bfe0145..7aab380b513801 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "aix-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar -X32",
@@ -3529,6 +3529,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3628,6 +3631,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5866,6 +5872,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5965,6 +5974,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7981,9 +7993,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8001,7 +8010,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9707,10 +9719,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12436,6 +12448,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12535,6 +12550,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14773,6 +14791,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14872,6 +14893,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16611,6 +16635,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16644,6 +16669,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19544,6 +19570,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19577,6 +19604,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27263,8 +27291,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27291,7 +27319,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27308,8 +27336,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/aix-gcc/asm_avx2/crypto/buildinf.h
index e18adbeb2b4aa6..d367ed8eba892b 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: aix-gcc"
-#define DATE "built on: Tue Dec 14 22:47:41 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:50:36 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/progs.h b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/aix-gcc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/aix-gcc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/apps/progs.c b/deps/openssl/config/archs/aix-gcc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/configdata.pm b/deps/openssl/config/archs/aix-gcc/no-asm/configdata.pm
index eb19dd2f92bcf9..b986a5db0cfd27 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -205,10 +205,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "aix-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar -X32",
@@ -3501,6 +3501,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3600,6 +3603,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5838,6 +5844,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5937,6 +5946,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9647,10 +9659,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12376,6 +12388,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12475,6 +12490,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14713,6 +14731,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14812,6 +14833,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16551,6 +16575,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16584,6 +16609,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19484,6 +19510,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19517,6 +19544,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27078,8 +27106,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27106,7 +27134,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27123,8 +27151,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/aix-gcc/no-asm/crypto/buildinf.h
index 283988e84e40eb..70493b1eb3303a 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: aix-gcc"
-#define DATE "built on: Tue Dec 14 22:48:00 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:50:48 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/aix-gcc/no-asm/include/progs.h b/deps/openssl/config/archs/aix-gcc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/aix-gcc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/aix-gcc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/apps/progs.c b/deps/openssl/config/archs/aix64-gcc-as/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/apps/progs.c
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/configdata.pm b/deps/openssl/config/archs/aix64-gcc-as/asm/configdata.pm
index 4f1e1fcc643886..23378c79facc6e 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/configdata.pm
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "aix64-gcc-as",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar -X64",
@@ -3537,6 +3537,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3636,6 +3639,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5874,6 +5880,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5973,6 +5982,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7989,9 +8001,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8009,7 +8018,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -12455,6 +12467,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12554,6 +12569,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14792,6 +14810,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14891,6 +14912,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16630,6 +16654,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16663,6 +16688,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19563,6 +19589,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19596,6 +19623,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27326,8 +27354,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27354,7 +27382,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27371,8 +27399,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/buildinf.h b/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/buildinf.h
index e89b880b62728c..e110bc290576ad 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: aix64-gcc-as"
-#define DATE "built on: Tue Dec 14 22:48:18 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:51:00 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/bio.h b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/crypto.h b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/ssl.h b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/include/progs.h b/deps/openssl/config/archs/aix64-gcc-as/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/include/progs.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/apps/progs.c b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/configdata.pm b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/configdata.pm
index 8a5bfb9002fb86..26373a93f08da9 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "aix64-gcc-as",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar -X64",
@@ -3537,6 +3537,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3636,6 +3639,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5874,6 +5880,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5973,6 +5982,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7989,6 +8001,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8006,10 +8021,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -9726,10 +9738,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12455,6 +12467,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12554,6 +12569,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14792,6 +14810,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14891,6 +14912,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16630,6 +16654,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16663,6 +16688,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19563,6 +19589,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19596,6 +19623,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27326,8 +27354,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27354,7 +27382,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27371,8 +27399,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h
index c9acee50358c70..e7e83ad5f79f7c 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: aix64-gcc-as"
-#define DATE "built on: Tue Dec 14 22:48:38 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:51:12 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/progs.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/apps/progs.c b/deps/openssl/config/archs/aix64-gcc-as/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/configdata.pm b/deps/openssl/config/archs/aix64-gcc-as/no-asm/configdata.pm
index d87decd504b054..b5ba0ae92deb11 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -205,10 +205,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "aix64-gcc-as",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar -X64",
@@ -3503,6 +3503,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3602,6 +3605,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5840,6 +5846,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5939,6 +5948,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9649,10 +9661,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12378,6 +12390,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12477,6 +12492,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14715,6 +14733,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14814,6 +14835,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16553,6 +16577,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16586,6 +16611,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19486,6 +19512,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19519,6 +19546,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27080,8 +27108,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27108,7 +27136,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27125,8 +27153,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/crypto/buildinf.h
index a0eed31c4a7f2c..291eb4728f21b2 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: aix64-gcc-as"
-#define DATE "built on: Tue Dec 14 22:48:58 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:51:25 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/progs.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/apps/progs.c b/deps/openssl/config/archs/darwin-i386-cc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/configdata.pm b/deps/openssl/config/archs/darwin-i386-cc/asm/configdata.pm
index d4d10acbf01440..eca35ef678f173 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/configdata.pm
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin-i386-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3558,6 +3558,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3657,6 +3660,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5895,6 +5901,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5994,6 +6003,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8002,9 +8014,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8022,7 +8031,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -12450,6 +12462,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12549,6 +12564,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14787,6 +14805,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14886,6 +14907,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16608,6 +16632,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16641,6 +16666,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19533,6 +19559,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19566,6 +19593,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27225,8 +27253,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27253,7 +27281,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27270,8 +27298,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/crypto/buildinf.h b/deps/openssl/config/archs/darwin-i386-cc/asm/crypto/buildinf.h
index 98dc2b1e4c55d6..e8183e0ca06f35 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin-i386-cc"
-#define DATE "built on: Tue Dec 14 22:52:40 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:53:48 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/bio.h b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm/include/progs.h b/deps/openssl/config/archs/darwin-i386-cc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm/include/progs.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/configdata.pm b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/configdata.pm
index c2fda9724898f8..bc45dbb69378fc 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin-i386-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3558,6 +3558,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3657,6 +3660,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5895,6 +5901,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5994,6 +6003,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9721,10 +9733,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12450,6 +12462,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12549,6 +12564,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14787,6 +14805,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14886,6 +14907,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16608,6 +16632,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16641,6 +16666,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19533,6 +19559,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19566,6 +19593,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27225,8 +27253,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27253,7 +27281,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27270,8 +27298,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h
index 9d6f96d9610368..e1e9f9519ed788 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin-i386-cc"
-#define DATE "built on: Tue Dec 14 22:53:00 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:54:01 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/progs.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/apps/progs.c b/deps/openssl/config/archs/darwin-i386-cc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/configdata.pm b/deps/openssl/config/archs/darwin-i386-cc/no-asm/configdata.pm
index dbed3b2890dd42..67d08ff0d8cf3b 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -205,10 +205,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin-i386-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3501,6 +3501,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3600,6 +3603,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5838,6 +5844,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5937,6 +5946,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12367,6 +12379,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12466,6 +12481,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14704,6 +14722,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14803,6 +14824,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16525,6 +16549,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16558,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19450,6 +19476,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19483,6 +19510,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27041,8 +27069,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27069,7 +27097,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27086,8 +27114,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/crypto/buildinf.h
index cc4f90dcb2bd5b..f49070610f1176 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin-i386-cc"
-#define DATE "built on: Tue Dec 14 22:53:20 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:54:14 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/progs.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/apps/progs.c b/deps/openssl/config/archs/darwin64-arm64-cc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/configdata.pm b/deps/openssl/config/archs/darwin64-arm64-cc/asm/configdata.pm
index ce5de4cc76d6fa..6a4d43ea078f6d 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/configdata.pm
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin64-arm64-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3530,6 +3530,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3629,6 +3632,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5867,6 +5873,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5966,6 +5975,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7974,6 +7986,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -7991,10 +8006,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -12420,6 +12432,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12519,6 +12534,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14757,6 +14775,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14856,6 +14877,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16578,6 +16602,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16611,6 +16636,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19566,6 +19592,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19599,6 +19626,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27250,8 +27278,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27278,7 +27306,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27295,8 +27323,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/crypto/buildinf.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/crypto/buildinf.h
index d744f9bc72e0a3..212130b01d2c4f 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin64-arm64-cc"
-#define DATE "built on: Tue Dec 14 22:53:37 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:54:26 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/bio.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/progs.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/progs.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/configdata.pm b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/configdata.pm
index 5b3e6fb58605bb..94230e43af5cde 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin64-arm64-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3530,6 +3530,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3629,6 +3632,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5867,6 +5873,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5966,6 +5975,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12420,6 +12432,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12519,6 +12534,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14757,6 +14775,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14856,6 +14877,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16578,6 +16602,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16611,6 +16636,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19566,6 +19592,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19599,6 +19626,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27250,8 +27278,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27278,7 +27306,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27295,8 +27323,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h
index b4d0d6c5329d9a..65747e9b81711c 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin64-arm64-cc"
-#define DATE "built on: Tue Dec 14 22:53:57 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:54:38 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/progs.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/apps/progs.c b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/configdata.pm b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/configdata.pm
index eebfcf3c34a4af..786a6f813b452a 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -205,10 +205,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin64-arm64-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3501,6 +3501,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3600,6 +3603,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5838,6 +5844,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5937,6 +5946,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9638,10 +9650,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12367,6 +12379,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12466,6 +12481,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14704,6 +14722,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14803,6 +14824,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16525,6 +16549,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16558,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19450,6 +19476,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19483,6 +19510,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27041,8 +27069,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27069,7 +27097,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27086,8 +27114,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h
index 6aa5ff9b70e127..9bc4019bdce743 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin64-arm64-cc"
-#define DATE "built on: Tue Dec 14 22:54:16 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:54:51 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/progs.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/apps/progs.c b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/configdata.pm b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/configdata.pm
index f4e7fbcfb6ff4e..d295cb943f2e14 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/configdata.pm
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin64-x86_64-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3560,6 +3560,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3659,6 +3662,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5897,6 +5903,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5996,6 +6005,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9765,10 +9777,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12494,6 +12506,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12593,6 +12608,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14831,6 +14849,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14930,6 +14951,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16652,6 +16676,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16685,6 +16710,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19577,6 +19603,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19610,6 +19637,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27393,8 +27421,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27421,7 +27449,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27438,8 +27466,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h
index b736b7815e0dbc..15b375f5905474 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin64-x86_64-cc"
-#define DATE "built on: Tue Dec 14 22:51:28 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:53:03 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/progs.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/progs.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/configdata.pm b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/configdata.pm
index 8d80e2c4587dd9..883f9def3040f0 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin64-x86_64-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3560,6 +3560,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3659,6 +3662,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5897,6 +5903,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5996,6 +6005,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12494,6 +12506,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12593,6 +12608,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14831,6 +14849,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14930,6 +14951,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16652,6 +16676,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16685,6 +16710,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19577,6 +19603,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19610,6 +19637,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27393,8 +27421,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27421,7 +27449,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27438,8 +27466,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h
index 3ad2583c66dc50..f3a69ba20bcf7f 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin64-x86_64-cc"
-#define DATE "built on: Tue Dec 14 22:51:55 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:53:20 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/apps/progs.c b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/configdata.pm b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/configdata.pm
index 2002ef5b7cf1f7..5da755d1112644 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -205,10 +205,10 @@ our %config = (
],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -258,11 +258,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "darwin64-x86_64-cc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3501,6 +3501,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3600,6 +3603,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5838,6 +5844,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5937,6 +5946,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9638,10 +9650,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12367,6 +12379,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12466,6 +12481,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14704,6 +14722,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14803,6 +14824,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16525,6 +16549,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16558,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19450,6 +19476,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19483,6 +19510,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27041,8 +27069,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27069,7 +27097,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27086,8 +27114,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h
index 6d1cf3f755d9cf..4d6ed145b93e14 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: darwin64-x86_64-cc"
-#define DATE "built on: Tue Dec 14 22:52:22 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:53:37 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/progs.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/apps/progs.c b/deps/openssl/config/archs/linux-aarch64/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-aarch64/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/configdata.pm b/deps/openssl/config/archs/linux-aarch64/asm/configdata.pm
index 7276e96a072dd2..e8ce9e0223793f 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-aarch64/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-aarch64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3537,6 +3537,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3636,6 +3639,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5874,6 +5880,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5973,6 +5982,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7989,9 +8001,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8009,7 +8018,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9707,10 +9719,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12436,6 +12448,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12535,6 +12550,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14773,6 +14791,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14872,6 +14893,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16611,6 +16635,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16644,6 +16669,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19607,6 +19633,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19640,6 +19667,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27294,8 +27322,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27322,7 +27350,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27339,8 +27367,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-aarch64/asm/crypto/buildinf.h
index 60835a694f1a2c..ca7a6d0f3fbdb7 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-aarch64"
-#define DATE "built on: Tue Dec 14 22:54:34 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:55:02 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-aarch64/asm/include/progs.h b/deps/openssl/config/archs/linux-aarch64/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-aarch64/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-aarch64/asm_avx2/configdata.pm
index e8b4803c758996..9e61388a62eb9a 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-aarch64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3537,6 +3537,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3636,6 +3639,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5874,6 +5880,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5973,6 +5982,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9707,10 +9719,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12436,6 +12448,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12535,6 +12550,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14773,6 +14791,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14872,6 +14893,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16611,6 +16635,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16644,6 +16669,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19607,6 +19633,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19640,6 +19667,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27294,8 +27322,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27322,7 +27350,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27339,8 +27367,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/buildinf.h
index d54450225c1b1e..c89830e00655a5 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-aarch64"
-#define DATE "built on: Tue Dec 14 22:54:54 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:55:15 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-aarch64/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/configdata.pm b/deps/openssl/config/archs/linux-aarch64/no-asm/configdata.pm
index 72044eb9c89018..7bc4d111b6d7e7 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-aarch64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3508,6 +3508,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3607,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5845,6 +5851,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5944,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7960,9 +7972,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -7980,7 +7989,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -12383,6 +12395,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12482,6 +12497,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14720,6 +14738,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14819,6 +14840,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16558,6 +16582,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16591,6 +16616,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19491,6 +19517,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19524,6 +19551,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27085,8 +27113,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27113,7 +27141,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27130,8 +27158,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-aarch64/no-asm/crypto/buildinf.h
index ead39fc50faf28..8ae5b98082a957 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-aarch64"
-#define DATE "built on: Tue Dec 14 22:55:13 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:55:27 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-aarch64/no-asm/include/progs.h b/deps/openssl/config/archs/linux-aarch64/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-aarch64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-aarch64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-armv4/asm/apps/progs.c b/deps/openssl/config/archs/linux-armv4/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-armv4/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-armv4/asm/configdata.pm b/deps/openssl/config/archs/linux-armv4/asm/configdata.pm
index 16128bebb9f3af..9d660aba7ead27 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-armv4/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-armv4",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3546,6 +3546,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3645,6 +3648,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5883,6 +5889,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5982,6 +5991,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12448,6 +12460,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12547,6 +12562,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14785,6 +14803,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14884,6 +14905,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16623,6 +16647,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16656,6 +16681,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19646,6 +19672,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19679,6 +19706,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27345,8 +27373,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27373,7 +27401,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27390,8 +27418,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-armv4/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-armv4/asm/crypto/buildinf.h
index e163e1d9c9717f..b8614f3f292559 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-armv4/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-armv4"
-#define DATE "built on: Tue Dec 14 22:55:31 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:55:39 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-armv4/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-armv4/asm/include/progs.h b/deps/openssl/config/archs/linux-armv4/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-armv4/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-armv4/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-armv4/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-armv4/asm_avx2/configdata.pm
index 0c843ffcef02c2..04256389787335 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-armv4",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3546,6 +3546,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3645,6 +3648,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5883,6 +5889,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5982,6 +5991,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12448,6 +12460,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12547,6 +12562,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14785,6 +14803,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14884,6 +14905,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16623,6 +16647,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16656,6 +16681,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19646,6 +19672,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19679,6 +19706,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27345,8 +27373,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27373,7 +27401,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27390,8 +27418,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/buildinf.h
index 21963089a52262..851bd2eac08626 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-armv4"
-#define DATE "built on: Tue Dec 14 22:55:51 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:55:52 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-armv4/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-armv4/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/configdata.pm b/deps/openssl/config/archs/linux-armv4/no-asm/configdata.pm
index 06556bf41d21f6..7de53f5df7cff3 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-armv4",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3508,6 +3508,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3607,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5845,6 +5851,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5944,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9654,10 +9666,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12383,6 +12395,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12482,6 +12497,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14720,6 +14738,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14819,6 +14840,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16558,6 +16582,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16591,6 +16616,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19491,6 +19517,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19524,6 +19551,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27085,8 +27113,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27113,7 +27141,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27130,8 +27158,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-armv4/no-asm/crypto/buildinf.h
index 07835a23ff426c..30115d52b7d215 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-armv4"
-#define DATE "built on: Tue Dec 14 22:56:11 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:56:05 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-armv4/no-asm/include/progs.h b/deps/openssl/config/archs/linux-armv4/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-armv4/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-armv4/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-elf/asm/apps/progs.c b/deps/openssl/config/archs/linux-elf/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-elf/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-elf/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-elf/asm/configdata.pm b/deps/openssl/config/archs/linux-elf/asm/configdata.pm
index ab1d9f7cfa1acc..070fcd7dd6a25d 100644
--- a/deps/openssl/config/archs/linux-elf/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-elf/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-elf",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3564,6 +3564,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3663,6 +3666,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5901,6 +5907,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6000,6 +6009,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8016,9 +8028,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8036,7 +8045,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9736,10 +9748,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12465,6 +12477,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12564,6 +12579,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14802,6 +14820,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14901,6 +14922,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16640,6 +16664,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16673,6 +16698,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19573,6 +19599,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19606,6 +19633,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27268,8 +27296,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27296,7 +27324,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27313,8 +27341,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-elf/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-elf/asm/crypto/buildinf.h
index f88f9606d4cd94..149a2ca65a43f5 100644
--- a/deps/openssl/config/archs/linux-elf/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-elf/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-elf"
-#define DATE "built on: Tue Dec 14 22:56:29 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:56:16 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-elf/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-elf/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-elf/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-elf/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-elf/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-elf/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-elf/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-elf/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-elf/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-elf/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-elf/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-elf/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-elf/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-elf/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-elf/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-elf/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-elf/asm/include/progs.h b/deps/openssl/config/archs/linux-elf/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-elf/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-elf/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-elf/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-elf/asm_avx2/configdata.pm
index f3738dc873eab8..0a88f730ec7cdf 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-elf",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3564,6 +3564,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3663,6 +3666,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5901,6 +5907,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6000,6 +6009,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8016,9 +8028,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8036,7 +8045,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -12465,6 +12477,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12564,6 +12579,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14802,6 +14820,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14901,6 +14922,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16640,6 +16664,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16673,6 +16698,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19573,6 +19599,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19606,6 +19633,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27268,8 +27296,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27296,7 +27324,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27313,8 +27341,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/buildinf.h
index 800a90735e7113..2323a5f85602a9 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-elf"
-#define DATE "built on: Tue Dec 14 22:56:49 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:56:30 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-elf/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-elf/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-elf/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-elf/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-elf/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-elf/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/configdata.pm b/deps/openssl/config/archs/linux-elf/no-asm/configdata.pm
index ee55653d3728b5..2133bdf1db9cb3 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-elf/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-elf",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3507,6 +3507,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3606,6 +3609,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5844,6 +5850,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5943,6 +5952,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7959,9 +7971,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -7979,7 +7988,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9653,10 +9665,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12382,6 +12394,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12481,6 +12496,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14719,6 +14737,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14818,6 +14839,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16557,6 +16581,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16590,6 +16615,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19490,6 +19516,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19523,6 +19550,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27084,8 +27112,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27112,7 +27140,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27129,8 +27157,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-elf/no-asm/crypto/buildinf.h
index 9073acf4de1ded..511578f6773257 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-elf/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-elf"
-#define DATE "built on: Tue Dec 14 22:57:10 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:56:43 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-elf/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-elf/no-asm/include/progs.h b/deps/openssl/config/archs/linux-elf/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-elf/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-elf/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc/asm/apps/progs.c b/deps/openssl/config/archs/linux-ppc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc/asm/configdata.pm b/deps/openssl/config/archs/linux-ppc/asm/configdata.pm
index 3066ca4afb339d..8bf0ffd9fd859e 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3536,6 +3536,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3635,6 +3638,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5873,6 +5879,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5972,6 +5981,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9714,10 +9726,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12443,6 +12455,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12542,6 +12557,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14780,6 +14798,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14879,6 +14900,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16618,6 +16642,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16651,6 +16676,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19551,6 +19577,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19584,6 +19611,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27270,8 +27298,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27298,7 +27326,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27315,8 +27343,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc/asm/crypto/buildinf.h
index c8de39e03966b2..6e88159ddcd241 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc"
-#define DATE "built on: Tue Dec 14 22:59:54 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:57:41 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc/asm/include/progs.h b/deps/openssl/config/archs/linux-ppc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-ppc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-ppc/asm_avx2/configdata.pm
index 2e221b458bf44b..637e6f5956ac35 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3536,6 +3536,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3635,6 +3638,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5873,6 +5879,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5972,6 +5981,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7988,6 +8000,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8005,10 +8020,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -9714,10 +9726,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12443,6 +12455,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12542,6 +12557,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14780,6 +14798,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14879,6 +14900,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16618,6 +16642,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16651,6 +16676,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19551,6 +19577,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19584,6 +19611,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27270,8 +27298,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27298,7 +27326,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27315,8 +27343,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc/asm_avx2/crypto/buildinf.h
index 6778eaba93deb2..b3d9a45781b1b4 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc"
-#define DATE "built on: Tue Dec 14 23:00:13 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:57:54 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-ppc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/configdata.pm b/deps/openssl/config/archs/linux-ppc/no-asm/configdata.pm
index fbb699e78b1029..365db061e04a3b 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3508,6 +3508,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3607,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5845,6 +5851,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5944,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12383,6 +12395,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12482,6 +12497,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14720,6 +14738,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14819,6 +14840,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16558,6 +16582,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16591,6 +16616,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19491,6 +19517,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19524,6 +19551,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27085,8 +27113,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27113,7 +27141,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27130,8 +27158,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc/no-asm/crypto/buildinf.h
index 24d53b153e2f5b..f8ef695d2361b3 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc"
-#define DATE "built on: Tue Dec 14 23:00:32 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:58:07 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc/no-asm/include/progs.h b/deps/openssl/config/archs/linux-ppc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/apps/progs.c b/deps/openssl/config/archs/linux-ppc64/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc64/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/configdata.pm b/deps/openssl/config/archs/linux-ppc64/asm/configdata.pm
index 56ca04469341c4..fe52d34c32d38d 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc64/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3543,6 +3543,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3642,6 +3645,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5880,6 +5886,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5979,6 +5988,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7995,9 +8007,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8015,7 +8024,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9732,10 +9744,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12461,6 +12473,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12560,6 +12575,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14798,6 +14816,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14897,6 +14918,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16636,6 +16660,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16669,6 +16694,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19569,6 +19595,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19602,6 +19629,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27332,8 +27360,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27360,7 +27388,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27377,8 +27405,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc64/asm/crypto/buildinf.h
index d18b9357f7cf9d..7ce40af96018a2 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc64"
-#define DATE "built on: Tue Dec 14 23:00:50 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:58:18 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc64/asm/include/progs.h b/deps/openssl/config/archs/linux-ppc64/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-ppc64/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-ppc64/asm_avx2/configdata.pm
index f76e725e7b9c74..9fce6bb1b54075 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3543,6 +3543,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3642,6 +3645,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5880,6 +5886,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5979,6 +5988,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9732,10 +9744,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12461,6 +12473,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12560,6 +12575,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14798,6 +14816,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14897,6 +14918,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16636,6 +16660,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16669,6 +16694,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19569,6 +19595,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19602,6 +19629,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27332,8 +27360,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27360,7 +27388,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27377,8 +27405,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc64/asm_avx2/crypto/buildinf.h
index 6b1d5c738010f2..7a6e11f192a8d5 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc64"
-#define DATE "built on: Tue Dec 14 23:01:11 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:58:31 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc64/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-ppc64/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/configdata.pm b/deps/openssl/config/archs/linux-ppc64/no-asm/configdata.pm
index e23a8e6abb4029..a3aef089fdeff0 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3509,6 +3509,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3608,6 +3611,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5846,6 +5852,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5945,6 +5954,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9655,10 +9667,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12384,6 +12396,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12483,6 +12498,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14721,6 +14739,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14820,6 +14841,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16559,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16592,6 +16617,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19492,6 +19518,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19525,6 +19552,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27086,8 +27114,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27114,7 +27142,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27131,8 +27159,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc64/no-asm/crypto/buildinf.h
index 5a859519f0ea87..7dab9ba4129f54 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc64"
-#define DATE "built on: Tue Dec 14 23:01:30 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:58:44 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc64/no-asm/include/progs.h b/deps/openssl/config/archs/linux-ppc64/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/apps/progs.c b/deps/openssl/config/archs/linux-ppc64le/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/configdata.pm b/deps/openssl/config/archs/linux-ppc64le/asm/configdata.pm
index f5278a47c89778..193f2339c59b8e 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc64le",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3542,6 +3542,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3641,6 +3644,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5879,6 +5885,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5978,6 +5987,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7994,6 +8006,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8011,10 +8026,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -12460,6 +12472,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12559,6 +12574,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14797,6 +14815,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14896,6 +14917,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16635,6 +16659,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16668,6 +16693,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19568,6 +19594,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19601,6 +19628,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27331,8 +27359,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27359,7 +27387,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27376,8 +27404,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc64le/asm/crypto/buildinf.h
index 409a0616a436e4..d059b3619a42d7 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc64le"
-#define DATE "built on: Tue Dec 14 23:01:48 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:58:56 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/include/progs.h b/deps/openssl/config/archs/linux-ppc64le/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/configdata.pm
index aa62bb3f298a31..e4dea7b62debe0 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc64le",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3542,6 +3542,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3641,6 +3644,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5879,6 +5885,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5978,6 +5987,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9731,10 +9743,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12460,6 +12472,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12559,6 +12574,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14797,6 +14815,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14896,6 +14917,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16635,6 +16659,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16668,6 +16693,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19568,6 +19594,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19601,6 +19628,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27331,8 +27359,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27359,7 +27387,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27376,8 +27404,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h
index f493e7d28bce7b..a28e1a3cf2d469 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc64le"
-#define DATE "built on: Tue Dec 14 23:02:08 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:59:09 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-ppc64le/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/configdata.pm b/deps/openssl/config/archs/linux-ppc64le/no-asm/configdata.pm
index 8c040c4abf1130..550387361dade3 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-ppc64le",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3508,6 +3508,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3607,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5845,6 +5851,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5944,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9654,10 +9666,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12383,6 +12395,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12482,6 +12497,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14720,6 +14738,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14819,6 +14840,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16558,6 +16582,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16591,6 +16616,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19491,6 +19517,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19524,6 +19551,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27085,8 +27113,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27113,7 +27141,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27130,8 +27158,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/crypto/buildinf.h
index 752b17e9c255e7..41d4942550473f 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-ppc64le"
-#define DATE "built on: Tue Dec 14 23:02:28 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:59:22 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/progs.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-ppc64le/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/apps/progs.c b/deps/openssl/config/archs/linux-x86_64/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-x86_64/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/configdata.pm b/deps/openssl/config/archs/linux-x86_64/asm/configdata.pm
index f2ac3836f23a2d..f481973fa3e631 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-x86_64/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-x86_64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3568,6 +3568,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3667,6 +3670,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5905,6 +5911,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6004,6 +6013,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8020,9 +8032,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8040,7 +8049,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9782,10 +9794,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12511,6 +12523,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12610,6 +12625,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14848,6 +14866,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14947,6 +14968,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16686,6 +16710,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16719,6 +16744,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19619,6 +19645,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19652,6 +19679,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27438,8 +27466,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27466,7 +27494,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27483,8 +27511,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-x86_64/asm/crypto/buildinf.h
index 3ecd3f1107a5c5..26f0e294c81d20 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-x86_64"
-#define DATE "built on: Tue Dec 14 22:58:41 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:56:55 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-x86_64/asm/include/progs.h b/deps/openssl/config/archs/linux-x86_64/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux-x86_64/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux-x86_64/asm_avx2/configdata.pm
index 880e11637ccbb5..a02a9b61e140e8 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-x86_64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3568,6 +3568,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3667,6 +3670,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5905,6 +5911,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -6004,6 +6013,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8020,6 +8032,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8037,10 +8052,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -12511,6 +12523,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12610,6 +12625,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14848,6 +14866,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14947,6 +14968,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16686,6 +16710,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16719,6 +16744,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19619,6 +19645,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19652,6 +19679,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27438,8 +27466,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27466,7 +27494,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27483,8 +27511,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/crypto/buildinf.h
index 6a1ecafeabef62..c9f660b8af31e7 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-x86_64"
-#define DATE "built on: Tue Dec 14 22:59:08 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:57:13 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/apps/progs.c b/deps/openssl/config/archs/linux-x86_64/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/configdata.pm b/deps/openssl/config/archs/linux-x86_64/no-asm/configdata.pm
index ea3962eb5b5c4c..0a546d5c0d4b2f 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux-x86_64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3509,6 +3509,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3608,6 +3611,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5846,6 +5852,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5945,6 +5954,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9655,10 +9667,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12384,6 +12396,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12483,6 +12498,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14721,6 +14739,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14820,6 +14841,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16559,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16592,6 +16617,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19492,6 +19518,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19525,6 +19552,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27086,8 +27114,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27114,7 +27142,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27131,8 +27159,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux-x86_64/no-asm/crypto/buildinf.h
index b0f788150adec8..e39a2a508376f0 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux-x86_64"
-#define DATE "built on: Tue Dec 14 22:59:36 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:57:30 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux-x86_64/no-asm/include/progs.h b/deps/openssl/config/archs/linux-x86_64/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux-x86_64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux-x86_64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/apps/progs.c b/deps/openssl/config/archs/linux32-s390x/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux32-s390x/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/configdata.pm b/deps/openssl/config/archs/linux32-s390x/asm/configdata.pm
index 859dd791585d34..15a15f57141d08 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux32-s390x/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux32-s390x",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3549,6 +3549,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3648,6 +3651,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5886,6 +5892,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5985,6 +5994,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12442,6 +12454,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12541,6 +12556,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14779,6 +14797,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14878,6 +14899,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16617,6 +16641,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16650,6 +16675,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19604,6 +19630,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19637,6 +19664,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27267,8 +27295,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27295,7 +27323,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27312,8 +27340,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux32-s390x/asm/crypto/buildinf.h
index be5cba632d6cfb..b6d4dceac067b6 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux32-s390x"
-#define DATE "built on: Tue Dec 14 23:02:46 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:59:33 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux32-s390x/asm/include/progs.h b/deps/openssl/config/archs/linux32-s390x/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux32-s390x/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux32-s390x/asm_avx2/configdata.pm
index 9adbb38a2fc36d..dae41542d5b29c 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux32-s390x",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3549,6 +3549,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3648,6 +3651,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5886,6 +5892,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5985,6 +5994,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8001,6 +8013,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8018,10 +8033,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -12442,6 +12454,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12541,6 +12556,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14779,6 +14797,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14878,6 +14899,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16617,6 +16641,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16650,6 +16675,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19604,6 +19630,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19637,6 +19664,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27267,8 +27295,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27295,7 +27323,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27312,8 +27340,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/buildinf.h
index b4fac65d925736..f2a662185f4393 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux32-s390x"
-#define DATE "built on: Tue Dec 14 23:03:06 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:59:46 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/apps/progs.c b/deps/openssl/config/archs/linux32-s390x/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/configdata.pm b/deps/openssl/config/archs/linux32-s390x/no-asm/configdata.pm
index 75d0a625f18613..c76e01eeba4dc8 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux32-s390x",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3508,6 +3508,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3607,6 +3610,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5845,6 +5851,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5944,6 +5953,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9654,10 +9666,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12383,6 +12395,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12482,6 +12497,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14720,6 +14738,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14819,6 +14840,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16558,6 +16582,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16591,6 +16616,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19491,6 +19517,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19524,6 +19551,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27085,8 +27113,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27113,7 +27141,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27130,8 +27158,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux32-s390x/no-asm/crypto/buildinf.h
index a3144ccfb08766..c392d8b8ea34da 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux32-s390x"
-#define DATE "built on: Tue Dec 14 23:03:25 2021 UTC"
+#define DATE "built on: Wed Mar 16 04:59:59 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux32-s390x/no-asm/include/progs.h b/deps/openssl/config/archs/linux32-s390x/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux32-s390x/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux32-s390x/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/apps/progs.c b/deps/openssl/config/archs/linux64-mips64/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-mips64/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/configdata.pm b/deps/openssl/config/archs/linux64-mips64/asm/configdata.pm
index 3a3794d80049e5..0f649d0f33f5f4 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-mips64/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-mips64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3530,6 +3530,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3629,6 +3632,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5867,6 +5873,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5966,6 +5975,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12415,6 +12427,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12514,6 +12529,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14752,6 +14770,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14851,6 +14872,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16590,6 +16614,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16623,6 +16648,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19568,6 +19594,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19601,6 +19628,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27199,8 +27227,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27227,7 +27255,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27244,8 +27272,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux64-mips64/asm/crypto/buildinf.h
index cdc99a9124bba1..118c8e7adc10cb 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-mips64"
-#define DATE "built on: Tue Dec 14 23:04:41 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:00:48 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-mips64/asm/include/progs.h b/deps/openssl/config/archs/linux64-mips64/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux64-mips64/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux64-mips64/asm_avx2/configdata.pm
index 0ce49dd56985c2..2f909dc21e4193 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-mips64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3530,6 +3530,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3629,6 +3632,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5867,6 +5873,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5966,6 +5975,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7982,9 +7994,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8002,7 +8011,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -12415,6 +12427,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12514,6 +12529,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14752,6 +14770,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14851,6 +14872,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16590,6 +16614,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16623,6 +16648,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19568,6 +19594,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19601,6 +19628,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27199,8 +27227,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27227,7 +27255,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27244,8 +27272,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/crypto/buildinf.h
index 4ab5d5da597d2e..2d9d5456ad71fb 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-mips64"
-#define DATE "built on: Tue Dec 14 23:04:59 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:01:00 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/apps/progs.c b/deps/openssl/config/archs/linux64-mips64/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/configdata.pm b/deps/openssl/config/archs/linux64-mips64/no-asm/configdata.pm
index 17b3316d862d30..31482741071082 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-mips64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3509,6 +3509,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3608,6 +3611,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5846,6 +5852,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5945,6 +5954,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7961,9 +7973,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -7981,7 +7990,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -9655,10 +9667,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12384,6 +12396,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12483,6 +12498,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14721,6 +14739,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14820,6 +14841,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16559,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16592,6 +16617,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19492,6 +19518,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19525,6 +19552,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27086,8 +27114,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27114,7 +27142,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27131,8 +27159,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux64-mips64/no-asm/crypto/buildinf.h
index daf88189ad50ae..ed4edf3ce12a98 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-mips64"
-#define DATE "built on: Tue Dec 14 23:05:17 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:01:12 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-mips64/no-asm/include/progs.h b/deps/openssl/config/archs/linux64-mips64/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-mips64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux64-mips64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/apps/progs.c b/deps/openssl/config/archs/linux64-riscv64/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/configdata.pm b/deps/openssl/config/archs/linux64-riscv64/no-asm/configdata.pm
index 4c0718cf01a4da..ab44c95e7bd709 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-riscv64",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3507,6 +3507,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3606,6 +3609,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5844,6 +5850,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5943,6 +5952,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12382,6 +12394,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12481,6 +12496,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14719,6 +14737,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14818,6 +14839,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16557,6 +16581,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16590,6 +16615,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19490,6 +19516,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19523,6 +19550,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27084,8 +27112,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27112,7 +27140,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27129,8 +27157,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/crypto/buildinf.h
index 2f6c7424fa16d7..5bb168f0e35024 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-riscv64"
-#define DATE "built on: Tue Dec 14 23:10:07 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:04:17 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/progs.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-riscv64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/apps/progs.c b/deps/openssl/config/archs/linux64-s390x/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-s390x/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/configdata.pm b/deps/openssl/config/archs/linux64-s390x/asm/configdata.pm
index a866f4f1924c0d..87b704b5f9332a 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-s390x/asm/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-s390x",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3550,6 +3550,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3649,6 +3652,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5887,6 +5893,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5986,6 +5995,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12454,6 +12466,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12553,6 +12568,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14791,6 +14809,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14890,6 +14911,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16629,6 +16653,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16662,6 +16687,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19616,6 +19642,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19649,6 +19676,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27279,8 +27307,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27307,7 +27335,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27324,8 +27352,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/crypto/buildinf.h b/deps/openssl/config/archs/linux64-s390x/asm/crypto/buildinf.h
index e80bab31ac9694..b698dcd69c4076 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-s390x"
-#define DATE "built on: Tue Dec 14 23:03:43 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:00:11 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/bio.h b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-s390x/asm/include/progs.h b/deps/openssl/config/archs/linux64-s390x/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm/include/progs.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/apps/progs.c b/deps/openssl/config/archs/linux64-s390x/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/configdata.pm b/deps/openssl/config/archs/linux64-s390x/asm_avx2/configdata.pm
index ecc92ca10254b1..78acf8a3fcae00 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/configdata.pm
@@ -159,7 +159,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -207,10 +207,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-s390x",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3550,6 +3550,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3649,6 +3652,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5887,6 +5893,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5986,6 +5995,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -9725,10 +9737,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
- "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o"
+ "providers/fips/libfips-lib-self_test_kats.o",
+ "providers/fips/fips-dso-fips_entry.o"
],
"products" => {
"dso" => [
@@ -12454,6 +12466,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12553,6 +12568,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14791,6 +14809,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14890,6 +14911,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16629,6 +16653,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16662,6 +16687,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19616,6 +19642,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19649,6 +19676,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27279,8 +27307,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27307,7 +27335,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27324,8 +27352,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/buildinf.h
index 2d6f8e874920b3..5e7e8bcd5219a0 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-s390x"
-#define DATE "built on: Tue Dec 14 23:04:03 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:00:24 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/progs.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/apps/progs.c b/deps/openssl/config/archs/linux64-s390x/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/configdata.pm b/deps/openssl/config/archs/linux64-s390x/no-asm/configdata.pm
index d645478504132a..6a7a5cd1d333c6 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -206,10 +206,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -259,11 +259,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned char",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "linux64-s390x",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3509,6 +3509,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3608,6 +3611,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5846,6 +5852,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5945,6 +5954,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -7961,6 +7973,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -7978,10 +7993,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -9655,10 +9667,10 @@ our %unified_info = (
},
"providers/fips" => {
"deps" => [
+ "providers/fips/fips-dso-fips_entry.o",
"providers/fips/libfips-lib-fipsprov.o",
"providers/fips/libfips-lib-self_test.o",
- "providers/fips/libfips-lib-self_test_kats.o",
- "providers/fips/fips-dso-fips_entry.o"
+ "providers/fips/libfips-lib-self_test_kats.o"
],
"products" => {
"dso" => [
@@ -12384,6 +12396,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12483,6 +12498,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14721,6 +14739,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14820,6 +14841,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16559,6 +16583,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16592,6 +16617,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19492,6 +19518,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19525,6 +19552,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27086,8 +27114,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27114,7 +27142,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27131,8 +27159,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux64-s390x/no-asm/crypto/buildinf.h
index 2474d27098ae8d..4db684b0c5fd69 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: linux64-s390x"
-#define DATE "built on: Tue Dec 14 23:04:23 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:00:36 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/linux64-s390x/no-asm/include/progs.h b/deps/openssl/config/archs/linux64-s390x/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/linux64-s390x/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux64-s390x/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/apps/progs.c b/deps/openssl/config/archs/solaris-x86-gcc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/configdata.pm b/deps/openssl/config/archs/solaris-x86-gcc/asm/configdata.pm
index 9801c085eb3bf4..b228be716374dd 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/configdata.pm
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -204,10 +204,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -256,11 +256,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "solaris-x86-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3557,6 +3557,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3656,6 +3659,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5894,6 +5900,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5993,6 +6002,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12458,6 +12470,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12557,6 +12572,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14795,6 +14813,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14894,6 +14915,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16633,6 +16657,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16666,6 +16691,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19566,6 +19592,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19599,6 +19626,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27261,8 +27289,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27289,7 +27317,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27306,8 +27334,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/crypto/buildinf.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/crypto/buildinf.h
index 6064952d7b3dba..5a695313903fd5 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: solaris-x86-gcc"
-#define DATE "built on: Tue Dec 14 23:05:35 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:01:23 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/bio.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/progs.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm/include/progs.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/configdata.pm b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/configdata.pm
index 4745df358efc5d..05cc7261058117 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -204,10 +204,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -256,11 +256,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "solaris-x86-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3557,6 +3557,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3656,6 +3659,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5894,6 +5900,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5993,6 +6002,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12458,6 +12470,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12557,6 +12572,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14795,6 +14813,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14894,6 +14915,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16633,6 +16657,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16666,6 +16691,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19566,6 +19592,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19599,6 +19626,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27261,8 +27289,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27289,7 +27317,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27306,8 +27334,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h
index 523c4e23d9e0ea..d99427b2e52c85 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: solaris-x86-gcc"
-#define DATE "built on: Tue Dec 14 23:05:55 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:01:37 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/progs.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/apps/progs.c b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/configdata.pm b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/configdata.pm
index aef644deaae70e..a819a1dc48e9ce 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -203,10 +203,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -256,11 +256,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "solaris-x86-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3500,6 +3500,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3599,6 +3602,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5837,6 +5843,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5936,6 +5945,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12375,6 +12387,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12474,6 +12489,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14712,6 +14730,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14811,6 +14832,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16550,6 +16574,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16583,6 +16608,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19483,6 +19509,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19516,6 +19543,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27077,8 +27105,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27105,7 +27133,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27122,8 +27150,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h
index bcab8ebdd7c3f7..48a38aa4273431 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: solaris-x86-gcc"
-#define DATE "built on: Tue Dec 14 23:06:16 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:01:51 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/progs.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/apps/progs.c b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/apps/progs.c
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm
index 96ee1c24f81980..432cc1a8cf2345 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -204,10 +204,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -256,11 +256,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "solaris64-x86_64-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3560,6 +3560,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3659,6 +3662,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5897,6 +5903,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5996,6 +6005,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8012,6 +8024,9 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8029,10 +8044,7 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o",
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o"
+ "apps/lib/libtestutil-lib-opt.o"
],
"products" => {
"bin" => [
@@ -12503,6 +12515,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12602,6 +12617,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14840,6 +14858,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14939,6 +14960,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16678,6 +16702,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16711,6 +16736,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19611,6 +19637,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19644,6 +19671,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27430,8 +27458,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27458,7 +27486,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27475,8 +27503,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h
index 57dfc8f08c5573..3f1ca7d4b04a5e 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: solaris64-x86_64-gcc"
-#define DATE "built on: Tue Dec 14 23:06:34 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:02:02 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/progs.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/progs.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/apps/progs.c b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/apps/progs.c
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/configdata.pm b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/configdata.pm
index 37692787c2e36e..bcc1c8c566a36e 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/configdata.pm
@@ -156,7 +156,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -204,10 +204,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -256,11 +256,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "solaris64-x86_64-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3560,6 +3560,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3659,6 +3662,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5897,6 +5903,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5996,6 +6005,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -8012,9 +8024,6 @@ our %unified_info = (
},
"apps/lib" => {
"deps" => [
- "apps/lib/openssl-bin-cmp_mock_srv.o",
- "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
- "apps/lib/uitest-bin-apps_ui.o",
"apps/lib/libapps-lib-app_libctx.o",
"apps/lib/libapps-lib-app_params.o",
"apps/lib/libapps-lib-app_provider.o",
@@ -8032,7 +8041,10 @@ our %unified_info = (
"apps/lib/libapps-lib-s_cb.o",
"apps/lib/libapps-lib-s_socket.o",
"apps/lib/libapps-lib-tlssrp_depr.o",
- "apps/lib/libtestutil-lib-opt.o"
+ "apps/lib/libtestutil-lib-opt.o",
+ "apps/lib/openssl-bin-cmp_mock_srv.o",
+ "apps/lib/cmp_client_test-bin-cmp_mock_srv.o",
+ "apps/lib/uitest-bin-apps_ui.o"
],
"products" => {
"bin" => [
@@ -12503,6 +12515,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12602,6 +12617,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14840,6 +14858,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14939,6 +14960,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16678,6 +16702,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16711,6 +16736,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19611,6 +19637,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19644,6 +19671,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27430,8 +27458,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27458,7 +27486,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27475,8 +27503,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h
index 98624292ad46c6..0defcf11a7c408 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: solaris64-x86_64-gcc"
-#define DATE "built on: Tue Dec 14 23:07:01 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:02:20 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/apps/progs.c b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/apps/progs.c
index a27be4f6397c93..f594c302c42ec6 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/configdata.pm b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/configdata.pm
index a21dd87a084597..d22d10b7a6308f 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/configdata.pm
@@ -154,7 +154,7 @@ our %config = (
],
"dynamic_engines" => "0",
"ex_libs" => [],
- "full_version" => "3.0.1+quic",
+ "full_version" => "3.0.2+quic",
"includes" => [],
"lflags" => [],
"lib_defines" => [
@@ -203,10 +203,10 @@ our %config = (
"openssl_sys_defines" => [],
"openssldir" => "",
"options" => "enable-ssl-trace enable-fips no-afalgeng no-asan no-asm no-buildtest-c++ no-comp no-crypto-mdebug no-crypto-mdebug-backtrace no-devcryptoeng no-dynamic-engine no-ec_nistp_64_gcc_128 no-egd no-external-tests no-fuzz-afl no-fuzz-libfuzzer no-ktls no-loadereng no-md2 no-msan no-rc5 no-sctp no-shared no-ssl3 no-ssl3-method no-trace no-ubsan no-unit-test no-uplink no-weak-ssl-ciphers no-zlib no-zlib-dynamic",
- "patch" => "1",
+ "patch" => "2",
"perl_archname" => "x86_64-linux-gnu-thread-multi",
"perl_cmd" => "/usr/bin/perl",
- "perl_version" => "5.30.0",
+ "perl_version" => "5.28.1",
"perlargv" => [
"no-comp",
"no-shared",
@@ -256,11 +256,11 @@ our %config = (
"prerelease" => "",
"processor" => "",
"rc4_int" => "unsigned int",
- "release_date" => "14 Dec 2021",
+ "release_date" => "15 Mar 2022",
"shlib_version" => "81.3",
"sourcedir" => ".",
"target" => "solaris64-x86_64-gcc",
- "version" => "3.0.1"
+ "version" => "3.0.2"
);
our %target = (
"AR" => "ar",
@@ -3501,6 +3501,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -3600,6 +3603,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -5838,6 +5844,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -5937,6 +5946,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -12376,6 +12388,9 @@ our %unified_info = (
"doc/html/man3/SSL_get_all_async_fds.html" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/html/man3/SSL_get_certificate.html" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/html/man3/SSL_get_ciphers.html" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -12475,6 +12490,9 @@ our %unified_info = (
"doc/html/man3/SSL_set_fd.html" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/html/man3/SSL_set_retry_verify.html" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/html/man3/SSL_set_session.html" => [
"doc/man3/SSL_set_session.pod"
],
@@ -14713,6 +14731,9 @@ our %unified_info = (
"doc/man/man3/SSL_get_all_async_fds.3" => [
"doc/man3/SSL_get_all_async_fds.pod"
],
+ "doc/man/man3/SSL_get_certificate.3" => [
+ "doc/man3/SSL_get_certificate.pod"
+ ],
"doc/man/man3/SSL_get_ciphers.3" => [
"doc/man3/SSL_get_ciphers.pod"
],
@@ -14812,6 +14833,9 @@ our %unified_info = (
"doc/man/man3/SSL_set_fd.3" => [
"doc/man3/SSL_set_fd.pod"
],
+ "doc/man/man3/SSL_set_retry_verify.3" => [
+ "doc/man3/SSL_set_retry_verify.pod"
+ ],
"doc/man/man3/SSL_set_session.3" => [
"doc/man3/SSL_set_session.pod"
],
@@ -16551,6 +16575,7 @@ our %unified_info = (
"doc/html/man3/SSL_get0_peer_scts.html",
"doc/html/man3/SSL_get_SSL_CTX.html",
"doc/html/man3/SSL_get_all_async_fds.html",
+ "doc/html/man3/SSL_get_certificate.html",
"doc/html/man3/SSL_get_ciphers.html",
"doc/html/man3/SSL_get_client_random.html",
"doc/html/man3/SSL_get_current_cipher.html",
@@ -16584,6 +16609,7 @@ our %unified_info = (
"doc/html/man3/SSL_set_bio.html",
"doc/html/man3/SSL_set_connect_state.html",
"doc/html/man3/SSL_set_fd.html",
+ "doc/html/man3/SSL_set_retry_verify.html",
"doc/html/man3/SSL_set_session.html",
"doc/html/man3/SSL_set_shutdown.html",
"doc/html/man3/SSL_set_verify_result.html",
@@ -19484,6 +19510,7 @@ our %unified_info = (
"doc/man/man3/SSL_get0_peer_scts.3",
"doc/man/man3/SSL_get_SSL_CTX.3",
"doc/man/man3/SSL_get_all_async_fds.3",
+ "doc/man/man3/SSL_get_certificate.3",
"doc/man/man3/SSL_get_ciphers.3",
"doc/man/man3/SSL_get_client_random.3",
"doc/man/man3/SSL_get_current_cipher.3",
@@ -19517,6 +19544,7 @@ our %unified_info = (
"doc/man/man3/SSL_set_bio.3",
"doc/man/man3/SSL_set_connect_state.3",
"doc/man/man3/SSL_set_fd.3",
+ "doc/man/man3/SSL_set_retry_verify.3",
"doc/man/man3/SSL_set_session.3",
"doc/man/man3/SSL_set_shutdown.3",
"doc/man/man3/SSL_set_verify_result.3",
@@ -27078,8 +27106,8 @@ unless (caller) {
use File::Copy;
use Pod::Usage;
- use lib '/node/deps/openssl/openssl/util/perl';
- use OpenSSL::fallback '/node/deps/openssl/openssl/external/perl/MODULES.txt';
+ use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+ use OpenSSL::fallback '/home/hassaan/node/deps/openssl/openssl/external/perl/MODULES.txt';
my $here = dirname($0);
@@ -27106,7 +27134,7 @@ unless (caller) {
);
use lib '.';
- use lib '/node/deps/openssl/openssl/Configurations';
+ use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use gentemplate;
print 'Creating ',$buildfile_template,"\n";
@@ -27123,8 +27151,8 @@ unless (caller) {
my $prepend = <<'_____';
use File::Spec::Functions;
-use lib '/node/deps/openssl/openssl/util/perl';
-use lib '/node/deps/openssl/openssl/Configurations';
+use lib '/home/hassaan/node/deps/openssl/openssl/util/perl';
+use lib '/home/hassaan/node/deps/openssl/openssl/Configurations';
use lib '.';
use platform;
_____
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h
index 249f0f7a3232f3..c0f36a59db7046 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
*/
#define PLATFORM "platform: solaris64-x86_64-gcc"
-#define DATE "built on: Tue Dec 14 23:07:28 2021 UTC"
+#define DATE "built on: Wed Mar 16 05:02:37 2022 UTC"
/*
* Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h
index 29cd1512e1c60e..c348adae7a31a2 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/bio.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/bio.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -208,6 +208,8 @@ extern "C" {
# define BIO_FLAGS_NONCLEAR_RST 0x400
# define BIO_FLAGS_IN_EOF 0x800
+/* the BIO FLAGS values 0x1000 to 0x4000 are reserved for internal KTLS flags */
+
typedef union bio_addr_st BIO_ADDR;
typedef struct bio_addrinfo_st BIO_ADDRINFO;
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h
index baf6938c7a7a9c..00d2496c1580c0 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/crypto.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/crypto.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -124,7 +124,7 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock);
size_t OPENSSL_strlcpy(char *dst, const char *src, size_t siz);
size_t OPENSSL_strlcat(char *dst, const char *src, size_t siz);
size_t OPENSSL_strnlen(const char *str, size_t maxlen);
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h
index 46afce5296fea6..ee2b0c90bf6199 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslv.h
@@ -29,7 +29,7 @@ extern "C" {
*/
# define OPENSSL_VERSION_MAJOR 3
# define OPENSSL_VERSION_MINOR 0
-# define OPENSSL_VERSION_PATCH 1
+# define OPENSSL_VERSION_PATCH 2
/*
* Additional version information
@@ -74,21 +74,21 @@ extern "C" {
* longer variant with OPENSSL_VERSION_PRE_RELEASE_STR and
* OPENSSL_VERSION_BUILD_METADATA_STR appended.
*/
-# define OPENSSL_VERSION_STR "3.0.1"
-# define OPENSSL_FULL_VERSION_STR "3.0.1+quic"
+# define OPENSSL_VERSION_STR "3.0.2"
+# define OPENSSL_FULL_VERSION_STR "3.0.2+quic"
/*
* SECTION 3: ADDITIONAL METADATA
*
* These strings are defined separately to allow them to be parsable.
*/
-# define OPENSSL_RELEASE_DATE "14 Dec 2021"
+# define OPENSSL_RELEASE_DATE "15 Mar 2022"
/*
* SECTION 4: BACKWARD COMPATIBILITY
*/
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.1+quic 14 Dec 2021"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.2+quic 15 Mar 2022"
/* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
# ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h
index 5999436eb5cc6d..92aba6debb6b00 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/openssl/ssl.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by Makefile from include/openssl/ssl.h.in
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1380,6 +1380,7 @@ DECLARE_PEM_rw(SSL_SESSION, SSL_SESSION)
# define SSL_CTRL_GET_SIGNATURE_NID 132
# define SSL_CTRL_GET_TMP_KEY 133
# define SSL_CTRL_GET_NEGOTIATED_GROUP 134
+# define SSL_CTRL_SET_RETRY_VERIFY 136
# define SSL_CERT_SET_FIRST 1
# define SSL_CERT_SET_NEXT 2
# define SSL_CERT_SET_SERVER 3
@@ -2202,6 +2203,8 @@ __owur int SSL_get_ex_data_X509_STORE_CTX_idx(void);
SSL_CTX_ctrl(ctx,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
# define SSL_set_max_pipelines(ssl,m) \
SSL_ctrl(ssl,SSL_CTRL_SET_MAX_PIPELINES,m,NULL)
+# define SSL_set_retry_verify(ssl) \
+ (SSL_ctrl(ssl,SSL_CTRL_SET_RETRY_VERIFY,0,NULL) > 0)
void SSL_CTX_set_default_read_buffer_len(SSL_CTX *ctx, size_t len);
void SSL_set_default_read_buffer_len(SSL *s, size_t len);
diff --git a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/progs.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/progs.h
index 4e2d5cc35eaba6..07bb763afb1766 100644
--- a/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/progs.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by apps/progs.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/config/asn1_asm.h b/deps/openssl/config/asn1_asm.h
index 4d368244658fef..b60bb86cc9a8d6 100644
--- a/deps/openssl/config/asn1_asm.h
+++ b/deps/openssl/config/asn1_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/asn1.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/asn1.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/asn1.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/asn1_no-asm.h b/deps/openssl/config/asn1_no-asm.h
index 247812386278eb..7e520876f1c984 100644
--- a/deps/openssl/config/asn1_no-asm.h
+++ b/deps/openssl/config/asn1_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/asn1.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/asn1.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/asn1.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/asn1t_asm.h b/deps/openssl/config/asn1t_asm.h
index fbd767cb5b3c5b..0d3e3bdc8f783e 100644
--- a/deps/openssl/config/asn1t_asm.h
+++ b/deps/openssl/config/asn1t_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/asn1t.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/asn1t.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/asn1t.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/asn1t_no-asm.h b/deps/openssl/config/asn1t_no-asm.h
index 67c1791e3ca1b6..d471b656a6166f 100644
--- a/deps/openssl/config/asn1t_no-asm.h
+++ b/deps/openssl/config/asn1t_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/asn1t.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/asn1t.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/asn1t.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/bio_asm.h b/deps/openssl/config/bio_asm.h
index 202e9eb22382ac..19b4764b1b3090 100644
--- a/deps/openssl/config/bio_asm.h
+++ b/deps/openssl/config/bio_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/bio.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/bio.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/bio.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/bio_no-asm.h b/deps/openssl/config/bio_no-asm.h
index 9328869800fa29..7df408acc36585 100644
--- a/deps/openssl/config/bio_no-asm.h
+++ b/deps/openssl/config/bio_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/bio.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/bio.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/bio.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/bn_conf_asm.h b/deps/openssl/config/bn_conf_asm.h
index f7a3cda1c73cac..85ecbacf3aa47e 100644
--- a/deps/openssl/config/bn_conf_asm.h
+++ b/deps/openssl/config/bn_conf_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/crypto/bn_conf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/crypto/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/crypto/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/bn_conf_no-asm.h b/deps/openssl/config/bn_conf_no-asm.h
index 038b8db36337c7..06ab3d268cf748 100644
--- a/deps/openssl/config/bn_conf_no-asm.h
+++ b/deps/openssl/config/bn_conf_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/crypto/bn_conf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/crypto/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/crypto/bn_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/cmp_asm.h b/deps/openssl/config/cmp_asm.h
index 160d3caae5de8b..e78ec14eb9306c 100644
--- a/deps/openssl/config/cmp_asm.h
+++ b/deps/openssl/config/cmp_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/cmp.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/cmp.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/cmp.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/cmp_no-asm.h b/deps/openssl/config/cmp_no-asm.h
index 1221649ef2c3d1..2dd84b8deb02e3 100644
--- a/deps/openssl/config/cmp_no-asm.h
+++ b/deps/openssl/config/cmp_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/cmp.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/cmp.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/cmp.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/cms_asm.h b/deps/openssl/config/cms_asm.h
index 886b77ad5b4994..8a23ad50090742 100644
--- a/deps/openssl/config/cms_asm.h
+++ b/deps/openssl/config/cms_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/cms.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/cms.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/cms.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/cms_no-asm.h b/deps/openssl/config/cms_no-asm.h
index ac89ec8a4af328..2507391663cfc5 100644
--- a/deps/openssl/config/cms_no-asm.h
+++ b/deps/openssl/config/cms_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/cms.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/cms.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/cms.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/conf_asm.h b/deps/openssl/config/conf_asm.h
index 60a4d475b5e17e..1e85a17fd48cf6 100644
--- a/deps/openssl/config/conf_asm.h
+++ b/deps/openssl/config/conf_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/conf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/conf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/conf_no-asm.h b/deps/openssl/config/conf_no-asm.h
index 0bf0c97e6237b4..483d49164b811d 100644
--- a/deps/openssl/config/conf_no-asm.h
+++ b/deps/openssl/config/conf_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/conf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/conf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/configuration_asm.h b/deps/openssl/config/configuration_asm.h
index badc4dabde8be6..dcc0a495a0a0c6 100644
--- a/deps/openssl/config/configuration_asm.h
+++ b/deps/openssl/config/configuration_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/configuration.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/configuration.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/configuration.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/configuration_no-asm.h b/deps/openssl/config/configuration_no-asm.h
index ab5054992475df..0dc73e9e17f8d6 100644
--- a/deps/openssl/config/configuration_no-asm.h
+++ b/deps/openssl/config/configuration_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/configuration.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/configuration.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/configuration.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/crmf_asm.h b/deps/openssl/config/crmf_asm.h
index 1378bd7988ee0e..d98627f9ed98bd 100644
--- a/deps/openssl/config/crmf_asm.h
+++ b/deps/openssl/config/crmf_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/crmf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/crmf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/crmf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/crmf_no-asm.h b/deps/openssl/config/crmf_no-asm.h
index 0a14cc86bb93a3..681a0719f42e73 100644
--- a/deps/openssl/config/crmf_no-asm.h
+++ b/deps/openssl/config/crmf_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/crmf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/crmf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/crmf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/crypto_asm.h b/deps/openssl/config/crypto_asm.h
index 23643c9661f289..337bd5f4ab06b0 100644
--- a/deps/openssl/config/crypto_asm.h
+++ b/deps/openssl/config/crypto_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/crypto.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/crypto.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/crypto.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/crypto_no-asm.h b/deps/openssl/config/crypto_no-asm.h
index 9b63cb3b0a1612..72b2463a7bcfb2 100644
--- a/deps/openssl/config/crypto_no-asm.h
+++ b/deps/openssl/config/crypto_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/crypto.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/crypto.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/crypto.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ct_asm.h b/deps/openssl/config/ct_asm.h
index 01484b070e6423..a5c5f33f3262e1 100644
--- a/deps/openssl/config/ct_asm.h
+++ b/deps/openssl/config/ct_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/ct.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/ct.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/ct.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ct_no-asm.h b/deps/openssl/config/ct_no-asm.h
index f4b0d8da49f5d7..7260a895255013 100644
--- a/deps/openssl/config/ct_no-asm.h
+++ b/deps/openssl/config/ct_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/ct.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/ct.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/ct.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/dso_conf_asm.h b/deps/openssl/config/dso_conf_asm.h
index 2406f4244a4348..1c28bc1a65e8dd 100644
--- a/deps/openssl/config/dso_conf_asm.h
+++ b/deps/openssl/config/dso_conf_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/crypto/dso_conf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/crypto/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/crypto/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/dso_conf_no-asm.h b/deps/openssl/config/dso_conf_no-asm.h
index b14f3b6cf48ecb..60c20cfdd2c5d7 100644
--- a/deps/openssl/config/dso_conf_no-asm.h
+++ b/deps/openssl/config/dso_conf_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/crypto/dso_conf.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/crypto/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/crypto/dso_conf.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/err_asm.h b/deps/openssl/config/err_asm.h
index d03d4603d639f0..f5fbff643da51e 100644
--- a/deps/openssl/config/err_asm.h
+++ b/deps/openssl/config/err_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/err.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/err.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/err.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/err_no-asm.h b/deps/openssl/config/err_no-asm.h
index ea4ef7a0567aaa..8138911eb07250 100644
--- a/deps/openssl/config/err_no-asm.h
+++ b/deps/openssl/config/err_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/err.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/err.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/err.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ess_asm.h b/deps/openssl/config/ess_asm.h
index 02f973e02d00f6..87716f58e32f66 100644
--- a/deps/openssl/config/ess_asm.h
+++ b/deps/openssl/config/ess_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/ess.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/ess.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/ess.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ess_no-asm.h b/deps/openssl/config/ess_no-asm.h
index e906bafe8d00a4..a602e74f35fe8d 100644
--- a/deps/openssl/config/ess_no-asm.h
+++ b/deps/openssl/config/ess_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/ess.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/ess.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/ess.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/fipskey_asm.h b/deps/openssl/config/fipskey_asm.h
index 9e4ddbd4955f05..09a60b9fd5c544 100644
--- a/deps/openssl/config/fipskey_asm.h
+++ b/deps/openssl/config/fipskey_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/fipskey.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/fipskey.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/fipskey.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/fipskey_no-asm.h b/deps/openssl/config/fipskey_no-asm.h
index a760a02ba35e1f..90abf594ccbe94 100644
--- a/deps/openssl/config/fipskey_no-asm.h
+++ b/deps/openssl/config/fipskey_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/fipskey.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/fipskey.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/fipskey.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/lhash_asm.h b/deps/openssl/config/lhash_asm.h
index 13025550437148..03f9196efc3c9f 100644
--- a/deps/openssl/config/lhash_asm.h
+++ b/deps/openssl/config/lhash_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/lhash.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/lhash.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/lhash.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/lhash_no-asm.h b/deps/openssl/config/lhash_no-asm.h
index 62953f76298f0a..e77ddda7921b0a 100644
--- a/deps/openssl/config/lhash_no-asm.h
+++ b/deps/openssl/config/lhash_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/lhash.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/lhash.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/lhash.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ocsp_asm.h b/deps/openssl/config/ocsp_asm.h
index 4483fff2a42e72..1792d165b2493f 100644
--- a/deps/openssl/config/ocsp_asm.h
+++ b/deps/openssl/config/ocsp_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/ocsp.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/ocsp.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/ocsp.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ocsp_no-asm.h b/deps/openssl/config/ocsp_no-asm.h
index 0bf55945219b3f..c58549acf6c221 100644
--- a/deps/openssl/config/ocsp_no-asm.h
+++ b/deps/openssl/config/ocsp_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/ocsp.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/ocsp.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/ocsp.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/opensslv_asm.h b/deps/openssl/config/opensslv_asm.h
index 29879561cb9b6d..399352386df28e 100644
--- a/deps/openssl/config/opensslv_asm.h
+++ b/deps/openssl/config/opensslv_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/opensslv.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/opensslv.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/opensslv.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/opensslv_no-asm.h b/deps/openssl/config/opensslv_no-asm.h
index dee43fec483276..3b8947a20da7a1 100644
--- a/deps/openssl/config/opensslv_no-asm.h
+++ b/deps/openssl/config/opensslv_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/opensslv.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/opensslv.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/opensslv.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/pkcs12_asm.h b/deps/openssl/config/pkcs12_asm.h
index 54ad973bc2fa1c..cdc424fc9892ca 100644
--- a/deps/openssl/config/pkcs12_asm.h
+++ b/deps/openssl/config/pkcs12_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/pkcs12.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/pkcs12.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/pkcs12.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/pkcs12_no-asm.h b/deps/openssl/config/pkcs12_no-asm.h
index 359e4fb91cf6a7..de7267319aadcd 100644
--- a/deps/openssl/config/pkcs12_no-asm.h
+++ b/deps/openssl/config/pkcs12_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/pkcs12.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/pkcs12.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/pkcs12.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/pkcs7_asm.h b/deps/openssl/config/pkcs7_asm.h
index b31241b99cdb23..691ae4f775303c 100644
--- a/deps/openssl/config/pkcs7_asm.h
+++ b/deps/openssl/config/pkcs7_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/pkcs7.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/pkcs7.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/pkcs7.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/pkcs7_no-asm.h b/deps/openssl/config/pkcs7_no-asm.h
index 1f4cc511c9fa07..d86ceeecc93326 100644
--- a/deps/openssl/config/pkcs7_no-asm.h
+++ b/deps/openssl/config/pkcs7_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/pkcs7.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/pkcs7.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/pkcs7.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/safestack_asm.h b/deps/openssl/config/safestack_asm.h
index dea445272c011b..14567c7faaf5f9 100644
--- a/deps/openssl/config/safestack_asm.h
+++ b/deps/openssl/config/safestack_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/safestack.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/safestack.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/safestack.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/safestack_no-asm.h b/deps/openssl/config/safestack_no-asm.h
index eb13776bffc52a..bd6e56db5089ac 100644
--- a/deps/openssl/config/safestack_no-asm.h
+++ b/deps/openssl/config/safestack_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/safestack.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/safestack.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/safestack.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/srp_asm.h b/deps/openssl/config/srp_asm.h
index 2d7aa655573cce..a4f7946e0a2707 100644
--- a/deps/openssl/config/srp_asm.h
+++ b/deps/openssl/config/srp_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/srp.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/srp.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/srp.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/srp_no-asm.h b/deps/openssl/config/srp_no-asm.h
index ffb42b9294ffde..0b7288041d55f0 100644
--- a/deps/openssl/config/srp_no-asm.h
+++ b/deps/openssl/config/srp_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/srp.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/srp.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/srp.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ssl_asm.h b/deps/openssl/config/ssl_asm.h
index 2fb2e122d1818a..b634f4560cb77a 100644
--- a/deps/openssl/config/ssl_asm.h
+++ b/deps/openssl/config/ssl_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/ssl.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/ssl.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/ssl.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ssl_no-asm.h b/deps/openssl/config/ssl_no-asm.h
index c64d4370cb2ca8..c5919a5b202b74 100644
--- a/deps/openssl/config/ssl_no-asm.h
+++ b/deps/openssl/config/ssl_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/ssl.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/ssl.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/ssl.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ui_asm.h b/deps/openssl/config/ui_asm.h
index 14b609002c4828..887b308871cc47 100644
--- a/deps/openssl/config/ui_asm.h
+++ b/deps/openssl/config/ui_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/ui.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/ui.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/ui.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/ui_no-asm.h b/deps/openssl/config/ui_no-asm.h
index fd248b2b05ea61..8470484983fd30 100644
--- a/deps/openssl/config/ui_no-asm.h
+++ b/deps/openssl/config/ui_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/ui.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/ui.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/ui.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/x509_asm.h b/deps/openssl/config/x509_asm.h
index 2f5d611d465400..45d6659c2663e1 100644
--- a/deps/openssl/config/x509_asm.h
+++ b/deps/openssl/config/x509_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/x509.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/x509.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/x509.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/x509_no-asm.h b/deps/openssl/config/x509_no-asm.h
index 155f2993b386cd..5b8644d64666d6 100644
--- a/deps/openssl/config/x509_no-asm.h
+++ b/deps/openssl/config/x509_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/x509.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/x509.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/x509.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/x509_vfy_asm.h b/deps/openssl/config/x509_vfy_asm.h
index 7358b595023f33..34214226f0416e 100644
--- a/deps/openssl/config/x509_vfy_asm.h
+++ b/deps/openssl/config/x509_vfy_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/x509_vfy.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/x509_vfy.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/x509_vfy.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/x509_vfy_no-asm.h b/deps/openssl/config/x509_vfy_no-asm.h
index 7c742506238a6f..8ec020a7f4b99b 100644
--- a/deps/openssl/config/x509_vfy_no-asm.h
+++ b/deps/openssl/config/x509_vfy_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/x509_vfy.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/x509_vfy.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/x509_vfy.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/x509v3_asm.h b/deps/openssl/config/x509v3_asm.h
index 40102307760d66..936ab62d7b75e4 100644
--- a/deps/openssl/config/x509v3_asm.h
+++ b/deps/openssl/config/x509v3_asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/asm/include/openssl/x509v3.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/asm/include/openssl/x509v3.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/asm/include/openssl/x509v3.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/config/x509v3_no-asm.h b/deps/openssl/config/x509v3_no-asm.h
index ce9001ac20399e..2941402eac4bd0 100644
--- a/deps/openssl/config/x509v3_no-asm.h
+++ b/deps/openssl/config/x509v3_no-asm.h
@@ -5,6 +5,8 @@
#if defined(OPENSSL_LINUX) && defined(__i386__)
# include "./archs/linux-elf/no-asm/include/openssl/x509v3.h"
+#elif defined(OPENSSL_LINUX) && defined(__ILP32__)
+# include "./archs/linux-x32/no-asm/include/openssl/x509v3.h"
#elif defined(OPENSSL_LINUX) && defined(__x86_64__)
# include "./archs/linux-x86_64/no-asm/include/openssl/x509v3.h"
#elif defined(OPENSSL_LINUX) && defined(__arm__)
diff --git a/deps/openssl/openssl/CHANGES.md b/deps/openssl/openssl/CHANGES.md
index 43b3bb89d615b8..f6e519d9afd62d 100644
--- a/deps/openssl/openssl/CHANGES.md
+++ b/deps/openssl/openssl/CHANGES.md
@@ -28,12 +28,68 @@ breaking changes, and mappings for the large list of deprecated functions.
[Migration guide]: https://github.com/openssl/openssl/tree/master/doc/man7/migration_guide.pod
-### Changes between 3.0.0 and 3.0.0+quic [7 Sun 2021]
+### Changes between 3.0.2 and 3.0.2+quic [15 Mar 2022]
* Add QUIC API support from BoringSSL.
*Todd Short*
+### Changes between 3.0.1 and 3.0.2 [15 Mar 2022]
+
+ * Fixed a bug in the BN_mod_sqrt() function that can cause it to loop forever
+ for non-prime moduli.
+
+ Internally this function is used when parsing certificates that contain
+ elliptic curve public keys in compressed form or explicit elliptic curve
+ parameters with a base point encoded in compressed form.
+
+ It is possible to trigger the infinite loop by crafting a certificate that
+ has invalid explicit curve parameters.
+
+ Since certificate parsing happens prior to verification of the certificate
+ signature, any process that parses an externally supplied certificate may thus
+ be subject to a denial of service attack. The infinite loop can also be
+ reached when parsing crafted private keys as they can contain explicit
+ elliptic curve parameters.
+
+ Thus vulnerable situations include:
+
+ - TLS clients consuming server certificates
+ - TLS servers consuming client certificates
+ - Hosting providers taking certificates or private keys from customers
+ - Certificate authorities parsing certification requests from subscribers
+ - Anything else which parses ASN.1 elliptic curve parameters
+
+ Also any other applications that use the BN_mod_sqrt() where the attacker
+ can control the parameter values are vulnerable to this DoS issue.
+ ([CVE-2022-0778])
+
+ *Tomáš Mráz*
+
+ * Add ciphersuites based on DHE_PSK (RFC 4279) and ECDHE_PSK (RFC 5489)
+ to the list of ciphersuites providing Perfect Forward Secrecy as
+ required by SECLEVEL >= 3.
+
+ *Dmitry Belyavskiy, Nicola Tuveri*
+
+ * Made the AES constant time code for no-asm configurations
+ optional due to the resulting 95% performance degradation.
+ The AES constant time code can be enabled, for no assembly
+ builds, with: ./config no-asm -DOPENSSL_AES_CONST_TIME
+
+ *Paul Dale*
+
+ * Fixed PEM_write_bio_PKCS8PrivateKey() to make it possible to use empty
+ passphrase strings.
+
+ *Darshan Sen*
+
+ * The negative return value handling of the certificate verification callback
+ was reverted. The replacement is to set the verification retry state with
+ the SSL_set_retry_verify() function.
+
+ *Tomáš Mráz*
+
### Changes between 3.0.0 and 3.0.1 [14 Dec 2021]
* Fixed invalid handling of X509_verify_cert() internal errors in libssl
diff --git a/deps/openssl/openssl/Configurations/10-main.conf b/deps/openssl/openssl/Configurations/10-main.conf
index 8414b34ed9af7d..a7294d2ad1b1a2 100644
--- a/deps/openssl/openssl/Configurations/10-main.conf
+++ b/deps/openssl/openssl/Configurations/10-main.conf
@@ -1062,6 +1062,13 @@ my %targets = (
perlasm_scheme => "elf",
},
+ # riscv64 below refers to contemporary RISCV Architecture
+ # specifications,
+ "BSD-riscv64" => {
+ inherit_from => [ "BSD-generic64"],
+ perlasm_scheme => "linux64",
+ },
+
"bsdi-elf-gcc" => {
inherit_from => [ "BASE_unix" ],
CC => "gcc",
diff --git a/deps/openssl/openssl/Configurations/15-android.conf b/deps/openssl/openssl/Configurations/15-android.conf
index 0b6b6d6832da07..41ad9223e0945d 100644
--- a/deps/openssl/openssl/Configurations/15-android.conf
+++ b/deps/openssl/openssl/Configurations/15-android.conf
@@ -261,6 +261,7 @@ my %targets = (
bn_ops => add("RC4_INT"),
asm_arch => 'x86',
perlasm_scheme => "android",
+ ex_libs => add(threads("-latomic")),
},
"android-x86_64" => {
inherit_from => [ "android" ],
diff --git a/deps/openssl/openssl/Configurations/descrip.mms.tmpl b/deps/openssl/openssl/Configurations/descrip.mms.tmpl
index c8197337650604..c202bd44319f67 100644
--- a/deps/openssl/openssl/Configurations/descrip.mms.tmpl
+++ b/deps/openssl/openssl/Configurations/descrip.mms.tmpl
@@ -553,7 +553,6 @@ distclean : clean
- DELETE descrip.mms;*
depend : descrip.mms
-descrip.mms : FORCE
@ ! {- output_off() if $disabled{makedepend}; "" -}
@ $(PERL) {- sourcefile("util", "add-depends.pl") -} "{- $config{makedep_scheme} -}"
@ ! {- output_on() if $disabled{makedepend}; "" -}
@@ -755,7 +754,16 @@ debug_logicals :
# Building targets ###################################################
-configdata.pm : $(SRCDIR)Configure $(SRCDIR)config.com {- join(" ", @{$config{build_file_templates}}, @{$config{build_infos}}, @{$config{conf_files}}) -}
+descrip.mms : configdata.pm {- join(" ", @{$config{build_file_templates}}) -}
+ perl configdata.pm
+ @ WRITE SYS$OUTPUT "*************************************************"
+ @ WRITE SYS$OUTPUT "*** ***"
+ @ WRITE SYS$OUTPUT "*** Please run the same mms command again ***"
+ @ WRITE SYS$OUTPUT "*** ***"
+ @ WRITE SYS$OUTPUT "*************************************************"
+ @ PIPE ( EXIT %X10000000 )
+
+configdata.pm : $(SRCDIR)Configure $(SRCDIR)config.com {- join(" ", @{$config{build_infos}}, @{$config{conf_files}}) -}
perl configdata.pm -r
@ WRITE SYS$OUTPUT "*************************************************"
@ WRITE SYS$OUTPUT "*** ***"
@@ -871,6 +879,59 @@ EOF
return ($filename, $scripture);
}
+ # On VMS, (some) header file directories include the files
+ # __DECC_INCLUDE_EPILOGUE.H and __DECC_INCLUDE_PROLOGUE.H.
+ # When header files are generated, and the build directory
+ # isn't the same as the source directory, these files must
+ # be copied alongside the generated header file, or their
+ # effect will be lost.
+ # We use the same include file cache as make_includefile
+ # to check if the scripture to copy these files has already
+ # been generated.
+ sub make_decc_include_files {
+ my $outd = shift;
+ my $ind = shift;
+
+ # If the build directory and the source directory are the
+ # same, there's no need to copy the prologue and epilogue
+ # files.
+ return ('') if $outd eq $ind;
+
+ my $outprologue = catfile($outd, '__DECC_INCLUDE_PROLOGUE.H');
+ my $outepilogue = catfile($outd, '__DECC_INCLUDE_EPILOGUE.H');
+ my $inprologue = catfile($ind, '__DECC_INCLUDE_PROLOGUE.H');
+ my $inepilogue = catfile($ind, '__DECC_INCLUDE_EPILOGUE.H');
+ my @filenames = ();
+ my $scripture = '';
+
+ if ($includefile_cache{$outprologue}) {
+ push @filenames, $outprologue;
+ } elsif (-f $inprologue) {
+ my $local_scripture .= <<"EOF";
+$outprologue : $inprologue
+ COPY $inprologue $outprologue
+EOF
+ $includefile_cache{$outprologue} = $local_scripture;
+
+ push @filenames, $outprologue;
+ $scripture .= $local_scripture;
+ }
+ if ($includefile_cache{$outepilogue}) {
+ push @filenames, $outepilogue;
+ } elsif (-f $inepilogue) {
+ my $local_scripture .= <<"EOF";
+$outepilogue : $inepilogue
+ COPY $inepilogue $outepilogue
+EOF
+ $includefile_cache{$outepilogue} = $local_scripture;
+
+ push @filenames, $outepilogue;
+ $scripture .= $local_scripture;
+ }
+
+ return (@filenames, $scripture);
+ }
+
sub generatetarget {
my %args = @_;
my $deps = join(" ", compute_platform_depends(@{$args{deps}}));
@@ -984,12 +1045,18 @@ EOF
my @perlmodules = ( 'configdata.pm',
grep { $_ =~ m|\.pm$| } @{$args{deps}} );
my %perlmoduleincs = map { '"-I'.dirname($_).'"' => 1 } @perlmodules;
- $deps = join(' ', $deps, compute_platform_depends(@perlmodules));
+ my @decc_include_data
+ = make_decc_include_files(dirname($args{src}), dirname($gen0));
+ my $decc_include_scripture = pop @decc_include_data;
+ $deps = join(' ', $deps, @decc_include_data,
+ compute_platform_depends(@perlmodules));
@perlmodules = map { '"-M'.basename($_, '.pm').'"' } @perlmodules;
my $perlmodules = join(' ', '', sort keys %perlmoduleincs, @perlmodules);
+
return <<"EOF";
$args{src} : $gen0 $deps
\$(PERL)$perlmodules $dofile "-o$target{build_file}" $gen0$gen_args > \$\@
+$decc_include_scripture
EOF
} elsif (grep { $_ eq $gen0 } @{$unified_info{programs}}) {
#
diff --git a/deps/openssl/openssl/Configurations/unix-Makefile.tmpl b/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
index 52d2f6a64e9d80..3e779960671ba5 100644
--- a/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
+++ b/deps/openssl/openssl/Configurations/unix-Makefile.tmpl
@@ -582,7 +582,7 @@ clean: libclean
$(RM) $(MANDOCS3)
$(RM) $(MANDOCS5)
$(RM) $(MANDOCS7)
- $(RM) $(PROGRAMS) $(TESTPROGS) $(MODULES) $(SCRIPTS)
+ $(RM) $(PROGRAMS) $(TESTPROGS) $(MODULES) $(FIPSMODULE) $(SCRIPTS)
$(RM) $(GENERATED_MANDATORY) $(GENERATED)
-find . -name '*{- platform->depext() -}' \! -name '.*' \! -type d -exec $(RM) {} \;
-find . -name '*{- platform->objext() -}' \! -name '.*' \! -type d -exec $(RM) {} \;
@@ -599,7 +599,7 @@ distclean: clean
# We check if any depfile is newer than Makefile and decide to
# concatenate only if that is true.
-depend:
+depend: Makefile
@: {- output_off() if $disabled{makedepend}; "" -}
@$(PERL) $(SRCDIR)/util/add-depends.pl "{- $makedep_scheme -}"
@: {- output_on() if $disabled{makedepend}; "" -}
@@ -1153,7 +1153,7 @@ generate_crypto_objects:
crypto/objects/obj_mac.num \
crypto/objects/obj_xref.txt \
> crypto/objects/obj_xref.h )
- ( cd $(SRCDIR); cat crypto/objects/obj_compat.h >> include/openssl/obj_mac.h )
+ ( cd $(SRCDIR); sed -e '1,8d' crypto/objects/obj_compat.h >> include/openssl/obj_mac.h )
generate_crypto_conf:
( cd $(SRCDIR); $(PERL) crypto/conf/keysets.pl \
@@ -1371,13 +1371,13 @@ tar:
link-utils: $(BLDDIR)/util/opensslwrap.sh $(BLDDIR)/apps/openssl.cnf
-$(BLDDIR)/util/opensslwrap.sh: configdata.pm
+$(BLDDIR)/util/opensslwrap.sh: Makefile
@if [ "$(SRCDIR)" != "$(BLDDIR)" ]; then \
mkdir -p "$(BLDDIR)/util"; \
ln -sf "../$(SRCDIR)/util/`basename "$@"`" "$(BLDDIR)/util"; \
fi
-$(BLDDIR)/apps/openssl.cnf: configdata.pm
+$(BLDDIR)/apps/openssl.cnf: Makefile
@if [ "$(SRCDIR)" != "$(BLDDIR)" ]; then \
mkdir -p "$(BLDDIR)/apps"; \
ln -sf "../$(SRCDIR)/apps/`basename "$@"`" "$(BLDDIR)/apps"; \
@@ -1387,7 +1387,8 @@ FORCE:
# Building targets ###################################################
-libcrypto.pc libssl.pc openssl.pc: configdata.pm $(LIBS) {- join(" ",map { platform->sharedlib_simple($_) // platform->sharedlib_import($_) // platform->sharedlib($_) // () } @{$unified_info{libraries}}) -}
+libcrypto.pc libssl.pc openssl.pc: Makefile $(LIBS) {- join(" ",map { platform->sharedlib_simple($_) // platform->sharedlib_import($_) // platform->sharedlib($_) // () } @{$unified_info{libraries}}) -}
+
libcrypto.pc:
@ ( echo 'prefix=$(INSTALLTOP)'; \
echo 'exec_prefix=$${prefix}'; \
@@ -1438,10 +1439,22 @@ openssl.pc:
echo 'Version: '$(VERSION); \
echo 'Requires: libssl libcrypto' ) > openssl.pc
+Makefile: configdata.pm \
+ {- join(" \\\n" . ' ' x 10,
+ fill_lines(" ", $COLUMNS - 10,
+ @{$config{build_file_templates}})) -}
+ @echo "Detected changed: $?"
+ $(PERL) configdata.pm
+ @echo "**************************************************"
+ @echo "*** ***"
+ @echo "*** Please run the same make command again ***"
+ @echo "*** ***"
+ @echo "**************************************************"
+ @false
+
configdata.pm: $(SRCDIR)/Configure $(SRCDIR)/config \
{- join(" \\\n" . ' ' x 15,
fill_lines(" ", $COLUMNS - 15,
- @{$config{build_file_templates}},
@{$config{build_infos}},
@{$config{conf_files}})) -}
@echo "Detected changed: $?"
diff --git a/deps/openssl/openssl/Configurations/windows-makefile.tmpl b/deps/openssl/openssl/Configurations/windows-makefile.tmpl
index 4718f118e395a7..2167180e144a83 100644
--- a/deps/openssl/openssl/Configurations/windows-makefile.tmpl
+++ b/deps/openssl/openssl/Configurations/windows-makefile.tmpl
@@ -481,7 +481,7 @@ distclean: clean
-del /Q /F configdata.pm
-del /Q /F makefile
-depend:
+depend: makefile
@ {- output_off() if $disabled{makedepend}; "\@rem" -}
@ "$(PERL)" "$(SRCDIR)\util\add-depends.pl" "{- $target{makedep_scheme} -}"
@ {- output_on() if $disabled{makedepend}; "\@rem" -}
@@ -643,13 +643,23 @@ uninstall_image_docs:
copy-utils: $(BLDDIR)\apps\openssl.cnf
-$(BLDDIR)\apps\openssl.cnf: configdata.pm
+$(BLDDIR)\apps\openssl.cnf: makefile
@if NOT EXIST "$(BLDDIR)\apps" mkdir "$(BLDDIR)\apps"
@if NOT "$(SRCDIR)"=="$(BLDDIR)" copy "$(SRCDIR)\apps\$(@F)" "$(BLDDIR)\apps"
# Building targets ###################################################
-configdata.pm: "$(SRCDIR)\Configure" {- join(" ", map { '"'.$_.'"' } @{$config{build_file_templates}}, @{$config{build_infos}}, @{$config{conf_files}}) -}
+makefile: configdata.pm {- join(" ", map { '"'.$_.'"' } @{$config{build_file_templates}}) -}
+ @$(ECHO) "Detected changed: $?"
+ "$(PERL)" configdata.pm
+ @$(ECHO) "**************************************************"
+ @$(ECHO) "*** ***"
+ @$(ECHO) "*** Please run the same make command again ***"
+ @$(ECHO) "*** ***"
+ @$(ECHO) "**************************************************"
+ @exit 1
+
+configdata.pm: "$(SRCDIR)\Configure" {- join(" ", map { '"'.$_.'"' } @{$config{build_infos}}, @{$config{conf_files}}) -}
@$(ECHO) "Detected changed: $?"
"$(PERL)" configdata.pm -r
@$(ECHO) "**************************************************"
diff --git a/deps/openssl/openssl/Configure b/deps/openssl/openssl/Configure
index 6991ce13683f11..c4381a02fc0b18 100755
--- a/deps/openssl/openssl/Configure
+++ b/deps/openssl/openssl/Configure
@@ -3172,25 +3172,25 @@ sub resolve_config {
}
}
- foreach (sort keys %all_keys) {
- my $previous = $combined_inheritance{$_};
+ foreach my $key (sort keys %all_keys) {
+ my $previous = $combined_inheritance{$key};
# Current target doesn't have a value for the current key?
# Assign it the default combiner, the rest of this loop body
# will handle it just like any other coderef.
- if (!exists $table{$target}->{$_}) {
- $table{$target}->{$_} = $default_combiner;
+ if (!exists $table{$target}->{$key}) {
+ $table{$target}->{$key} = $default_combiner;
}
- $table{$target}->{$_} = process_values($table{$target}->{$_},
- $combined_inheritance{$_},
- $target, $_);
- unless(defined($table{$target}->{$_})) {
- delete $table{$target}->{$_};
+ $table{$target}->{$key} = process_values($table{$target}->{$key},
+ $combined_inheritance{$key},
+ $target, $key);
+ unless(defined($table{$target}->{$key})) {
+ delete $table{$target}->{$key};
}
# if ($extra_checks &&
-# $previous && !($add_called || $previous ~~ $table{$target}->{$_})) {
-# warn "$_ got replaced in $target\n";
+# $previous && !($add_called || $previous ~~ $table{$target}->{$key})) {
+# warn "$key got replaced in $target\n";
# }
}
diff --git a/deps/openssl/openssl/NEWS.md b/deps/openssl/openssl/NEWS.md
index c27423e584e316..b9bd0dcc762e92 100644
--- a/deps/openssl/openssl/NEWS.md
+++ b/deps/openssl/openssl/NEWS.md
@@ -18,6 +18,11 @@ OpenSSL Releases
OpenSSL 3.0
-----------
+### Major changes between OpenSSL 3.0.1 and OpenSSL 3.0.2 [15 Mar 2022]
+
+ * Fixed a bug in the BN_mod_sqrt() function that can cause it to loop forever
+ for non-prime moduli ([CVE-2022-0778])
+
### Major changes between OpenSSL 3.0.0 and OpenSSL 3.0.1 [14 Dec 2021]
* Fixed invalid handling of X509_verify_cert() internal errors in libssl
diff --git a/deps/openssl/openssl/README-FIPS.md b/deps/openssl/openssl/README-FIPS.md
index a8be9ddb317f1b..d8c3cd3dd07608 100644
--- a/deps/openssl/openssl/README-FIPS.md
+++ b/deps/openssl/openssl/README-FIPS.md
@@ -64,4 +64,4 @@ Using the FIPS Module in applications
Documentation about using the FIPS module is available on the [fips_module(7)]
manual page.
- [fips_module(7)]: https://www.openssl.org/docs/manmaster/man7/fips_module.html
+ [fips_module(7)]: https://www.openssl.org/docs/man3.0/man7/fips_module.html
diff --git a/deps/openssl/openssl/README-OpenSSL.md b/deps/openssl/openssl/README-OpenSSL.md
index 680faea76f1cca..f2f4fd39ad05bb 100644
--- a/deps/openssl/openssl/README-OpenSSL.md
+++ b/deps/openssl/openssl/README-OpenSSL.md
@@ -113,8 +113,8 @@ document.
* [Notes on Perl](NOTES-PERL.md)
* [Notes on Valgrind](NOTES-VALGRIND.md)
-Specific notes on upgrading to OpenSSL 3.0 from previous versions, as well as
-known issues are available on the [OpenSSL 3.0 Wiki] page.
+Specific notes on upgrading to OpenSSL 3.0 from previous versions can be found
+in the [migration_guide(7ossl)] manual page.
Documentation
=============
@@ -126,6 +126,7 @@ The manual pages for the master branch and all current stable releases are
available online.
- [OpenSSL master](https://www.openssl.org/docs/manmaster)
+- [OpenSSL 3.0](https://www.openssl.org/docs/man3.0)
- [OpenSSL 1.1.1](https://www.openssl.org/docs/man1.1.1)
Wiki
@@ -165,7 +166,7 @@ attempting to develop or distribute cryptographic code.
Copyright
=========
-Copyright (c) 1998-2021 The OpenSSL Project
+Copyright (c) 1998-2022 The OpenSSL Project
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
@@ -193,9 +194,9 @@ All rights reserved.
"OpenSSL Wiki"
-[OpenSSL 3.0 Wiki]:
-
- "OpenSSL 3.0 Wiki"
+[migration_guide(7ossl)]:
+
+ "OpenSSL Migration Guide"
[RFC 8446]:
diff --git a/deps/openssl/openssl/README-PROVIDERS.md b/deps/openssl/openssl/README-PROVIDERS.md
index 33533f671c7d56..25e49c8618f7cc 100644
--- a/deps/openssl/openssl/README-PROVIDERS.md
+++ b/deps/openssl/openssl/README-PROVIDERS.md
@@ -20,7 +20,7 @@ distribute their own providers which can be added to OpenSSL dynamically.
Documentation about writing providers is available on the [provider(7)]
manual page.
- [provider(7)]: https://www.openssl.org/docs/manmaster/man7/provider.html
+ [provider(7)]: https://www.openssl.org/docs/man3.0/man7/provider.html
The Default Provider
--------------------
@@ -88,7 +88,7 @@ Providers to be loaded can be specified in the OpenSSL config file.
See the [config(5)] manual page for information about how to configure
providers via the config file, and how to automatically activate them.
- [config(5)]: https://www.openssl.org/docs/manmaster/man5/config.html
+ [config(5)]: https://www.openssl.org/docs/man3.0/man5/config.html
The following is a minimal config file example to load and activate both
the legacy and the default provider in the default library context.
diff --git a/deps/openssl/openssl/README.md b/deps/openssl/openssl/README.md
index f960fd8e675420..a6534012f7fff5 100644
--- a/deps/openssl/openssl/README.md
+++ b/deps/openssl/openssl/README.md
@@ -4,7 +4,7 @@ What This Is
This is a fork of [OpenSSL](https://www.openssl.org) to enable QUIC. In addition
to the website, the official source distribution is at
. The OpenSSL `README` can be found at
-[README-OpenSSL.md](https://github.com/quictls/openssl/blob/openssl-3.0.1%2Bquic/README-OpenSSL.md)
+[README-OpenSSL.md](https://github.com/quictls/openssl/blob/openssl-3.0.2%2Bquic/README-OpenSSL.md)
This fork adds APIs that can be used by QUIC implementations for connection
handshakes. Quoting the IETF Working group
diff --git a/deps/openssl/openssl/VERSION.dat b/deps/openssl/openssl/VERSION.dat
index 442559b71c9b78..d577b940c4d69c 100644
--- a/deps/openssl/openssl/VERSION.dat
+++ b/deps/openssl/openssl/VERSION.dat
@@ -1,7 +1,7 @@
MAJOR=3
MINOR=0
-PATCH=1
+PATCH=2
PRE_RELEASE_TAG=
BUILD_METADATA=quic
-RELEASE_DATE="14 Dec 2021"
+RELEASE_DATE="15 Mar 2022"
SHLIB_VERSION=81.3
diff --git a/deps/openssl/openssl/apps/ciphers.c b/deps/openssl/openssl/apps/ciphers.c
index 9c494224a11f27..4dc3fa94549add 100644
--- a/deps/openssl/openssl/apps/ciphers.c
+++ b/deps/openssl/openssl/apps/ciphers.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -187,7 +187,7 @@ int ciphers_main(int argc, char **argv)
goto end;
}
- ctx = SSL_CTX_new(meth);
+ ctx = SSL_CTX_new_ex(app_get0_libctx(), app_get0_propq(), meth);
if (ctx == NULL)
goto err;
if (SSL_CTX_set_min_proto_version(ctx, min_version) == 0)
diff --git a/deps/openssl/openssl/apps/cmp.c b/deps/openssl/openssl/apps/cmp.c
index 01a437fe482748..9ea5cee4124da1 100644
--- a/deps/openssl/openssl/apps/cmp.c
+++ b/deps/openssl/openssl/apps/cmp.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright Nokia 2007-2019
* Copyright Siemens AG 2015-2019
*
@@ -161,7 +161,7 @@ static char *opt_rspin = NULL;
static char *opt_rspout = NULL;
static int opt_use_mock_srv = 0;
-/* server-side debugging */
+/* mock server */
#ifndef OPENSSL_NO_SOCK
static char *opt_port = NULL;
static int opt_max_msgs = 0;
@@ -287,7 +287,7 @@ const OPTIONS cmp_options[] = {
{"subject", OPT_SUBJECT, 's',
"Distinguished Name (DN) of subject to use in the requested cert template"},
{OPT_MORE_STR, 0, 0,
- "For kur, default is subject of -csr arg or else of reference cert (see -oldcert)"},
+ "For kur, default is subject of -csr arg or reference cert (see -oldcert)"},
{OPT_MORE_STR, 0, 0,
"this default is used for ir and cr only if no Subject Alt Names are set"},
{"issuer", OPT_ISSUER, 's',
@@ -336,7 +336,7 @@ const OPTIONS cmp_options[] = {
{OPT_MORE_STR, 0, 0,
"also used as reference (defaulting to -cert) for subject DN and SANs."},
{OPT_MORE_STR, 0, 0,
- "Its issuer is used as recipient unless -recipient, -srvcert, or -issuer given"},
+ "Issuer is used as recipient unless -recipient, -srvcert, or -issuer given"},
{"revreason", OPT_REVREASON, 'n',
"Reason code to include in revocation request (rr); possible values:"},
{OPT_MORE_STR, 0, 0,
@@ -470,14 +470,16 @@ const OPTIONS cmp_options[] = {
"Process sequence of CMP responses provided in file(s), skipping server"},
{"rspout", OPT_RSPOUT, 's', "Save sequence of CMP responses to file(s)"},
- {"use_mock_srv", OPT_USE_MOCK_SRV, '-', "Use mock server at API level, bypassing HTTP"},
+ {"use_mock_srv", OPT_USE_MOCK_SRV, '-',
+ "Use internal mock server at API level, bypassing socket-based HTTP"},
OPT_SECTION("Mock server"),
#ifdef OPENSSL_NO_SOCK
{OPT_MORE_STR, 0, 0,
"NOTE: -port and -max_msgs not supported due to no-sock build"},
#else
- {"port", OPT_PORT, 's', "Act as HTTP mock server listening on given port"},
+ {"port", OPT_PORT, 's',
+ "Act as HTTP-based mock server listening on given port"},
{"max_msgs", OPT_MAX_MSGS, 'N',
"max number of messages handled by HTTP mock server. Default: 0 = unlimited"},
#endif
@@ -1000,7 +1002,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
if (opt_srv_ref == NULL) {
if (opt_srv_cert == NULL) {
/* opt_srv_cert should determine the sender */
- CMP_err("must give -srv_ref for server if no -srv_cert given");
+ CMP_err("must give -srv_ref for mock server if no -srv_cert given");
goto err;
}
} else {
@@ -1011,7 +1013,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
if (opt_srv_secret != NULL) {
int res;
- char *pass_str = get_passwd(opt_srv_secret, "PBMAC secret of server");
+ char *pass_str = get_passwd(opt_srv_secret, "PBMAC secret of mock server");
if (pass_str != NULL) {
cleanse(opt_srv_secret);
@@ -1022,10 +1024,10 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
goto err;
}
} else if (opt_srv_cert == NULL) {
- CMP_err("server credentials must be given if -use_mock_srv or -port is used");
+ CMP_err("mock server credentials must be given if -use_mock_srv or -port is used");
goto err;
} else {
- CMP_warn("server will not be able to handle PBM-protected requests since -srv_secret is not given");
+ CMP_warn("mock server will not be able to handle PBM-protected requests since -srv_secret is not given");
}
if (opt_srv_secret == NULL
@@ -1035,7 +1037,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
}
if (opt_srv_cert != NULL) {
X509 *srv_cert = load_cert_pwd(opt_srv_cert, opt_srv_keypass,
- "certificate of the server");
+ "certificate of the mock server");
if (srv_cert == NULL || !OSSL_CMP_CTX_set1_cert(ctx, srv_cert)) {
X509_free(srv_cert);
@@ -1046,7 +1048,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
if (opt_srv_key != NULL) {
EVP_PKEY *pkey = load_key_pwd(opt_srv_key, opt_keyform,
opt_srv_keypass,
- engine, "private key for server cert");
+ engine, "private key for mock server cert");
if (pkey == NULL || !OSSL_CMP_CTX_set1_pkey(ctx, pkey)) {
EVP_PKEY_free(pkey);
@@ -1058,14 +1060,14 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
if (opt_srv_trusted != NULL) {
X509_STORE *ts =
- load_trusted(opt_srv_trusted, 0, "certs trusted by server");
+ load_trusted(opt_srv_trusted, 0, "certs trusted by mock server");
if (ts == NULL || !OSSL_CMP_CTX_set0_trustedStore(ctx, ts)) {
X509_STORE_free(ts);
goto err;
}
} else {
- CMP_warn("server will not be able to handle signature-protected requests since -srv_trusted is not given");
+ CMP_warn("mock server will not be able to handle signature-protected requests since -srv_trusted is not given");
}
if (!setup_certs(opt_srv_untrusted,
"untrusted certificates for mock server", ctx,
@@ -1073,8 +1075,7 @@ static OSSL_CMP_SRV_CTX *setup_srv_ctx(ENGINE *engine)
goto err;
if (opt_rsp_cert == NULL) {
- CMP_err("must give -rsp_cert for mock server");
- goto err;
+ CMP_warn("no -rsp_cert given for mock server");
} else {
X509 *cert = load_cert_pwd(opt_rsp_cert, opt_keypass,
"cert to be returned by the mock server");
@@ -1805,13 +1806,31 @@ static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
static char server_port[32] = { '\0' };
const char *proxy_host = NULL;
#endif
- char server_buf[200] = { '\0' };
- char proxy_buf[200] = { '\0' };
+ char server_buf[200] = "mock server";
+ char proxy_buf[200] = "";
+ if (!opt_use_mock_srv && opt_rspin == NULL) { /* note: -port is not given */
#ifndef OPENSSL_NO_SOCK
- if (opt_server == NULL) {
- CMP_err("missing -server option");
+ if (opt_server == NULL) {
+ CMP_err("missing -server or -use_mock_srv or -rspin option");
+ goto err;
+ }
+#else
+ CMP_err("missing -use_mock_srv or -rspin option; -server option is not supported due to no-sock build");
goto err;
+#endif
+ }
+#ifndef OPENSSL_NO_SOCK
+ if (opt_server == NULL) {
+ if (opt_proxy != NULL)
+ CMP_warn("ignoring -proxy option since -server is not given");
+ if (opt_no_proxy != NULL)
+ CMP_warn("ignoring -no_proxy option since -server is not given");
+ if (opt_tls_used) {
+ CMP_warn("ignoring -tls_used option since -server is not given");
+ opt_tls_used = 0;
+ }
+ goto set_path;
}
if (!OSSL_HTTP_parse_url(opt_server, &ssl, NULL /* user */, &host, &port,
&portnum, &path, NULL /* q */, NULL /* frag */)) {
@@ -1841,6 +1860,7 @@ static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
if (proxy_host != NULL)
(void)BIO_snprintf(proxy_buf, sizeof(proxy_buf), " via %s", proxy_host);
+ set_path:
#endif
if (!OSSL_CMP_CTX_set1_serverPath(ctx, used_path))
@@ -1886,11 +1906,6 @@ static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
(void)OSSL_CMP_CTX_set_transfer_cb(ctx, read_write_req_resp);
#ifndef OPENSSL_NO_SOCK
- if ((opt_tls_cert != NULL || opt_tls_key != NULL
- || opt_tls_keypass != NULL || opt_tls_extra != NULL
- || opt_tls_trusted != NULL || opt_tls_host != NULL)
- && !opt_tls_used)
- CMP_warn("TLS options(s) given but not -tls_used");
if (opt_tls_used) {
APP_HTTP_TLS_INFO *info;
@@ -1904,19 +1919,18 @@ static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
goto err;
}
}
- if (opt_use_mock_srv) {
- CMP_err("cannot use TLS options together with -use_mock_srv");
- goto err;
- }
+
if ((info = OPENSSL_zalloc(sizeof(*info))) == NULL)
goto err;
(void)OSSL_CMP_CTX_set_http_cb_arg(ctx, info);
/* info will be freed along with CMP ctx */
info->server = opt_server;
info->port = server_port;
- info->use_proxy = opt_proxy != NULL;
+ /* workaround for callback design flaw, see #17088: */
+ info->use_proxy = proxy_host != NULL;
info->timeout = OSSL_CMP_CTX_get_option(ctx, OSSL_CMP_OPT_MSG_TIMEOUT);
info->ssl_ctx = setup_ssl_ctx(ctx, host, engine);
+
if (info->ssl_ctx == NULL)
goto err;
(void)OSSL_CMP_CTX_set_http_cb(ctx, app_http_tls_cb);
@@ -1938,7 +1952,10 @@ static int setup_client_ctx(OSSL_CMP_CTX *ctx, ENGINE *engine)
goto err;
/* not printing earlier, to minimize confusion in case setup fails before */
- CMP_info2("will contact %s%s", server_buf, proxy_buf);
+ if (opt_rspin != NULL)
+ CMP_info("will not contact any server since -rspin is given");
+ else
+ CMP_info2("will contact %s%s", server_buf, proxy_buf);
ret = 1;
@@ -2692,9 +2709,6 @@ int cmp_main(int argc, char **argv)
int i;
X509 *newcert = NULL;
ENGINE *engine = NULL;
-#ifndef OPENSSL_NO_SOCK
- char mock_server[] = "mock server:1";
-#endif
OSSL_CMP_CTX *srv_cmp_ctx = NULL;
int ret = 0; /* default: failure */
@@ -2785,27 +2799,41 @@ int cmp_main(int argc, char **argv)
}
}
+ cmp_ctx = OSSL_CMP_CTX_new(app_get0_libctx(), app_get0_propq());
+ if (cmp_ctx == NULL)
+ goto err;
+ OSSL_CMP_CTX_set_log_verbosity(cmp_ctx, opt_verbosity);
+ if (!OSSL_CMP_CTX_set_log_cb(cmp_ctx, print_to_bio_out)) {
+ CMP_err1("cannot set up error reporting and logging for %s", prog);
+ goto err;
+ }
+
#ifndef OPENSSL_NO_SOCK
+ if ((opt_tls_cert != NULL || opt_tls_key != NULL
+ || opt_tls_keypass != NULL || opt_tls_extra != NULL
+ || opt_tls_trusted != NULL || opt_tls_host != NULL)
+ && !opt_tls_used)
+ CMP_warn("Ingnoring TLS options(s) since -tls_used is not given");
if (opt_port != NULL) {
- if (opt_use_mock_srv) {
- CMP_err("cannot use both -port and -use_mock_srv options");
+ if (opt_tls_used) {
+ CMP_err("-tls_used option not supported with -port option");
goto err;
}
- if (opt_server != NULL) {
- CMP_err("cannot use both -port and -server options");
+ if (opt_use_mock_srv || opt_server != NULL || opt_rspin != NULL) {
+ CMP_err("cannot use -port with -use_mock_srv, -server, or -rspin options");
goto err;
}
}
-#endif
-
- cmp_ctx = OSSL_CMP_CTX_new(app_get0_libctx(), app_get0_propq());
- if (cmp_ctx == NULL)
+ if (opt_server != NULL && opt_use_mock_srv) {
+ CMP_err("cannot use both -server and -use_mock_srv options");
goto err;
- OSSL_CMP_CTX_set_log_verbosity(cmp_ctx, opt_verbosity);
- if (!OSSL_CMP_CTX_set_log_cb(cmp_ctx, print_to_bio_out)) {
- CMP_err1("cannot set up error reporting and logging for %s", prog);
+ }
+#endif
+ if (opt_rspin != NULL && opt_use_mock_srv) {
+ CMP_err("cannot use both -rspin and -use_mock_srv options");
goto err;
}
+
if (opt_use_mock_srv
#ifndef OPENSSL_NO_SOCK
|| opt_port != NULL
@@ -2824,29 +2852,26 @@ int cmp_main(int argc, char **argv)
OSSL_CMP_CTX_set_log_verbosity(srv_cmp_ctx, opt_verbosity);
}
-
#ifndef OPENSSL_NO_SOCK
+ if (opt_tls_used && (opt_use_mock_srv || opt_rspin != NULL)) {
+ CMP_warn("ignoring -tls_used option since -use_mock_srv or -rspin is given");
+ opt_tls_used = 0;
+ }
+
if (opt_port != NULL) { /* act as very basic CMP HTTP server */
ret = cmp_server(srv_cmp_ctx);
goto err;
}
-#endif
- /* else act as CMP client */
- if (opt_use_mock_srv) {
-#ifndef OPENSSL_NO_SOCK
- if (opt_server != NULL) {
- CMP_err("cannot use both -use_mock_srv and -server options");
- goto err;
- }
- if (opt_proxy != NULL) {
- CMP_err("cannot use both -use_mock_srv and -proxy options");
- goto err;
+ /* act as CMP client, possibly using internal mock server */
+
+ if (opt_server != NULL) {
+ if (opt_rspin != NULL) {
+ CMP_warn("ignoring -server option since -rspin is given");
+ opt_server = NULL;
}
- opt_server = mock_server;
- opt_proxy = "API";
-#endif
}
+#endif
if (!setup_client_ctx(cmp_ctx, engine)) {
CMP_err("cannot set up CMP context");
diff --git a/deps/openssl/openssl/apps/include/engine_loader.h b/deps/openssl/openssl/apps/include/engine_loader.h
index 11598639a5f688..fa80fc96567c74 100644
--- a/deps/openssl/openssl/apps/include/engine_loader.h
+++ b/deps/openssl/openssl/apps/include/engine_loader.h
@@ -1,7 +1,7 @@
/*
- * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2018-2022 The OpenSSL Project Authors. All Rights Reserved.
*
- * Licensed under the OpenSSL license (the "License"). You may not use
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
diff --git a/deps/openssl/openssl/apps/lib/apps.c b/deps/openssl/openssl/apps/lib/apps.c
index e01633c5b540b8..30da6e8a8cb896 100644
--- a/deps/openssl/openssl/apps/lib/apps.c
+++ b/deps/openssl/openssl/apps/lib/apps.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -291,7 +291,7 @@ static char *app_get_pass(const char *arg, int keepbio)
i = atoi(arg + 3);
if (i >= 0)
pwdbio = BIO_new_fd(i, BIO_NOCLOSE);
- if ((i < 0) || !pwdbio) {
+ if ((i < 0) || pwdbio == NULL) {
BIO_printf(bio_err, "Can't access file descriptor %s\n", arg + 3);
return NULL;
}
@@ -299,6 +299,12 @@ static char *app_get_pass(const char *arg, int keepbio)
* Can't do BIO_gets on an fd BIO so add a buffering BIO
*/
btmp = BIO_new(BIO_f_buffer());
+ if (btmp == NULL) {
+ BIO_free_all(pwdbio);
+ pwdbio = NULL;
+ BIO_printf(bio_err, "Out of memory\n");
+ return NULL;
+ }
pwdbio = BIO_push(btmp, pwdbio);
#endif
} else if (strcmp(arg, "stdin") == 0) {
@@ -696,10 +702,13 @@ int load_cert_certs(const char *uri,
if (ret) {
if (pcert != NULL)
warn_cert(uri, *pcert, 0, vpm);
- warn_certs(uri, *pcerts, 1, vpm);
+ if (pcerts != NULL)
+ warn_certs(uri, *pcerts, 1, vpm);
} else {
- sk_X509_pop_free(*pcerts, X509_free);
- *pcerts = NULL;
+ if (pcerts != NULL) {
+ sk_X509_pop_free(*pcerts, X509_free);
+ *pcerts = NULL;
+ }
}
return ret;
}
@@ -2442,16 +2451,18 @@ static const char *tls_error_hint(void)
}
/* HTTP callback function that supports TLS connection also via HTTPS proxy */
-BIO *app_http_tls_cb(BIO *hbio, void *arg, int connect, int detail)
+BIO *app_http_tls_cb(BIO *bio, void *arg, int connect, int detail)
{
+ APP_HTTP_TLS_INFO *info = (APP_HTTP_TLS_INFO *)arg;
+ SSL_CTX *ssl_ctx = info->ssl_ctx;
+
if (connect && detail) { /* connecting with TLS */
- APP_HTTP_TLS_INFO *info = (APP_HTTP_TLS_INFO *)arg;
- SSL_CTX *ssl_ctx = info->ssl_ctx;
SSL *ssl;
BIO *sbio = NULL;
+ /* adapt after fixing callback design flaw, see #17088 */
if ((info->use_proxy
- && !OSSL_HTTP_proxy_connect(hbio, info->server, info->port,
+ && !OSSL_HTTP_proxy_connect(bio, info->server, info->port,
NULL, NULL, /* no proxy credentials */
info->timeout, bio_err, opt_getprog()))
|| (sbio = BIO_new(BIO_f_ssl())) == NULL) {
@@ -2462,23 +2473,33 @@ BIO *app_http_tls_cb(BIO *hbio, void *arg, int connect, int detail)
return NULL;
}
- SSL_set_tlsext_host_name(ssl, info->server);
+ /* adapt after fixing callback design flaw, see #17088 */
+ SSL_set_tlsext_host_name(ssl, info->server); /* not critical to do */
SSL_set_connect_state(ssl);
BIO_set_ssl(sbio, ssl, BIO_CLOSE);
- hbio = BIO_push(sbio, hbio);
- } else if (!connect && !detail) { /* disconnecting after error */
- const char *hint = tls_error_hint();
+ bio = BIO_push(sbio, bio);
+ }
+ if (!connect) {
+ const char *hint;
+ BIO *cbio;
- if (hint != NULL)
- ERR_add_error_data(2, " : ", hint);
- /*
- * If we pop sbio and BIO_free() it this may lead to libssl double free.
- * Rely on BIO_free_all() done by OSSL_HTTP_transfer() in http_client.c
- */
+ if (!detail) { /* disconnecting after error */
+ hint = tls_error_hint();
+ if (hint != NULL)
+ ERR_add_error_data(2, " : ", hint);
+ }
+ if (ssl_ctx != NULL) {
+ (void)ERR_set_mark();
+ BIO_ssl_shutdown(bio);
+ cbio = BIO_pop(bio); /* connect+HTTP BIO */
+ BIO_free(bio); /* SSL BIO */
+ (void)ERR_pop_to_mark(); /* hide SSL_R_READ_BIO_NOT_SET etc. */
+ bio = cbio;
+ }
}
- return hbio;
+ return bio;
}
void APP_HTTP_TLS_INFO_free(APP_HTTP_TLS_INFO *info)
@@ -2518,7 +2539,8 @@ ASN1_VALUE *app_http_get_asn1(const char *url, const char *proxy,
info.server = server;
info.port = port;
- info.use_proxy = proxy != NULL;
+ info.use_proxy = /* workaround for callback design flaw, see #17088 */
+ OSSL_HTTP_adapt_proxy(proxy, no_proxy, server, use_ssl) != NULL;
info.timeout = timeout;
info.ssl_ctx = ssl_ctx;
mem = OSSL_HTTP_get(url, proxy, no_proxy, NULL /* bio */, NULL /* rbio */,
@@ -2544,18 +2566,21 @@ ASN1_VALUE *app_http_post_asn1(const char *host, const char *port,
const char *expected_content_type,
long timeout, const ASN1_ITEM *rsp_it)
{
+ int use_ssl = ssl_ctx != NULL;
APP_HTTP_TLS_INFO info;
BIO *rsp, *req_mem = ASN1_item_i2d_mem_bio(req_it, req);
ASN1_VALUE *res;
if (req_mem == NULL)
return NULL;
+
info.server = host;
info.port = port;
- info.use_proxy = proxy != NULL;
+ info.use_proxy = /* workaround for callback design flaw, see #17088 */
+ OSSL_HTTP_adapt_proxy(proxy, no_proxy, host, use_ssl) != NULL;
info.timeout = timeout;
info.ssl_ctx = ssl_ctx;
- rsp = OSSL_HTTP_transfer(NULL, host, port, path, ssl_ctx != NULL,
+ rsp = OSSL_HTTP_transfer(NULL, host, port, path, use_ssl,
proxy, no_proxy, NULL /* bio */, NULL /* rbio */,
app_http_tls_cb, &info,
0 /* buf_size */, headers, content_type, req_mem,
diff --git a/deps/openssl/openssl/apps/lib/engine_loader.c b/deps/openssl/openssl/apps/lib/engine_loader.c
index b2a11d438df876..c093f31e1b395a 100644
--- a/deps/openssl/openssl/apps/lib/engine_loader.c
+++ b/deps/openssl/openssl/apps/lib/engine_loader.c
@@ -1,7 +1,7 @@
/*
- * Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2018-2022 The OpenSSL Project Authors. All Rights Reserved.
*
- * Licensed under the OpenSSL license (the "License"). You may not use
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
diff --git a/deps/openssl/openssl/apps/lib/s_socket.c b/deps/openssl/openssl/apps/lib/s_socket.c
index dbeebb54c5b723..059afe47b90491 100644
--- a/deps/openssl/openssl/apps/lib/s_socket.c
+++ b/deps/openssl/openssl/apps/lib/s_socket.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -162,7 +162,7 @@ int init_client(int *sock, const char *host, const char *port,
#endif
if (!BIO_connect(*sock, BIO_ADDRINFO_address(ai),
- protocol == IPPROTO_TCP ? BIO_SOCK_NODELAY : 0)) {
+ BIO_ADDRINFO_protocol(ai) == IPPROTO_TCP ? BIO_SOCK_NODELAY : 0)) {
BIO_closesocket(*sock);
*sock = INVALID_SOCKET;
continue;
diff --git a/deps/openssl/openssl/apps/ocsp.c b/deps/openssl/openssl/apps/ocsp.c
index 7a5f84e527d0ea..05c6873238410a 100644
--- a/deps/openssl/openssl/apps/ocsp.c
+++ b/deps/openssl/openssl/apps/ocsp.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -1176,10 +1176,12 @@ static char **lookup_serial(CA_DB *db, ASN1_INTEGER *ser)
bn = ASN1_INTEGER_to_BN(ser, NULL);
OPENSSL_assert(bn); /* FIXME: should report an error at this
* point and abort */
- if (BN_is_zero(bn))
+ if (BN_is_zero(bn)) {
itmp = OPENSSL_strdup("00");
- else
+ OPENSSL_assert(itmp);
+ } else {
itmp = BN_bn2hex(bn);
+ }
row[DB_serial] = itmp;
BN_free(bn);
rrow = TXT_DB_get_by_index(db->db, DB_serial, row);
diff --git a/deps/openssl/openssl/apps/passwd.c b/deps/openssl/openssl/apps/passwd.c
index 65cbd9e4939629..64b2e76c147ae4 100644
--- a/deps/openssl/openssl/apps/passwd.c
+++ b/deps/openssl/openssl/apps/passwd.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -410,7 +410,7 @@ static char *md5crypt(const char *passwd, const char *magic, const char *salt)
n >>= 1;
}
if (!EVP_DigestFinal_ex(md, buf, NULL))
- return NULL;
+ goto err;
for (i = 0; i < 1000; i++) {
if (!EVP_DigestInit_ex(md2, EVP_md5(), NULL))
@@ -636,7 +636,7 @@ static char *shacrypt(const char *passwd, const char *magic, const char *salt)
n >>= 1;
}
if (!EVP_DigestFinal_ex(md, buf, NULL))
- return NULL;
+ goto err;
/* P sequence */
if (!EVP_DigestInit_ex(md2, sha, NULL))
@@ -647,7 +647,7 @@ static char *shacrypt(const char *passwd, const char *magic, const char *salt)
goto err;
if (!EVP_DigestFinal_ex(md2, temp_buf, NULL))
- return NULL;
+ goto err;
if ((p_bytes = OPENSSL_zalloc(passwd_len)) == NULL)
goto err;
@@ -664,7 +664,7 @@ static char *shacrypt(const char *passwd, const char *magic, const char *salt)
goto err;
if (!EVP_DigestFinal_ex(md2, temp_buf, NULL))
- return NULL;
+ goto err;
if ((s_bytes = OPENSSL_zalloc(salt_len)) == NULL)
goto err;
diff --git a/deps/openssl/openssl/apps/pkeyutl.c b/deps/openssl/openssl/apps/pkeyutl.c
index 73012e3069532d..518a74166153fd 100644
--- a/deps/openssl/openssl/apps/pkeyutl.c
+++ b/deps/openssl/openssl/apps/pkeyutl.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -464,23 +464,23 @@ int pkeyutl_main(int argc, char **argv)
}
goto end;
}
- if (kdflen != 0) {
- buf_outlen = kdflen;
- rv = 1;
+ if (rawin) {
+ /* rawin allocates the buffer in do_raw_keyop() */
+ rv = do_raw_keyop(pkey_op, mctx, pkey, in, filesize, NULL, 0,
+ &buf_out, (size_t *)&buf_outlen);
} else {
- if (rawin) {
- /* rawin allocates the buffer in do_raw_keyop() */
- rv = do_raw_keyop(pkey_op, mctx, pkey, in, filesize, NULL, 0,
- &buf_out, (size_t *)&buf_outlen);
+ if (kdflen != 0) {
+ buf_outlen = kdflen;
+ rv = 1;
} else {
rv = do_keyop(ctx, pkey_op, NULL, (size_t *)&buf_outlen,
buf_in, (size_t)buf_inlen);
- if (rv > 0 && buf_outlen != 0) {
- buf_out = app_malloc(buf_outlen, "buffer output");
- rv = do_keyop(ctx, pkey_op,
- buf_out, (size_t *)&buf_outlen,
- buf_in, (size_t)buf_inlen);
- }
+ }
+ if (rv > 0 && buf_outlen != 0) {
+ buf_out = app_malloc(buf_outlen, "buffer output");
+ rv = do_keyop(ctx, pkey_op,
+ buf_out, (size_t *)&buf_outlen,
+ buf_in, (size_t)buf_inlen);
}
}
if (rv <= 0) {
diff --git a/deps/openssl/openssl/apps/progs.pl b/deps/openssl/openssl/apps/progs.pl
index 8a5759a961cbed..29f9be13ca088d 100644
--- a/deps/openssl/openssl/apps/progs.pl
+++ b/deps/openssl/openssl/apps/progs.pl
@@ -1,5 +1,5 @@
#! /usr/bin/env perl
-# Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
@@ -21,7 +21,7 @@
my %commands = ();
my $cmdre = qr/^\s*int\s+([a-z_][a-z0-9_]*)_main\(\s*int\s+argc\s*,/;
my $apps_openssl = shift @ARGV;
-my $YEAR = [localtime()]->[5] + 1900;
+my $YEAR = [gmtime($ENV{SOURCE_DATE_EPOCH} || time())]->[5] + 1900;
# because the program apps/openssl has object files as sources, and
# they then have the corresponding C files as source, we need to chain
diff --git a/deps/openssl/openssl/apps/rehash.c b/deps/openssl/openssl/apps/rehash.c
index 7fe01de11c0b6c..fb6c08c420cade 100644
--- a/deps/openssl/openssl/apps/rehash.c
+++ b/deps/openssl/openssl/apps/rehash.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2013-2014 Timo Teräs
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -168,6 +168,12 @@ static int add_entry(enum Type type, unsigned int hash, const char *filename,
*ep = nilhentry;
ep->old_id = ~0;
ep->filename = OPENSSL_strdup(filename);
+ if (ep->filename == NULL) {
+ OPENSSL_free(ep);
+ ep = NULL;
+ BIO_printf(bio_err, "out of memory\n");
+ return 1;
+ }
if (bp->last_entry)
bp->last_entry->next = ep;
if (bp->first_entry == NULL)
diff --git a/deps/openssl/openssl/apps/req.c b/deps/openssl/openssl/apps/req.c
index fd9826a5a8df2f..71a5ab20cacda4 100644
--- a/deps/openssl/openssl/apps/req.c
+++ b/deps/openssl/openssl/apps/req.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -775,8 +775,9 @@ int req_main(int argc, char **argv)
}
}
if (newreq || gen_x509) {
- if (pkey == NULL /* can happen only if !newreq */) {
- BIO_printf(bio_err, "Must provide a signature key using -key\n");
+ if (CAcert == NULL && pkey == NULL) {
+ BIO_printf(bio_err, "Must provide a signature key using -key or"
+ " provide -CA / -CAkey\n");
goto end;
}
@@ -1594,6 +1595,13 @@ static EVP_PKEY_CTX *set_keygen_ctx(const char *gstr,
*pkeytype = OPENSSL_strndup(keytype, keytypelen);
else
*pkeytype = OPENSSL_strdup(keytype);
+
+ if (*pkeytype == NULL) {
+ BIO_printf(bio_err, "Out of memory\n");
+ EVP_PKEY_free(param);
+ return NULL;
+ }
+
if (keylen >= 0)
*pkeylen = keylen;
diff --git a/deps/openssl/openssl/apps/s_client.c b/deps/openssl/openssl/apps/s_client.c
index 30a9b34ccb6fb5..2b248be485a73b 100644
--- a/deps/openssl/openssl/apps/s_client.c
+++ b/deps/openssl/openssl/apps/s_client.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright 2005 Nokia. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -805,7 +805,7 @@ int s_client_main(int argc, char **argv)
char *cert_file = NULL, *key_file = NULL, *chain_file = NULL;
char *chCApath = NULL, *chCAfile = NULL, *chCAstore = NULL, *host = NULL;
char *thost = NULL, *tport = NULL;
- char *port = OPENSSL_strdup(PORT);
+ char *port = NULL;
char *bindhost = NULL, *bindport = NULL;
char *passarg = NULL, *pass = NULL;
char *vfyCApath = NULL, *vfyCAfile = NULL, *vfyCAstore = NULL;
@@ -843,6 +843,7 @@ int s_client_main(int argc, char **argv)
struct timeval tv;
#endif
const char *servername = NULL;
+ char *sname_alloc = NULL;
int noservername = 0;
const char *alpn_in = NULL;
tlsextctx tlsextcbp = { NULL, 0 };
@@ -903,10 +904,11 @@ int s_client_main(int argc, char **argv)
c_debug = 0;
c_showcerts = 0;
c_nbio = 0;
+ port = OPENSSL_strdup(PORT);
vpm = X509_VERIFY_PARAM_new();
cctx = SSL_CONF_CTX_new();
- if (vpm == NULL || cctx == NULL) {
+ if (port == NULL || vpm == NULL || cctx == NULL) {
BIO_printf(bio_err, "%s: out of memory\n", opt_getprog());
goto end;
}
@@ -1131,6 +1133,10 @@ int s_client_main(int argc, char **argv)
break;
case OPT_MSGFILE:
bio_c_msg = BIO_new_file(opt_arg(), "w");
+ if (bio_c_msg == NULL) {
+ BIO_printf(bio_err, "Error writing file %s\n", opt_arg());
+ goto end;
+ }
break;
case OPT_TRACE:
#ifndef OPENSSL_NO_SSL_TRACE
@@ -1530,6 +1536,14 @@ int s_client_main(int argc, char **argv)
goto opthelp;
}
+ if (servername == NULL && !noservername) {
+ servername = sname_alloc = OPENSSL_strdup(host);
+ if (sname_alloc == NULL) {
+ BIO_printf(bio_err, "%s: out of memory\n", prog);
+ goto end;
+ }
+ }
+
/* Retain the original target host:port for use in the HTTP proxy connect string */
thost = OPENSSL_strdup(host);
tport = OPENSSL_strdup(port);
@@ -1651,10 +1665,21 @@ int s_client_main(int argc, char **argv)
if (bio_c_out == NULL) {
if (c_quiet && !c_debug) {
bio_c_out = BIO_new(BIO_s_null());
- if (c_msg && bio_c_msg == NULL)
+ if (c_msg && bio_c_msg == NULL) {
bio_c_msg = dup_bio_out(FORMAT_TEXT);
- } else if (bio_c_out == NULL)
+ if (bio_c_msg == NULL) {
+ BIO_printf(bio_err, "Out of memory\n");
+ goto end;
+ }
+ }
+ } else {
bio_c_out = dup_bio_out(FORMAT_TEXT);
+ }
+
+ if (bio_c_out == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto end;
+ }
}
#ifndef OPENSSL_NO_SRP
if (!app_passwd(srppass, NULL, &srp_arg.srppassin, NULL)) {
@@ -2017,14 +2042,16 @@ int s_client_main(int argc, char **argv)
#endif
sbio = BIO_new_dgram(sock, BIO_NOCLOSE);
- if ((peer_info.addr = BIO_ADDR_new()) == NULL) {
+ if (sbio == NULL || (peer_info.addr = BIO_ADDR_new()) == NULL) {
BIO_printf(bio_err, "memory allocation failure\n");
+ BIO_free(sbio);
BIO_closesocket(sock);
goto end;
}
if (!BIO_sock_info(sock, BIO_SOCK_INFO_ADDRESS, &peer_info)) {
BIO_printf(bio_err, "getsockname:errno=%d\n",
get_last_socket_error());
+ BIO_free(sbio);
BIO_ADDR_free(peer_info.addr);
BIO_closesocket(sock);
goto end;
@@ -2065,10 +2092,22 @@ int s_client_main(int argc, char **argv)
#endif /* OPENSSL_NO_DTLS */
sbio = BIO_new_socket(sock, BIO_NOCLOSE);
+ if (sbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ ERR_print_errors(bio_err);
+ BIO_closesocket(sock);
+ goto end;
+ }
+
if (nbio_test) {
BIO *test;
test = BIO_new(BIO_f_nbio_test());
+ if (test == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ BIO_free(sbio);
+ goto shut;
+ }
sbio = BIO_push(test, sbio);
}
@@ -2135,6 +2174,10 @@ int s_client_main(int argc, char **argv)
int foundit = 0;
BIO *fbio = BIO_new(BIO_f_buffer());
+ if (fbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto shut;
+ }
BIO_push(fbio, sbio);
/* Wait for multi-line response to end from LMTP or SMTP */
do {
@@ -2183,6 +2226,10 @@ int s_client_main(int argc, char **argv)
int foundit = 0;
BIO *fbio = BIO_new(BIO_f_buffer());
+ if (fbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto shut;
+ }
BIO_push(fbio, sbio);
BIO_gets(fbio, mbuf, BUFSIZZ);
/* STARTTLS command requires CAPABILITY... */
@@ -2210,6 +2257,10 @@ int s_client_main(int argc, char **argv)
{
BIO *fbio = BIO_new(BIO_f_buffer());
+ if (fbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto shut;
+ }
BIO_push(fbio, sbio);
/* wait for multi-line response to end from FTP */
do {
@@ -2304,6 +2355,10 @@ int s_client_main(int argc, char **argv)
int numeric;
BIO *fbio = BIO_new(BIO_f_buffer());
+ if (fbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto end;
+ }
BIO_push(fbio, sbio);
BIO_printf(fbio, "STARTTLS\r\n");
(void)BIO_flush(fbio);
@@ -2464,6 +2519,10 @@ int s_client_main(int argc, char **argv)
int foundit = 0;
BIO *fbio = BIO_new(BIO_f_buffer());
+ if (fbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto end;
+ }
BIO_push(fbio, sbio);
BIO_gets(fbio, mbuf, BUFSIZZ);
/* STARTTLS command requires CAPABILITIES... */
@@ -2504,6 +2563,10 @@ int s_client_main(int argc, char **argv)
int foundit = 0;
BIO *fbio = BIO_new(BIO_f_buffer());
+ if (fbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ goto end;
+ }
BIO_push(fbio, sbio);
/* wait for multi-line response to end from Sieve */
do {
@@ -2563,8 +2626,9 @@ int s_client_main(int argc, char **argv)
BIO *ldapbio = BIO_new(BIO_s_mem());
CONF *cnf = NCONF_new(NULL);
- if (cnf == NULL) {
+ if (ldapbio == NULL || cnf == NULL) {
BIO_free(ldapbio);
+ NCONF_free(cnf);
goto end;
}
BIO_puts(ldapbio, ldap_tls_genconf);
@@ -3038,6 +3102,7 @@ int s_client_main(int argc, char **argv)
#ifndef OPENSSL_NO_SRP
OPENSSL_free(srp_arg.srppassin);
#endif
+ OPENSSL_free(sname_alloc);
OPENSSL_free(connectstr);
OPENSSL_free(bindstr);
OPENSSL_free(bindhost);
diff --git a/deps/openssl/openssl/apps/s_server.c b/deps/openssl/openssl/apps/s_server.c
index d95bf14cbf50b4..ccaec3124bf4c6 100644
--- a/deps/openssl/openssl/apps/s_server.c
+++ b/deps/openssl/openssl/apps/s_server.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
@@ -1006,7 +1006,7 @@ int s_server_main(int argc, char *argv[])
int socket_family = AF_UNSPEC, socket_type = SOCK_STREAM, protocol = 0;
int state = 0, crl_format = FORMAT_UNDEF, crl_download = 0;
char *host = NULL;
- char *port = OPENSSL_strdup(PORT);
+ char *port = NULL;
unsigned char *context = NULL;
OPTION_CHOICE o;
EVP_PKEY *s_key2 = NULL;
@@ -1069,9 +1069,10 @@ int s_server_main(int argc, char *argv[])
async = 0;
use_sendfile = 0;
+ port = OPENSSL_strdup(PORT);
cctx = SSL_CONF_CTX_new();
vpm = X509_VERIFY_PARAM_new();
- if (cctx == NULL || vpm == NULL)
+ if (port == NULL || cctx == NULL || vpm == NULL)
goto end;
SSL_CONF_CTX_set_flags(cctx,
SSL_CONF_FLAG_SERVER | SSL_CONF_FLAG_CMDLINE);
@@ -1389,6 +1390,10 @@ int s_server_main(int argc, char *argv[])
break;
case OPT_MSGFILE:
bio_s_msg = BIO_new_file(opt_arg(), "w");
+ if (bio_s_msg == NULL) {
+ BIO_printf(bio_err, "Error writing file %s\n", opt_arg());
+ goto end;
+ }
break;
case OPT_TRACE:
#ifndef OPENSSL_NO_SSL_TRACE
@@ -1800,13 +1805,21 @@ int s_server_main(int argc, char *argv[])
if (bio_s_out == NULL) {
if (s_quiet && !s_debug) {
bio_s_out = BIO_new(BIO_s_null());
- if (s_msg && bio_s_msg == NULL)
+ if (s_msg && bio_s_msg == NULL) {
bio_s_msg = dup_bio_out(FORMAT_TEXT);
+ if (bio_s_msg == NULL) {
+ BIO_printf(bio_err, "Out of memory\n");
+ goto end;
+ }
+ }
} else {
- if (bio_s_out == NULL)
- bio_s_out = dup_bio_out(FORMAT_TEXT);
+ bio_s_out = dup_bio_out(FORMAT_TEXT);
}
}
+
+ if (bio_s_out == NULL)
+ goto end;
+
if (nocert) {
s_cert_file = NULL;
s_key_file = NULL;
@@ -2344,6 +2357,11 @@ static int sv_body(int s, int stype, int prot, unsigned char *context)
else
# endif
sbio = BIO_new_dgram(s, BIO_NOCLOSE);
+ if (sbio == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ ERR_print_errors(bio_err);
+ goto err;
+ }
if (enable_timeouts) {
timeout.tv_sec = 0;
@@ -2393,6 +2411,13 @@ static int sv_body(int s, int stype, int prot, unsigned char *context)
BIO *test;
test = BIO_new(BIO_f_nbio_test());
+ if (test == NULL) {
+ BIO_printf(bio_err, "Unable to create BIO\n");
+ ret = -1;
+ BIO_free(sbio);
+ goto err;
+ }
+
sbio = BIO_push(test, sbio);
}
@@ -2976,13 +3001,21 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
int total_bytes = 0;
#endif
int width;
+#ifndef OPENSSL_NO_KTLS
+ int use_sendfile_for_req = use_sendfile;
+#endif
fd_set readfds;
const char *opmode;
+#ifdef CHARSET_EBCDIC
+ BIO *filter;
+#endif
/* Set width for a select call if needed */
width = s + 1;
- buf = app_malloc(bufsize, "server www buffer");
+ /* as we use BIO_gets(), and it always null terminates data, we need
+ * to allocate 1 byte longer buffer to fit the full 2^14 byte record */
+ buf = app_malloc(bufsize + 1, "server www buffer");
io = BIO_new(BIO_f_buffer());
ssl_bio = BIO_new(BIO_f_ssl());
if ((io == NULL) || (ssl_bio == NULL))
@@ -3015,10 +3048,21 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
}
sbio = BIO_new_socket(s, BIO_NOCLOSE);
+ if (sbio == NULL) {
+ SSL_free(con);
+ goto err;
+ }
+
if (s_nbio_test) {
BIO *test;
test = BIO_new(BIO_f_nbio_test());
+ if (test == NULL) {
+ SSL_free(con);
+ BIO_free(sbio);
+ goto err;
+ }
+
sbio = BIO_push(test, sbio);
}
SSL_set_bio(con, sbio, sbio);
@@ -3029,7 +3073,11 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
BIO_push(io, ssl_bio);
ssl_bio = NULL;
#ifdef CHARSET_EBCDIC
- io = BIO_push(BIO_new(BIO_f_ebcdic_filter()), io);
+ filter = BIO_new(BIO_f_ebcdic_filter());
+ if (filter == NULL)
+ goto err;
+
+ io = BIO_push(filter, io);
#endif
if (s_debug) {
@@ -3047,7 +3095,7 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
}
for (;;) {
- i = BIO_gets(io, buf, bufsize - 1);
+ i = BIO_gets(io, buf, bufsize + 1);
if (i < 0) { /* error */
if (!BIO_should_retry(io) && !SSL_waiting_for_async(con)) {
if (!s_quiet)
@@ -3112,7 +3160,7 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
* we're expecting to come from the client. If they haven't
* sent one there's not much we can do.
*/
- BIO_gets(io, buf, bufsize - 1);
+ BIO_gets(io, buf, bufsize + 1);
}
BIO_puts(io,
@@ -3293,7 +3341,11 @@ static int www_body(int s, int stype, int prot, unsigned char *context)
}
/* send the file */
#ifndef OPENSSL_NO_KTLS
- if (use_sendfile) {
+ if (use_sendfile_for_req && !BIO_get_ktls_send(SSL_get_wbio(con))) {
+ BIO_printf(bio_err, "Warning: sendfile requested but KTLS is not available\n");
+ use_sendfile_for_req = 0;
+ }
+ if (use_sendfile_for_req) {
FILE *fp = NULL;
int fd;
struct stat st;
@@ -3400,8 +3452,13 @@ static int rev_body(int s, int stype, int prot, unsigned char *context)
int ret = 1;
SSL *con;
BIO *io, *ssl_bio, *sbio;
+#ifdef CHARSET_EBCDIC
+ BIO *filter;
+#endif
- buf = app_malloc(bufsize, "server rev buffer");
+ /* as we use BIO_gets(), and it always null terminates data, we need
+ * to allocate 1 byte longer buffer to fit the full 2^14 byte record */
+ buf = app_malloc(bufsize + 1, "server rev buffer");
io = BIO_new(BIO_f_buffer());
ssl_bio = BIO_new(BIO_f_ssl());
if ((io == NULL) || (ssl_bio == NULL))
@@ -3427,6 +3484,12 @@ static int rev_body(int s, int stype, int prot, unsigned char *context)
}
sbio = BIO_new_socket(s, BIO_NOCLOSE);
+ if (sbio == NULL) {
+ SSL_free(con);
+ ERR_print_errors(bio_err);
+ goto err;
+ }
+
SSL_set_bio(con, sbio, sbio);
SSL_set_accept_state(con);
@@ -3435,7 +3498,11 @@ static int rev_body(int s, int stype, int prot, unsigned char *context)
BIO_push(io, ssl_bio);
ssl_bio = NULL;
#ifdef CHARSET_EBCDIC
- io = BIO_push(BIO_new(BIO_f_ebcdic_filter()), io);
+ filter = BIO_new(BIO_f_ebcdic_filter());
+ if (filter == NULL)
+ goto err;
+
+ io = BIO_push(filter, io);
#endif
if (s_debug) {
@@ -3476,7 +3543,7 @@ static int rev_body(int s, int stype, int prot, unsigned char *context)
print_ssl_summary(con);
for (;;) {
- i = BIO_gets(io, buf, bufsize - 1);
+ i = BIO_gets(io, buf, bufsize + 1);
if (i < 0) { /* error */
if (!BIO_should_retry(io)) {
if (!s_quiet)
diff --git a/deps/openssl/openssl/apps/speed.c b/deps/openssl/openssl/apps/speed.c
index ada559228d5a08..d252b41ca431c4 100644
--- a/deps/openssl/openssl/apps/speed.c
+++ b/deps/openssl/openssl/apps/speed.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -29,6 +29,7 @@
#include
#include "apps.h"
#include "progs.h"
+#include "internal/numbers.h"
#include
#include
#include
@@ -451,7 +452,7 @@ static const OPT_PAIR sm2_choices[SM2_NUM] = {
static double sm2_results[SM2_NUM][2]; /* 2 ops: sign then verify */
#endif /* OPENSSL_NO_SM2 */
-#define COND(unused_cond) (run && count < 0x7fffffff)
+#define COND(unused_cond) (run && count < INT_MAX)
#define COUNT(d) (count)
typedef struct loopargs_st {
@@ -1774,6 +1775,10 @@ int speed_main(int argc, char **argv)
buflen = lengths[size_num - 1];
if (buflen < 36) /* size of random vector in RSA benchmark */
buflen = 36;
+ if (INT_MAX - (MAX_MISALIGNMENT + 1) < buflen) {
+ BIO_printf(bio_err, "Error: buffer size too large\n");
+ goto end;
+ }
buflen += MAX_MISALIGNMENT + 1;
loopargs[i].buf_malloc = app_malloc(buflen, "input buffer");
loopargs[i].buf2_malloc = app_malloc(buflen, "input buffer");
@@ -3617,7 +3622,7 @@ static void multiblock_speed(const EVP_CIPHER *evp_cipher, int lengths_single,
for (j = 0; j < num; j++) {
print_message(alg_name, 0, mblengths[j], seconds->sym);
Time_F(START);
- for (count = 0; run && count < 0x7fffffff; count++) {
+ for (count = 0; run && count < INT_MAX; count++) {
unsigned char aad[EVP_AEAD_TLS1_AAD_LEN];
EVP_CTRL_TLS1_1_MULTIBLOCK_PARAM mb_param;
size_t len = mblengths[j];
diff --git a/deps/openssl/openssl/apps/verify.c b/deps/openssl/openssl/apps/verify.c
index acf80c65c4e125..3aae931f69dfbe 100644
--- a/deps/openssl/openssl/apps/verify.c
+++ b/deps/openssl/openssl/apps/verify.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -263,6 +263,7 @@ static int check(X509_STORE *ctx, const char *file,
if (x509_ctrl_string(x, opt) <= 0) {
BIO_printf(bio_err, "parameter error \"%s\"\n", opt);
ERR_print_errors(bio_err);
+ X509_free(x);
return 0;
}
}
diff --git a/deps/openssl/openssl/apps/x509.c b/deps/openssl/openssl/apps/x509.c
index 2880ae792a046b..f09f1d1b3ba964 100644
--- a/deps/openssl/openssl/apps/x509.c
+++ b/deps/openssl/openssl/apps/x509.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -706,9 +706,9 @@ int x509_main(int argc, char **argv)
: "Certificate request self-signature did not match the contents\n");
goto end;
}
- BIO_printf(out, "Certificate request self-signature ok\n");
+ BIO_printf(bio_err, "Certificate request self-signature ok\n");
- print_name(out, "subject=", X509_REQ_get_subject_name(req));
+ print_name(bio_err, "subject=", X509_REQ_get_subject_name(req));
} else if (!x509toreq && ext_copy != EXT_COPY_UNSET) {
BIO_printf(bio_err, "Warning: ignoring -copy_extensions since neither -x509toreq nor -req is given\n");
}
diff --git a/deps/openssl/openssl/crypto/aes/aes_core.c b/deps/openssl/openssl/crypto/aes/aes_core.c
index 7b9989fd470aa4..3413ce8f4378a8 100644
--- a/deps/openssl/openssl/crypto/aes/aes_core.c
+++ b/deps/openssl/openssl/crypto/aes/aes_core.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2002-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -50,7 +50,7 @@
#include
#include "aes_local.h"
-#if !defined(OPENSSL_NO_AES_CONST_TIME) && !defined(AES_ASM)
+#if defined(OPENSSL_AES_CONST_TIME) && !defined(AES_ASM)
# if (defined(_WIN32) || defined(_WIN64)) && !defined(__MINGW32__)
# define U64(C) C##UI64
diff --git a/deps/openssl/openssl/crypto/asn1/d2i_pu.c b/deps/openssl/openssl/crypto/asn1/d2i_pu.c
index 1be114b8a2a21c..cf7825c439034f 100644
--- a/deps/openssl/openssl/crypto/asn1/d2i_pu.c
+++ b/deps/openssl/openssl/crypto/asn1/d2i_pu.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -54,7 +54,7 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
goto err;
}
- switch (EVP_PKEY_get_id(ret)) {
+ switch (EVP_PKEY_get_base_id(ret)) {
case EVP_PKEY_RSA:
if ((ret->pkey.rsa = d2i_RSAPublicKey(NULL, pp, length)) == NULL) {
ERR_raise(ERR_LIB_ASN1, ERR_R_ASN1_LIB);
diff --git a/deps/openssl/openssl/crypto/asn1/i2d_evp.c b/deps/openssl/openssl/crypto/asn1/i2d_evp.c
index 8b36388263c35f..0d66411be8fd00 100644
--- a/deps/openssl/openssl/crypto/asn1/i2d_evp.c
+++ b/deps/openssl/openssl/crypto/asn1/i2d_evp.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -131,7 +131,7 @@ int i2d_PublicKey(const EVP_PKEY *a, unsigned char **pp)
return i2d_provided(a, EVP_PKEY_PUBLIC_KEY, output_info, pp);
}
- switch (EVP_PKEY_get_id(a)) {
+ switch (EVP_PKEY_get_base_id(a)) {
case EVP_PKEY_RSA:
return i2d_RSAPublicKey(EVP_PKEY_get0_RSA(a), pp);
#ifndef OPENSSL_NO_DSA
diff --git a/deps/openssl/openssl/crypto/async/arch/async_posix.h b/deps/openssl/openssl/crypto/async/arch/async_posix.h
index ab7637f69e7676..a17c6b8e68af2d 100644
--- a/deps/openssl/openssl/crypto/async/arch/async_posix.h
+++ b/deps/openssl/openssl/crypto/async/arch/async_posix.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -25,12 +25,26 @@
# define ASYNC_POSIX
# define ASYNC_ARCH
-# ifdef __CET__
+# if defined(__CET__) || defined(__ia64__)
/*
* When Intel CET is enabled, makecontext will create a different
* shadow stack for each context. async_fibre_swapcontext cannot
* use _longjmp. It must call swapcontext to swap shadow stack as
* well as normal stack.
+ * On IA64 the register stack engine is not saved across setjmp/longjmp. Here
+ * swapcontext() performs correctly.
+ */
+# define USE_SWAPCONTEXT
+# endif
+# if defined(__aarch64__) && defined(__clang__) \
+ && defined(__ARM_FEATURE_BTI_DEFAULT) && __ARM_FEATURE_BTI_DEFAULT == 1
+/*
+ * setjmp/longjmp don't currently work with BTI on all libc implementations
+ * when compiled by clang. This is because clang doesn't put a BTI after the
+ * call to setjmp where it returns the second time. This then fails on libc
+ * implementations - notably glibc - which use an indirect jump to there.
+ * So use the swapcontext implementation, which does work.
+ * See https://github.com/llvm/llvm-project/issues/48888.
*/
# define USE_SWAPCONTEXT
# endif
diff --git a/deps/openssl/openssl/crypto/bio/bio_addr.c b/deps/openssl/openssl/crypto/bio/bio_addr.c
index d18c849ade158b..a80774bbd7cac9 100644
--- a/deps/openssl/openssl/crypto/bio/bio_addr.c
+++ b/deps/openssl/openssl/crypto/bio/bio_addr.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -752,7 +752,7 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type,
# pragma pointer_size 32
#endif
/* Windows doesn't seem to have in_addr_t */
-#ifdef OPENSSL_SYS_WINDOWS
+#if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_MSDOS)
static uint32_t he_fallback_address;
static const char *he_fallback_addresses[] =
{ (char *)&he_fallback_address, NULL };
diff --git a/deps/openssl/openssl/crypto/bio/bio_print.c b/deps/openssl/openssl/crypto/bio/bio_print.c
index 1ea9a1a3c6923d..4c9c3af7cfd606 100644
--- a/deps/openssl/openssl/crypto/bio/bio_print.c
+++ b/deps/openssl/openssl/crypto/bio/bio_print.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -13,6 +13,7 @@
#include "crypto/ctype.h"
#include "internal/numbers.h"
#include
+#include
/*
* Copyright Patrick Powell 1995
@@ -31,8 +32,10 @@ static int fmtstr(char **, char **, size_t *, size_t *,
const char *, int, int, int);
static int fmtint(char **, char **, size_t *, size_t *,
int64_t, int, int, int, int);
+#ifndef OPENSSL_SYS_UEFI
static int fmtfp(char **, char **, size_t *, size_t *,
LDOUBLE, int, int, int, int);
+#endif
static int doapr_outch(char **, char **, size_t *, size_t *, int);
static int _dopr(char **sbuffer, char **buffer,
size_t *maxlen, size_t *retlen, int *truncated,
@@ -88,7 +91,9 @@ _dopr(char **sbuffer,
{
char ch;
int64_t value;
+#ifndef OPENSSL_SYS_UEFI
LDOUBLE fvalue;
+#endif
char *strvalue;
int min;
int max;
@@ -259,6 +264,7 @@ _dopr(char **sbuffer,
min, max, flags))
return 0;
break;
+#ifndef OPENSSL_SYS_UEFI
case 'f':
if (cflags == DP_C_LDOUBLE)
fvalue = va_arg(args, LDOUBLE);
@@ -292,6 +298,16 @@ _dopr(char **sbuffer,
flags, G_FORMAT))
return 0;
break;
+#else
+ case 'f':
+ case 'E':
+ case 'e':
+ case 'G':
+ case 'g':
+ /* not implemented for UEFI */
+ ERR_raise(ERR_LIB_BIO, ERR_R_UNSUPPORTED);
+ return 0;
+#endif
case 'c':
if (!doapr_outch(sbuffer, buffer, &currlen, maxlen,
va_arg(args, int)))
@@ -512,6 +528,8 @@ fmtint(char **sbuffer,
return 1;
}
+#ifndef OPENSSL_SYS_UEFI
+
static LDOUBLE abs_val(LDOUBLE value)
{
LDOUBLE result = value;
@@ -807,6 +825,8 @@ fmtfp(char **sbuffer,
return 1;
}
+#endif /* OPENSSL_SYS_UEFI */
+
#define BUFFER_INC 1024
static int
diff --git a/deps/openssl/openssl/crypto/bio/bss_core.c b/deps/openssl/openssl/crypto/bio/bss_core.c
index de774e2b005f46..7a84b20460c8e1 100644
--- a/deps/openssl/openssl/crypto/bio/bss_core.c
+++ b/deps/openssl/openssl/crypto/bio/bss_core.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -48,7 +48,7 @@ static int bio_core_read_ex(BIO *bio, char *data, size_t data_len,
{
BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx);
- if (bcgbl->c_bio_read_ex == NULL)
+ if (bcgbl == NULL || bcgbl->c_bio_read_ex == NULL)
return 0;
return bcgbl->c_bio_read_ex(BIO_get_data(bio), data, data_len, bytes_read);
}
@@ -58,7 +58,7 @@ static int bio_core_write_ex(BIO *bio, const char *data, size_t data_len,
{
BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx);
- if (bcgbl->c_bio_write_ex == NULL)
+ if (bcgbl == NULL || bcgbl->c_bio_write_ex == NULL)
return 0;
return bcgbl->c_bio_write_ex(BIO_get_data(bio), data, data_len, written);
}
@@ -67,7 +67,7 @@ static long bio_core_ctrl(BIO *bio, int cmd, long num, void *ptr)
{
BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx);
- if (bcgbl->c_bio_ctrl == NULL)
+ if (bcgbl == NULL || bcgbl->c_bio_ctrl == NULL)
return -1;
return bcgbl->c_bio_ctrl(BIO_get_data(bio), cmd, num, ptr);
}
@@ -76,7 +76,7 @@ static int bio_core_gets(BIO *bio, char *buf, int size)
{
BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx);
- if (bcgbl->c_bio_gets == NULL)
+ if (bcgbl == NULL || bcgbl->c_bio_gets == NULL)
return -1;
return bcgbl->c_bio_gets(BIO_get_data(bio), buf, size);
}
@@ -85,7 +85,7 @@ static int bio_core_puts(BIO *bio, const char *str)
{
BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx);
- if (bcgbl->c_bio_puts == NULL)
+ if (bcgbl == NULL || bcgbl->c_bio_puts == NULL)
return -1;
return bcgbl->c_bio_puts(BIO_get_data(bio), str);
}
@@ -101,6 +101,9 @@ static int bio_core_free(BIO *bio)
{
BIO_CORE_GLOBALS *bcgbl = get_globals(bio->libctx);
+ if (bcgbl == NULL)
+ return 0;
+
BIO_set_init(bio, 0);
bcgbl->c_bio_free(BIO_get_data(bio));
@@ -133,7 +136,7 @@ BIO *BIO_new_from_core_bio(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio)
BIO_CORE_GLOBALS *bcgbl = get_globals(libctx);
/* Check the library context has been initialised with the callbacks */
- if (bcgbl->c_bio_write_ex == NULL && bcgbl->c_bio_read_ex == NULL)
+ if (bcgbl == NULL || (bcgbl->c_bio_write_ex == NULL && bcgbl->c_bio_read_ex == NULL))
return NULL;
if ((outbio = BIO_new_ex(libctx, BIO_s_core())) == NULL)
@@ -151,6 +154,9 @@ int ossl_bio_init_core(OSSL_LIB_CTX *libctx, const OSSL_DISPATCH *fns)
{
BIO_CORE_GLOBALS *bcgbl = get_globals(libctx);
+ if (bcgbl == NULL)
+ return 0;
+
for (; fns->function_id != 0; fns++) {
switch (fns->function_id) {
case OSSL_FUNC_BIO_READ_EX:
diff --git a/deps/openssl/openssl/crypto/bn/bn_conv.c b/deps/openssl/openssl/crypto/bn/bn_conv.c
index 4af546a25b8e24..75054f5d6a6c74 100644
--- a/deps/openssl/openssl/crypto/bn/bn_conv.c
+++ b/deps/openssl/openssl/crypto/bn/bn_conv.c
@@ -142,7 +142,7 @@ int BN_hex2bn(BIGNUM **bn, const char *a)
continue;
if (i == 0 || i > INT_MAX / 4)
- goto err;
+ return 0;
num = i + neg;
if (bn == NULL)
@@ -154,6 +154,10 @@ int BN_hex2bn(BIGNUM **bn, const char *a)
return 0;
} else {
ret = *bn;
+ if (BN_get_flags(ret, BN_FLG_STATIC_DATA)) {
+ ERR_raise(ERR_LIB_BN, ERR_R_PASSED_INVALID_ARGUMENT);
+ return 0;
+ }
BN_zero(ret);
}
diff --git a/deps/openssl/openssl/crypto/bn/bn_exp2.c b/deps/openssl/openssl/crypto/bn/bn_exp2.c
index 4713503d07c3aa..f5e29fd14de300 100644
--- a/deps/openssl/openssl/crypto/bn/bn_exp2.c
+++ b/deps/openssl/openssl/crypto/bn/bn_exp2.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -32,7 +32,7 @@ int BN_mod_exp2_mont(BIGNUM *rr, const BIGNUM *a1, const BIGNUM *p1,
bn_check_top(p2);
bn_check_top(m);
- if (!(m->d[0] & 1)) {
+ if (!BN_is_odd(m)) {
ERR_raise(ERR_LIB_BN, BN_R_CALLED_WITH_EVEN_MODULUS);
return 0;
}
diff --git a/deps/openssl/openssl/crypto/bn/bn_ppc.c b/deps/openssl/openssl/crypto/bn/bn_ppc.c
index 05c0c4cb9250bc..1e9421bee213d6 100644
--- a/deps/openssl/openssl/crypto/bn/bn_ppc.c
+++ b/deps/openssl/openssl/crypto/bn/bn_ppc.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2009-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2009-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -40,7 +40,7 @@ int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp,
* no opportunity to figure it out...
*/
-#if defined(_ARCH_PPC64)
+#if defined(_ARCH_PPC64) && !defined(__ILP32__)
if (num == 6) {
if (OPENSSL_ppccap_P & PPC_MADD300)
return bn_mul_mont_300_fixed_n6(rp, ap, bp, np, n0, num);
diff --git a/deps/openssl/openssl/crypto/bn/bn_sqrt.c b/deps/openssl/openssl/crypto/bn/bn_sqrt.c
index b663ae5ec51728..5c77e72132d426 100644
--- a/deps/openssl/openssl/crypto/bn/bn_sqrt.c
+++ b/deps/openssl/openssl/crypto/bn/bn_sqrt.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -14,7 +14,8 @@ BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
/*
* Returns 'ret' such that ret^2 == a (mod p), using the Tonelli/Shanks
* algorithm (cf. Henri Cohen, "A Course in Algebraic Computational Number
- * Theory", algorithm 1.5.1). 'p' must be prime!
+ * Theory", algorithm 1.5.1). 'p' must be prime, otherwise an error or
+ * an incorrect "result" will be returned.
*/
{
BIGNUM *ret = in;
@@ -303,18 +304,23 @@ BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
goto vrfy;
}
- /* find smallest i such that b^(2^i) = 1 */
- i = 1;
- if (!BN_mod_sqr(t, b, p, ctx))
- goto end;
- while (!BN_is_one(t)) {
- i++;
- if (i == e) {
- ERR_raise(ERR_LIB_BN, BN_R_NOT_A_SQUARE);
- goto end;
+ /* Find the smallest i, 0 < i < e, such that b^(2^i) = 1. */
+ for (i = 1; i < e; i++) {
+ if (i == 1) {
+ if (!BN_mod_sqr(t, b, p, ctx))
+ goto end;
+
+ } else {
+ if (!BN_mod_mul(t, t, t, p, ctx))
+ goto end;
}
- if (!BN_mod_mul(t, t, t, p, ctx))
- goto end;
+ if (BN_is_one(t))
+ break;
+ }
+ /* If not found, a is not a square or p is not prime. */
+ if (i >= e) {
+ ERR_raise(ERR_LIB_BN, BN_R_NOT_A_SQUARE);
+ goto end;
}
/* t := y^2^(e - i - 1) */
diff --git a/deps/openssl/openssl/crypto/bn/rsaz_exp_x2.c b/deps/openssl/openssl/crypto/bn/rsaz_exp_x2.c
index 15db0c1f05aa9c..0e0aff1f85d770 100644
--- a/deps/openssl/openssl/crypto/bn/rsaz_exp_x2.c
+++ b/deps/openssl/openssl/crypto/bn/rsaz_exp_x2.c
@@ -318,6 +318,8 @@ static void RSAZ_exp52x20_x2_256(BN_ULONG *out, /* [2][20] */
int exp_chunk_no = exp_bit_no / 64;
int exp_chunk_shift = exp_bit_no % 64;
+ BN_ULONG red_table_idx_0, red_table_idx_1;
+
/*
* If rem == 0, then
* exp_bit_no = modulus_bitsize - exp_win_size
@@ -329,8 +331,8 @@ static void RSAZ_exp52x20_x2_256(BN_ULONG *out, /* [2][20] */
OPENSSL_assert(rem != 0);
/* Process 1-st exp window - just init result */
- BN_ULONG red_table_idx_0 = expz[0][exp_chunk_no];
- BN_ULONG red_table_idx_1 = expz[1][exp_chunk_no];
+ red_table_idx_0 = expz[0][exp_chunk_no];
+ red_table_idx_1 = expz[1][exp_chunk_no];
/*
* The function operates with fixed moduli sizes divisible by 64,
* thus table index here is always in supported range [0, EXP_WIN_SIZE).
diff --git a/deps/openssl/openssl/crypto/cmp/cmp_msg.c b/deps/openssl/openssl/crypto/cmp/cmp_msg.c
index 84a272fe2b062e..2da95248adbd22 100644
--- a/deps/openssl/openssl/crypto/cmp/cmp_msg.c
+++ b/deps/openssl/openssl/crypto/cmp/cmp_msg.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright Nokia 2007-2019
* Copyright Siemens AG 2015-2019
*
@@ -260,7 +260,7 @@ static const X509_NAME *determine_subj(OSSL_CMP_CTX *ctx,
if (ctx->subjectName != NULL)
return IS_NULL_DN(ctx->subjectName) ? NULL : ctx->subjectName;
- if (ref_subj != NULL && (for_KUR || !HAS_SAN(ctx)))
+ if (ref_subj != NULL && (ctx->p10CSR != NULL || for_KUR || !HAS_SAN(ctx)))
/*
* For KUR, copy subject from the reference.
* For IR or CR, do the same only if there is no subjectAltName.
@@ -289,6 +289,8 @@ OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid)
if (rkey == NULL && ctx->p10CSR != NULL)
rkey = X509_REQ_get0_pubkey(ctx->p10CSR);
+ if (rkey == NULL && refcert != NULL)
+ rkey = X509_get0_pubkey(refcert);
if (rkey == NULL)
rkey = ctx->pkey; /* default is independent of ctx->oldCert */
if (rkey == NULL) {
@@ -327,12 +329,15 @@ OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid)
}
/* extensions */
- if (refcert != NULL && !ctx->SubjectAltName_nodefault)
- default_sans = X509V3_get_d2i(X509_get0_extensions(refcert),
- NID_subject_alt_name, NULL, NULL);
if (ctx->p10CSR != NULL
&& (exts = X509_REQ_get_extensions(ctx->p10CSR)) == NULL)
goto err;
+ if (!ctx->SubjectAltName_nodefault && !HAS_SAN(ctx) && refcert != NULL
+ && (default_sans = X509V3_get_d2i(X509_get0_extensions(refcert),
+ NID_subject_alt_name, NULL, NULL))
+ != NULL
+ && !add1_extension(&exts, NID_subject_alt_name, crit, default_sans))
+ goto err;
if (ctx->reqExtensions != NULL /* augment/override existing ones */
&& !add_extensions(&exts, ctx->reqExtensions))
goto err;
@@ -340,9 +345,6 @@ OSSL_CRMF_MSG *OSSL_CMP_CTX_setup_CRM(OSSL_CMP_CTX *ctx, int for_KUR, int rid)
&& !add1_extension(&exts, NID_subject_alt_name,
crit, ctx->subjectAltNames))
goto err;
- if (!HAS_SAN(ctx) && default_sans != NULL
- && !add1_extension(&exts, NID_subject_alt_name, crit, default_sans))
- goto err;
if (ctx->policies != NULL
&& !add1_extension(&exts, NID_certificate_policies,
ctx->setPoliciesCritical, ctx->policies))
@@ -566,6 +568,7 @@ OSSL_CMP_MSG *ossl_cmp_rr_new(OSSL_CMP_CTX *ctx)
if (!sk_OSSL_CMP_REVDETAILS_push(msg->body->value.rr, rd))
goto err;
rd = NULL;
+ /* Revocation Passphrase according to section 5.3.19.9 could be set here */
if (!ossl_cmp_msg_protect(ctx, msg))
goto err;
diff --git a/deps/openssl/openssl/crypto/context.c b/deps/openssl/openssl/crypto/context.c
index bba8e4208b1a0b..3333af4c534e33 100644
--- a/deps/openssl/openssl/crypto/context.c
+++ b/deps/openssl/openssl/crypto/context.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -93,10 +93,8 @@ static int context_init(OSSL_LIB_CTX *ctx)
exdata_done = 1;
if (!ossl_crypto_new_ex_data_ex(ctx, CRYPTO_EX_INDEX_OSSL_LIB_CTX, NULL,
- &ctx->data)) {
- ossl_crypto_cleanup_all_ex_data_int(ctx);
+ &ctx->data))
goto err;
- }
/* Everything depends on properties, so we also pre-initialise that */
if (!ossl_property_parse_init(ctx))
@@ -106,9 +104,11 @@ static int context_init(OSSL_LIB_CTX *ctx)
err:
if (exdata_done)
ossl_crypto_cleanup_all_ex_data_int(ctx);
+ for (i = 0; i < OSSL_LIB_CTX_MAX_INDEXES; i++)
+ CRYPTO_THREAD_lock_free(ctx->index_locks[i]);
CRYPTO_THREAD_lock_free(ctx->oncelock);
CRYPTO_THREAD_lock_free(ctx->lock);
- ctx->lock = NULL;
+ memset(ctx, '\0', sizeof(*ctx));
return 0;
}
@@ -156,6 +156,7 @@ DEFINE_RUN_ONCE_STATIC(default_context_do_init)
void ossl_lib_ctx_default_deinit(void)
{
context_deinit(&default_context_int);
+ CRYPTO_THREAD_cleanup_local(&default_context_thread_local);
}
static OSSL_LIB_CTX *get_thread_default_context(void)
@@ -189,7 +190,7 @@ OSSL_LIB_CTX *OSSL_LIB_CTX_new(void)
OSSL_LIB_CTX *ctx = OPENSSL_zalloc(sizeof(*ctx));
if (ctx != NULL && !context_init(ctx)) {
- OSSL_LIB_CTX_free(ctx);
+ OPENSSL_free(ctx);
ctx = NULL;
}
return ctx;
diff --git a/deps/openssl/openssl/crypto/core_namemap.c b/deps/openssl/openssl/crypto/core_namemap.c
index e1da724bd2f4df..55248affc66306 100644
--- a/deps/openssl/openssl/crypto/core_namemap.c
+++ b/deps/openssl/openssl/crypto/core_namemap.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -37,11 +37,7 @@ struct ossl_namemap_st {
CRYPTO_RWLOCK *lock;
LHASH_OF(NAMENUM_ENTRY) *namenum; /* Name->number mapping */
-#ifdef tsan_ld_acq
- TSAN_QUALIFIER int max_number; /* Current max number TSAN version */
-#else
- int max_number; /* Current max number plain version */
-#endif
+ TSAN_QUALIFIER int max_number; /* Current max number */
};
/* LHASH callbacks */
@@ -99,10 +95,7 @@ static const OSSL_LIB_CTX_METHOD stored_namemap_method = {
int ossl_namemap_empty(OSSL_NAMEMAP *namemap)
{
-#ifdef tsan_ld_acq
- /* Have TSAN support */
- return namemap == NULL || tsan_load(&namemap->max_number) == 0;
-#else
+#ifdef TSAN_REQUIRES_LOCKING
/* No TSAN support */
int rv;
@@ -114,6 +107,9 @@ int ossl_namemap_empty(OSSL_NAMEMAP *namemap)
rv = namemap->max_number == 0;
CRYPTO_THREAD_unlock(namemap->lock);
return rv;
+#else
+ /* Have TSAN support */
+ return namemap == NULL || tsan_load(&namemap->max_number) == 0;
#endif
}
@@ -260,6 +256,7 @@ static int namemap_add_name_n(OSSL_NAMEMAP *namemap, int number,
|| (namenum->name = OPENSSL_strndup(name, name_len)) == NULL)
goto err;
+ /* The tsan_counter use here is safe since we're under lock */
namenum->number =
number != 0 ? number : 1 + tsan_counter(&namemap->max_number);
(void)lh_NAMENUM_ENTRY_insert(namemap->namenum, namenum);
@@ -409,14 +406,16 @@ static void get_legacy_cipher_names(const OBJ_NAME *on, void *arg)
{
const EVP_CIPHER *cipher = (void *)OBJ_NAME_get(on->name, on->type);
- get_legacy_evp_names(NID_undef, EVP_CIPHER_get_type(cipher), NULL, arg);
+ if (cipher != NULL)
+ get_legacy_evp_names(NID_undef, EVP_CIPHER_get_type(cipher), NULL, arg);
}
static void get_legacy_md_names(const OBJ_NAME *on, void *arg)
{
const EVP_MD *md = (void *)OBJ_NAME_get(on->name, on->type);
- get_legacy_evp_names(0, EVP_MD_get_type(md), NULL, arg);
+ if (md != NULL)
+ get_legacy_evp_names(0, EVP_MD_get_type(md), NULL, arg);
}
static void get_legacy_pkey_meth_names(const EVP_PKEY_ASN1_METHOD *ameth,
diff --git a/deps/openssl/openssl/crypto/dh/dh_ameth.c b/deps/openssl/openssl/crypto/dh/dh_ameth.c
index 38d8e7a38f610b..b2ff8c3eb5e0f1 100644
--- a/deps/openssl/openssl/crypto/dh/dh_ameth.c
+++ b/deps/openssl/openssl/crypto/dh/dh_ameth.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -511,7 +511,7 @@ static int dh_pkey_import_from_type(const OSSL_PARAM params[], void *vpctx,
DH_set_flags(dh, type == EVP_PKEY_DH ? DH_FLAG_TYPE_DH : DH_FLAG_TYPE_DHX);
if (!ossl_dh_params_fromdata(dh, params)
- || !ossl_dh_key_fromdata(dh, params)
+ || !ossl_dh_key_fromdata(dh, params, 1)
|| !EVP_PKEY_assign(pkey, type, dh)) {
DH_free(dh);
return 0;
diff --git a/deps/openssl/openssl/crypto/dh/dh_backend.c b/deps/openssl/openssl/crypto/dh/dh_backend.c
index 7bd5c617debc1d..726843fd30cd64 100644
--- a/deps/openssl/openssl/crypto/dh/dh_backend.c
+++ b/deps/openssl/openssl/crypto/dh/dh_backend.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -63,7 +63,7 @@ int ossl_dh_params_fromdata(DH *dh, const OSSL_PARAM params[])
return 1;
}
-int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[])
+int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[], int include_private)
{
const OSSL_PARAM *param_priv_key, *param_pub_key;
BIGNUM *priv_key = NULL, *pub_key = NULL;
@@ -74,10 +74,13 @@ int ossl_dh_key_fromdata(DH *dh, const OSSL_PARAM params[])
param_priv_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PRIV_KEY);
param_pub_key = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY);
- if ((param_priv_key != NULL
- && !OSSL_PARAM_get_BN(param_priv_key, &priv_key))
- || (param_pub_key != NULL
- && !OSSL_PARAM_get_BN(param_pub_key, &pub_key)))
+ if (include_private
+ && param_priv_key != NULL
+ && !OSSL_PARAM_get_BN(param_priv_key, &priv_key))
+ goto err;
+
+ if (param_pub_key != NULL
+ && !OSSL_PARAM_get_BN(param_pub_key, &pub_key))
goto err;
if (!DH_set0_key(dh, pub_key, priv_key))
@@ -103,7 +106,8 @@ int ossl_dh_params_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[])
return 1;
}
-int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[])
+int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[],
+ int include_private)
{
const BIGNUM *priv = NULL, *pub = NULL;
@@ -112,6 +116,7 @@ int ossl_dh_key_todata(DH *dh, OSSL_PARAM_BLD *bld, OSSL_PARAM params[])
DH_get0_key(dh, &pub, &priv);
if (priv != NULL
+ && include_private
&& !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_PRIV_KEY, priv))
return 0;
if (pub != NULL
diff --git a/deps/openssl/openssl/crypto/dh/dh_key.c b/deps/openssl/openssl/crypto/dh/dh_key.c
index 6b8cd550f25fd0..4e9705beef733b 100644
--- a/deps/openssl/openssl/crypto/dh/dh_key.c
+++ b/deps/openssl/openssl/crypto/dh/dh_key.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -375,20 +375,17 @@ int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len)
int err_reason = DH_R_BN_ERROR;
BIGNUM *pubkey = NULL;
const BIGNUM *p;
- size_t p_size;
+ int ret;
if ((pubkey = BN_bin2bn(buf, len, NULL)) == NULL)
goto err;
DH_get0_pqg(dh, &p, NULL, NULL);
- if (p == NULL || (p_size = BN_num_bytes(p)) == 0) {
+ if (p == NULL || BN_num_bytes(p) == 0) {
err_reason = DH_R_NO_PARAMETERS_SET;
goto err;
}
- /*
- * As per Section 4.2.8.1 of RFC 8446 fail if DHE's
- * public key is of size not equal to size of p
- */
- if (BN_is_zero(pubkey) || p_size != len) {
+ /* Prevent small subgroup attacks per RFC 8446 Section 4.2.8.1 */
+ if (!ossl_dh_check_pub_key_partial(dh, pubkey, &ret)) {
err_reason = DH_R_INVALID_PUBKEY;
goto err;
}
diff --git a/deps/openssl/openssl/crypto/dsa/dsa_ameth.c b/deps/openssl/openssl/crypto/dsa/dsa_ameth.c
index 53417bff6a4716..234fc44ed7db75 100644
--- a/deps/openssl/openssl/crypto/dsa/dsa_ameth.c
+++ b/deps/openssl/openssl/crypto/dsa/dsa_ameth.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -485,7 +485,7 @@ static int dsa_pkey_import_from(const OSSL_PARAM params[], void *vpctx)
}
if (!ossl_dsa_ffc_params_fromdata(dsa, params)
- || !ossl_dsa_key_fromdata(dsa, params)
+ || !ossl_dsa_key_fromdata(dsa, params, 1)
|| !EVP_PKEY_assign_DSA(pkey, dsa)) {
DSA_free(dsa);
return 0;
diff --git a/deps/openssl/openssl/crypto/dsa/dsa_backend.c b/deps/openssl/openssl/crypto/dsa/dsa_backend.c
index 5e3ff851544ec7..f9a71bdc9e0bb6 100644
--- a/deps/openssl/openssl/crypto/dsa/dsa_backend.c
+++ b/deps/openssl/openssl/crypto/dsa/dsa_backend.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -27,16 +27,19 @@
* implementations alike.
*/
-int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[])
+int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[],
+ int include_private)
{
- const OSSL_PARAM *param_priv_key, *param_pub_key;
+ const OSSL_PARAM *param_priv_key = NULL, *param_pub_key;
BIGNUM *priv_key = NULL, *pub_key = NULL;
if (dsa == NULL)
return 0;
- param_priv_key =
- OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PRIV_KEY);
+ if (include_private) {
+ param_priv_key =
+ OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PRIV_KEY);
+ }
param_pub_key =
OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY);
diff --git a/deps/openssl/openssl/crypto/ec/asm/ecp_nistp521-ppc64.pl b/deps/openssl/openssl/crypto/ec/asm/ecp_nistp521-ppc64.pl
index e97d803d26f409..4260e24a1f577d 100755
--- a/deps/openssl/openssl/crypto/ec/asm/ecp_nistp521-ppc64.pl
+++ b/deps/openssl/openssl/crypto/ec/asm/ecp_nistp521-ppc64.pl
@@ -1,7 +1,7 @@
#! /usr/bin/env perl
-# Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2021-2022 The OpenSSL Project Authors. All Rights Reserved.
#
-# Licensed under the OpenSSL license (the "License"). You may not use
+# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
diff --git a/deps/openssl/openssl/crypto/ec/curve448/arch_64/arch_intrinsics.h b/deps/openssl/openssl/crypto/ec/curve448/arch_64/arch_intrinsics.h
index 2d9d5c7931714a..e12b8cf2262402 100644
--- a/deps/openssl/openssl/crypto/ec/curve448/arch_64/arch_intrinsics.h
+++ b/deps/openssl/openssl/crypto/ec/curve448/arch_64/arch_intrinsics.h
@@ -1,8 +1,8 @@
/*
- * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright 2016 Cryptography Research, Inc.
*
- * Licensed under the OpenSSL license (the "License"). You may not use
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
diff --git a/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl.h b/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl.h
index 12bdb841ba153c..faaeb8d9944b53 100644
--- a/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl.h
+++ b/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl.h
@@ -1,8 +1,8 @@
/*
- * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright 2014-2016 Cryptography Research, Inc.
*
- * Licensed under the OpenSSL license (the "License"). You may not use
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
diff --git a/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl64.c b/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl64.c
index 7653545ee72302..8f7a7dd391bd8d 100644
--- a/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl64.c
+++ b/deps/openssl/openssl/crypto/ec/curve448/arch_64/f_impl64.c
@@ -1,8 +1,8 @@
/*
- * Copyright 2017-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright 2014 Cryptography Research, Inc.
*
- * Licensed under the OpenSSL license (the "License"). You may not use
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
diff --git a/deps/openssl/openssl/crypto/ec/ec_lib.c b/deps/openssl/openssl/crypto/ec/ec_lib.c
index 3d3cf9696204fb..2ee8284eaff3f1 100644
--- a/deps/openssl/openssl/crypto/ec/ec_lib.c
+++ b/deps/openssl/openssl/crypto/ec/ec_lib.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -1710,8 +1710,8 @@ EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[],
ptmp = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_EC_ENCODING);
if (ptmp != NULL
&& !ossl_ec_encoding_param2id(ptmp, &encoding_flag)) {
- ECerr(0, EC_R_INVALID_ENCODING);
- return 0;
+ ERR_raise(ERR_LIB_EC, EC_R_INVALID_ENCODING);
+ goto err;
}
if (encoding_flag == OPENSSL_EC_NAMED_CURVE) {
ERR_raise(ERR_LIB_EC, EC_R_INVALID_ENCODING);
diff --git a/deps/openssl/openssl/crypto/ec/ec_print.c b/deps/openssl/openssl/crypto/ec/ec_print.c
index d791e15b4839dd..ffe112052fbd62 100644
--- a/deps/openssl/openssl/crypto/ec/ec_print.c
+++ b/deps/openssl/openssl/crypto/ec/ec_print.c
@@ -68,7 +68,7 @@ EC_POINT *EC_POINT_hex2point(const EC_GROUP *group,
len = strlen(hex) / 2;
oct_buf = OPENSSL_malloc(len);
if (oct_buf == NULL)
- return NULL;
+ goto err;
if (!OPENSSL_hexstr2buf_ex(oct_buf, len, &oct_buf_len, hex, '\0')
|| !EC_POINT_oct2point(group, pt, oct_buf, oct_buf_len, ctx))
diff --git a/deps/openssl/openssl/crypto/ec/ecp_s390x_nistp.c b/deps/openssl/openssl/crypto/ec/ecp_s390x_nistp.c
index 5c70b2d67840c2..0c10196ea34eca 100644
--- a/deps/openssl/openssl/crypto/ec/ecp_s390x_nistp.c
+++ b/deps/openssl/openssl/crypto/ec/ecp_s390x_nistp.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -116,7 +116,7 @@ static int ec_GFp_s390x_nistp_mul(const EC_GROUP *group, EC_POINT *r,
/* Otherwise use default. */
if (rc == -1)
rc = ossl_ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
- OPENSSL_cleanse(param + S390X_OFF_SCALAR(len), len);
+ OPENSSL_cleanse(param, sizeof(param));
BN_CTX_end(ctx);
BN_CTX_free(new_ctx);
return rc;
@@ -212,7 +212,7 @@ static ECDSA_SIG *ecdsa_s390x_nistp_sign_sig(const unsigned char *dgst,
ok = 1;
ret:
- OPENSSL_cleanse(param + S390X_OFF_K(len), 2 * len);
+ OPENSSL_cleanse(param, sizeof(param));
if (ok != 1) {
ECDSA_SIG_free(sig);
sig = NULL;
diff --git a/deps/openssl/openssl/crypto/encode_decode/decoder_meth.c b/deps/openssl/openssl/crypto/encode_decode/decoder_meth.c
index 6d444373147dbd..cb53343c54d005 100644
--- a/deps/openssl/openssl/crypto/encode_decode/decoder_meth.c
+++ b/deps/openssl/openssl/crypto/encode_decode/decoder_meth.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -339,6 +339,7 @@ inner_ossl_decoder_fetch(struct decoder_data_st *methdata, int id,
{
OSSL_METHOD_STORE *store = get_decoder_store(methdata->libctx);
OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx);
+ const char *const propq = properties != NULL ? properties : "";
void *method = NULL;
int unsupported = 0;
@@ -367,7 +368,7 @@ inner_ossl_decoder_fetch(struct decoder_data_st *methdata, int id,
unsupported = 1;
if (id == 0
- || !ossl_method_store_cache_get(store, NULL, id, properties, &method)) {
+ || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
OSSL_METHOD_CONSTRUCT_METHOD mcm = {
get_tmp_decoder_store,
get_decoder_from_store,
@@ -375,13 +376,14 @@ inner_ossl_decoder_fetch(struct decoder_data_st *methdata, int id,
construct_decoder,
destruct_decoder
};
+ OSSL_PROVIDER *prov = NULL;
methdata->id = id;
methdata->names = name;
- methdata->propquery = properties;
+ methdata->propquery = propq;
methdata->flag_construct_error_occurred = 0;
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER,
- NULL, 0 /* !force_cache */,
+ &prov, 0 /* !force_cache */,
&mcm, methdata)) != NULL) {
/*
* If construction did create a method for us, we know that
@@ -392,7 +394,7 @@ inner_ossl_decoder_fetch(struct decoder_data_st *methdata, int id,
if (id == 0 && name != NULL)
id = ossl_namemap_name2num(namemap, name);
if (id != 0)
- ossl_method_store_cache_set(store, NULL, id, properties, method,
+ ossl_method_store_cache_set(store, prov, id, propq, method,
up_ref_decoder, free_decoder);
}
diff --git a/deps/openssl/openssl/crypto/encode_decode/encoder_meth.c b/deps/openssl/openssl/crypto/encode_decode/encoder_meth.c
index 9c0214db6bc741..eb8fd2f457a0c0 100644
--- a/deps/openssl/openssl/crypto/encode_decode/encoder_meth.c
+++ b/deps/openssl/openssl/crypto/encode_decode/encoder_meth.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -349,6 +349,7 @@ inner_ossl_encoder_fetch(struct encoder_data_st *methdata, int id,
{
OSSL_METHOD_STORE *store = get_encoder_store(methdata->libctx);
OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx);
+ const char *const propq = properties != NULL ? properties : "";
void *method = NULL;
int unsupported = 0;
@@ -377,7 +378,7 @@ inner_ossl_encoder_fetch(struct encoder_data_st *methdata, int id,
unsupported = 1;
if (id == 0
- || !ossl_method_store_cache_get(store, NULL, id, properties, &method)) {
+ || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
OSSL_METHOD_CONSTRUCT_METHOD mcm = {
get_tmp_encoder_store,
get_encoder_from_store,
@@ -385,13 +386,14 @@ inner_ossl_encoder_fetch(struct encoder_data_st *methdata, int id,
construct_encoder,
destruct_encoder
};
+ OSSL_PROVIDER *prov = NULL;
methdata->id = id;
methdata->names = name;
- methdata->propquery = properties;
+ methdata->propquery = propq;
methdata->flag_construct_error_occurred = 0;
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_ENCODER,
- NULL, 0 /* !force_cache */,
+ &prov, 0 /* !force_cache */,
&mcm, methdata)) != NULL) {
/*
* If construction did create a method for us, we know that
@@ -401,7 +403,7 @@ inner_ossl_encoder_fetch(struct encoder_data_st *methdata, int id,
*/
if (id == 0)
id = ossl_namemap_name2num(namemap, name);
- ossl_method_store_cache_set(store, NULL, id, properties, method,
+ ossl_method_store_cache_set(store, prov, id, propq, method,
up_ref_encoder, free_encoder);
}
diff --git a/deps/openssl/openssl/crypto/encode_decode/encoder_pkey.c b/deps/openssl/openssl/crypto/encode_decode/encoder_pkey.c
index 109dfa80cd8b1c..c37edf966d7e13 100644
--- a/deps/openssl/openssl/crypto/encode_decode/encoder_pkey.c
+++ b/deps/openssl/openssl/crypto/encode_decode/encoder_pkey.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -254,6 +254,11 @@ static int ossl_encoder_ctx_setup_for_pkey(OSSL_ENCODER_CTX *ctx,
* First, collect the keymgmt names, then the encoders that match.
*/
keymgmt_data.names = sk_OPENSSL_CSTRING_new_null();
+ if (keymgmt_data.names == NULL) {
+ ERR_raise(ERR_LIB_OSSL_ENCODER, ERR_R_MALLOC_FAILURE);
+ goto err;
+ }
+
keymgmt_data.error_occurred = 0;
EVP_KEYMGMT_names_do_all(pkey->keymgmt, collect_name, &keymgmt_data);
if (keymgmt_data.error_occurred) {
diff --git a/deps/openssl/openssl/crypto/engine/eng_dyn.c b/deps/openssl/openssl/crypto/engine/eng_dyn.c
index c8a54f7d44427a..3c0f960fc525a8 100644
--- a/deps/openssl/openssl/crypto/engine/eng_dyn.c
+++ b/deps/openssl/openssl/crypto/engine/eng_dyn.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -451,8 +451,17 @@ static int dynamic_load(ENGINE *e, dynamic_data_ctx *ctx)
* We fail if the version checker veto'd the load *or* if it is
* deferring to us (by returning its version) and we think it is too
* old.
+ * Unfortunately the version checker does not distinguish between
+ * engines built for openssl 1.1.x and openssl 3.x, but loading
+ * an engine that is built for openssl 1.1.x will cause a fatal
+ * error. Detect such engines, since EVP_PKEY_base_id is exported
+ * as a function in openssl 1.1.x, while it is a macro in openssl 3.x,
+ * and therefore only the symbol EVP_PKEY_get_base_id is available
+ * in openssl 3.x.
*/
- if (vcheck_res < OSSL_DYNAMIC_OLDEST) {
+ if (vcheck_res < OSSL_DYNAMIC_OLDEST
+ || DSO_bind_func(ctx->dynamic_dso,
+ "EVP_PKEY_base_id") != NULL) {
/* Fail */
ctx->bind_engine = NULL;
ctx->v_check = NULL;
diff --git a/deps/openssl/openssl/crypto/evp/ctrl_params_translate.c b/deps/openssl/openssl/crypto/evp/ctrl_params_translate.c
index f6a2d1d0f857c2..961ca116b32fb7 100644
--- a/deps/openssl/openssl/crypto/evp/ctrl_params_translate.c
+++ b/deps/openssl/openssl/crypto/evp/ctrl_params_translate.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2021-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -1004,8 +1004,11 @@ static int fix_dh_nid(enum state state,
return 0;
if (state == PRE_CTRL_TO_PARAMS) {
- ctx->p2 = (char *)ossl_ffc_named_group_get_name
- (ossl_ffc_uid_to_dh_named_group(ctx->p1));
+ if ((ctx->p2 = (char *)ossl_ffc_named_group_get_name
+ (ossl_ffc_uid_to_dh_named_group(ctx->p1))) == NULL) {
+ ERR_raise(ERR_LIB_EVP, EVP_R_INVALID_VALUE);
+ return 0;
+ }
ctx->p1 = 0;
}
@@ -1028,16 +1031,24 @@ static int fix_dh_nid5114(enum state state,
switch (state) {
case PRE_CTRL_TO_PARAMS:
- ctx->p2 = (char *)ossl_ffc_named_group_get_name
- (ossl_ffc_uid_to_dh_named_group(ctx->p1));
+ if ((ctx->p2 = (char *)ossl_ffc_named_group_get_name
+ (ossl_ffc_uid_to_dh_named_group(ctx->p1))) == NULL) {
+ ERR_raise(ERR_LIB_EVP, EVP_R_INVALID_VALUE);
+ return 0;
+ }
+
ctx->p1 = 0;
break;
case PRE_CTRL_STR_TO_PARAMS:
if (ctx->p2 == NULL)
return 0;
- ctx->p2 = (char *)ossl_ffc_named_group_get_name
- (ossl_ffc_uid_to_dh_named_group(atoi(ctx->p2)));
+ if ((ctx->p2 = (char *)ossl_ffc_named_group_get_name
+ (ossl_ffc_uid_to_dh_named_group(atoi(ctx->p2)))) == NULL) {
+ ERR_raise(ERR_LIB_EVP, EVP_R_INVALID_VALUE);
+ return 0;
+ }
+
ctx->p1 = 0;
break;
diff --git a/deps/openssl/openssl/crypto/evp/digest.c b/deps/openssl/openssl/crypto/evp/digest.c
index d3a28fa3515f70..de9a1dcda55d66 100644
--- a/deps/openssl/openssl/crypto/evp/digest.c
+++ b/deps/openssl/openssl/crypto/evp/digest.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -25,8 +25,22 @@
#include "crypto/evp.h"
#include "evp_local.h"
+static void cleanup_old_md_data(EVP_MD_CTX *ctx, int force)
+{
+ if (ctx->digest != NULL) {
+ if (ctx->digest->cleanup != NULL
+ && !EVP_MD_CTX_test_flags(ctx, EVP_MD_CTX_FLAG_CLEANED))
+ ctx->digest->cleanup(ctx);
+ if (ctx->md_data != NULL && ctx->digest->ctx_size > 0
+ && (!EVP_MD_CTX_test_flags(ctx, EVP_MD_CTX_FLAG_REUSE)
+ || force)) {
+ OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size);
+ ctx->md_data = NULL;
+ }
+ }
+}
-void evp_md_ctx_clear_digest(EVP_MD_CTX *ctx, int force)
+void evp_md_ctx_clear_digest(EVP_MD_CTX *ctx, int force, int keep_fetched)
{
if (ctx->algctx != NULL) {
if (ctx->digest != NULL && ctx->digest->freectx != NULL)
@@ -41,12 +55,7 @@ void evp_md_ctx_clear_digest(EVP_MD_CTX *ctx, int force)
* Don't assume ctx->md_data was cleaned in EVP_Digest_Final, because
* sometimes only copies of the context are ever finalised.
*/
- if (ctx->digest && ctx->digest->cleanup
- && !EVP_MD_CTX_test_flags(ctx, EVP_MD_CTX_FLAG_CLEANED))
- ctx->digest->cleanup(ctx);
- if (ctx->digest && ctx->digest->ctx_size && ctx->md_data
- && (!EVP_MD_CTX_test_flags(ctx, EVP_MD_CTX_FLAG_REUSE) || force))
- OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size);
+ cleanup_old_md_data(ctx, force);
if (force)
ctx->digest = NULL;
@@ -56,13 +65,14 @@ void evp_md_ctx_clear_digest(EVP_MD_CTX *ctx, int force)
#endif
/* Non legacy code, this has to be later than the ctx->digest cleaning */
- EVP_MD_free(ctx->fetched_digest);
- ctx->fetched_digest = NULL;
- ctx->reqdigest = NULL;
+ if (!keep_fetched) {
+ EVP_MD_free(ctx->fetched_digest);
+ ctx->fetched_digest = NULL;
+ ctx->reqdigest = NULL;
+ }
}
-/* This call frees resources associated with the context */
-int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
+static int evp_md_ctx_reset_ex(EVP_MD_CTX *ctx, int keep_fetched)
{
if (ctx == NULL)
return 1;
@@ -78,12 +88,19 @@ int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
}
#endif
- evp_md_ctx_clear_digest(ctx, 0);
- OPENSSL_cleanse(ctx, sizeof(*ctx));
+ evp_md_ctx_clear_digest(ctx, 0, keep_fetched);
+ if (!keep_fetched)
+ OPENSSL_cleanse(ctx, sizeof(*ctx));
return 1;
}
+/* This call frees resources associated with the context */
+int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
+{
+ return evp_md_ctx_reset_ex(ctx, 0);
+}
+
#ifndef FIPS_MODULE
EVP_MD_CTX *evp_md_ctx_new_ex(EVP_PKEY *pkey, const ASN1_OCTET_STRING *id,
OSSL_LIB_CTX *libctx, const char *propq)
@@ -207,7 +224,8 @@ static int evp_md_init_internal(EVP_MD_CTX *ctx, const EVP_MD *type,
#if !defined(OPENSSL_NO_ENGINE) && !defined(FIPS_MODULE)
|| tmpimpl != NULL
#endif
- || (ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) != 0) {
+ || (ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) != 0
+ || type->origin == EVP_ORIG_METH) {
if (ctx->digest == ctx->fetched_digest)
ctx->digest = NULL;
EVP_MD_free(ctx->fetched_digest);
@@ -215,10 +233,7 @@ static int evp_md_init_internal(EVP_MD_CTX *ctx, const EVP_MD *type,
goto legacy;
}
- if (ctx->digest != NULL && ctx->digest->ctx_size > 0) {
- OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size);
- ctx->md_data = NULL;
- }
+ cleanup_old_md_data(ctx, 1);
/* Start of non-legacy code below */
@@ -307,10 +322,8 @@ static int evp_md_init_internal(EVP_MD_CTX *ctx, const EVP_MD *type,
}
#endif
if (ctx->digest != type) {
- if (ctx->digest && ctx->digest->ctx_size) {
- OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size);
- ctx->md_data = NULL;
- }
+ cleanup_old_md_data(ctx, 1);
+
ctx->digest = type;
if (!(ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) && type->ctx_size) {
ctx->update = type->update;
@@ -507,6 +520,7 @@ int EVP_MD_CTX_copy(EVP_MD_CTX *out, const EVP_MD_CTX *in)
int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in)
{
+ int digest_change = 0;
unsigned char *tmp_buf;
if (in == NULL) {
@@ -520,7 +534,7 @@ int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in)
if (out->fetched_digest != NULL)
EVP_MD_free(out->fetched_digest);
*out = *in;
- return 1;
+ goto clone_pkey;
}
if (in->digest->prov == NULL
@@ -532,15 +546,16 @@ int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in)
return 0;
}
- EVP_MD_CTX_reset(out);
- if (out->fetched_digest != NULL)
+ evp_md_ctx_reset_ex(out, 1);
+ digest_change = (out->fetched_digest != in->fetched_digest);
+ if (digest_change && out->fetched_digest != NULL)
EVP_MD_free(out->fetched_digest);
*out = *in;
/* NULL out pointers in case of error */
out->pctx = NULL;
out->algctx = NULL;
- if (in->fetched_digest != NULL)
+ if (digest_change && in->fetched_digest != NULL)
EVP_MD_up_ref(in->fetched_digest);
if (in->algctx != NULL) {
@@ -551,6 +566,7 @@ int EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in)
}
}
+ clone_pkey:
/* copied EVP_MD_CTX should free the copied EVP_PKEY_CTX */
EVP_MD_CTX_clear_flags(out, EVP_MD_CTX_FLAG_KEEP_PKEY_CTX);
#ifndef FIPS_MODULE
diff --git a/deps/openssl/openssl/crypto/evp/evp_enc.c b/deps/openssl/openssl/crypto/evp/evp_enc.c
index 519cab3f2b1ea4..d0cf7d995fe633 100644
--- a/deps/openssl/openssl/crypto/evp/evp_enc.c
+++ b/deps/openssl/openssl/crypto/evp/evp_enc.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -595,7 +595,7 @@ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
const unsigned char *in, int inl)
{
int ret;
- size_t soutl;
+ size_t soutl, inl_ = (size_t)inl;
int blocksize;
if (outl != NULL) {
@@ -625,9 +625,10 @@ int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
ERR_raise(ERR_LIB_EVP, EVP_R_UPDATE_ERROR);
return 0;
}
+
ret = ctx->cipher->cupdate(ctx->algctx, out, &soutl,
- inl + (blocksize == 1 ? 0 : blocksize), in,
- (size_t)inl);
+ inl_ + (size_t)(blocksize == 1 ? 0 : blocksize),
+ in, inl_);
if (ret) {
if (soutl > INT_MAX) {
@@ -743,7 +744,7 @@ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
{
int fix_len, cmpl = inl, ret;
unsigned int b;
- size_t soutl;
+ size_t soutl, inl_ = (size_t)inl;
int blocksize;
if (outl != NULL) {
@@ -773,8 +774,8 @@ int EVP_DecryptUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl,
return 0;
}
ret = ctx->cipher->cupdate(ctx->algctx, out, &soutl,
- inl + (blocksize == 1 ? 0 : blocksize), in,
- (size_t)inl);
+ inl_ + (size_t)(blocksize == 1 ? 0 : blocksize),
+ in, inl_);
if (ret) {
if (soutl > INT_MAX) {
diff --git a/deps/openssl/openssl/crypto/evp/evp_fetch.c b/deps/openssl/openssl/crypto/evp/evp_fetch.c
index 80da3fa4bf8e34..c126ea177e6251 100644
--- a/deps/openssl/openssl/crypto/evp/evp_fetch.c
+++ b/deps/openssl/openssl/crypto/evp/evp_fetch.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -247,6 +247,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata,
{
OSSL_METHOD_STORE *store = get_evp_method_store(methdata->libctx);
OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx);
+ const char *const propq = properties != NULL ? properties : "";
uint32_t meth_id = 0;
void *method = NULL;
int unsupported = 0;
@@ -299,8 +300,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata,
unsupported = 1;
if (meth_id == 0
- || !ossl_method_store_cache_get(store, prov, meth_id, properties,
- &method)) {
+ || !ossl_method_store_cache_get(store, prov, meth_id, propq, &method)) {
OSSL_METHOD_CONSTRUCT_METHOD mcm = {
get_tmp_evp_method_store,
get_evp_method_from_store,
@@ -312,7 +312,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata,
methdata->operation_id = operation_id;
methdata->name_id = name_id;
methdata->names = name;
- methdata->propquery = properties;
+ methdata->propquery = propq;
methdata->method_from_algorithm = new_method;
methdata->refcnt_up_method = up_ref_method;
methdata->destruct_method = free_method;
@@ -330,7 +330,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata,
name_id = ossl_namemap_name2num(namemap, name);
meth_id = evp_method_id(name_id, operation_id);
if (name_id != 0)
- ossl_method_store_cache_set(store, prov, meth_id, properties,
+ ossl_method_store_cache_set(store, prov, meth_id, propq,
method, up_ref_method, free_method);
}
@@ -349,7 +349,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata,
ERR_raise_data(ERR_LIB_EVP, code,
"%s, Algorithm (%s : %d), Properties (%s)",
ossl_lib_ctx_get_descriptor(methdata->libctx),
- name = NULL ? "" : name, name_id,
+ name == NULL ? "" : name, name_id,
properties == NULL ? "" : properties);
}
diff --git a/deps/openssl/openssl/crypto/evp/exchange.c b/deps/openssl/openssl/crypto/evp/exchange.c
index e2ca30c94d06eb..8eb13ad5dda66b 100644
--- a/deps/openssl/openssl/crypto/evp/exchange.c
+++ b/deps/openssl/openssl/crypto/evp/exchange.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -306,7 +306,7 @@ int EVP_PKEY_derive_init_ex(EVP_PKEY_CTX *ctx, const OSSL_PARAM params[])
/*
* Ensure that the key is provided, either natively, or as a cached
* export. We start by fetching the keymgmt with the same name as
- * |ctx->pkey|, but from the provider of the exchange method, using
+ * |ctx->keymgmt|, but from the provider of the exchange method, using
* the same property query as when fetching the exchange method.
* With the keymgmt we found (if we did), we try to export |ctx->pkey|
* to it (evp_pkey_export_to_provider() is smart enough to only actually
@@ -380,6 +380,7 @@ int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,
int ret = 0, check;
void *provkey = NULL;
EVP_PKEY_CTX *check_ctx = NULL;
+ EVP_KEYMGMT *tmp_keymgmt = NULL, *tmp_keymgmt_tofree = NULL;
if (ctx == NULL) {
ERR_raise(ERR_LIB_EVP, ERR_R_PASSED_NULL_PARAMETER);
@@ -404,8 +405,25 @@ int EVP_PKEY_derive_set_peer_ex(EVP_PKEY_CTX *ctx, EVP_PKEY *peer,
return -1;
}
- provkey = evp_pkey_export_to_provider(peer, ctx->libctx, &ctx->keymgmt,
- ctx->propquery);
+ /*
+ * Ensure that the |peer| is provided, either natively, or as a cached
+ * export. We start by fetching the keymgmt with the same name as
+ * |ctx->keymgmt|, but from the provider of the exchange method, using
+ * the same property query as when fetching the exchange method.
+ * With the keymgmt we found (if we did), we try to export |peer|
+ * to it (evp_pkey_export_to_provider() is smart enough to only actually
+ * export it if |tmp_keymgmt| is different from |peer|'s keymgmt)
+ */
+ tmp_keymgmt_tofree = tmp_keymgmt =
+ evp_keymgmt_fetch_from_prov((OSSL_PROVIDER *)
+ EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange),
+ EVP_KEYMGMT_get0_name(ctx->keymgmt),
+ ctx->propquery);
+ if (tmp_keymgmt != NULL)
+ provkey = evp_pkey_export_to_provider(peer, ctx->libctx,
+ &tmp_keymgmt, ctx->propquery);
+ EVP_KEYMGMT_free(tmp_keymgmt_tofree);
+
/*
* If making the key provided wasn't possible, legacy may be able to pick
* it up
diff --git a/deps/openssl/openssl/crypto/evp/keymgmt_lib.c b/deps/openssl/openssl/crypto/evp/keymgmt_lib.c
index 2a73e9a2be9485..82aa771c381e35 100644
--- a/deps/openssl/openssl/crypto/evp/keymgmt_lib.c
+++ b/deps/openssl/openssl/crypto/evp/keymgmt_lib.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -370,7 +370,7 @@ int evp_keymgmt_util_match(EVP_PKEY *pk1, EVP_PKEY *pk2, int selection)
* but also to determine if we should attempt a cross export
* the other way. There's no point doing it both ways.
*/
- int ok = 1;
+ int ok = 0;
/* Complex case, where the keymgmt differ */
if (keymgmt1 != NULL
diff --git a/deps/openssl/openssl/crypto/evp/m_sigver.c b/deps/openssl/openssl/crypto/evp/m_sigver.c
index 9188edbc215fbb..76a6814b424bec 100644
--- a/deps/openssl/openssl/crypto/evp/m_sigver.c
+++ b/deps/openssl/openssl/crypto/evp/m_sigver.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -231,7 +231,7 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
* We're about to get a new digest so clear anything associated with
* an old digest.
*/
- evp_md_ctx_clear_digest(ctx, 1);
+ evp_md_ctx_clear_digest(ctx, 1, 0);
/* legacy code support for engines */
ERR_set_mark();
@@ -480,14 +480,14 @@ int EVP_DigestSignFinal(EVP_MD_CTX *ctx, unsigned char *sigret,
if (sigret == NULL || (ctx->flags & EVP_MD_CTX_FLAG_FINALISE) != 0)
return pctx->op.sig.signature->digest_sign_final(pctx->op.sig.algctx,
sigret, siglen,
- (siglen == NULL) ? 0 : *siglen);
+ sigret == NULL ? 0 : *siglen);
dctx = EVP_PKEY_CTX_dup(pctx);
if (dctx == NULL)
return 0;
r = dctx->op.sig.signature->digest_sign_final(dctx->op.sig.algctx,
sigret, siglen,
- (siglen == NULL) ? 0 : *siglen);
+ *siglen);
EVP_PKEY_CTX_free(dctx);
return r;
diff --git a/deps/openssl/openssl/crypto/evp/mac_meth.c b/deps/openssl/openssl/crypto/evp/mac_meth.c
index 99b1e3b0035a22..85fe7704fde27a 100644
--- a/deps/openssl/openssl/crypto/evp/mac_meth.c
+++ b/deps/openssl/openssl/crypto/evp/mac_meth.c
@@ -1,3 +1,12 @@
+/*
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
#include
#include
#include
diff --git a/deps/openssl/openssl/crypto/evp/pmeth_gn.c b/deps/openssl/openssl/crypto/evp/pmeth_gn.c
index af3d990869d889..8e4940ed595620 100644
--- a/deps/openssl/openssl/crypto/evp/pmeth_gn.c
+++ b/deps/openssl/openssl/crypto/evp/pmeth_gn.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -128,7 +128,6 @@ static int ossl_callback_to_pkey_gencb(const OSSL_PARAM params[], void *arg)
int EVP_PKEY_generate(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey)
{
int ret = 0;
- OSSL_CALLBACK cb;
EVP_PKEY *allocated_pkey = NULL;
/* Legacy compatible keygen callback info, only used with provider impls */
int gentmp[2];
@@ -365,6 +364,7 @@ int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
OSSL_PARAM params[])
{
void *keydata = NULL;
+ EVP_PKEY *allocated_pkey = NULL;
if (ctx == NULL || (ctx->operation & EVP_PKEY_OP_FROMDATA) == 0) {
ERR_raise(ERR_LIB_EVP, EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE);
@@ -375,7 +375,7 @@ int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
return -1;
if (*ppkey == NULL)
- *ppkey = EVP_PKEY_new();
+ allocated_pkey = *ppkey = EVP_PKEY_new();
if (*ppkey == NULL) {
ERR_raise(ERR_LIB_EVP, ERR_R_MALLOC_FAILURE);
@@ -383,8 +383,13 @@ int EVP_PKEY_fromdata(EVP_PKEY_CTX *ctx, EVP_PKEY **ppkey, int selection,
}
keydata = evp_keymgmt_util_fromdata(*ppkey, ctx->keymgmt, selection, params);
- if (keydata == NULL)
+ if (keydata == NULL) {
+ if (allocated_pkey != NULL) {
+ *ppkey = NULL;
+ EVP_PKEY_free(allocated_pkey);
+ }
return 0;
+ }
/* keydata is cached in *ppkey, so we need not bother with it further */
return 1;
}
diff --git a/deps/openssl/openssl/crypto/ffc/ffc_backend.c b/deps/openssl/openssl/crypto/ffc/ffc_backend.c
index b22718693427f3..9a013d95d35916 100644
--- a/deps/openssl/openssl/crypto/ffc/ffc_backend.c
+++ b/deps/openssl/openssl/crypto/ffc/ffc_backend.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -37,6 +37,7 @@ int ossl_ffc_params_fromdata(FFC_PARAMS *ffc, const OSSL_PARAM params[])
const DH_NAMED_GROUP *group = NULL;
if (prm->data_type != OSSL_PARAM_UTF8_STRING
+ || prm->data == NULL
|| (group = ossl_ffc_name_to_dh_named_group(prm->data)) == NULL
|| !ossl_ffc_named_group_set_pqg(ffc, group))
#endif
diff --git a/deps/openssl/openssl/crypto/http/http_client.c b/deps/openssl/openssl/crypto/http/http_client.c
index 7f8d8fc8d7d5a5..33e7b82b9e8c78 100644
--- a/deps/openssl/openssl/crypto/http/http_client.c
+++ b/deps/openssl/openssl/crypto/http/http_client.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright Siemens AG 2018-2020
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -947,6 +947,7 @@ OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port,
}
/* now overall_timeout is guaranteed to be >= 0 */
+ /* adapt in order to fix callback design flaw, see #17088 */
/* callback can be used to wrap or prepend TLS session */
if (bio_update_fn != NULL) {
BIO *orig_bio = cbio;
@@ -1197,11 +1198,17 @@ BIO *OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx,
int OSSL_HTTP_close(OSSL_HTTP_REQ_CTX *rctx, int ok)
{
+ BIO *wbio;
int ret = 1;
- /* callback can be used to clean up TLS session on disconnect */
- if (rctx != NULL && rctx->upd_fn != NULL)
- ret = (*rctx->upd_fn)(rctx->wbio, rctx->upd_arg, 0, ok) != NULL;
+ /* callback can be used to finish TLS session and free its BIO */
+ if (rctx != NULL && rctx->upd_fn != NULL) {
+ wbio = (*rctx->upd_fn)(rctx->wbio, rctx->upd_arg,
+ 0 /* disconnect */, ok);
+ ret = wbio != NULL;
+ if (ret)
+ rctx->wbio = wbio;
+ }
OSSL_HTTP_REQ_CTX_free(rctx);
return ret;
}
diff --git a/deps/openssl/openssl/crypto/lhash/lh_stats.c b/deps/openssl/openssl/crypto/lhash/lh_stats.c
index 5e38c42580aa97..47c4e932e5ec59 100644
--- a/deps/openssl/openssl/crypto/lhash/lh_stats.c
+++ b/deps/openssl/openssl/crypto/lhash/lh_stats.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2017 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -61,6 +61,14 @@ void OPENSSL_LH_node_usage_stats(const OPENSSL_LHASH *lh, FILE *fp)
void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out)
{
+ int omit_tsan = 0;
+
+#ifdef TSAN_REQUIRES_LOCKING
+ if (!CRYPTO_THREAD_read_lock(lh->tsan_lock)) {
+ BIO_printf(out, "unable to lock table, omitting TSAN counters\n");
+ omit_tsan = 1;
+ }
+#endif
BIO_printf(out, "num_items = %lu\n", lh->num_items);
BIO_printf(out, "num_nodes = %u\n", lh->num_nodes);
BIO_printf(out, "num_alloc_nodes = %u\n", lh->num_alloc_nodes);
@@ -68,15 +76,22 @@ void OPENSSL_LH_stats_bio(const OPENSSL_LHASH *lh, BIO *out)
BIO_printf(out, "num_expand_reallocs = %lu\n", lh->num_expand_reallocs);
BIO_printf(out, "num_contracts = %lu\n", lh->num_contracts);
BIO_printf(out, "num_contract_reallocs = %lu\n", lh->num_contract_reallocs);
- BIO_printf(out, "num_hash_calls = %lu\n", lh->num_hash_calls);
- BIO_printf(out, "num_comp_calls = %lu\n", lh->num_comp_calls);
+ if (!omit_tsan) {
+ BIO_printf(out, "num_hash_calls = %lu\n", lh->num_hash_calls);
+ BIO_printf(out, "num_comp_calls = %lu\n", lh->num_comp_calls);
+ }
BIO_printf(out, "num_insert = %lu\n", lh->num_insert);
BIO_printf(out, "num_replace = %lu\n", lh->num_replace);
BIO_printf(out, "num_delete = %lu\n", lh->num_delete);
BIO_printf(out, "num_no_delete = %lu\n", lh->num_no_delete);
- BIO_printf(out, "num_retrieve = %lu\n", lh->num_retrieve);
- BIO_printf(out, "num_retrieve_miss = %lu\n", lh->num_retrieve_miss);
- BIO_printf(out, "num_hash_comps = %lu\n", lh->num_hash_comps);
+ if (!omit_tsan) {
+ BIO_printf(out, "num_retrieve = %lu\n", lh->num_retrieve);
+ BIO_printf(out, "num_retrieve_miss = %lu\n", lh->num_retrieve_miss);
+ BIO_printf(out, "num_hash_comps = %lu\n", lh->num_hash_comps);
+#ifdef TSAN_REQUIRES_LOCKING
+ CRYPTO_THREAD_unlock(lh->tsan_lock);
+#endif
+ }
}
void OPENSSL_LH_node_stats_bio(const OPENSSL_LHASH *lh, BIO *out)
diff --git a/deps/openssl/openssl/crypto/lhash/lhash.c b/deps/openssl/openssl/crypto/lhash/lhash.c
index 63cf46af6ebb5a..002cca07eae05c 100644
--- a/deps/openssl/openssl/crypto/lhash/lhash.c
+++ b/deps/openssl/openssl/crypto/lhash/lhash.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -44,6 +44,22 @@ static int expand(OPENSSL_LHASH *lh);
static void contract(OPENSSL_LHASH *lh);
static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh, const void *data, unsigned long *rhash);
+static ossl_inline int tsan_lock(const OPENSSL_LHASH *lh)
+{
+#ifdef TSAN_REQUIRES_LOCKING
+ if (!CRYPTO_THREAD_write_lock(lh->tsan_lock))
+ return 0;
+#endif
+ return 1;
+}
+
+static ossl_inline void tsan_unlock(const OPENSSL_LHASH *lh)
+{
+#ifdef TSAN_REQUIRES_LOCKING
+ CRYPTO_THREAD_unlock(lh->tsan_lock);
+#endif
+}
+
OPENSSL_LHASH *OPENSSL_LH_new(OPENSSL_LH_HASHFUNC h, OPENSSL_LH_COMPFUNC c)
{
OPENSSL_LHASH *ret;
@@ -58,6 +74,10 @@ OPENSSL_LHASH *OPENSSL_LH_new(OPENSSL_LH_HASHFUNC h, OPENSSL_LH_COMPFUNC c)
}
if ((ret->b = OPENSSL_zalloc(sizeof(*ret->b) * MIN_NODES)) == NULL)
goto err;
+#ifdef TSAN_REQUIRES_LOCKING
+ if ((ret->tsan_lock = CRYPTO_THREAD_lock_new()) == NULL)
+ goto err;
+#endif
ret->comp = ((c == NULL) ? (OPENSSL_LH_COMPFUNC)strcmp : c);
ret->hash = ((h == NULL) ? (OPENSSL_LH_HASHFUNC)OPENSSL_LH_strhash : h);
ret->num_nodes = MIN_NODES / 2;
@@ -79,6 +99,9 @@ void OPENSSL_LH_free(OPENSSL_LHASH *lh)
return;
OPENSSL_LH_flush(lh);
+#ifdef TSAN_REQUIRES_LOCKING
+ CRYPTO_THREAD_lock_free(lh->tsan_lock);
+#endif
OPENSSL_free(lh->b);
OPENSSL_free(lh);
}
@@ -166,21 +189,20 @@ void *OPENSSL_LH_retrieve(OPENSSL_LHASH *lh, const void *data)
{
unsigned long hash;
OPENSSL_LH_NODE **rn;
- void *ret;
+ /*-
+ * This should be atomic without tsan.
+ * It's not clear why it was done this way and not elsewhere.
+ */
tsan_store((TSAN_QUALIFIER int *)&lh->error, 0);
rn = getrn(lh, data, &hash);
- if (*rn == NULL) {
- tsan_counter(&lh->num_retrieve_miss);
- return NULL;
- } else {
- ret = (*rn)->data;
- tsan_counter(&lh->num_retrieve);
+ if (tsan_lock(lh)) {
+ tsan_counter(*rn == NULL ? &lh->num_retrieve_miss : &lh->num_retrieve);
+ tsan_unlock(lh);
}
-
- return ret;
+ return *rn == NULL ? NULL : (*rn)->data;
}
static void doall_util_fn(OPENSSL_LHASH *lh, int use_arg,
@@ -307,9 +329,14 @@ static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh,
OPENSSL_LH_NODE **ret, *n1;
unsigned long hash, nn;
OPENSSL_LH_COMPFUNC cf;
+ int do_tsan = 1;
+#ifdef TSAN_REQUIRES_LOCKING
+ do_tsan = tsan_lock(lh);
+#endif
hash = (*(lh->hash)) (data);
- tsan_counter(&lh->num_hash_calls);
+ if (do_tsan)
+ tsan_counter(&lh->num_hash_calls);
*rhash = hash;
nn = hash % lh->pmax;
@@ -319,16 +346,20 @@ static OPENSSL_LH_NODE **getrn(OPENSSL_LHASH *lh,
cf = lh->comp;
ret = &(lh->b[(int)nn]);
for (n1 = *ret; n1 != NULL; n1 = n1->next) {
- tsan_counter(&lh->num_hash_comps);
+ if (do_tsan)
+ tsan_counter(&lh->num_hash_comps);
if (n1->hash != hash) {
ret = &(n1->next);
continue;
}
- tsan_counter(&lh->num_comp_calls);
+ if (do_tsan)
+ tsan_counter(&lh->num_comp_calls);
if (cf(n1->data, data) == 0)
break;
ret = &(n1->next);
}
+ if (do_tsan)
+ tsan_unlock(lh);
return ret;
}
@@ -352,7 +383,8 @@ unsigned long OPENSSL_LH_strhash(const char *c)
v = n | (*c);
n += 0x100;
r = (int)((v >> 2) ^ v) & 0x0f;
- ret = (ret << r) | (ret >> (32 - r));
+ /* cast to uint64_t to avoid 32 bit shift of 32 bit value */
+ ret = (ret << r) | (unsigned long)((uint64_t)ret >> (32 - r));
ret &= 0xFFFFFFFFL;
ret ^= v * v;
c++;
@@ -373,7 +405,8 @@ unsigned long ossl_lh_strcasehash(const char *c)
for (n = 0x100; *c != '\0'; n += 0x100) {
v = n | ossl_tolower(*c);
r = (int)((v >> 2) ^ v) & 0x0f;
- ret = (ret << r) | (ret >> (32 - r));
+ /* cast to uint64_t to avoid 32 bit shift of 32 bit value */
+ ret = (ret << r) | (unsigned long)((uint64_t)ret >> (32 - r));
ret &= 0xFFFFFFFFL;
ret ^= v * v;
c++;
diff --git a/deps/openssl/openssl/crypto/lhash/lhash_local.h b/deps/openssl/openssl/crypto/lhash/lhash_local.h
index ad9dd4d346ebd5..61687c5ce2b1f2 100644
--- a/deps/openssl/openssl/crypto/lhash/lhash_local.h
+++ b/deps/openssl/openssl/crypto/lhash/lhash_local.h
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -41,4 +41,7 @@ struct lhash_st {
TSAN_QUALIFIER unsigned long num_retrieve_miss;
TSAN_QUALIFIER unsigned long num_hash_comps;
int error;
+#ifdef TSAN_REQUIRES_LOCKING
+ CRYPTO_RWLOCK *tsan_lock;
+#endif
};
diff --git a/deps/openssl/openssl/crypto/mem.c b/deps/openssl/openssl/crypto/mem.c
index d682a3686f47df..2cf240061af4f1 100644
--- a/deps/openssl/openssl/crypto/mem.c
+++ b/deps/openssl/openssl/crypto/mem.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -26,11 +26,17 @@ static CRYPTO_free_fn free_impl = CRYPTO_free;
#if !defined(OPENSSL_NO_CRYPTO_MDEBUG) && !defined(FIPS_MODULE)
# include "internal/tsan_assist.h"
+# ifdef TSAN_REQUIRES_LOCKING
+# define INCREMENT(x) /* empty */
+# define LOAD(x) 0
+# else /* TSAN_REQUIRES_LOCKING */
static TSAN_QUALIFIER int malloc_count;
static TSAN_QUALIFIER int realloc_count;
static TSAN_QUALIFIER int free_count;
-# define INCREMENT(x) tsan_counter(&(x))
+# define INCREMENT(x) tsan_counter(&(x))
+# define LOAD(x) tsan_load(&x)
+# endif /* TSAN_REQUIRES_LOCKING */
static char *md_failstring;
static long md_count;
@@ -79,11 +85,11 @@ void CRYPTO_get_mem_functions(CRYPTO_malloc_fn *malloc_fn,
void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount)
{
if (mcount != NULL)
- *mcount = tsan_load(&malloc_count);
+ *mcount = LOAD(malloc_count);
if (rcount != NULL)
- *rcount = tsan_load(&realloc_count);
+ *rcount = LOAD(realloc_count);
if (fcount != NULL)
- *fcount = tsan_load(&free_count);
+ *fcount = LOAD(free_count);
}
/*
diff --git a/deps/openssl/openssl/crypto/o_str.c b/deps/openssl/openssl/crypto/o_str.c
index d7aa665ad8f67a..5c4e4e7781cfe7 100644
--- a/deps/openssl/openssl/crypto/o_str.c
+++ b/deps/openssl/openssl/crypto/o_str.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2003-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2003-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -215,7 +215,7 @@ unsigned char *OPENSSL_hexstr2buf(const char *str, long *buflen)
return ossl_hexstr2buf_sep(str, buflen, DEFAULT_SEPARATOR);
}
-static int buf2hexstr_sep(char *str, size_t str_n, size_t *strlen,
+static int buf2hexstr_sep(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep)
{
@@ -226,8 +226,8 @@ static int buf2hexstr_sep(char *str, size_t str_n, size_t *strlen,
int has_sep = (sep != CH_ZERO);
size_t len = has_sep ? buflen * 3 : 1 + buflen * 2;
- if (strlen != NULL)
- *strlen = len;
+ if (strlength != NULL)
+ *strlength = len;
if (str == NULL)
return 1;
@@ -253,11 +253,11 @@ static int buf2hexstr_sep(char *str, size_t str_n, size_t *strlen,
return 1;
}
-int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
+int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
const unsigned char *buf, size_t buflen,
const char sep)
{
- return buf2hexstr_sep(str, str_n, strlen, buf, buflen, sep);
+ return buf2hexstr_sep(str, str_n, strlength, buf, buflen, sep);
}
char *ossl_buf2hexstr_sep(const unsigned char *buf, long buflen, char sep)
diff --git a/deps/openssl/openssl/crypto/objects/obj_compat.h b/deps/openssl/openssl/crypto/objects/obj_compat.h
index cbe4438695361d..7d890d1c0b85cd 100644
--- a/deps/openssl/openssl/crypto/objects/obj_compat.h
+++ b/deps/openssl/openssl/crypto/objects/obj_compat.h
@@ -1,3 +1,11 @@
+/*
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
#ifndef OPENSSL_NO_DEPRECATED_3_0
diff --git a/deps/openssl/openssl/crypto/objects/obj_dat.h b/deps/openssl/openssl/crypto/objects/obj_dat.h
index 5d638fb05d2318..59d156117a0031 100644
--- a/deps/openssl/openssl/crypto/objects/obj_dat.h
+++ b/deps/openssl/openssl/crypto/objects/obj_dat.h
@@ -2,7 +2,7 @@
* WARNING: do not edit!
* Generated by crypto/objects/obj_dat.pl
*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
diff --git a/deps/openssl/openssl/crypto/passphrase.c b/deps/openssl/openssl/crypto/passphrase.c
index d61e2494405ac4..fcc40f6dab5369 100644
--- a/deps/openssl/openssl/crypto/passphrase.c
+++ b/deps/openssl/openssl/crypto/passphrase.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -41,7 +41,8 @@ int ossl_pw_set_passphrase(struct ossl_passphrase_data_st *data,
ossl_pw_clear_passphrase_data(data);
data->type = is_expl_passphrase;
data->_.expl_passphrase.passphrase_copy =
- OPENSSL_memdup(passphrase, passphrase_len);
+ passphrase_len != 0 ? OPENSSL_memdup(passphrase, passphrase_len)
+ : OPENSSL_malloc(1);
if (data->_.expl_passphrase.passphrase_copy == NULL) {
ERR_raise(ERR_LIB_CRYPTO, ERR_R_MALLOC_FAILURE);
return 0;
@@ -109,7 +110,8 @@ int ossl_pw_disable_passphrase_caching(struct ossl_passphrase_data_st *data)
* UI_METHOD processor. It differs from UI_UTIL_read_pw() like this:
*
* 1. It constructs a prompt on its own, based on |prompt_info|.
- * 2. It allocates a buffer for verification on its own.
+ * 2. It allocates a buffer for password and verification on its own
+ * to compensate for NUL terminator in UI password strings.
* 3. It raises errors.
* 4. It reports back the length of the prompted pass phrase.
*/
@@ -117,8 +119,8 @@ static int do_ui_passphrase(char *pass, size_t pass_size, size_t *pass_len,
const char *prompt_info, int verify,
const UI_METHOD *ui_method, void *ui_data)
{
- char *prompt = NULL, *vpass = NULL;
- int prompt_idx = -1, verify_idx = -1;
+ char *prompt = NULL, *ipass = NULL, *vpass = NULL;
+ int prompt_idx = -1, verify_idx = -1, res;
UI *ui = NULL;
int ret = 0;
@@ -145,9 +147,16 @@ static int do_ui_passphrase(char *pass, size_t pass_size, size_t *pass_len,
goto end;
}
+ /* Get a buffer for verification prompt */
+ ipass = OPENSSL_zalloc(pass_size + 1);
+ if (ipass == NULL) {
+ ERR_raise(ERR_LIB_CRYPTO, ERR_R_MALLOC_FAILURE);
+ goto end;
+ }
+
prompt_idx = UI_add_input_string(ui, prompt,
UI_INPUT_FLAG_DEFAULT_PWD,
- pass, 0, pass_size - 1) - 1;
+ ipass, 0, pass_size) - 1;
if (prompt_idx < 0) {
ERR_raise(ERR_LIB_CRYPTO, ERR_R_UI_LIB);
goto end;
@@ -155,15 +164,15 @@ static int do_ui_passphrase(char *pass, size_t pass_size, size_t *pass_len,
if (verify) {
/* Get a buffer for verification prompt */
- vpass = OPENSSL_zalloc(pass_size);
+ vpass = OPENSSL_zalloc(pass_size + 1);
if (vpass == NULL) {
ERR_raise(ERR_LIB_CRYPTO, ERR_R_MALLOC_FAILURE);
goto end;
}
verify_idx = UI_add_verify_string(ui, prompt,
UI_INPUT_FLAG_DEFAULT_PWD,
- vpass, 0, pass_size - 1,
- pass) - 1;
+ vpass, 0, pass_size,
+ ipass) - 1;
if (verify_idx < 0) {
ERR_raise(ERR_LIB_CRYPTO, ERR_R_UI_LIB);
goto end;
@@ -178,13 +187,20 @@ static int do_ui_passphrase(char *pass, size_t pass_size, size_t *pass_len,
ERR_raise(ERR_LIB_CRYPTO, ERR_R_UI_LIB);
break;
default:
- *pass_len = (size_t)UI_get_result_length(ui, prompt_idx);
+ res = UI_get_result_length(ui, prompt_idx);
+ if (res < 0) {
+ ERR_raise(ERR_LIB_CRYPTO, ERR_R_UI_LIB);
+ break;
+ }
+ *pass_len = (size_t)res;
+ memcpy(pass, ipass, *pass_len);
ret = 1;
break;
}
end:
- OPENSSL_free(vpass);
+ OPENSSL_clear_free(vpass, pass_size + 1);
+ OPENSSL_clear_free(ipass, pass_size + 1);
OPENSSL_free(prompt);
UI_free(ui);
return ret;
diff --git a/deps/openssl/openssl/crypto/pem/pem_lib.c b/deps/openssl/openssl/crypto/pem/pem_lib.c
index 3948021702fbb9..50975070198f8a 100644
--- a/deps/openssl/openssl/crypto/pem/pem_lib.c
+++ b/deps/openssl/openssl/crypto/pem/pem_lib.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -974,19 +974,22 @@ int PEM_read_bio_ex(BIO *bp, char **name_out, char **header,
headerlen = BIO_get_mem_data(headerB, NULL);
*header = pem_malloc(headerlen + 1, flags);
*data = pem_malloc(len, flags);
- if (*header == NULL || *data == NULL) {
- pem_free(*header, flags, 0);
- pem_free(*data, flags, 0);
- goto end;
- }
- BIO_read(headerB, *header, headerlen);
+ if (*header == NULL || *data == NULL)
+ goto out_free;
+ if (headerlen != 0 && BIO_read(headerB, *header, headerlen) != headerlen)
+ goto out_free;
(*header)[headerlen] = '\0';
- BIO_read(dataB, *data, len);
+ if (BIO_read(dataB, *data, len) != len)
+ goto out_free;
*len_out = len;
*name_out = name;
name = NULL;
ret = 1;
+ goto end;
+out_free:
+ pem_free(*header, flags, 0);
+ pem_free(*data, flags, 0);
end:
EVP_ENCODE_CTX_free(ctx);
pem_free(name, flags, 0);
diff --git a/deps/openssl/openssl/crypto/pem/pem_pk8.c b/deps/openssl/openssl/crypto/pem/pem_pk8.c
index 4742f02fef22c6..1592e351edef16 100644
--- a/deps/openssl/openssl/crypto/pem/pem_pk8.c
+++ b/deps/openssl/openssl/crypto/pem/pem_pk8.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -136,7 +136,7 @@ static int do_pk8pkey(BIO *bp, const EVP_PKEY *x, int isder, int nid,
if (enc || (nid != -1)) {
if (kstr == NULL) {
klen = cb(buf, PEM_BUFSIZE, 1, u);
- if (klen <= 0) {
+ if (klen < 0) {
ERR_raise(ERR_LIB_PEM, PEM_R_READ_KEY);
goto legacy_end;
}
diff --git a/deps/openssl/openssl/crypto/property/property.c b/deps/openssl/openssl/crypto/property/property.c
index c087e741edc7f3..509191a8936a76 100644
--- a/deps/openssl/openssl/crypto/property/property.c
+++ b/deps/openssl/openssl/crypto/property/property.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
@@ -596,7 +596,7 @@ int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
QUERY elem, *r;
int res = 0;
- if (nid <= 0 || store == NULL)
+ if (nid <= 0 || store == NULL || prop_query == NULL)
return 0;
if (!ossl_property_read_lock(store))
@@ -605,7 +605,7 @@ int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
if (alg == NULL)
goto err;
- elem.query = prop_query != NULL ? prop_query : "";
+ elem.query = prop_query;
elem.provider = prov;
r = lh_QUERY_retrieve(alg->cache, &elem);
if (r == NULL)
@@ -629,10 +629,8 @@ int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
size_t len;
int res = 1;
- if (nid <= 0 || store == NULL)
+ if (nid <= 0 || store == NULL || prop_query == NULL)
return 0;
- if (prop_query == NULL)
- return 1;
if (!ossl_assert(prov != NULL))
return 0;
diff --git a/deps/openssl/openssl/crypto/property/property_string.c b/deps/openssl/openssl/crypto/property/property_string.c
index 38deab5af0f768..ef87a6a7823581 100644
--- a/deps/openssl/openssl/crypto/property/property_string.c
+++ b/deps/openssl/openssl/crypto/property/property_string.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
diff --git a/deps/openssl/openssl/crypto/provider_core.c b/deps/openssl/openssl/crypto/provider_core.c
index cb4c07c781ac4e..177358f054abbc 100644
--- a/deps/openssl/openssl/crypto/provider_core.c
+++ b/deps/openssl/openssl/crypto/provider_core.c
@@ -603,6 +603,9 @@ int ossl_provider_add_to_store(OSSL_PROVIDER *prov, OSSL_PROVIDER **actualprov,
OSSL_PROVIDER tmpl = { 0, };
OSSL_PROVIDER *actualtmp = NULL;
+ if (actualprov != NULL)
+ *actualprov = NULL;
+
if ((store = get_provider_store(prov->libctx)) == NULL)
return 0;
@@ -659,7 +662,7 @@ int ossl_provider_add_to_store(OSSL_PROVIDER *prov, OSSL_PROVIDER **actualprov,
err:
CRYPTO_THREAD_unlock(store->lock);
if (actualprov != NULL)
- ossl_provider_free(actualtmp);
+ ossl_provider_free(*actualprov);
return 0;
}
@@ -1945,9 +1948,13 @@ static int core_obj_add_sigid(const OSSL_CORE_HANDLE *prov,
const char *pkey_name)
{
int sign_nid = OBJ_txt2nid(sign_name);
- int digest_nid = OBJ_txt2nid(digest_name);
+ int digest_nid = NID_undef;
int pkey_nid = OBJ_txt2nid(pkey_name);
+ if (digest_name != NULL && digest_name[0] != '\0'
+ && (digest_nid = OBJ_txt2nid(digest_name)) == NID_undef)
+ return 0;
+
if (sign_nid == NID_undef)
return 0;
@@ -1958,8 +1965,7 @@ static int core_obj_add_sigid(const OSSL_CORE_HANDLE *prov,
if (OBJ_find_sigid_algs(sign_nid, NULL, NULL))
return 1;
- if (digest_nid == NID_undef
- || pkey_nid == NID_undef)
+ if (pkey_nid == NID_undef)
return 0;
return OBJ_add_sigid(sign_nid, digest_nid, pkey_nid);
diff --git a/deps/openssl/openssl/crypto/rand/rand_egd.c b/deps/openssl/openssl/crypto/rand/rand_egd.c
index dc1833169c9909..2067ececaf09cb 100644
--- a/deps/openssl/openssl/crypto/rand/rand_egd.c
+++ b/deps/openssl/openssl/crypto/rand/rand_egd.c
@@ -80,7 +80,7 @@ int hpns_socket(int family,
# define AF_UNIX_PORTABILITY "$ZAFN2"
# define AF_UNIX_COMPATIBILITY "$ZPLS"
- if (!_arg_present(transport) || transport != NULL || transport[0] == '\0')
+ if (!_arg_present(transport) || transport == NULL || transport[0] == '\0')
return socket(family, type, protocol);
socket_transport_name_get(AF_UNIX, current_transport, 20);
diff --git a/deps/openssl/openssl/crypto/rand/rand_lib.c b/deps/openssl/openssl/crypto/rand/rand_lib.c
index 8f76c8a5f024ec..afe3521186caeb 100644
--- a/deps/openssl/openssl/crypto/rand/rand_lib.c
+++ b/deps/openssl/openssl/crypto/rand/rand_lib.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -529,6 +529,8 @@ static EVP_RAND_CTX *rand_new_seed(OSSL_LIB_CTX *libctx)
EVP_RAND_CTX *ctx;
char *name;
+ if (dgbl == NULL)
+ return NULL;
name = dgbl->seed_name != NULL ? dgbl->seed_name : "SEED-SRC";
rand = EVP_RAND_fetch(libctx, name, dgbl->seed_propq);
if (rand == NULL) {
@@ -560,6 +562,8 @@ static EVP_RAND_CTX *rand_new_drbg(OSSL_LIB_CTX *libctx, EVP_RAND_CTX *parent,
OSSL_PARAM params[7], *p = params;
char *name, *cipher;
+ if (dgbl == NULL)
+ return NULL;
name = dgbl->rng_name != NULL ? dgbl->rng_name : "CTR-DRBG";
rand = EVP_RAND_fetch(libctx, name, dgbl->rng_propq);
if (rand == NULL) {
@@ -759,6 +763,9 @@ static int random_conf_init(CONF_IMODULE *md, const CONF *cnf)
return 0;
}
+ if (dgbl == NULL)
+ return 0;
+
for (i = 0; i < sk_CONF_VALUE_num(elist); i++) {
cval = sk_CONF_VALUE_value(elist, i);
if (strcasecmp(cval->name, "random") == 0) {
diff --git a/deps/openssl/openssl/crypto/rsa/rsa_ameth.c b/deps/openssl/openssl/crypto/rsa/rsa_ameth.c
index b1580ca48cf2e9..aabeb32736cec0 100644
--- a/deps/openssl/openssl/crypto/rsa/rsa_ameth.c
+++ b/deps/openssl/openssl/crypto/rsa/rsa_ameth.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2006-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -742,7 +742,7 @@ static int rsa_int_export_to(const EVP_PKEY *from, int rsa_type,
if (RSA_get0_n(rsa) == NULL || RSA_get0_e(rsa) == NULL)
goto err;
- if (!ossl_rsa_todata(rsa, tmpl, NULL))
+ if (!ossl_rsa_todata(rsa, tmpl, NULL, 1))
goto err;
selection |= OSSL_KEYMGMT_SELECT_PUBLIC_KEY;
@@ -835,7 +835,7 @@ static int rsa_int_import_from(const OSSL_PARAM params[], void *vpctx,
goto err;
}
- if (!ossl_rsa_fromdata(rsa, params))
+ if (!ossl_rsa_fromdata(rsa, params, 1))
goto err;
switch (rsa_type) {
diff --git a/deps/openssl/openssl/crypto/rsa/rsa_backend.c b/deps/openssl/openssl/crypto/rsa/rsa_backend.c
index 46283265d2746c..ad1623dd1444e3 100644
--- a/deps/openssl/openssl/crypto/rsa/rsa_backend.c
+++ b/deps/openssl/openssl/crypto/rsa/rsa_backend.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -60,9 +60,9 @@ static int collect_numbers(STACK_OF(BIGNUM) *numbers,
return 1;
}
-int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[])
+int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[], int include_private)
{
- const OSSL_PARAM *param_n, *param_e, *param_d;
+ const OSSL_PARAM *param_n, *param_e, *param_d = NULL;
BIGNUM *n = NULL, *e = NULL, *d = NULL;
STACK_OF(BIGNUM) *factors = NULL, *exps = NULL, *coeffs = NULL;
int is_private = 0;
@@ -72,7 +72,8 @@ int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[])
param_n = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_N);
param_e = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_E);
- param_d = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_D);
+ if (include_private)
+ param_d = OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_RSA_D);
if ((param_n != NULL && !OSSL_PARAM_get_BN(param_n, &n))
|| (param_e != NULL && !OSSL_PARAM_get_BN(param_e, &e))
@@ -118,7 +119,8 @@ int ossl_rsa_fromdata(RSA *rsa, const OSSL_PARAM params[])
DEFINE_SPECIAL_STACK_OF_CONST(BIGNUM_const, BIGNUM)
-int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[])
+int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[],
+ int include_private)
{
int ret = 0;
const BIGNUM *rsa_d = NULL, *rsa_n = NULL, *rsa_e = NULL;
@@ -137,7 +139,7 @@ int ossl_rsa_todata(RSA *rsa, OSSL_PARAM_BLD *bld, OSSL_PARAM params[])
goto err;
/* Check private key data integrity */
- if (rsa_d != NULL) {
+ if (include_private && rsa_d != NULL) {
int numprimes = sk_BIGNUM_const_num(factors);
int numexps = sk_BIGNUM_const_num(exps);
int numcoeffs = sk_BIGNUM_const_num(coeffs);
diff --git a/deps/openssl/openssl/crypto/rsa/rsa_ossl.c b/deps/openssl/openssl/crypto/rsa/rsa_ossl.c
index c417a4b8f6dd80..381c659352ad14 100644
--- a/deps/openssl/openssl/crypto/rsa/rsa_ossl.c
+++ b/deps/openssl/openssl/crypto/rsa/rsa_ossl.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -213,7 +213,9 @@ static int rsa_blinding_convert(BN_BLINDING *b, BIGNUM *f, BIGNUM *unblind,
*/
int ret;
- BN_BLINDING_lock(b);
+ if (!BN_BLINDING_lock(b))
+ return 0;
+
ret = BN_BLINDING_convert_ex(f, unblind, b, ctx);
BN_BLINDING_unlock(b);
diff --git a/deps/openssl/openssl/crypto/store/store_meth.c b/deps/openssl/openssl/crypto/store/store_meth.c
index e79ec871fd79c9..db13f62c66eace 100644
--- a/deps/openssl/openssl/crypto/store/store_meth.c
+++ b/deps/openssl/openssl/crypto/store/store_meth.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -280,6 +280,7 @@ inner_loader_fetch(struct loader_data_st *methdata, int id,
{
OSSL_METHOD_STORE *store = get_loader_store(methdata->libctx);
OSSL_NAMEMAP *namemap = ossl_namemap_stored(methdata->libctx);
+ const char *const propq = properties != NULL ? properties : "";
void *method = NULL;
int unsupported = 0;
@@ -309,7 +310,7 @@ inner_loader_fetch(struct loader_data_st *methdata, int id,
unsupported = 1;
if (id == 0
- || !ossl_method_store_cache_get(store, NULL, id, properties, &method)) {
+ || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) {
OSSL_METHOD_CONSTRUCT_METHOD mcm = {
get_tmp_loader_store,
get_loader_from_store,
@@ -317,13 +318,14 @@ inner_loader_fetch(struct loader_data_st *methdata, int id,
construct_loader,
destruct_loader
};
+ OSSL_PROVIDER *prov = NULL;
methdata->scheme_id = id;
methdata->scheme = scheme;
- methdata->propquery = properties;
+ methdata->propquery = propq;
methdata->flag_construct_error_occurred = 0;
if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_STORE,
- NULL, 0 /* !force_cache */,
+ &prov, 0 /* !force_cache */,
&mcm, methdata)) != NULL) {
/*
* If construction did create a method for us, we know that there
@@ -332,7 +334,7 @@ inner_loader_fetch(struct loader_data_st *methdata, int id,
*/
if (id == 0)
id = ossl_namemap_name2num(namemap, scheme);
- ossl_method_store_cache_set(store, NULL, id, properties, method,
+ ossl_method_store_cache_set(store, prov, id, propq, method,
up_ref_loader, free_loader);
}
diff --git a/deps/openssl/openssl/crypto/store/store_result.c b/deps/openssl/openssl/crypto/store/store_result.c
index 3a0dc9dfba9357..1306b270bbaf5e 100644
--- a/deps/openssl/openssl/crypto/store/store_result.c
+++ b/deps/openssl/openssl/crypto/store/store_result.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -525,7 +525,7 @@ static int try_pkcs12(struct extracted_param_data_st *data, OSSL_STORE_INFO **v,
if (p12 != NULL) {
char *pass = NULL;
- char tpass[PEM_BUFSIZE];
+ char tpass[PEM_BUFSIZE + 1];
size_t tpass_len;
EVP_PKEY *pkey = NULL;
X509 *cert = NULL;
@@ -547,17 +547,23 @@ static int try_pkcs12(struct extracted_param_data_st *data, OSSL_STORE_INFO **v,
OSSL_PARAM_END
};
- if (!ossl_pw_get_passphrase(tpass, sizeof(tpass), &tpass_len,
+ if (!ossl_pw_get_passphrase(tpass, sizeof(tpass) - 1,
+ &tpass_len,
pw_params, 0, &ctx->pwdata)) {
ERR_raise(ERR_LIB_OSSL_STORE,
OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR);
goto p12_end;
}
pass = tpass;
- if (!PKCS12_verify_mac(p12, pass, strlen(pass))) {
+ /*
+ * ossl_pw_get_passphrase() does not NUL terminate but
+ * we must do it for PKCS12_parse()
+ */
+ pass[tpass_len] = '\0';
+ if (!PKCS12_verify_mac(p12, pass, tpass_len)) {
ERR_raise_data(ERR_LIB_OSSL_STORE,
OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC,
- strlen(pass) == 0 ? "empty password" :
+ tpass_len == 0 ? "empty password" :
"maybe wrong password");
goto p12_end;
}
@@ -613,9 +619,10 @@ static int try_pkcs12(struct extracted_param_data_st *data, OSSL_STORE_INFO **v,
}
ctx->cached_info = infos;
}
+ p12_end:
+ OPENSSL_cleanse(tpass, sizeof(tpass));
+ PKCS12_free(p12);
}
- p12_end:
- PKCS12_free(p12);
*v = sk_OSSL_STORE_INFO_shift(ctx->cached_info);
}
diff --git a/deps/openssl/openssl/crypto/threads_pthread.c b/deps/openssl/openssl/crypto/threads_pthread.c
index 9f00d8be5eae6d..64247d29adef4d 100644
--- a/deps/openssl/openssl/crypto/threads_pthread.c
+++ b/deps/openssl/openssl/crypto/threads_pthread.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -261,26 +261,9 @@ int CRYPTO_atomic_load(uint64_t *val, uint64_t *ret, CRYPTO_RWLOCK *lock)
return 1;
}
# ifndef FIPS_MODULE
-# ifdef OPENSSL_SYS_UNIX
-
-static pthread_once_t fork_once_control = PTHREAD_ONCE_INIT;
-
-static void fork_once_func(void)
-{
-# ifndef OPENSSL_NO_DEPRECATED_3_0
- pthread_atfork(OPENSSL_fork_prepare,
- OPENSSL_fork_parent, OPENSSL_fork_child);
-# endif
-}
-# endif
-
int openssl_init_fork_handlers(void)
{
-# ifdef OPENSSL_SYS_UNIX
- if (pthread_once(&fork_once_control, fork_once_func) == 0)
- return 1;
-# endif
- return 0;
+ return 1;
}
# endif /* FIPS_MODULE */
diff --git a/deps/openssl/openssl/crypto/trace.c b/deps/openssl/openssl/crypto/trace.c
index f012b617abc68f..40941990e673de 100644
--- a/deps/openssl/openssl/crypto/trace.c
+++ b/deps/openssl/openssl/crypto/trace.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -136,6 +136,7 @@ static const struct trace_category_st trace_categories[] = {
TRACE_CATEGORY_(PKCS12_DECRYPT),
TRACE_CATEGORY_(X509V3_POLICY),
TRACE_CATEGORY_(BN_CTX),
+ TRACE_CATEGORY_(CMP),
TRACE_CATEGORY_(STORE),
TRACE_CATEGORY_(DECODER),
TRACE_CATEGORY_(ENCODER),
@@ -496,6 +497,8 @@ void OSSL_trace_end(int category, BIO * channel)
char *suffix = NULL;
category = ossl_trace_get_category(category);
+ if (category < 0)
+ return;
suffix = trace_channels[category].suffix;
if (channel != NULL
&& ossl_assert(channel == current_channel)) {
diff --git a/deps/openssl/openssl/crypto/ui/ui_openssl.c b/deps/openssl/openssl/crypto/ui/ui_openssl.c
index 8cf7a21d767576..8007f2f70c8728 100644
--- a/deps/openssl/openssl/crypto/ui/ui_openssl.c
+++ b/deps/openssl/openssl/crypto/ui/ui_openssl.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -551,6 +551,8 @@ static int echo_console(UI *ui)
static int close_console(UI *ui)
{
+ int ret = 1;
+
if (tty_in != stdin)
fclose(tty_in);
if (tty_out != stderr)
@@ -560,12 +562,12 @@ static int close_console(UI *ui)
if (status != SS$_NORMAL) {
ERR_raise_data(ERR_LIB_UI, UI_R_SYSDASSGN_ERROR,
"status=%%X%08X", status);
- return 0;
+ ret = 0;
}
# endif
CRYPTO_THREAD_unlock(ui->lock);
- return 1;
+ return ret;
}
# if !defined(OPENSSL_SYS_WINCE)
diff --git a/deps/openssl/openssl/crypto/ui/ui_util.c b/deps/openssl/openssl/crypto/ui/ui_util.c
index 58769d68a3ae4e..54fa43f0cc2e88 100644
--- a/deps/openssl/openssl/crypto/ui/ui_util.c
+++ b/deps/openssl/openssl/crypto/ui/ui_util.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2020 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2002-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -73,9 +73,12 @@ static void ui_new_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
static int ui_dup_method_data(CRYPTO_EX_DATA *to, const CRYPTO_EX_DATA *from,
void **pptr, int idx, long argl, void *argp)
{
- if (*pptr != NULL)
+ if (*pptr != NULL) {
*pptr = OPENSSL_memdup(*pptr, sizeof(struct pem_password_cb_data));
- return 1;
+ if (*pptr != NULL)
+ return 1;
+ }
+ return 0;
}
static void ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
@@ -114,7 +117,7 @@ static int ui_read(UI *ui, UI_STRING *uis)
if (len >= 0)
result[len] = '\0';
- if (len <= 0)
+ if (len < 0)
return len;
if (UI_set_result_ex(ui, uis, result, len) >= 0)
return 1;
diff --git a/deps/openssl/openssl/crypto/x509/v3_crld.c b/deps/openssl/openssl/crypto/x509/v3_crld.c
index bc755f5f0dbe1b..0289df4de78945 100644
--- a/deps/openssl/openssl/crypto/x509/v3_crld.c
+++ b/deps/openssl/openssl/crypto/x509/v3_crld.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1999-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -83,6 +83,7 @@ static int set_dist_point_name(DIST_POINT_NAME **pdp, X509V3_CTX *ctx,
return -1;
dnsect = X509V3_get_section(ctx, cnf->value);
if (!dnsect) {
+ X509_NAME_free(nm);
ERR_raise(ERR_LIB_X509V3, X509V3_R_SECTION_NOT_FOUND);
return -1;
}
diff --git a/deps/openssl/openssl/crypto/x509/v3_sxnet.c b/deps/openssl/openssl/crypto/x509/v3_sxnet.c
index 3e5ae048be5bf5..ad62a6d168c1d8 100644
--- a/deps/openssl/openssl/crypto/x509/v3_sxnet.c
+++ b/deps/openssl/openssl/crypto/x509/v3_sxnet.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1999-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -167,11 +167,12 @@ int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, const char *user,
goto err;
if (!ASN1_INTEGER_set(sx->version, 0))
goto err;
- *psx = sx;
} else
sx = *psx;
if (SXNET_get_id_INTEGER(sx, zone)) {
ERR_raise(ERR_LIB_X509V3, X509V3_R_DUPLICATE_ZONE_ID);
+ if (*psx == NULL)
+ SXNET_free(sx);
return 0;
}
@@ -185,13 +186,14 @@ int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, const char *user,
if (!sk_SXNETID_push(sx->ids, id))
goto err;
id->zone = zone;
+ *psx = sx;
return 1;
err:
ERR_raise(ERR_LIB_X509V3, ERR_R_MALLOC_FAILURE);
SXNETID_free(id);
- SXNET_free(sx);
- *psx = NULL;
+ if (*psx == NULL)
+ SXNET_free(sx);
return 0;
}
diff --git a/deps/openssl/openssl/crypto/x509/v3_utl.c b/deps/openssl/openssl/crypto/x509/v3_utl.c
index a70917a39bde03..734e083a7a72e5 100644
--- a/deps/openssl/openssl/crypto/x509/v3_utl.c
+++ b/deps/openssl/openssl/crypto/x509/v3_utl.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1999-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -539,8 +539,11 @@ static int append_ia5(STACK_OF(OPENSSL_STRING) **sk,
return 0;
emtmp = OPENSSL_strndup((char *)email->data, email->length);
- if (emtmp == NULL)
+ if (emtmp == NULL) {
+ X509_email_free(*sk);
+ *sk = NULL;
return 0;
+ }
/* Don't add duplicates */
if (sk_OPENSSL_STRING_find(*sk, emtmp) != -1) {
@@ -833,8 +836,11 @@ static int do_check_string(const ASN1_STRING *a, int cmp_type, equal_fn equal,
rv = equal(a->data, a->length, (unsigned char *)b, blen, flags);
else if (a->length == (int)blen && !memcmp(a->data, b, blen))
rv = 1;
- if (rv > 0 && peername)
+ if (rv > 0 && peername != NULL) {
*peername = OPENSSL_strndup((char *)a->data, a->length);
+ if (*peername == NULL)
+ return -1;
+ }
} else {
int astrlen;
unsigned char *astr;
@@ -847,8 +853,13 @@ static int do_check_string(const ASN1_STRING *a, int cmp_type, equal_fn equal,
return -1;
}
rv = equal(astr, astrlen, (unsigned char *)b, blen, flags);
- if (rv > 0 && peername)
+ if (rv > 0 && peername != NULL) {
*peername = OPENSSL_strndup((char *)astr, astrlen);
+ if (*peername == NULL) {
+ OPENSSL_free(astr);
+ return -1;
+ }
+ }
OPENSSL_free(astr);
}
return rv;
diff --git a/deps/openssl/openssl/crypto/x509/x509_lu.c b/deps/openssl/openssl/crypto/x509/x509_lu.c
index 3b76b92f713856..d8927bda070689 100644
--- a/deps/openssl/openssl/crypto/x509/x509_lu.c
+++ b/deps/openssl/openssl/crypto/x509/x509_lu.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -321,7 +321,9 @@ int X509_STORE_CTX_get_by_subject(const X509_STORE_CTX *vs,
stmp.type = X509_LU_NONE;
stmp.data.ptr = NULL;
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store))
+ return 0;
+
tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name);
X509_STORE_unlock(store);
@@ -371,7 +373,12 @@ static int x509_store_add(X509_STORE *store, void *x, int crl) {
return 0;
}
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store)) {
+ obj->type = X509_LU_NONE;
+ X509_OBJECT_free(obj);
+ return 0;
+ }
+
if (X509_OBJECT_retrieve_match(store->objs, obj)) {
ret = 1;
} else {
@@ -553,7 +560,9 @@ STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *store)
}
if ((sk = sk_X509_new_null()) == NULL)
return NULL;
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store))
+ goto out_free;
+
objs = X509_STORE_get0_objects(store);
for (i = 0; i < sk_X509_OBJECT_num(objs); i++) {
X509 *cert = X509_OBJECT_get0_X509(sk_X509_OBJECT_value(objs, i));
@@ -567,6 +576,7 @@ STACK_OF(X509) *X509_STORE_get1_all_certs(X509_STORE *store)
err:
X509_STORE_unlock(store);
+ out_free:
sk_X509_pop_free(sk, X509_free);
return NULL;
}
@@ -583,7 +593,9 @@ STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx,
if (store == NULL)
return NULL;
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store))
+ return NULL;
+
idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
if (idx < 0) {
/*
@@ -601,7 +613,8 @@ STACK_OF(X509) *X509_STORE_CTX_get1_certs(X509_STORE_CTX *ctx,
return NULL;
}
X509_OBJECT_free(xobj);
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store))
+ return NULL;
idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
if (idx < 0) {
X509_STORE_unlock(store);
@@ -642,7 +655,10 @@ STACK_OF(X509_CRL) *X509_STORE_CTX_get1_crls(const X509_STORE_CTX *ctx,
return NULL;
}
X509_OBJECT_free(xobj);
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store)) {
+ sk_X509_CRL_free(sk);
+ return NULL;
+ }
idx = x509_object_idx_cnt(store->objs, X509_LU_CRL, nm, &cnt);
if (idx < 0) {
X509_STORE_unlock(store);
@@ -744,7 +760,9 @@ int X509_STORE_CTX_get1_issuer(X509 **issuer, X509_STORE_CTX *ctx, X509 *x)
/* Find index of first currently valid cert accepted by 'check_issued' */
ret = 0;
- X509_STORE_lock(store);
+ if (!X509_STORE_lock(store))
+ return 0;
+
idx = x509_object_idx_cnt(store->objs, X509_LU_X509, xn, &nmatch);
if (idx != -1) { /* should be true as we've had at least one match */
/* Look through all matching certs for suitable issuer */
diff --git a/deps/openssl/openssl/crypto/x509/x509_trust.c b/deps/openssl/openssl/crypto/x509/x509_trust.c
index ff578aee73d461..fd77b0c6fe6162 100644
--- a/deps/openssl/openssl/crypto/x509/x509_trust.c
+++ b/deps/openssl/openssl/crypto/x509/x509_trust.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1999-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -72,7 +72,7 @@ int X509_check_trust(X509 *x, int id, int flags)
return obj_trust(NID_anyExtendedKeyUsage, x,
flags | X509_TRUST_DO_SS_COMPAT);
idx = X509_TRUST_get_by_id(id);
- if (idx == -1)
+ if (idx < 0)
return default_trust(id, x, flags);
pt = X509_TRUST_get0(idx);
return pt->check_trust(pt, x, flags);
@@ -112,7 +112,7 @@ int X509_TRUST_get_by_id(int id)
int X509_TRUST_set(int *t, int trust)
{
- if (X509_TRUST_get_by_id(trust) == -1) {
+ if (X509_TRUST_get_by_id(trust) < 0) {
ERR_raise(ERR_LIB_X509, X509_R_INVALID_TRUST);
return 0;
}
@@ -134,7 +134,7 @@ int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int),
/* Get existing entry if any */
idx = X509_TRUST_get_by_id(id);
/* Need a new entry */
- if (idx == -1) {
+ if (idx < 0) {
if ((trtmp = OPENSSL_malloc(sizeof(*trtmp))) == NULL) {
ERR_raise(ERR_LIB_X509, ERR_R_MALLOC_FAILURE);
return 0;
@@ -162,7 +162,7 @@ int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int),
trtmp->arg2 = arg2;
/* If its a new entry manage the dynamic table */
- if (idx == -1) {
+ if (idx < 0) {
if (trtable == NULL
&& (trtable = sk_X509_TRUST_new(tr_cmp)) == NULL) {
ERR_raise(ERR_LIB_X509, ERR_R_MALLOC_FAILURE);
@@ -175,7 +175,7 @@ int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int),
}
return 1;
err:
- if (idx == -1) {
+ if (idx < 0) {
OPENSSL_free(trtmp->name);
OPENSSL_free(trtmp);
}
diff --git a/deps/openssl/openssl/crypto/x509/x509_vfy.c b/deps/openssl/openssl/crypto/x509/x509_vfy.c
index ff3ca83de6d5cf..2f175ca517f5dd 100644
--- a/deps/openssl/openssl/crypto/x509/x509_vfy.c
+++ b/deps/openssl/openssl/crypto/x509/x509_vfy.c
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -2230,6 +2230,12 @@ int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
/* If purpose not set use default */
if (purpose == 0)
purpose = def_purpose;
+ /*
+ * If purpose is set but we don't have a default then set the default to
+ * the current purpose
+ */
+ else if (def_purpose == 0)
+ def_purpose = purpose;
/* If we have a purpose then check it is valid */
if (purpose != 0) {
X509_PURPOSE *ptmp;
@@ -2242,11 +2248,6 @@ int X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose,
ptmp = X509_PURPOSE_get0(idx);
if (ptmp->trust == X509_TRUST_DEFAULT) {
idx = X509_PURPOSE_get_by_id(def_purpose);
- /*
- * XXX: In the two callers above def_purpose is always 0, which is
- * not a known value, so idx will always be -1. How is the
- * X509_TRUST_DEFAULT case actually supposed to be handled?
- */
if (idx == -1) {
ERR_raise(ERR_LIB_X509, X509_R_UNKNOWN_PURPOSE_ID);
return 0;
diff --git a/deps/openssl/openssl/demos/README.txt b/deps/openssl/openssl/demos/README.txt
index 291094bf9d5e97..dae5c881d23e6b 100644
--- a/deps/openssl/openssl/demos/README.txt
+++ b/deps/openssl/openssl/demos/README.txt
@@ -10,12 +10,14 @@ certs: Demonstration of creating certs, using OCSP
cipher:
aesgcm.c Demonstration of symmetric cipher GCM mode encrypt/decrypt
aesccm.c Demonstration of symmetric cipher CCM mode encrypt/decrypt
+ariacbc.c Demonstration of symmetric cipher CBC mode encrypt/decrypt
cms:
digest:
EVP_MD_demo.c Compute a digest from multiple buffers
EVP_MD_stdin.c Compute a digest with data read from stdin
+EVP_MD_xof.c Compute a digest using the SHAKE256 XOF
EVP_f_md.c Compute a digest using BIO and EVP_f_md
kdf:
@@ -25,9 +27,12 @@ scrypt.c Demonstration of SCRYPT password based key derivation
mac:
gmac.c Demonstration of GMAC message authentication
+poly1305.c Demonstration of Poly1305-AES message authentication
+siphash.c Demonstration of SIPHASH message authentication
pkey:
EVP_PKEY_EC_keygen.c Generate an EC key.
+EVP_PKEY_RSA_keygen.c Generate an RSA key.
smime:
@@ -37,3 +42,5 @@ pkwrite.c Add a password to an existing PKCS12 file.
signature:
EVP_Signature_demo.c Compute and verify a signature from multiple buffers
+rsa_pss_direct.c Compute and verify an RSA-PSS signature from a hash
+rsa_pss_hash.c Compute and verify an RSA-PSS signature over a buffer
diff --git a/deps/openssl/openssl/demos/cipher/Makefile b/deps/openssl/openssl/demos/cipher/Makefile
index c2e10a1ded0ed8..b4f08a3746169f 100644
--- a/deps/openssl/openssl/demos/cipher/Makefile
+++ b/deps/openssl/openssl/demos/cipher/Makefile
@@ -11,13 +11,14 @@
CFLAGS = $(OPENSSL_INCS_LOCATION)
LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
-all: aesccm aesgcm
+all: aesccm aesgcm ariacbc
aesccm: aesccm.o
aesgcm: aesgcm.o
+ariacbc: ariacbc.o
-aesccm aesgcm:
+aesccm aesgcm ariacbc:
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean:
- $(RM) aesccm aesgcm *.o
+ $(RM) aesccm aesgcm ariacbc *.o
diff --git a/deps/openssl/openssl/demos/cipher/ariacbc.c b/deps/openssl/openssl/demos/cipher/ariacbc.c
new file mode 100644
index 00000000000000..8999fe6e701d24
--- /dev/null
+++ b/deps/openssl/openssl/demos/cipher/ariacbc.c
@@ -0,0 +1,178 @@
+/*
+ * Copyright 2012-2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+/*
+ * Simple ARIA CBC encryption demonstration program.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+/* ARIA key */
+static const unsigned char cbc_key[] = {
+ 0xee, 0xbc, 0x1f, 0x57, 0x48, 0x7f, 0x51, 0x92, 0x1c, 0x04, 0x65, 0x66,
+ 0x5f, 0x8a, 0xe6, 0xd1, 0x65, 0x8b, 0xb2, 0x6d, 0xe6, 0xf8, 0xa0, 0x69,
+ 0xa3, 0x52, 0x02, 0x93, 0xa5, 0x72, 0x07, 0x8f
+};
+
+/* Unique initialisation vector */
+static const unsigned char cbc_iv[] = {
+ 0x99, 0xaa, 0x3e, 0x68, 0xed, 0x81, 0x73, 0xa0, 0xee, 0xd0, 0x66, 0x84,
+ 0x99, 0xaa, 0x3e, 0x68,
+};
+
+/* Example plaintext to encrypt */
+static const unsigned char cbc_pt[] = {
+ 0xf5, 0x6e, 0x87, 0x05, 0x5b, 0xc3, 0x2d, 0x0e, 0xeb, 0x31, 0xb2, 0xea,
+ 0xcc, 0x2b, 0xf2, 0xa5
+};
+
+/* Expected ciphertext value */
+static const unsigned char cbc_ct[] = {
+ 0x9a, 0x44, 0xe6, 0x85, 0x94, 0x26, 0xff, 0x30, 0x03, 0xd3, 0x7e, 0xc6,
+ 0xb5, 0x4a, 0x09, 0x66, 0x39, 0x28, 0xf3, 0x67, 0x14, 0xbc, 0xe8, 0xe2,
+ 0xcf, 0x31, 0xb8, 0x60, 0x42, 0x72, 0x6d, 0xc8
+};
+
+/*
+ * A library context and property query can be used to select & filter
+ * algorithm implementations. If they are NULL then the default library
+ * context and properties are used.
+ */
+OSSL_LIB_CTX *libctx = NULL;
+const char *propq = NULL;
+
+int aria_cbc_encrypt(void)
+{
+ int ret = 0;
+ EVP_CIPHER_CTX *ctx;
+ EVP_CIPHER *cipher = NULL;
+ int outlen, tmplen;
+ size_t cbc_ivlen = sizeof(cbc_iv);
+ unsigned char outbuf[1024];
+ unsigned char outtag[16];
+
+ printf("ARIA CBC Encrypt:\n");
+ printf("Plaintext:\n");
+ BIO_dump_fp(stdout, cbc_pt, sizeof(cbc_pt));
+
+ /* Create a context for the encrypt operation */
+ if ((ctx = EVP_CIPHER_CTX_new()) == NULL)
+ goto err;
+
+ /* Fetch the cipher implementation */
+ if ((cipher = EVP_CIPHER_fetch(libctx, "ARIA-256-CBC", propq)) == NULL)
+ goto err;
+
+ /*
+ * Initialise an encrypt operation with the cipher/mode, key and IV.
+ * We are not setting any custom params so let params be just NULL.
+ */
+ if (!EVP_EncryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL))
+ goto err;
+
+ /* Encrypt plaintext */
+ if (!EVP_EncryptUpdate(ctx, outbuf, &outlen, cbc_pt, sizeof(cbc_pt)))
+ goto err;
+
+ /* Finalise: there can be some additional output from padding */
+ if (!EVP_EncryptFinal_ex(ctx, outbuf + outlen, &tmplen))
+ goto err;
+ outlen += tmplen;
+
+ /* Output encrypted block */
+ printf("Ciphertext (outlen:%d):\n", outlen);
+ BIO_dump_fp(stdout, outbuf, outlen);
+
+ if (sizeof(cbc_ct) == outlen && !CRYPTO_memcmp(outbuf, cbc_ct, outlen))
+ printf("Final ciphertext matches expected ciphertext\n");
+ else
+ printf("Final ciphertext differs from expected ciphertext\n");
+
+ ret = 1;
+err:
+ if (!ret)
+ ERR_print_errors_fp(stderr);
+
+ EVP_CIPHER_free(cipher);
+ EVP_CIPHER_CTX_free(ctx);
+
+ return ret;
+}
+
+int aria_cbc_decrypt(void)
+{
+ int ret = 0;
+ EVP_CIPHER_CTX *ctx;
+ EVP_CIPHER *cipher = NULL;
+ int outlen, tmplen, rv;
+ size_t cbc_ivlen = sizeof(cbc_iv);
+ unsigned char outbuf[1024];
+
+ printf("ARIA CBC Decrypt:\n");
+ printf("Ciphertext:\n");
+ BIO_dump_fp(stdout, cbc_ct, sizeof(cbc_ct));
+
+ if ((ctx = EVP_CIPHER_CTX_new()) == NULL)
+ goto err;
+
+ /* Fetch the cipher implementation */
+ if ((cipher = EVP_CIPHER_fetch(libctx, "ARIA-256-CBC", propq)) == NULL)
+ goto err;
+
+ /*
+ * Initialise an encrypt operation with the cipher/mode, key and IV.
+ * We are not setting any custom params so let params be just NULL.
+ */
+ if (!EVP_DecryptInit_ex2(ctx, cipher, cbc_key, cbc_iv, /* params */ NULL))
+ goto err;
+
+ /* Decrypt plaintext */
+ if (!EVP_DecryptUpdate(ctx, outbuf, &outlen, cbc_ct, sizeof(cbc_ct)))
+ goto err;
+
+ /* Finalise: there can be some additional output from padding */
+ if (!EVP_DecryptFinal_ex(ctx, outbuf + outlen, &tmplen))
+ goto err;
+ outlen += tmplen;
+
+ /* Output decrypted block */
+ printf("Plaintext (outlen:%d):\n", outlen);
+ BIO_dump_fp(stdout, outbuf, outlen);
+
+ if (sizeof(cbc_pt) == outlen && !CRYPTO_memcmp(outbuf, cbc_pt, outlen))
+ printf("Final plaintext matches original plaintext\n");
+ else
+ printf("Final plaintext differs from original plaintext\n");
+
+ ret = 1;
+err:
+ if (!ret)
+ ERR_print_errors_fp(stderr);
+
+ EVP_CIPHER_free(cipher);
+ EVP_CIPHER_CTX_free(ctx);
+
+ return ret;
+}
+
+int main(int argc, char **argv)
+{
+ if (!aria_cbc_encrypt())
+ return 1;
+
+ if (!aria_cbc_decrypt())
+ return 1;
+
+ return 0;
+}
diff --git a/deps/openssl/openssl/demos/cms/cms_ver.c b/deps/openssl/openssl/demos/cms/cms_ver.c
index cd2b01e1b097d5..3c0a7aa19edec5 100644
--- a/deps/openssl/openssl/demos/cms/cms_ver.c
+++ b/deps/openssl/openssl/demos/cms/cms_ver.c
@@ -27,16 +27,18 @@ int main(int argc, char **argv)
/* Set up trusted CA certificate store */
st = X509_STORE_new();
+ if (st == NULL)
+ goto err;
/* Read in CA certificate */
tbio = BIO_new_file("cacert.pem", "r");
- if (!tbio)
+ if (tbio == NULL)
goto err;
cacert = PEM_read_bio_X509(tbio, NULL, 0, NULL);
- if (!cacert)
+ if (cacert == NULL)
goto err;
if (!X509_STORE_add_cert(st, cacert))
@@ -46,18 +48,18 @@ int main(int argc, char **argv)
in = BIO_new_file("smout.txt", "r");
- if (!in)
+ if (in == NULL)
goto err;
/* parse message */
cms = SMIME_read_CMS(in, &cont);
- if (!cms)
+ if (cms == NULL)
goto err;
/* File to output verified content to */
out = BIO_new_file("smver.txt", "w");
- if (!out)
+ if (out == NULL)
goto err;
if (!CMS_verify(cms, NULL, st, cont, out, 0)) {
@@ -76,6 +78,7 @@ int main(int argc, char **argv)
ERR_print_errors_fp(stderr);
}
+ X509_STORE_free(st);
CMS_ContentInfo_free(cms);
X509_free(cacert);
BIO_free(in);
diff --git a/deps/openssl/openssl/demos/digest/EVP_MD_xof.c b/deps/openssl/openssl/demos/digest/EVP_MD_xof.c
new file mode 100644
index 00000000000000..f31c047164b1d4
--- /dev/null
+++ b/deps/openssl/openssl/demos/digest/EVP_MD_xof.c
@@ -0,0 +1,132 @@
+/*-
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include
+#include
+#include
+#include
+#include
+
+/*
+ * Example of using an extendable-output hash function (XOF). A XOF is a hash
+ * function with configurable output length and which can generate an
+ * arbitrarily large output.
+ *
+ * This example uses SHAKE256, an extendable output variant of SHA3 (Keccak).
+ *
+ * To generate different output lengths, you can pass a single integer argument
+ * on the command line, which is the output size in bytes. By default, a 20-byte
+ * output is generated and (for this length only) a known answer test is
+ * performed.
+ */
+
+/* Our input to the XOF hash function. */
+const char message[] = "This is a test message.";
+
+/* Expected output when an output length of 20 bytes is used. */
+static const char known_answer[] = {
+ 0x52, 0x97, 0x93, 0x78, 0x27, 0x58, 0x7d, 0x62,
+ 0x8b, 0x00, 0x25, 0xb5, 0xec, 0x39, 0x5e, 0x2d,
+ 0x7f, 0x3e, 0xd4, 0x19
+};
+
+/*
+ * A property query used for selecting the SHAKE256 implementation.
+ */
+static const char *propq = NULL;
+
+int main(int argc, char **argv)
+{
+ int rv = 1;
+ OSSL_LIB_CTX *libctx = NULL;
+ EVP_MD *md = NULL;
+ EVP_MD_CTX *ctx = NULL;
+ unsigned int digest_len = 20;
+ int digest_len_i;
+ unsigned char *digest = NULL;
+
+ /* Allow digest length to be changed for demonstration purposes. */
+ if (argc > 1) {
+ digest_len_i = atoi(argv[1]);
+ if (digest_len_i <= 0) {
+ fprintf(stderr, "Specify a non-negative digest length\n");
+ goto end;
+ }
+
+ digest_len = (unsigned int)digest_len_i;
+ }
+
+ /*
+ * Retrieve desired algorithm. This must be a hash algorithm which supports
+ * XOF.
+ */
+ md = EVP_MD_fetch(libctx, "SHAKE256", propq);
+ if (md == NULL) {
+ fprintf(stderr, "Failed to retrieve SHAKE256 algorithm\n");
+ goto end;
+ }
+
+ /* Create context. */
+ ctx = EVP_MD_CTX_new();
+ if (ctx == NULL) {
+ fprintf(stderr, "Failed to create digest context\n");
+ goto end;
+ }
+
+ /* Initialize digest context. */
+ if (EVP_DigestInit(ctx, md) == 0) {
+ fprintf(stderr, "Failed to initialize digest\n");
+ goto end;
+ }
+
+ /*
+ * Feed our message into the digest function.
+ * This may be called multiple times.
+ */
+ if (EVP_DigestUpdate(ctx, message, sizeof(message)) == 0) {
+ fprintf(stderr, "Failed to hash input message\n");
+ goto end;
+ }
+
+ /* Allocate enough memory for our digest length. */
+ digest = OPENSSL_malloc(digest_len);
+ if (digest == NULL) {
+ fprintf(stderr, "Failed to allocate memory for digest\n");
+ goto end;
+ }
+
+ /* Get computed digest. The digest will be of whatever length we specify. */
+ if (EVP_DigestFinalXOF(ctx, digest, digest_len) == 0) {
+ fprintf(stderr, "Failed to finalize hash\n");
+ goto end;
+ }
+
+ printf("Output digest:\n");
+ BIO_dump_indent_fp(stdout, digest, digest_len, 2);
+
+ /* If digest length is 20 bytes, check it matches our known answer. */
+ if (digest_len == 20) {
+ /*
+ * Always use a constant-time function such as CRYPTO_memcmp
+ * when comparing cryptographic values. Do not use memcmp(3).
+ */
+ if (CRYPTO_memcmp(digest, known_answer, sizeof(known_answer)) != 0) {
+ fprintf(stderr, "Output does not match expected result\n");
+ goto end;
+ }
+ }
+
+ rv = 0;
+end:
+ OPENSSL_free(digest);
+ EVP_MD_CTX_free(ctx);
+ EVP_MD_free(md);
+ OSSL_LIB_CTX_free(libctx);
+ return rv;
+}
diff --git a/deps/openssl/openssl/demos/digest/Makefile b/deps/openssl/openssl/demos/digest/Makefile
index bcd4c4353bca88..0bfb6dd5f04470 100644
--- a/deps/openssl/openssl/demos/digest/Makefile
+++ b/deps/openssl/openssl/demos/digest/Makefile
@@ -3,20 +3,21 @@
#
# LD_LIBRARY_PATH=../.. ./EVP_MD_demo
-CFLAGS = -I../../include -g
+CFLAGS = -I../../include -g -Wall
LDFLAGS = -L../..
LDLIBS = -lcrypto
-all: EVP_MD_demo EVP_MD_stdin BIO_f_md
+all: EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
%.o: %.c
$(CC) $(CFLAGS) -c $<
EVP_MD_demo: EVP_MD_demo.o
EVP_MD_stdin: EVP_MD_stdin.o
+EVP_MD_xof: EVP_MD_xof.o
BIO_f_md: BIO_f_md.o
test: ;
clean:
- $(RM) *.o EVP_MD_demo EVP_MD_stdin BIO_f_md
+ $(RM) *.o EVP_MD_demo EVP_MD_stdin EVP_MD_xof BIO_f_md
diff --git a/deps/openssl/openssl/demos/keyexch/x25519.c b/deps/openssl/openssl/demos/keyexch/x25519.c
new file mode 100644
index 00000000000000..bd35e0a98c1453
--- /dev/null
+++ b/deps/openssl/openssl/demos/keyexch/x25519.c
@@ -0,0 +1,278 @@
+/*
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include
+#include
+#include
+#include
+
+/*
+ * This is a demonstration of key exchange using X25519.
+ *
+ * The variables beginning `peer1_` / `peer2_` are data which would normally be
+ * accessible to that peer.
+ *
+ * Ordinarily you would use random keys, which are demonstrated
+ * below when use_kat=0. A known answer test is demonstrated
+ * when use_kat=1.
+ */
+
+/* A property query used for selecting the X25519 implementation. */
+static const char *propq = NULL;
+
+static const unsigned char peer1_privk_data[32] = {
+ 0x80, 0x5b, 0x30, 0x20, 0x25, 0x4a, 0x70, 0x2c,
+ 0xad, 0xa9, 0x8d, 0x7d, 0x47, 0xf8, 0x1b, 0x20,
+ 0x89, 0xd2, 0xf9, 0x14, 0xac, 0x92, 0x27, 0xf2,
+ 0x10, 0x7e, 0xdb, 0x21, 0xbd, 0x73, 0x73, 0x5d
+};
+
+static const unsigned char peer2_privk_data[32] = {
+ 0xf8, 0x84, 0x19, 0x69, 0x79, 0x13, 0x0d, 0xbd,
+ 0xb1, 0x76, 0xd7, 0x0e, 0x7e, 0x0f, 0xb6, 0xf4,
+ 0x8c, 0x4a, 0x8c, 0x5f, 0xd8, 0x15, 0x09, 0x0a,
+ 0x71, 0x78, 0x74, 0x92, 0x0f, 0x85, 0xc8, 0x43
+};
+
+static const unsigned char expected_result[32] = {
+ 0x19, 0x71, 0x26, 0x12, 0x74, 0xb5, 0xb1, 0xce,
+ 0x77, 0xd0, 0x79, 0x24, 0xb6, 0x0a, 0x5c, 0x72,
+ 0x0c, 0xa6, 0x56, 0xc0, 0x11, 0xeb, 0x43, 0x11,
+ 0x94, 0x3b, 0x01, 0x45, 0xca, 0x19, 0xfe, 0x09
+};
+
+typedef struct peer_data_st {
+ const char *name; /* name of peer */
+ EVP_PKEY *privk; /* privk generated for peer */
+ unsigned char pubk_data[32]; /* generated pubk to send to other peer */
+
+ unsigned char *secret; /* allocated shared secret buffer */
+ size_t secret_len;
+} PEER_DATA;
+
+/*
+ * Prepare for X25519 key exchange. The public key to be sent to the remote peer
+ * is put in pubk_data, which should be a 32-byte buffer. Returns 1 on success.
+ */
+static int keyexch_x25519_before(
+ OSSL_LIB_CTX *libctx,
+ const unsigned char *kat_privk_data,
+ PEER_DATA *local_peer)
+{
+ int rv = 0;
+ size_t pubk_data_len = 0;
+
+ /* Generate or load X25519 key for the peer */
+ if (kat_privk_data != NULL)
+ local_peer->privk =
+ EVP_PKEY_new_raw_private_key_ex(libctx, "X25519", propq,
+ kat_privk_data,
+ sizeof(peer1_privk_data));
+ else
+ local_peer->privk = EVP_PKEY_Q_keygen(libctx, propq, "X25519");
+
+ if (local_peer->privk == NULL) {
+ fprintf(stderr, "Could not load or generate private key\n");
+ goto end;
+ }
+
+ /* Get public key corresponding to the private key */
+ if (EVP_PKEY_get_octet_string_param(local_peer->privk,
+ OSSL_PKEY_PARAM_PUB_KEY,
+ local_peer->pubk_data,
+ sizeof(local_peer->pubk_data),
+ &pubk_data_len) == 0) {
+ fprintf(stderr, "EVP_PKEY_get_octet_string_param() failed\n");
+ goto end;
+ }
+
+ /* X25519 public keys are always 32 bytes */
+ if (pubk_data_len != 32) {
+ fprintf(stderr, "EVP_PKEY_get_octet_string_param() "
+ "yielded wrong length\n");
+ goto end;
+ }
+
+ rv = 1;
+end:
+ if (rv == 0) {
+ EVP_PKEY_free(local_peer->privk);
+ local_peer->privk = NULL;
+ }
+
+ return rv;
+}
+
+/*
+ * Complete X25519 key exchange. remote_peer_pubk_data should be the 32 byte
+ * public key value received from the remote peer. On success, returns 1 and the
+ * secret is pointed to by *secret. The caller must free it.
+ */
+static int keyexch_x25519_after(
+ OSSL_LIB_CTX *libctx,
+ int use_kat,
+ PEER_DATA *local_peer,
+ const unsigned char *remote_peer_pubk_data)
+{
+ int rv = 0;
+ EVP_PKEY *remote_peer_pubk = NULL;
+ EVP_PKEY_CTX *ctx = NULL;
+
+ local_peer->secret = NULL;
+
+ /* Load public key for remote peer. */
+ remote_peer_pubk =
+ EVP_PKEY_new_raw_public_key_ex(libctx, "X25519", propq,
+ remote_peer_pubk_data, 32);
+ if (remote_peer_pubk == NULL) {
+ fprintf(stderr, "EVP_PKEY_new_raw_public_key_ex() failed\n");
+ goto end;
+ }
+
+ /* Create key exchange context. */
+ ctx = EVP_PKEY_CTX_new_from_pkey(libctx, local_peer->privk, propq);
+ if (ctx == NULL) {
+ fprintf(stderr, "EVP_PKEY_CTX_new_from_pkey() failed\n");
+ goto end;
+ }
+
+ /* Initialize derivation process. */
+ if (EVP_PKEY_derive_init(ctx) == 0) {
+ fprintf(stderr, "EVP_PKEY_derive_init() failed\n");
+ goto end;
+ }
+
+ /* Configure each peer with the other peer's public key. */
+ if (EVP_PKEY_derive_set_peer(ctx, remote_peer_pubk) == 0) {
+ fprintf(stderr, "EVP_PKEY_derive_set_peer() failed\n");
+ goto end;
+ }
+
+ /* Determine the secret length. */
+ if (EVP_PKEY_derive(ctx, NULL, &local_peer->secret_len) == 0) {
+ fprintf(stderr, "EVP_PKEY_derive() failed\n");
+ goto end;
+ }
+
+ /*
+ * We are using X25519, so the secret generated will always be 32 bytes.
+ * However for exposition, the code below demonstrates a generic
+ * implementation for arbitrary lengths.
+ */
+ if (local_peer->secret_len != 32) { /* unreachable */
+ fprintf(stderr, "Secret is always 32 bytes for X25519\n");
+ goto end;
+ }
+
+ /* Allocate memory for shared secrets. */
+ local_peer->secret = OPENSSL_malloc(local_peer->secret_len);
+ if (local_peer->secret == NULL) {
+ fprintf(stderr, "Could not allocate memory for secret\n");
+ goto end;
+ }
+
+ /* Derive the shared secret. */
+ if (EVP_PKEY_derive(ctx, local_peer->secret,
+ &local_peer->secret_len) == 0) {
+ fprintf(stderr, "EVP_PKEY_derive() failed\n");
+ goto end;
+ }
+
+ printf("Shared secret (%s):\n", local_peer->name);
+ BIO_dump_indent_fp(stdout, local_peer->secret, local_peer->secret_len, 2);
+ putchar('\n');
+
+ rv = 1;
+end:
+ EVP_PKEY_CTX_free(ctx);
+ EVP_PKEY_free(remote_peer_pubk);
+ if (rv == 0) {
+ OPENSSL_clear_free(local_peer->secret, local_peer->secret_len);
+ local_peer->secret = NULL;
+ }
+
+ return rv;
+}
+
+static int keyexch_x25519(int use_kat)
+{
+ int rv = 0;
+ OSSL_LIB_CTX *libctx = NULL;
+ PEER_DATA peer1 = {"peer 1"}, peer2 = {"peer 2"};
+
+ /*
+ * Each peer generates its private key and sends its public key
+ * to the other peer. The private key is stored locally for
+ * later use.
+ */
+ if (keyexch_x25519_before(libctx, use_kat ? peer1_privk_data : NULL,
+ &peer1) == 0)
+ return 0;
+
+ if (keyexch_x25519_before(libctx, use_kat ? peer2_privk_data : NULL,
+ &peer2) == 0)
+ return 0;
+
+ /*
+ * Each peer uses the other peer's public key to perform key exchange.
+ * After this succeeds, each peer has the same secret in its
+ * PEER_DATA.
+ */
+ if (keyexch_x25519_after(libctx, use_kat, &peer1, peer2.pubk_data) == 0)
+ return 0;
+
+ if (keyexch_x25519_after(libctx, use_kat, &peer2, peer1.pubk_data) == 0)
+ return 0;
+
+ /*
+ * Here we demonstrate the secrets are equal for exposition purposes.
+ *
+ * Although in practice you will generally not need to compare secrets
+ * produced through key exchange, if you do compare cryptographic secrets,
+ * always do so using a constant-time function such as CRYPTO_memcmp, never
+ * using memcmp(3).
+ */
+ if (CRYPTO_memcmp(peer1.secret, peer2.secret, peer1.secret_len) != 0) {
+ fprintf(stderr, "Negotiated secrets do not match\n");
+ goto end;
+ }
+
+ /* If we are doing the KAT, the secret should equal our reference result. */
+ if (use_kat && CRYPTO_memcmp(peer1.secret, expected_result,
+ peer1.secret_len) != 0) {
+ fprintf(stderr, "Did not get expected result\n");
+ goto end;
+ }
+
+ rv = 1;
+end:
+ /* The secrets are sensitive, so ensure they are erased before freeing. */
+ OPENSSL_clear_free(peer1.secret, peer1.secret_len);
+ OPENSSL_clear_free(peer2.secret, peer2.secret_len);
+
+ EVP_PKEY_free(peer1.privk);
+ EVP_PKEY_free(peer2.privk);
+ OSSL_LIB_CTX_free(libctx);
+ return rv;
+}
+
+int main(int argc, char **argv)
+{
+ /* Test X25519 key exchange with known result. */
+ printf("Key exchange using known answer (deterministic):\n");
+ if (keyexch_x25519(1) == 0)
+ return 1;
+
+ /* Test X25519 key exchange with random keys. */
+ printf("Key exchange using random keys:\n");
+ if (keyexch_x25519(0) == 0)
+ return 1;
+
+ return 0;
+}
diff --git a/deps/openssl/openssl/demos/mac/Makefile b/deps/openssl/openssl/demos/mac/Makefile
new file mode 100644
index 00000000000000..86fb323291d21e
--- /dev/null
+++ b/deps/openssl/openssl/demos/mac/Makefile
@@ -0,0 +1,23 @@
+# Quick instruction:
+# To build against an OpenSSL built in the source tree, do this:
+#
+# make OPENSSL_INCS_LOCATION=-I../../include OPENSSL_LIBS_LOCATION=-L../..
+#
+# To run the demos when linked with a shared library (default):
+#
+# LD_LIBRARY_PATH=../.. ./gmac
+# LD_LIBRARY_PATH=../.. ./poly1305
+
+CFLAGS = $(OPENSSL_INCS_LOCATION) -Wall
+LDFLAGS = $(OPENSSL_LIBS_LOCATION) -lssl -lcrypto
+
+all: gmac poly1305
+
+gmac: gmac.o
+poly1305: poly1305.o
+
+gmac poly1305:
+ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
+
+clean:
+ $(RM) gmac poly1305 *.o
diff --git a/deps/openssl/openssl/demos/mac/poly1305.c b/deps/openssl/openssl/demos/mac/poly1305.c
new file mode 100644
index 00000000000000..1aa95e583dadde
--- /dev/null
+++ b/deps/openssl/openssl/demos/mac/poly1305.c
@@ -0,0 +1,209 @@
+/*
+ * Copyright 2021-2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+/*
+ * This is a demonstration of how to compute Poly1305-AES using the OpenSSL
+ * Poly1305 and AES providers and the EVP API.
+ *
+ * Please note that:
+ *
+ * - Poly1305 must never be used alone and must be used in conjunction with
+ * another primitive which processes the input nonce to be secure;
+ *
+ * - you must never pass a nonce to the Poly1305 primitive directly;
+ *
+ * - Poly1305 exhibits catastrophic failure (that is, can be broken) if a
+ * nonce is ever reused for a given key.
+ *
+ * If you are looking for a general purpose MAC, you should consider using a
+ * different MAC and looking at one of the other examples, unless you have a
+ * good familiarity with the details and caveats of Poly1305.
+ *
+ * This example uses AES, as described in the original paper, "The Poly1305-AES
+ * message authentication code":
+ * https://cr.yp.to/mac/poly1305-20050329.pdf
+ *
+ * The test vectors below are from that paper.
+ */
+
+/*
+ * Hard coding the key into an application is very bad.
+ * It is done here solely for educational purposes.
+ * These are the "r" and "k" inputs to Poly1305-AES.
+ */
+static const unsigned char test_r[] = {
+ 0x85, 0x1f, 0xc4, 0x0c, 0x34, 0x67, 0xac, 0x0b,
+ 0xe0, 0x5c, 0xc2, 0x04, 0x04, 0xf3, 0xf7, 0x00
+};
+
+static const unsigned char test_k[] = {
+ 0xec, 0x07, 0x4c, 0x83, 0x55, 0x80, 0x74, 0x17,
+ 0x01, 0x42, 0x5b, 0x62, 0x32, 0x35, 0xad, 0xd6
+};
+
+/*
+ * Hard coding a nonce must not be done under any circumstances and is done here
+ * purely for demonstration purposes. Please note that Poly1305 exhibits
+ * catastrophic failure (that is, can be broken) if a nonce is ever reused for a
+ * given key.
+ */
+static const unsigned char test_n[] = {
+ 0xfb, 0x44, 0x73, 0x50, 0xc4, 0xe8, 0x68, 0xc5,
+ 0x2a, 0xc3, 0x27, 0x5c, 0xf9, 0xd4, 0x32, 0x7e
+};
+
+/* Input message. */
+static const unsigned char test_m[] = {
+ 0xf3, 0xf6
+};
+
+static const unsigned char expected_output[] = {
+ 0xf4, 0xc6, 0x33, 0xc3, 0x04, 0x4f, 0xc1, 0x45,
+ 0xf8, 0x4f, 0x33, 0x5c, 0xb8, 0x19, 0x53, 0xde
+};
+
+/*
+ * A property query used for selecting the POLY1305 implementation.
+ */
+static char *propq = NULL;
+
+int main(int argc, char **argv)
+{
+ int rv = EXIT_FAILURE;
+ EVP_CIPHER *aes = NULL;
+ EVP_CIPHER_CTX *aesctx = NULL;
+ EVP_MAC *mac = NULL;
+ EVP_MAC_CTX *mctx = NULL;
+ unsigned char composite_key[32];
+ unsigned char out[16];
+ OSSL_LIB_CTX *library_context = NULL;
+ size_t out_len = 0;
+ int aes_len = 0;
+
+ library_context = OSSL_LIB_CTX_new();
+ if (library_context == NULL) {
+ fprintf(stderr, "OSSL_LIB_CTX_new() returned NULL\n");
+ goto end;
+ }
+
+ /* Fetch the Poly1305 implementation */
+ mac = EVP_MAC_fetch(library_context, "POLY1305", propq);
+ if (mac == NULL) {
+ fprintf(stderr, "EVP_MAC_fetch() returned NULL\n");
+ goto end;
+ }
+
+ /* Create a context for the Poly1305 operation */
+ mctx = EVP_MAC_CTX_new(mac);
+ if (mctx == NULL) {
+ fprintf(stderr, "EVP_MAC_CTX_new() returned NULL\n");
+ goto end;
+ }
+
+ /* Fetch the AES implementation */
+ aes = EVP_CIPHER_fetch(library_context, "AES-128-ECB", propq);
+ if (aes == NULL) {
+ fprintf(stderr, "EVP_CIPHER_fetch() returned NULL\n");
+ goto end;
+ }
+
+ /* Create a context for AES */
+ aesctx = EVP_CIPHER_CTX_new();
+ if (aesctx == NULL) {
+ fprintf(stderr, "EVP_CIPHER_CTX_new() returned NULL\n");
+ goto end;
+ }
+
+ /* Initialize the AES cipher with the 128-bit key k */
+ if (!EVP_EncryptInit_ex(aesctx, aes, NULL, test_k, NULL)) {
+ fprintf(stderr, "EVP_EncryptInit_ex() failed\n");
+ goto end;
+ }
+
+ /*
+ * Disable padding for the AES cipher. We do not strictly need to do this as
+ * we are encrypting a single block and thus there are no alignment or
+ * padding concerns, but this ensures that the operation below fails if
+ * padding would be required for some reason, which in this circumstance
+ * would indicate an implementation bug.
+ */
+ if (!EVP_CIPHER_CTX_set_padding(aesctx, 0)) {
+ fprintf(stderr, "EVP_CIPHER_CTX_set_padding() failed\n");
+ goto end;
+ }
+
+ /*
+ * Computes the value AES_k(n) which we need for our Poly1305-AES
+ * computation below.
+ */
+ if (!EVP_EncryptUpdate(aesctx, composite_key + 16, &aes_len,
+ test_n, sizeof(test_n))) {
+ fprintf(stderr, "EVP_EncryptUpdate() failed\n");
+ goto end;
+ }
+
+ /*
+ * The Poly1305 provider expects the key r to be passed as the first 16
+ * bytes of the "key" and the processed nonce (that is, AES_k(n)) to be
+ * passed as the second 16 bytes of the "key". We already put the processed
+ * nonce in the correct place above, so copy r into place.
+ */
+ memcpy(composite_key, test_r, 16);
+
+ /* Initialise the Poly1305 operation */
+ if (!EVP_MAC_init(mctx, composite_key, sizeof(composite_key), NULL)) {
+ fprintf(stderr, "EVP_MAC_init() failed\n");
+ goto end;
+ }
+
+ /* Make one or more calls to process the data to be authenticated */
+ if (!EVP_MAC_update(mctx, test_m, sizeof(test_m))) {
+ fprintf(stderr, "EVP_MAC_update() failed\n");
+ goto end;
+ }
+
+ /* Make one call to the final to get the MAC */
+ if (!EVP_MAC_final(mctx, out, &out_len, sizeof(out))) {
+ fprintf(stderr, "EVP_MAC_final() failed\n");
+ goto end;
+ }
+
+ printf("Generated MAC:\n");
+ BIO_dump_indent_fp(stdout, out, out_len, 2);
+ putchar('\n');
+
+ if (out_len != sizeof(expected_output)) {
+ fprintf(stderr, "Generated MAC has an unexpected length\n");
+ goto end;
+ }
+
+ if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) {
+ fprintf(stderr, "Generated MAC does not match expected value\n");
+ goto end;
+ }
+
+ rv = EXIT_SUCCESS;
+end:
+ EVP_CIPHER_CTX_free(aesctx);
+ EVP_CIPHER_free(aes);
+ EVP_MAC_CTX_free(mctx);
+ EVP_MAC_free(mac);
+ OSSL_LIB_CTX_free(library_context);
+ if (rv != EXIT_SUCCESS)
+ ERR_print_errors_fp(stderr);
+ return rv;
+}
diff --git a/deps/openssl/openssl/demos/mac/siphash.c b/deps/openssl/openssl/demos/mac/siphash.c
new file mode 100644
index 00000000000000..4d36a9d4868b86
--- /dev/null
+++ b/deps/openssl/openssl/demos/mac/siphash.c
@@ -0,0 +1,129 @@
+/*
+ * Copyright 2021-2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+
+/*
+ * Taken from the test vector from the paper "SipHash: a fast short-input PRF".
+ * https://www.aumasson.jp/siphash/siphash.pdf
+ */
+
+/*
+ * Hard coding the key into an application is very bad.
+ * It is done here solely for educational purposes.
+ */
+static unsigned char key[] = {
+ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
+ 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f
+};
+
+static unsigned char data[] = {
+ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
+ 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e
+};
+
+static const unsigned char expected_output[] = {
+ 0xe5, 0x45, 0xbe, 0x49, 0x61, 0xca, 0x29, 0xa1
+};
+
+/*
+ * A property query used for selecting the SIPHASH implementation.
+ */
+static char *propq = NULL;
+
+int main(int argc, char **argv)
+{
+ int rv = EXIT_FAILURE;
+ EVP_MAC *mac = NULL;
+ EVP_MAC_CTX *mctx = NULL;
+ unsigned char out[8];
+ OSSL_PARAM params[4], *p = params;
+ OSSL_LIB_CTX *library_context = NULL;
+ unsigned int digest_len = 8, c_rounds = 2, d_rounds = 4;
+ size_t out_len = 0;
+
+ library_context = OSSL_LIB_CTX_new();
+ if (library_context == NULL) {
+ fprintf(stderr, "OSSL_LIB_CTX_new() returned NULL\n");
+ goto end;
+ }
+
+ /* Fetch the SipHash implementation */
+ mac = EVP_MAC_fetch(library_context, "SIPHASH", propq);
+ if (mac == NULL) {
+ fprintf(stderr, "EVP_MAC_fetch() returned NULL\n");
+ goto end;
+ }
+
+ /* Create a context for the SipHash operation */
+ mctx = EVP_MAC_CTX_new(mac);
+ if (mctx == NULL) {
+ fprintf(stderr, "EVP_MAC_CTX_new() returned NULL\n");
+ goto end;
+ }
+
+ /* SipHash can support either 8 or 16-byte digests. */
+ *p++ = OSSL_PARAM_construct_uint(OSSL_MAC_PARAM_SIZE, &digest_len);
+
+ /*
+ * The number of C-rounds and D-rounds is configurable. Standard SipHash
+ * uses values of 2 and 4 respectively. The following lines are unnecessary
+ * as they set the default, but demonstrate how to change these values.
+ */
+ *p++ = OSSL_PARAM_construct_uint(OSSL_MAC_PARAM_C_ROUNDS, &c_rounds);
+ *p++ = OSSL_PARAM_construct_uint(OSSL_MAC_PARAM_D_ROUNDS, &d_rounds);
+
+ *p = OSSL_PARAM_construct_end();
+
+ /* Initialise the SIPHASH operation */
+ if (!EVP_MAC_init(mctx, key, sizeof(key), params)) {
+ fprintf(stderr, "EVP_MAC_init() failed\n");
+ goto end;
+ }
+
+ /* Make one or more calls to process the data to be authenticated */
+ if (!EVP_MAC_update(mctx, data, sizeof(data))) {
+ fprintf(stderr, "EVP_MAC_update() failed\n");
+ goto end;
+ }
+
+ /* Make one call to the final to get the MAC */
+ if (!EVP_MAC_final(mctx, out, &out_len, sizeof(out))) {
+ fprintf(stderr, "EVP_MAC_final() failed\n");
+ goto end;
+ }
+
+ printf("Generated MAC:\n");
+ BIO_dump_indent_fp(stdout, out, out_len, 2);
+ putchar('\n');
+
+ if (out_len != sizeof(expected_output)) {
+ fprintf(stderr, "Generated MAC has an unexpected length\n");
+ goto end;
+ }
+
+ if (CRYPTO_memcmp(expected_output, out, sizeof(expected_output)) != 0) {
+ fprintf(stderr, "Generated MAC does not match expected value\n");
+ goto end;
+ }
+
+ rv = EXIT_SUCCESS;
+end:
+ EVP_MAC_CTX_free(mctx);
+ EVP_MAC_free(mac);
+ OSSL_LIB_CTX_free(library_context);
+ if (rv != EXIT_SUCCESS)
+ ERR_print_errors_fp(stderr);
+ return rv;
+}
diff --git a/deps/openssl/openssl/demos/pkey/EVP_PKEY_EC_keygen.c b/deps/openssl/openssl/demos/pkey/EVP_PKEY_EC_keygen.c
index 14efaea53ac823..fa862bdaa07ef6 100644
--- a/deps/openssl/openssl/demos/pkey/EVP_PKEY_EC_keygen.c
+++ b/deps/openssl/openssl/demos/pkey/EVP_PKEY_EC_keygen.c
@@ -1,5 +1,5 @@
/*-
- * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2021-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -89,7 +89,7 @@ static int get_key_values(EVP_PKEY *pkey)
unsigned char out_pubkey[80];
unsigned char out_privkey[80];
BIGNUM *out_priv = NULL;
- size_t i, out_pubkey_len, out_privkey_len = 0;
+ size_t out_pubkey_len, out_privkey_len = 0;
if (!EVP_PKEY_get_utf8_string_param(pkey, OSSL_PKEY_PARAM_GROUP_NAME,
out_curvename, sizeof(out_curvename),
diff --git a/deps/openssl/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c b/deps/openssl/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
new file mode 100644
index 00000000000000..fbecfb6bdb0ab7
--- /dev/null
+++ b/deps/openssl/openssl/demos/pkey/EVP_PKEY_RSA_keygen.c
@@ -0,0 +1,289 @@
+/*-
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+/*
+ * Example showing how to generate an RSA key pair.
+ *
+ * When generating an RSA key, you must specify the number of bits in the key. A
+ * reasonable value would be 4096. Avoid using values below 2048. These values
+ * are reasonable as of 2022.
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+/* A property query used for selecting algorithm implementations. */
+static const char *propq = NULL;
+
+/*
+ * Generates an RSA public-private key pair and returns it.
+ * The number of bits is specified by the bits argument.
+ *
+ * This uses the long way of generating an RSA key.
+ */
+static EVP_PKEY *generate_rsa_key_long(OSSL_LIB_CTX *libctx, unsigned int bits)
+{
+ EVP_PKEY_CTX *genctx = NULL;
+ EVP_PKEY *pkey = NULL;
+ unsigned int primes = 2;
+
+ /* Create context using RSA algorithm. "RSA-PSS" could also be used here. */
+ genctx = EVP_PKEY_CTX_new_from_name(libctx, "RSA", propq);
+ if (genctx == NULL) {
+ fprintf(stderr, "EVP_PKEY_CTX_new_from_name() failed\n");
+ goto cleanup;
+ }
+
+ /* Initialize context for key generation purposes. */
+ if (EVP_PKEY_keygen_init(genctx) <= 0) {
+ fprintf(stderr, "EVP_PKEY_keygen_init() failed\n");
+ goto cleanup;
+ }
+
+ /*
+ * Here we set the number of bits to use in the RSA key.
+ * See comment at top of file for information on appropriate values.
+ */
+ if (EVP_PKEY_CTX_set_rsa_keygen_bits(genctx, bits) <= 0) {
+ fprintf(stderr, "EVP_PKEY_CTX_set_rsa_keygen_bits() failed\n");
+ goto cleanup;
+ }
+
+ /*
+ * It is possible to create an RSA key using more than two primes.
+ * Do not do this unless you know why you need this.
+ * You ordinarily do not need to specify this, as the default is two.
+ *
+ * Both of these parameters can also be set via EVP_PKEY_CTX_set_params, but
+ * these functions provide a more concise way to do so.
+ */
+ if (EVP_PKEY_CTX_set_rsa_keygen_primes(genctx, primes) <= 0) {
+ fprintf(stderr, "EVP_PKEY_CTX_set_rsa_keygen_primes() failed\n");
+ goto cleanup;
+ }
+
+ /*
+ * Generating an RSA key with a number of bits large enough to be secure for
+ * modern applications can take a fairly substantial amount of time (e.g.
+ * one second). If you require fast key generation, consider using an EC key
+ * instead.
+ *
+ * If you require progress information during the key generation process,
+ * you can set a progress callback using EVP_PKEY_set_cb; see the example in
+ * EVP_PKEY_generate(3).
+ */
+ fprintf(stderr, "Generating RSA key, this may take some time...\n");
+ if (EVP_PKEY_generate(genctx, &pkey) <= 0) {
+ fprintf(stderr, "EVP_PKEY_generate() failed\n");
+ goto cleanup;
+ }
+
+ /* pkey is now set to an object representing the generated key pair. */
+
+cleanup:
+ EVP_PKEY_CTX_free(genctx);
+ return pkey;
+}
+
+/*
+ * Generates an RSA public-private key pair and returns it.
+ * The number of bits is specified by the bits argument.
+ *
+ * This uses a more concise way of generating an RSA key, which is suitable for
+ * simple cases. It is used if -s is passed on the command line, otherwise the
+ * long method above is used. The ability to choose between these two methods is
+ * shown here only for demonstration; the results are equivalent.
+ */
+static EVP_PKEY *generate_rsa_key_short(OSSL_LIB_CTX *libctx, unsigned int bits)
+{
+ EVP_PKEY *pkey = NULL;
+
+ fprintf(stderr, "Generating RSA key, this may take some time...\n");
+ pkey = EVP_PKEY_Q_keygen(libctx, propq, "RSA", (size_t)bits);
+
+ if (pkey == NULL)
+ fprintf(stderr, "EVP_PKEY_Q_keygen() failed\n");
+
+ return pkey;
+}
+
+/*
+ * Prints information on an EVP_PKEY object representing an RSA key pair.
+ */
+static int dump_key(const EVP_PKEY *pkey)
+{
+ int rv = 0;
+ int bits = 0;
+ BIGNUM *n = NULL, *e = NULL, *d = NULL, *p = NULL, *q = NULL;
+
+ /*
+ * Retrieve value of n. This value is not secret and forms part of the
+ * public key.
+ *
+ * Calling EVP_PKEY_get_bn_param with a NULL BIGNUM pointer causes
+ * a new BIGNUM to be allocated, so these must be freed subsequently.
+ */
+ if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_N, &n) == 0) {
+ fprintf(stderr, "Failed to retrieve n\n");
+ goto cleanup;
+ }
+
+ /*
+ * Retrieve value of e. This value is not secret and forms part of the
+ * public key. It is typically 65537 and need not be changed.
+ */
+ if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_E, &e) == 0) {
+ fprintf(stderr, "Failed to retrieve e\n");
+ goto cleanup;
+ }
+
+ /*
+ * Retrieve value of d. This value is secret and forms part of the private
+ * key. It must not be published.
+ */
+ if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_D, &d) == 0) {
+ fprintf(stderr, "Failed to retrieve d\n");
+ goto cleanup;
+ }
+
+ /*
+ * Retrieve value of the first prime factor, commonly known as p. This value
+ * is secret and forms part of the private key. It must not be published.
+ */
+ if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_FACTOR1, &p) == 0) {
+ fprintf(stderr, "Failed to retrieve p\n");
+ goto cleanup;
+ }
+
+ /*
+ * Retrieve value of the second prime factor, commonly known as q. This value
+ * is secret and forms part of the private key. It must not be published.
+ *
+ * If you are creating an RSA key with more than two primes for special
+ * applications, you can retrieve these primes with
+ * OSSL_PKEY_PARAM_RSA_FACTOR3, etc.
+ */
+ if (EVP_PKEY_get_bn_param(pkey, OSSL_PKEY_PARAM_RSA_FACTOR2, &q) == 0) {
+ fprintf(stderr, "Failed to retrieve q\n");
+ goto cleanup;
+ }
+
+ /*
+ * We can also retrieve the key size in bits for informational purposes.
+ */
+ if (EVP_PKEY_get_int_param(pkey, OSSL_PKEY_PARAM_BITS, &bits) == 0) {
+ fprintf(stderr, "Failed to retrieve bits\n");
+ goto cleanup;
+ }
+
+ /* Output hexadecimal representations of the BIGNUM objects. */
+ fprintf(stdout, "\nNumber of bits: %d\n\n", bits);
+ fprintf(stderr, "Public values:\n");
+ fprintf(stdout, " n = 0x");
+ BN_print_fp(stdout, n);
+ fprintf(stdout, "\n");
+
+ fprintf(stdout, " e = 0x");
+ BN_print_fp(stdout, e);
+ fprintf(stdout, "\n\n");
+
+ fprintf(stdout, "Private values:\n");
+ fprintf(stdout, " d = 0x");
+ BN_print_fp(stdout, d);
+ fprintf(stdout, "\n");
+
+ fprintf(stdout, " p = 0x");
+ BN_print_fp(stdout, p);
+ fprintf(stdout, "\n");
+
+ fprintf(stdout, " q = 0x");
+ BN_print_fp(stdout, q);
+ fprintf(stdout, "\n\n");
+
+ /* Output a PEM encoding of the public key. */
+ if (PEM_write_PUBKEY(stdout, pkey) == 0) {
+ fprintf(stderr, "Failed to output PEM-encoded public key\n");
+ goto cleanup;
+ }
+
+ /*
+ * Output a PEM encoding of the private key. Please note that this output is
+ * not encrypted. You may wish to use the arguments to specify encryption of
+ * the key if you are storing it on disk. See PEM_write_PrivateKey(3).
+ */
+ if (PEM_write_PrivateKey(stdout, pkey, NULL, NULL, 0, NULL, NULL) == 0) {
+ fprintf(stderr, "Failed to output PEM-encoded private key\n");
+ goto cleanup;
+ }
+
+ rv = 1;
+cleanup:
+ BN_free(n); /* not secret */
+ BN_free(e); /* not secret */
+ BN_clear_free(d); /* secret - scrub before freeing */
+ BN_clear_free(p); /* secret - scrub before freeing */
+ BN_clear_free(q); /* secret - scrub before freeing */
+ return rv;
+}
+
+int main(int argc, char **argv)
+{
+ int rv = 1;
+ OSSL_LIB_CTX *libctx = NULL;
+ EVP_PKEY *pkey = NULL;
+ unsigned int bits = 4096;
+ int bits_i, use_short = 0;
+
+ /* usage: [-s] [] */
+ if (argc > 1 && strcmp(argv[1], "-s") == 0) {
+ --argc;
+ ++argv;
+ use_short = 1;
+ }
+
+ if (argc > 1) {
+ bits_i = atoi(argv[1]);
+ if (bits < 512) {
+ fprintf(stderr, "Invalid RSA key size\n");
+ return 1;
+ }
+
+ bits = (unsigned int)bits_i;
+ }
+
+ /* Avoid using key sizes less than 2048 bits; see comment at top of file. */
+ if (bits < 2048)
+ fprintf(stderr, "Warning: very weak key size\n\n");
+
+ /* Generate RSA key. */
+ if (use_short)
+ pkey = generate_rsa_key_short(libctx, bits);
+ else
+ pkey = generate_rsa_key_long(libctx, bits);
+
+ if (pkey == NULL)
+ goto cleanup;
+
+ /* Dump the integers comprising the key. */
+ if (dump_key(pkey) == 0) {
+ fprintf(stderr, "Failed to dump key\n");
+ goto cleanup;
+ }
+
+ rv = 0;
+cleanup:
+ EVP_PKEY_free(pkey);
+ OSSL_LIB_CTX_free(libctx);
+ return rv;
+}
diff --git a/deps/openssl/openssl/demos/pkey/Makefile b/deps/openssl/openssl/demos/pkey/Makefile
index 35cdca229a89c5..f19c0d14f4e4d9 100644
--- a/deps/openssl/openssl/demos/pkey/Makefile
+++ b/deps/openssl/openssl/demos/pkey/Makefile
@@ -2,19 +2,22 @@
# To run the demos when linked with a shared library (default):
#
# LD_LIBRARY_PATH=../.. ./EVP_PKEY_EC_keygen
+# LD_LIBRARY_PATH=../.. ./EVP_PKEY_RSA_keygen
-CFLAGS = -I../../include -g
+CFLAGS = -I../../include -g -Wall
LDFLAGS = -L../..
LDLIBS = -lcrypto
-all: EVP_PKEY_EC_keygen
+all: EVP_PKEY_EC_keygen EVP_PKEY_RSA_keygen
%.o: %.c
$(CC) $(CFLAGS) -c $<
EVP_PKEY_EC_keygen: EVP_PKEY_EC_keygen.o
+EVP_PKEY_RSA_keygen: EVP_PKEY_RSA_keygen.o
+
test: ;
clean:
- $(RM) *.o EVP_PKEY_EC_keygen
+ $(RM) *.o EVP_PKEY_EC_keygen EVP_PKEY_RSA_keygen
diff --git a/deps/openssl/openssl/demos/signature/Makefile b/deps/openssl/openssl/demos/signature/Makefile
index b4071c2edcd884..563ec7799fb8b4 100644
--- a/deps/openssl/openssl/demos/signature/Makefile
+++ b/deps/openssl/openssl/demos/signature/Makefile
@@ -3,18 +3,20 @@
#
# LD_LIBRARY_PATH=../.. ./EVP_Signature_demo
-CFLAGS = -I../../include -g
+CFLAGS = -I../../include -g -Wall
LDFLAGS = -L../..
LDLIBS = -lcrypto
-all: EVP_Signature_demo
+all: EVP_Signature_demo rsa_pss_direct rsa_pss_hash
%.o: %.c
$(CC) $(CFLAGS) -c $<
EVP_Signature_demo: EVP_Signature_demo.o
+rsa_pss_direct: rsa_pss_direct.o
+rsa_pss_hash: rsa_pss_hash.o
test: ;
clean:
- $(RM) *.o EVP_Signature_demo
+ $(RM) *.o EVP_Signature_demo rsa_pss_direct rsa_pss_hash
diff --git a/deps/openssl/openssl/demos/signature/rsa_pss.h b/deps/openssl/openssl/demos/signature/rsa_pss.h
new file mode 100644
index 00000000000000..bdab9f891e3c0a
--- /dev/null
+++ b/deps/openssl/openssl/demos/signature/rsa_pss.h
@@ -0,0 +1,256 @@
+/*-
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+/* 4096-bit RSA private key, DER. */
+static const unsigned char rsa_priv_key[] = {
+ 0x30, 0x82, 0x09, 0x28, 0x02, 0x01, 0x00, 0x02, 0x82, 0x02, 0x01, 0x00,
+ 0xa3, 0x14, 0xe4, 0xb8, 0xd8, 0x58, 0x0d, 0xab, 0xd7, 0x87, 0xa4, 0xf6,
+ 0x84, 0x51, 0x74, 0x60, 0x4c, 0xe3, 0x60, 0x28, 0x89, 0x49, 0x65, 0x18,
+ 0x5c, 0x8f, 0x1a, 0x1b, 0xe9, 0xdb, 0xc1, 0xc1, 0xf7, 0x08, 0x27, 0x44,
+ 0xe5, 0x9d, 0x9a, 0x33, 0xc3, 0xac, 0x5a, 0xca, 0xba, 0x20, 0x5a, 0x9e,
+ 0x3a, 0x18, 0xb5, 0x3d, 0xe3, 0x9d, 0x94, 0x58, 0xa7, 0xa9, 0x5a, 0x0b,
+ 0x4f, 0xb8, 0xe5, 0xa3, 0x7b, 0x01, 0x11, 0x0f, 0x16, 0x11, 0xb8, 0x65,
+ 0x2f, 0xa8, 0x95, 0xf7, 0x58, 0x2c, 0xec, 0x1d, 0x41, 0xad, 0xd1, 0x12,
+ 0xca, 0x4a, 0x80, 0x35, 0x35, 0x43, 0x7e, 0xe0, 0x97, 0xfc, 0x86, 0x8f,
+ 0xcf, 0x4b, 0xdc, 0xbc, 0x15, 0x2c, 0x8e, 0x90, 0x84, 0x26, 0x83, 0xc1,
+ 0x96, 0x97, 0xf4, 0xd7, 0x90, 0xce, 0xfe, 0xd4, 0xf3, 0x70, 0x22, 0xa8,
+ 0xb0, 0x1f, 0xed, 0x08, 0xd7, 0xc5, 0xc0, 0xd6, 0x41, 0x6b, 0x24, 0x68,
+ 0x5c, 0x07, 0x1f, 0x44, 0x97, 0xd8, 0x6e, 0x18, 0x93, 0x67, 0xc3, 0xba,
+ 0x3a, 0xaf, 0xfd, 0xc2, 0x65, 0x00, 0x21, 0x63, 0xdf, 0xb7, 0x28, 0x68,
+ 0xd6, 0xc0, 0x20, 0x86, 0x92, 0xed, 0x68, 0x6a, 0x27, 0x3a, 0x07, 0xec,
+ 0x66, 0x00, 0xfe, 0x51, 0x51, 0x86, 0x41, 0x6f, 0x83, 0x69, 0xd2, 0xf0,
+ 0xe6, 0xf7, 0x61, 0xda, 0x12, 0x45, 0x53, 0x09, 0xdf, 0xf8, 0x42, 0xc7,
+ 0x30, 0x6a, 0xe5, 0xd8, 0x2b, 0xa2, 0x49, 0x7a, 0x05, 0x10, 0xee, 0xb2,
+ 0x59, 0x0a, 0xe5, 0xbe, 0xf8, 0x4d, 0x0f, 0xa8, 0x9e, 0x63, 0x81, 0x39,
+ 0x32, 0xaa, 0xfd, 0xa8, 0x03, 0xf6, 0xd8, 0xc6, 0xaa, 0x02, 0x93, 0x03,
+ 0xeb, 0x15, 0xd3, 0x38, 0xc8, 0x1a, 0x78, 0xcf, 0xf3, 0xa7, 0x9f, 0x98,
+ 0x4b, 0x91, 0x5b, 0x79, 0xf8, 0x4e, 0x53, 0xaf, 0x0c, 0x65, 0xe9, 0xb0,
+ 0x93, 0xc2, 0xcb, 0x5d, 0x3c, 0x5f, 0x6e, 0x39, 0xd2, 0x58, 0x23, 0x50,
+ 0xe5, 0x2e, 0xef, 0x12, 0x00, 0xa4, 0x59, 0x13, 0x2b, 0x2f, 0x2c, 0x0a,
+ 0x7b, 0x36, 0x89, 0xc5, 0xe5, 0x8f, 0x95, 0x5e, 0x14, 0x0f, 0x0f, 0x94,
+ 0x5a, 0xe9, 0xdc, 0x0b, 0x49, 0x14, 0xbe, 0x0a, 0x70, 0x45, 0xc1, 0x7c,
+ 0xbf, 0x83, 0x70, 0xfd, 0x3d, 0x99, 0xe6, 0x8a, 0xf5, 0x9c, 0x09, 0x71,
+ 0x84, 0x9a, 0x18, 0xa0, 0xe0, 0x6c, 0x43, 0x5c, 0x7e, 0x48, 0x33, 0xc8,
+ 0xbe, 0x5d, 0xdd, 0xd8, 0x77, 0xe3, 0xe7, 0x6b, 0x34, 0x4b, 0xa2, 0xb7,
+ 0x54, 0x07, 0x72, 0x2e, 0xab, 0xa9, 0x91, 0x1e, 0x4b, 0xe3, 0xb5, 0xd8,
+ 0xfa, 0x35, 0x64, 0x8a, 0xe9, 0x03, 0xa1, 0xa8, 0x26, 0xbd, 0x72, 0x58,
+ 0x10, 0x6a, 0xec, 0x1a, 0xf6, 0x1e, 0xb8, 0xc0, 0x46, 0x19, 0x31, 0x2c,
+ 0xca, 0xf9, 0x6a, 0xd7, 0x2e, 0xd0, 0xa7, 0x2c, 0x60, 0x58, 0xc4, 0x8f,
+ 0x46, 0x63, 0x61, 0x8d, 0x29, 0x6f, 0xe2, 0x5f, 0xe2, 0x43, 0x90, 0x9c,
+ 0xe6, 0xfc, 0x08, 0x41, 0xc8, 0xb5, 0x23, 0x56, 0x24, 0x3e, 0x3a, 0x2c,
+ 0x41, 0x22, 0x43, 0xda, 0x22, 0x15, 0x2b, 0xad, 0xd0, 0xfa, 0xc8, 0x47,
+ 0x44, 0xe6, 0x2a, 0xf9, 0x38, 0x90, 0x13, 0x62, 0x22, 0xea, 0x06, 0x8c,
+ 0x44, 0x9c, 0xd6, 0xca, 0x50, 0x93, 0xe9, 0xd4, 0x03, 0xd8, 0x3e, 0x71,
+ 0x36, 0x4b, 0xaa, 0xab, 0xbb, 0xe2, 0x48, 0x66, 0x26, 0x53, 0xb1, 0x6d,
+ 0x3b, 0x82, 0x2c, 0x8c, 0x25, 0x05, 0xf0, 0xf8, 0xcf, 0x55, 0xbf, 0x8e,
+ 0x29, 0xf7, 0x54, 0x5b, 0x6f, 0x30, 0x54, 0xa6, 0xad, 0x46, 0xff, 0x22,
+ 0x95, 0xb1, 0x87, 0x98, 0x00, 0x51, 0x69, 0x15, 0x07, 0xbd, 0x3d, 0x9c,
+ 0x6e, 0xaa, 0xaa, 0x3b, 0x0b, 0x74, 0x65, 0x4c, 0x04, 0xe0, 0x80, 0x3e,
+ 0xaf, 0x5e, 0x10, 0xd6, 0x9b, 0x28, 0x37, 0x6f, 0x02, 0x03, 0x01, 0x00,
+ 0x01, 0x02, 0x82, 0x02, 0x00, 0x09, 0x6e, 0xf8, 0xf8, 0x14, 0x53, 0xab,
+ 0x9e, 0xc8, 0x1d, 0xe9, 0x95, 0xf4, 0xfb, 0x7d, 0x3e, 0xe0, 0xd3, 0xba,
+ 0x49, 0x3d, 0xff, 0xc7, 0xe0, 0x4b, 0xe2, 0x5f, 0x41, 0x44, 0x1a, 0xd9,
+ 0x2f, 0x6e, 0x29, 0xc3, 0x93, 0xc1, 0xb0, 0x87, 0x2d, 0xfd, 0x60, 0xa7,
+ 0xf3, 0xd8, 0x26, 0x6c, 0xf7, 0x80, 0x26, 0xd3, 0xbd, 0x1b, 0xc0, 0x8e,
+ 0xc7, 0x3e, 0x13, 0x96, 0xc8, 0xd6, 0xb8, 0xbc, 0x57, 0xe3, 0x92, 0xa1,
+ 0x38, 0xfd, 0x2e, 0xd3, 0x3a, 0xcf, 0x31, 0xf2, 0x52, 0xd7, 0x7f, 0xe9,
+ 0xbc, 0x9b, 0x83, 0x01, 0x78, 0x13, 0xc9, 0x91, 0x77, 0x02, 0x78, 0xc0,
+ 0x0b, 0x1f, 0xdf, 0x94, 0xad, 0x16, 0xf1, 0xad, 0x78, 0x17, 0xc5, 0x77,
+ 0x0d, 0xb7, 0x07, 0x3f, 0x51, 0xe0, 0x73, 0x33, 0xcf, 0x90, 0x69, 0xd8,
+ 0xe5, 0xda, 0x9b, 0x1e, 0xf6, 0x21, 0x12, 0x07, 0xb5, 0x1e, 0x3e, 0x2b,
+ 0x34, 0x79, 0x9e, 0x48, 0x01, 0xdd, 0x68, 0xf0, 0x0f, 0x18, 0xb5, 0x85,
+ 0x50, 0xd8, 0x9e, 0x04, 0xfd, 0x6d, 0xcd, 0xa6, 0x61, 0x2b, 0x54, 0x81,
+ 0x99, 0xf4, 0x63, 0xf4, 0xeb, 0x73, 0x98, 0xb3, 0x88, 0xf5, 0x50, 0xd4,
+ 0x5c, 0x67, 0x9e, 0x7c, 0xbc, 0xd8, 0xfd, 0xaf, 0xb8, 0x66, 0x7d, 0xdc,
+ 0xa5, 0x25, 0xb5, 0xe6, 0x64, 0xd7, 0x07, 0x72, 0x5a, 0x99, 0xf9, 0xf6,
+ 0x9e, 0xb8, 0x9c, 0xf4, 0xc7, 0xee, 0xee, 0x10, 0x13, 0x9c, 0x1a, 0x8c,
+ 0x23, 0x89, 0xcd, 0x7b, 0xf1, 0x47, 0x23, 0x51, 0x3c, 0xe5, 0xc2, 0x17,
+ 0x68, 0xca, 0x98, 0xb8, 0xed, 0xe5, 0x17, 0x6d, 0x0a, 0xde, 0x07, 0xd6,
+ 0x6c, 0x4f, 0x83, 0x4c, 0x9b, 0xca, 0x6a, 0x7d, 0xc8, 0x68, 0x12, 0xd7,
+ 0xf0, 0x37, 0x88, 0xf7, 0xbb, 0x68, 0x8b, 0xa4, 0xfd, 0xfe, 0x36, 0x11,
+ 0xb3, 0x2b, 0x85, 0x6d, 0xaa, 0x30, 0x31, 0xf1, 0x6f, 0x80, 0x72, 0x42,
+ 0x23, 0xfe, 0x93, 0x88, 0xcc, 0x1e, 0x4b, 0x53, 0x4f, 0x8e, 0x24, 0x67,
+ 0x4a, 0x72, 0xb6, 0x3c, 0x13, 0x00, 0x11, 0x4f, 0xe1, 0x30, 0xd6, 0xe7,
+ 0x45, 0x8f, 0xaf, 0xdd, 0xe5, 0xaa, 0xb7, 0x02, 0x17, 0x04, 0xf8, 0xd2,
+ 0xc1, 0x7b, 0x6c, 0x92, 0xec, 0x76, 0x94, 0x1b, 0xb0, 0xe4, 0xc3, 0x0c,
+ 0x9e, 0xee, 0xb5, 0xdc, 0x97, 0xca, 0x10, 0x1d, 0x17, 0x96, 0x45, 0xd4,
+ 0x04, 0x0c, 0xea, 0xca, 0x45, 0xfc, 0x52, 0x54, 0x82, 0x9b, 0xdf, 0x64,
+ 0xd6, 0x59, 0x6c, 0x12, 0x70, 0xf0, 0x19, 0xd8, 0x46, 0xbb, 0x08, 0x43,
+ 0x81, 0xa1, 0x73, 0xa8, 0x00, 0xc9, 0x4e, 0xb9, 0xd5, 0xfd, 0x42, 0x5f,
+ 0xcf, 0x94, 0x14, 0x18, 0xab, 0x9d, 0x11, 0xd0, 0xbd, 0x44, 0x88, 0x2c,
+ 0xd8, 0x29, 0xec, 0x94, 0x70, 0xf9, 0x42, 0x14, 0xf4, 0xb0, 0x3f, 0xfe,
+ 0x27, 0x16, 0x43, 0x59, 0x90, 0x14, 0x48, 0x61, 0x8c, 0x91, 0xd9, 0x37,
+ 0x41, 0xef, 0xf1, 0xe9, 0x15, 0x4a, 0x4f, 0x5e, 0x1f, 0x50, 0x25, 0x20,
+ 0x2d, 0xa6, 0xf8, 0x79, 0x0d, 0x92, 0xb0, 0x00, 0x0b, 0xa2, 0xfb, 0xc3,
+ 0x7b, 0x0f, 0xa6, 0xff, 0x75, 0x5d, 0x70, 0xaa, 0xcf, 0x0a, 0xdf, 0xe1,
+ 0xfc, 0x32, 0x53, 0x1e, 0xf6, 0xe6, 0x69, 0x9f, 0x09, 0xd0, 0xc8, 0xab,
+ 0xaf, 0xec, 0xb0, 0x04, 0xfa, 0x83, 0xe2, 0x29, 0x23, 0x54, 0x37, 0x87,
+ 0x63, 0x47, 0x75, 0x9b, 0xdb, 0x1f, 0x4f, 0x1b, 0x6b, 0xa6, 0xe2, 0x67,
+ 0x1c, 0xb4, 0x74, 0x9e, 0x48, 0x77, 0x61, 0xc2, 0x9a, 0x3e, 0x6b, 0x89,
+ 0xa9, 0x68, 0x74, 0x27, 0x01, 0x29, 0xd6, 0x46, 0xe8, 0x0f, 0xd0, 0x33,
+ 0x22, 0x00, 0x45, 0x6c, 0xde, 0x32, 0x28, 0x42, 0x57, 0xaf, 0x70, 0x28,
+ 0xa0, 0xd5, 0x99, 0xbb, 0x1f, 0xd7, 0x3c, 0x84, 0x20, 0x70, 0x1f, 0xe3,
+ 0xa9, 0x02, 0x82, 0x01, 0x01, 0x00, 0xe6, 0x68, 0xfe, 0x5f, 0x75, 0x71,
+ 0x2a, 0xd8, 0xcf, 0x0d, 0x1d, 0xf4, 0xa1, 0x06, 0x8b, 0xa5, 0x70, 0x6f,
+ 0x29, 0x03, 0xf3, 0x50, 0xd3, 0x83, 0x39, 0xf9, 0xf6, 0xe5, 0x79, 0x7a,
+ 0x29, 0x75, 0xde, 0xda, 0x6a, 0x98, 0x7c, 0x33, 0xf8, 0x64, 0xca, 0x86,
+ 0x5a, 0xda, 0x55, 0x5b, 0x4d, 0x7b, 0x1a, 0xe5, 0x5d, 0x19, 0x7d, 0xf3,
+ 0x57, 0x49, 0x3d, 0x7a, 0xe8, 0x3f, 0x5a, 0x40, 0x8c, 0x15, 0xc7, 0xb0,
+ 0x53, 0xf8, 0x63, 0x42, 0x17, 0x7c, 0x20, 0xb9, 0xfc, 0xff, 0x27, 0xd0,
+ 0xc2, 0x0c, 0x45, 0x52, 0x1b, 0x75, 0x1f, 0x89, 0x87, 0xc4, 0xa8, 0x07,
+ 0x3b, 0x73, 0x16, 0xc7, 0xd7, 0x77, 0x2e, 0x47, 0xa2, 0x7d, 0x12, 0xb4,
+ 0x25, 0x24, 0x5e, 0xa5, 0xb2, 0x12, 0x76, 0x65, 0xd1, 0xcd, 0xa4, 0x66,
+ 0x33, 0x2d, 0xed, 0xb2, 0x85, 0xb0, 0xb3, 0x33, 0x56, 0x18, 0x5a, 0xb3,
+ 0x75, 0x43, 0x4d, 0x40, 0x14, 0x22, 0x55, 0xf6, 0x5a, 0x0c, 0x6a, 0xb3,
+ 0xc3, 0x8a, 0x9b, 0x76, 0x1e, 0x23, 0x8d, 0x4a, 0x8f, 0x38, 0x21, 0x25,
+ 0x43, 0x45, 0xf6, 0x25, 0x46, 0xdb, 0xae, 0x42, 0x43, 0x74, 0x69, 0x15,
+ 0x46, 0xf0, 0x3a, 0x41, 0x4f, 0x9f, 0xfe, 0xda, 0x07, 0x0b, 0x38, 0xbe,
+ 0x6b, 0xad, 0xc2, 0xef, 0x5b, 0x97, 0x18, 0x42, 0x13, 0xac, 0x13, 0x15,
+ 0x70, 0x7b, 0xe2, 0x00, 0xbb, 0x41, 0x22, 0x99, 0xe5, 0xd3, 0x67, 0xfe,
+ 0xfd, 0xbd, 0x8e, 0xc3, 0xca, 0x60, 0x59, 0x3d, 0x8f, 0x85, 0x76, 0x41,
+ 0xf0, 0xb8, 0x09, 0x1a, 0x48, 0x50, 0xe4, 0x9c, 0x4a, 0x56, 0x02, 0x60,
+ 0x76, 0xff, 0xde, 0xd4, 0x8e, 0x76, 0xa3, 0x9c, 0x30, 0xb4, 0xa4, 0x73,
+ 0xe6, 0xb0, 0x70, 0xac, 0x67, 0x5f, 0x25, 0xd2, 0x94, 0xc5, 0x25, 0xb6,
+ 0xbf, 0xf6, 0x0b, 0xd8, 0x9f, 0x35, 0x8c, 0x20, 0xb6, 0xdd, 0x02, 0x82,
+ 0x01, 0x01, 0x00, 0xb5, 0x31, 0x9e, 0xa2, 0x10, 0x38, 0xca, 0x2b, 0x07,
+ 0xc9, 0x3f, 0x0f, 0x18, 0x2c, 0x98, 0x7f, 0x15, 0x87, 0x92, 0x93, 0x2e,
+ 0xce, 0x6b, 0x11, 0x42, 0x2a, 0x94, 0x3e, 0x31, 0xd0, 0xf5, 0xae, 0x9d,
+ 0xc7, 0x67, 0x51, 0x3c, 0x0a, 0x52, 0x04, 0x94, 0x86, 0x2e, 0x50, 0x32,
+ 0xe1, 0x48, 0x83, 0x85, 0xe8, 0x82, 0x04, 0x2f, 0x25, 0xbc, 0xea, 0xfc,
+ 0x3d, 0x4b, 0xd1, 0x53, 0x90, 0x61, 0x97, 0x47, 0x73, 0xcd, 0x1f, 0xa9,
+ 0x5a, 0x3f, 0xfb, 0xbf, 0xc3, 0xd5, 0x19, 0xb6, 0xd3, 0x59, 0x57, 0x37,
+ 0xd9, 0x09, 0x29, 0xd3, 0x80, 0xc4, 0xae, 0x52, 0xce, 0xce, 0x82, 0x29,
+ 0x6b, 0x95, 0x44, 0x69, 0x33, 0xfd, 0x6a, 0x6d, 0x65, 0xf7, 0xa9, 0xc0,
+ 0x65, 0x25, 0x91, 0x05, 0xdf, 0x07, 0xbe, 0x61, 0x5c, 0xaa, 0x8f, 0x87,
+ 0xc8, 0x43, 0xd7, 0x30, 0xd0, 0x8b, 0x25, 0xaf, 0xb8, 0x5d, 0x50, 0x4e,
+ 0x31, 0x4a, 0xc9, 0x79, 0x56, 0xbf, 0x8d, 0xcc, 0x40, 0xa7, 0xea, 0xd4,
+ 0xf7, 0x66, 0x86, 0xe2, 0x0b, 0xf3, 0x13, 0xbc, 0xdc, 0x0d, 0x62, 0x28,
+ 0x4e, 0xb7, 0x31, 0xb4, 0x5a, 0x9b, 0x97, 0x65, 0x76, 0x24, 0xbb, 0xef,
+ 0x90, 0x1b, 0xdb, 0x93, 0x98, 0xae, 0xce, 0xb0, 0x69, 0x82, 0x49, 0x94,
+ 0xc0, 0xc3, 0x8f, 0x9c, 0x5d, 0x26, 0x45, 0xa0, 0xad, 0x15, 0x3b, 0x6e,
+ 0xda, 0x6e, 0x78, 0xc1, 0x78, 0xc3, 0x15, 0x8e, 0x64, 0xaf, 0x50, 0xa6,
+ 0xb7, 0xd9, 0xfb, 0x8f, 0x68, 0xa0, 0x2d, 0x59, 0xa9, 0xce, 0x5b, 0xa7,
+ 0x91, 0x36, 0xb8, 0x05, 0x28, 0x31, 0x25, 0xc7, 0x7e, 0xa4, 0x68, 0x9d,
+ 0xea, 0x5c, 0x71, 0x10, 0x84, 0xab, 0xc4, 0xd7, 0xbe, 0x7d, 0xe9, 0x4a,
+ 0x11, 0x22, 0xa6, 0xd5, 0xa3, 0x6e, 0x46, 0x07, 0x70, 0x78, 0xcc, 0xd5,
+ 0xbc, 0xfe, 0xc4, 0x39, 0x58, 0xf4, 0xbb, 0x02, 0x82, 0x01, 0x01, 0x00,
+ 0xaa, 0x0c, 0x73, 0x30, 0x20, 0x8d, 0x15, 0x02, 0x4e, 0x4d, 0x6f, 0xfe,
+ 0x4b, 0x99, 0x79, 0x16, 0xf0, 0x94, 0x19, 0xc1, 0x40, 0xa2, 0x36, 0x78,
+ 0x73, 0x21, 0x78, 0x86, 0x83, 0xd1, 0x15, 0x28, 0x59, 0x00, 0xfa, 0x0a,
+ 0xf0, 0x1f, 0xab, 0x03, 0x38, 0x35, 0x50, 0x78, 0x32, 0xe6, 0xdf, 0x98,
+ 0x2b, 0x91, 0x7b, 0xd4, 0x84, 0x90, 0x43, 0xab, 0x5a, 0x24, 0x8b, 0xa3,
+ 0xb6, 0x08, 0x4d, 0x5b, 0x05, 0xb5, 0xad, 0x43, 0x74, 0x7e, 0x22, 0xb7,
+ 0x09, 0xb0, 0x3a, 0x78, 0x55, 0xfa, 0x4c, 0x3c, 0xa2, 0x2c, 0xa6, 0xf7,
+ 0x19, 0xff, 0x76, 0xa4, 0x3d, 0x1e, 0x99, 0x51, 0xa7, 0x4e, 0x76, 0x47,
+ 0x0f, 0x70, 0xef, 0x0b, 0x3f, 0xf2, 0x94, 0x36, 0xf3, 0x63, 0x76, 0xb9,
+ 0x09, 0x88, 0xbb, 0xfe, 0xf9, 0x86, 0x33, 0xdf, 0x81, 0xbe, 0x6f, 0xcc,
+ 0xa9, 0x75, 0x09, 0xe5, 0x8f, 0x8b, 0x42, 0xd0, 0x19, 0x03, 0x61, 0xd8,
+ 0xb5, 0x78, 0xcb, 0x9c, 0xbe, 0x63, 0x4d, 0xbd, 0xce, 0x5e, 0xae, 0x7f,
+ 0xae, 0x97, 0x88, 0x7b, 0xf4, 0x7a, 0x7b, 0xdb, 0xf6, 0x7e, 0x2c, 0x7d,
+ 0x95, 0x6e, 0x72, 0x3a, 0x48, 0x13, 0xdb, 0xf7, 0x10, 0x07, 0x83, 0xac,
+ 0xa1, 0x7a, 0x68, 0x18, 0x70, 0x18, 0x99, 0x7f, 0xf4, 0x8e, 0x93, 0x1a,
+ 0x40, 0x5d, 0x04, 0x07, 0xcb, 0x4d, 0xd7, 0x66, 0x96, 0xb5, 0xd3, 0x7d,
+ 0x8e, 0xfb, 0xe6, 0x12, 0xd0, 0x7d, 0xf0, 0xe7, 0x25, 0xa6, 0x7a, 0x86,
+ 0x01, 0x56, 0xdd, 0xc5, 0xb2, 0x31, 0x98, 0x67, 0x3a, 0xd0, 0x9a, 0xee,
+ 0x98, 0xca, 0x80, 0x52, 0x5a, 0x0e, 0xb7, 0xc4, 0xbf, 0xc0, 0x40, 0x24,
+ 0x6f, 0x3b, 0xa6, 0xf6, 0xab, 0x28, 0x9e, 0xe9, 0x39, 0x3f, 0x04, 0x4b,
+ 0xc4, 0xae, 0x55, 0xfd, 0xea, 0x87, 0xa5, 0xc5, 0x01, 0x99, 0x2e, 0x67,
+ 0x66, 0xb3, 0xfe, 0x41, 0x02, 0x82, 0x01, 0x00, 0x05, 0x26, 0x96, 0xf2,
+ 0xd6, 0x71, 0x36, 0xd6, 0x08, 0x4f, 0xa1, 0x3a, 0x45, 0x9e, 0xa6, 0xeb,
+ 0x1d, 0xea, 0x8f, 0xb1, 0x1d, 0x68, 0x82, 0xc4, 0xa7, 0xd3, 0xdc, 0x08,
+ 0xf4, 0x93, 0x93, 0x18, 0x56, 0xa5, 0xdf, 0x7b, 0x00, 0xb0, 0xee, 0x69,
+ 0xf0, 0xea, 0xeb, 0x90, 0x1e, 0x12, 0x27, 0x64, 0x8d, 0xbe, 0xf1, 0x4b,
+ 0x3b, 0x27, 0xe0, 0x79, 0xf1, 0x97, 0xb0, 0x7b, 0x0f, 0xdc, 0x0f, 0xda,
+ 0x24, 0x0e, 0xd7, 0xaa, 0xe9, 0xbe, 0x86, 0x09, 0x1b, 0x07, 0x6f, 0x1c,
+ 0x5f, 0x05, 0x1d, 0x0a, 0x0c, 0xad, 0x5f, 0xc4, 0x4f, 0x9d, 0xde, 0x79,
+ 0x72, 0x23, 0x2c, 0xdd, 0xa8, 0x5d, 0xc5, 0x8d, 0x7f, 0x4c, 0x1a, 0x0d,
+ 0x17, 0x75, 0x09, 0x98, 0x4a, 0xbe, 0xd5, 0x55, 0x8d, 0x0c, 0x2d, 0x05,
+ 0x2d, 0x71, 0x5b, 0xeb, 0xde, 0x99, 0x43, 0xcc, 0x6f, 0x37, 0xce, 0x6c,
+ 0xd0, 0xd4, 0xf5, 0xda, 0x1d, 0x8e, 0xeb, 0x28, 0x55, 0x09, 0xb1, 0x42,
+ 0x4f, 0xa7, 0x1a, 0xde, 0xe3, 0x14, 0xf1, 0x56, 0x2e, 0x40, 0xd6, 0xb5,
+ 0x1d, 0xee, 0x47, 0x77, 0x1d, 0xdc, 0x36, 0xfa, 0xf3, 0xbc, 0x8b, 0xa5,
+ 0xbf, 0x1d, 0x9f, 0xa7, 0xb4, 0x04, 0xad, 0xb6, 0x0d, 0x39, 0x0e, 0xe7,
+ 0x13, 0x3e, 0xbc, 0x94, 0x68, 0xe5, 0x1d, 0xea, 0x0c, 0x30, 0xdd, 0xb0,
+ 0xa7, 0x03, 0xa4, 0x91, 0xde, 0xf1, 0xd8, 0xa8, 0x18, 0x1f, 0xdd, 0xb3,
+ 0xd4, 0x2b, 0x6a, 0x8c, 0x69, 0x60, 0xda, 0x92, 0x7b, 0x1e, 0x27, 0x47,
+ 0x82, 0xbf, 0xff, 0xfc, 0xbd, 0x03, 0xb4, 0xc1, 0x80, 0x6c, 0x07, 0x11,
+ 0xa2, 0xdd, 0x27, 0xc1, 0x4d, 0x93, 0xe6, 0xf2, 0xd3, 0xdc, 0x61, 0xa1,
+ 0xa3, 0xdc, 0x67, 0x69, 0xe5, 0x50, 0x1d, 0x63, 0x0e, 0xb9, 0xa9, 0x9d,
+ 0xd6, 0x02, 0x4d, 0x7c, 0xcd, 0x2a, 0xa5, 0x37, 0x60, 0xc5, 0xf5, 0x97,
+ 0x02, 0x82, 0x01, 0x00, 0x14, 0x8b, 0x04, 0xdb, 0x4e, 0x41, 0x4a, 0xcd,
+ 0x86, 0x2e, 0x5f, 0x13, 0xb3, 0x48, 0x1e, 0x00, 0xdf, 0x8d, 0x0b, 0x35,
+ 0x51, 0x51, 0x1b, 0x16, 0x3d, 0x49, 0x4e, 0xe1, 0xee, 0x4d, 0xc7, 0x03,
+ 0xc0, 0xf6, 0x5c, 0x6c, 0x36, 0xe8, 0x22, 0xa5, 0x79, 0xb4, 0x4c, 0xce,
+ 0xa8, 0x45, 0x12, 0x2c, 0xf3, 0x6a, 0xcd, 0x33, 0xbd, 0xd0, 0x84, 0x4d,
+ 0xf7, 0x8f, 0xb5, 0x80, 0x1f, 0x18, 0x52, 0xad, 0xad, 0xce, 0xcd, 0x94,
+ 0xc9, 0xc6, 0xb4, 0xd2, 0x14, 0x29, 0xe4, 0xc7, 0x40, 0xf1, 0x0b, 0x85,
+ 0x43, 0xaf, 0x11, 0xd3, 0x46, 0x0a, 0xb1, 0x15, 0x87, 0x1f, 0x4e, 0x2e,
+ 0xc1, 0x11, 0xe9, 0x24, 0x70, 0x40, 0xba, 0x0b, 0x0e, 0x4a, 0xac, 0x45,
+ 0x21, 0xcc, 0x6d, 0xa4, 0x1d, 0x55, 0x33, 0x89, 0x4c, 0x65, 0x21, 0x23,
+ 0xab, 0x61, 0x31, 0xcb, 0x11, 0x65, 0xb3, 0x80, 0xa4, 0x5a, 0x2b, 0xf1,
+ 0x65, 0xdb, 0x4c, 0x58, 0x5a, 0xbe, 0xf3, 0x15, 0xcd, 0x94, 0xa1, 0xe4,
+ 0xcb, 0x30, 0xfa, 0xe1, 0x28, 0x51, 0x52, 0xd2, 0xb8, 0xb4, 0x8c, 0xfc,
+ 0x3a, 0xcc, 0xd1, 0x19, 0xa2, 0x27, 0x36, 0xfa, 0xc4, 0x23, 0x96, 0xb9,
+ 0xc7, 0x74, 0xca, 0xf1, 0x45, 0x1f, 0x4b, 0xc2, 0x77, 0x4d, 0x32, 0x3f,
+ 0xab, 0x7a, 0xd9, 0x2b, 0x22, 0x1d, 0xcb, 0x24, 0x58, 0x29, 0xa3, 0xb8,
+ 0x92, 0xdb, 0x1c, 0xda, 0x84, 0x01, 0xca, 0x6d, 0x4a, 0x50, 0xd4, 0x2b,
+ 0x79, 0xfa, 0xc5, 0x4c, 0x9d, 0x79, 0x49, 0xf1, 0xde, 0xbd, 0x3f, 0x50,
+ 0xa7, 0xa6, 0xc6, 0xc7, 0x99, 0x61, 0x9b, 0xda, 0x38, 0xdc, 0xbe, 0x85,
+ 0x75, 0x81, 0xb9, 0x0f, 0x33, 0xd0, 0xd4, 0xd0, 0xaa, 0xbd, 0x32, 0xc9,
+ 0x62, 0xe8, 0x21, 0x24, 0xeb, 0x03, 0x73, 0x46, 0xb3, 0x84, 0x65, 0xf2,
+ 0x40, 0x7d, 0x1b, 0x1b, 0x8f, 0x86, 0x7c, 0xe7
+};
+
+/* The corresponding public key, DER. */
+static const unsigned char rsa_pub_key[] = {
+ 0x30, 0x82, 0x02, 0x0a, 0x02, 0x82, 0x02, 0x01, 0x00, 0xa3, 0x14, 0xe4,
+ 0xb8, 0xd8, 0x58, 0x0d, 0xab, 0xd7, 0x87, 0xa4, 0xf6, 0x84, 0x51, 0x74,
+ 0x60, 0x4c, 0xe3, 0x60, 0x28, 0x89, 0x49, 0x65, 0x18, 0x5c, 0x8f, 0x1a,
+ 0x1b, 0xe9, 0xdb, 0xc1, 0xc1, 0xf7, 0x08, 0x27, 0x44, 0xe5, 0x9d, 0x9a,
+ 0x33, 0xc3, 0xac, 0x5a, 0xca, 0xba, 0x20, 0x5a, 0x9e, 0x3a, 0x18, 0xb5,
+ 0x3d, 0xe3, 0x9d, 0x94, 0x58, 0xa7, 0xa9, 0x5a, 0x0b, 0x4f, 0xb8, 0xe5,
+ 0xa3, 0x7b, 0x01, 0x11, 0x0f, 0x16, 0x11, 0xb8, 0x65, 0x2f, 0xa8, 0x95,
+ 0xf7, 0x58, 0x2c, 0xec, 0x1d, 0x41, 0xad, 0xd1, 0x12, 0xca, 0x4a, 0x80,
+ 0x35, 0x35, 0x43, 0x7e, 0xe0, 0x97, 0xfc, 0x86, 0x8f, 0xcf, 0x4b, 0xdc,
+ 0xbc, 0x15, 0x2c, 0x8e, 0x90, 0x84, 0x26, 0x83, 0xc1, 0x96, 0x97, 0xf4,
+ 0xd7, 0x90, 0xce, 0xfe, 0xd4, 0xf3, 0x70, 0x22, 0xa8, 0xb0, 0x1f, 0xed,
+ 0x08, 0xd7, 0xc5, 0xc0, 0xd6, 0x41, 0x6b, 0x24, 0x68, 0x5c, 0x07, 0x1f,
+ 0x44, 0x97, 0xd8, 0x6e, 0x18, 0x93, 0x67, 0xc3, 0xba, 0x3a, 0xaf, 0xfd,
+ 0xc2, 0x65, 0x00, 0x21, 0x63, 0xdf, 0xb7, 0x28, 0x68, 0xd6, 0xc0, 0x20,
+ 0x86, 0x92, 0xed, 0x68, 0x6a, 0x27, 0x3a, 0x07, 0xec, 0x66, 0x00, 0xfe,
+ 0x51, 0x51, 0x86, 0x41, 0x6f, 0x83, 0x69, 0xd2, 0xf0, 0xe6, 0xf7, 0x61,
+ 0xda, 0x12, 0x45, 0x53, 0x09, 0xdf, 0xf8, 0x42, 0xc7, 0x30, 0x6a, 0xe5,
+ 0xd8, 0x2b, 0xa2, 0x49, 0x7a, 0x05, 0x10, 0xee, 0xb2, 0x59, 0x0a, 0xe5,
+ 0xbe, 0xf8, 0x4d, 0x0f, 0xa8, 0x9e, 0x63, 0x81, 0x39, 0x32, 0xaa, 0xfd,
+ 0xa8, 0x03, 0xf6, 0xd8, 0xc6, 0xaa, 0x02, 0x93, 0x03, 0xeb, 0x15, 0xd3,
+ 0x38, 0xc8, 0x1a, 0x78, 0xcf, 0xf3, 0xa7, 0x9f, 0x98, 0x4b, 0x91, 0x5b,
+ 0x79, 0xf8, 0x4e, 0x53, 0xaf, 0x0c, 0x65, 0xe9, 0xb0, 0x93, 0xc2, 0xcb,
+ 0x5d, 0x3c, 0x5f, 0x6e, 0x39, 0xd2, 0x58, 0x23, 0x50, 0xe5, 0x2e, 0xef,
+ 0x12, 0x00, 0xa4, 0x59, 0x13, 0x2b, 0x2f, 0x2c, 0x0a, 0x7b, 0x36, 0x89,
+ 0xc5, 0xe5, 0x8f, 0x95, 0x5e, 0x14, 0x0f, 0x0f, 0x94, 0x5a, 0xe9, 0xdc,
+ 0x0b, 0x49, 0x14, 0xbe, 0x0a, 0x70, 0x45, 0xc1, 0x7c, 0xbf, 0x83, 0x70,
+ 0xfd, 0x3d, 0x99, 0xe6, 0x8a, 0xf5, 0x9c, 0x09, 0x71, 0x84, 0x9a, 0x18,
+ 0xa0, 0xe0, 0x6c, 0x43, 0x5c, 0x7e, 0x48, 0x33, 0xc8, 0xbe, 0x5d, 0xdd,
+ 0xd8, 0x77, 0xe3, 0xe7, 0x6b, 0x34, 0x4b, 0xa2, 0xb7, 0x54, 0x07, 0x72,
+ 0x2e, 0xab, 0xa9, 0x91, 0x1e, 0x4b, 0xe3, 0xb5, 0xd8, 0xfa, 0x35, 0x64,
+ 0x8a, 0xe9, 0x03, 0xa1, 0xa8, 0x26, 0xbd, 0x72, 0x58, 0x10, 0x6a, 0xec,
+ 0x1a, 0xf6, 0x1e, 0xb8, 0xc0, 0x46, 0x19, 0x31, 0x2c, 0xca, 0xf9, 0x6a,
+ 0xd7, 0x2e, 0xd0, 0xa7, 0x2c, 0x60, 0x58, 0xc4, 0x8f, 0x46, 0x63, 0x61,
+ 0x8d, 0x29, 0x6f, 0xe2, 0x5f, 0xe2, 0x43, 0x90, 0x9c, 0xe6, 0xfc, 0x08,
+ 0x41, 0xc8, 0xb5, 0x23, 0x56, 0x24, 0x3e, 0x3a, 0x2c, 0x41, 0x22, 0x43,
+ 0xda, 0x22, 0x15, 0x2b, 0xad, 0xd0, 0xfa, 0xc8, 0x47, 0x44, 0xe6, 0x2a,
+ 0xf9, 0x38, 0x90, 0x13, 0x62, 0x22, 0xea, 0x06, 0x8c, 0x44, 0x9c, 0xd6,
+ 0xca, 0x50, 0x93, 0xe9, 0xd4, 0x03, 0xd8, 0x3e, 0x71, 0x36, 0x4b, 0xaa,
+ 0xab, 0xbb, 0xe2, 0x48, 0x66, 0x26, 0x53, 0xb1, 0x6d, 0x3b, 0x82, 0x2c,
+ 0x8c, 0x25, 0x05, 0xf0, 0xf8, 0xcf, 0x55, 0xbf, 0x8e, 0x29, 0xf7, 0x54,
+ 0x5b, 0x6f, 0x30, 0x54, 0xa6, 0xad, 0x46, 0xff, 0x22, 0x95, 0xb1, 0x87,
+ 0x98, 0x00, 0x51, 0x69, 0x15, 0x07, 0xbd, 0x3d, 0x9c, 0x6e, 0xaa, 0xaa,
+ 0x3b, 0x0b, 0x74, 0x65, 0x4c, 0x04, 0xe0, 0x80, 0x3e, 0xaf, 0x5e, 0x10,
+ 0xd6, 0x9b, 0x28, 0x37, 0x6f, 0x02, 0x03, 0x01, 0x00, 0x01
+};
diff --git a/deps/openssl/openssl/demos/signature/rsa_pss_direct.c b/deps/openssl/openssl/demos/signature/rsa_pss_direct.c
new file mode 100644
index 00000000000000..1ecfa9d89747e7
--- /dev/null
+++ b/deps/openssl/openssl/demos/signature/rsa_pss_direct.c
@@ -0,0 +1,204 @@
+/*
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include "rsa_pss.h"
+
+/*
+ * The digest to be signed. This should be the output of a hash function.
+ * Here we sign an all-zeroes digest for demonstration purposes.
+ */
+static const unsigned char test_digest[32] = {0};
+
+/* A property query used for selecting algorithm implementations. */
+static const char *propq = NULL;
+
+/*
+ * This function demonstrates RSA signing of a SHA-256 digest using the PSS
+ * padding scheme. You must already have hashed the data you want to sign.
+ * For a higher-level demonstration which does the hashing for you, see
+ * rsa_pss_hash.c.
+ *
+ * For more information, see RFC 8017 section 9.1. The digest passed in
+ * (test_digest above) corresponds to the 'mHash' value.
+ */
+static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len)
+{
+ int rv = 0;
+ EVP_PKEY *pkey = NULL;
+ EVP_PKEY_CTX *ctx = NULL;
+ EVP_MD *md = NULL;
+ const unsigned char *ppriv_key = NULL;
+
+ *sig = NULL;
+
+ /* Load DER-encoded RSA private key. */
+ ppriv_key = rsa_priv_key;
+ pkey = d2i_PrivateKey_ex(EVP_PKEY_RSA, NULL, &ppriv_key,
+ sizeof(rsa_priv_key), libctx, propq);
+ if (pkey == NULL) {
+ fprintf(stderr, "Failed to load private key\n");
+ goto end;
+ }
+
+ /* Fetch hash algorithm we want to use. */
+ md = EVP_MD_fetch(libctx, "SHA256", propq);
+ if (md == NULL) {
+ fprintf(stderr, "Failed to fetch hash algorithm\n");
+ goto end;
+ }
+
+ /* Create signing context. */
+ ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq);
+ if (ctx == NULL) {
+ fprintf(stderr, "Failed to create signing context\n");
+ goto end;
+ }
+
+ /* Initialize context for signing and set options. */
+ if (EVP_PKEY_sign_init(ctx) == 0) {
+ fprintf(stderr, "Failed to initialize signing context\n");
+ goto end;
+ }
+
+ if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PSS_PADDING) == 0) {
+ fprintf(stderr, "Failed to configure padding\n");
+ goto end;
+ }
+
+ if (EVP_PKEY_CTX_set_signature_md(ctx, md) == 0) {
+ fprintf(stderr, "Failed to configure digest type\n");
+ goto end;
+ }
+
+ /* Determine length of signature. */
+ if (EVP_PKEY_sign(ctx, NULL, sig_len,
+ test_digest, sizeof(test_digest)) == 0) {
+ fprintf(stderr, "Failed to get signature length\n");
+ goto end;
+ }
+
+ /* Allocate memory for signature. */
+ *sig = OPENSSL_malloc(*sig_len);
+ if (*sig == NULL) {
+ fprintf(stderr, "Failed to allocate memory for signature\n");
+ goto end;
+ }
+
+ /* Generate signature. */
+ if (EVP_PKEY_sign(ctx, *sig, sig_len,
+ test_digest, sizeof(test_digest)) != 1) {
+ fprintf(stderr, "Failed to sign\n");
+ goto end;
+ }
+
+ rv = 1;
+end:
+ EVP_PKEY_CTX_free(ctx);
+ EVP_PKEY_free(pkey);
+ EVP_MD_free(md);
+
+ if (rv == 0)
+ OPENSSL_free(*sig);
+
+ return rv;
+}
+
+/*
+ * This function demonstrates verification of an RSA signature over a SHA-256
+ * digest using the PSS signature scheme.
+ */
+static int verify(OSSL_LIB_CTX *libctx, const unsigned char *sig, size_t sig_len)
+{
+ int rv = 0;
+ const unsigned char *ppub_key = NULL;
+ EVP_PKEY *pkey = NULL;
+ EVP_PKEY_CTX *ctx = NULL;
+ EVP_MD *md = NULL;
+
+ /* Load DER-encoded RSA public key. */
+ ppub_key = rsa_pub_key;
+ pkey = d2i_PublicKey(EVP_PKEY_RSA, NULL, &ppub_key, sizeof(rsa_pub_key));
+ if (pkey == NULL) {
+ fprintf(stderr, "Failed to load public key\n");
+ goto end;
+ }
+
+ /* Fetch hash algorithm we want to use. */
+ md = EVP_MD_fetch(libctx, "SHA256", propq);
+ if (md == NULL) {
+ fprintf(stderr, "Failed to fetch hash algorithm\n");
+ goto end;
+ }
+
+ /* Create verification context. */
+ ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, propq);
+ if (ctx == NULL) {
+ fprintf(stderr, "Failed to create verification context\n");
+ goto end;
+ }
+
+ /* Initialize context for verification and set options. */
+ if (EVP_PKEY_verify_init(ctx) == 0) {
+ fprintf(stderr, "Failed to initialize verification context\n");
+ goto end;
+ }
+
+ if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PSS_PADDING) == 0) {
+ fprintf(stderr, "Failed to configure padding\n");
+ goto end;
+ }
+
+ if (EVP_PKEY_CTX_set_signature_md(ctx, md) == 0) {
+ fprintf(stderr, "Failed to configure digest type\n");
+ goto end;
+ }
+
+ /* Verify signature. */
+ if (EVP_PKEY_verify(ctx, sig, sig_len,
+ test_digest, sizeof(test_digest)) == 0) {
+ fprintf(stderr, "Failed to verify signature; "
+ "signature may be invalid\n");
+ goto end;
+ }
+
+ rv = 1;
+end:
+ EVP_PKEY_CTX_free(ctx);
+ EVP_PKEY_free(pkey);
+ EVP_MD_free(md);
+ return rv;
+}
+
+int main(int argc, char **argv)
+{
+ int rv = 1;
+ OSSL_LIB_CTX *libctx = NULL;
+ unsigned char *sig = NULL;
+ size_t sig_len = 0;
+
+ if (sign(libctx, &sig, &sig_len) == 0)
+ goto end;
+
+ if (verify(libctx, sig, sig_len) == 0)
+ goto end;
+
+ rv = 0;
+end:
+ OPENSSL_free(sig);
+ OSSL_LIB_CTX_free(libctx);
+ return rv;
+}
diff --git a/deps/openssl/openssl/demos/signature/rsa_pss_hash.c b/deps/openssl/openssl/demos/signature/rsa_pss_hash.c
new file mode 100644
index 00000000000000..e1d4e7cc9d0b5e
--- /dev/null
+++ b/deps/openssl/openssl/demos/signature/rsa_pss_hash.c
@@ -0,0 +1,189 @@
+/*
+ * Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License"). You may not use
+ * this file except in compliance with the License. You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include "rsa_pss.h"
+
+/* The data to be signed. This will be hashed. */
+static const char test_message[] =
+ "This is an example message to be signed.";
+
+/* A property query used for selecting algorithm implementations. */
+static const char *propq = NULL;
+
+/*
+ * This function demonstrates RSA signing of an arbitrary-length message.
+ * Hashing is performed automatically. In this example, SHA-256 is used. If you
+ * have already hashed your message and simply want to sign the hash directly,
+ * see rsa_pss_direct.c.
+ */
+static int sign(OSSL_LIB_CTX *libctx, unsigned char **sig, size_t *sig_len)
+{
+ int rv = 0;
+ EVP_PKEY *pkey = NULL;
+ EVP_MD_CTX *mctx = NULL;
+ OSSL_PARAM params[2], *p = params;
+ const unsigned char *ppriv_key = NULL;
+
+ *sig = NULL;
+
+ /* Load DER-encoded RSA private key. */
+ ppriv_key = rsa_priv_key;
+ pkey = d2i_PrivateKey_ex(EVP_PKEY_RSA, NULL, &ppriv_key,
+ sizeof(rsa_priv_key), libctx, propq);
+ if (pkey == NULL) {
+ fprintf(stderr, "Failed to load private key\n");
+ goto end;
+ }
+
+ /* Create MD context used for signing. */
+ mctx = EVP_MD_CTX_new();
+ if (mctx == NULL) {
+ fprintf(stderr, "Failed to create MD context\n");
+ goto end;
+ }
+
+ /* Initialize MD context for signing. */
+ *p++ = OSSL_PARAM_construct_utf8_string(OSSL_SIGNATURE_PARAM_PAD_MODE,
+ OSSL_PKEY_RSA_PAD_MODE_PSS, 0);
+ *p = OSSL_PARAM_construct_end();
+
+ if (EVP_DigestSignInit_ex(mctx, NULL, "SHA256", libctx, propq,
+ pkey, params) == 0) {
+ fprintf(stderr, "Failed to initialize signing context\n");
+ goto end;
+ }
+
+ /*
+ * Feed data to be signed into the algorithm. This may
+ * be called multiple times.
+ */
+ if (EVP_DigestSignUpdate(mctx, test_message, sizeof(test_message)) == 0) {
+ fprintf(stderr, "Failed to hash message into signing context\n");
+ goto end;
+ }
+
+ /* Determine signature length. */
+ if (EVP_DigestSignFinal(mctx, NULL, sig_len) == 0) {
+ fprintf(stderr, "Failed to get signature length\n");
+ goto end;
+ }
+
+ /* Allocate memory for signature. */
+ *sig = OPENSSL_malloc(*sig_len);
+ if (*sig == NULL) {
+ fprintf(stderr, "Failed to allocate memory for signature\n");
+ goto end;
+ }
+
+ /* Generate signature. */
+ if (EVP_DigestSignFinal(mctx, *sig, sig_len) == 0) {
+ fprintf(stderr, "Failed to sign\n");
+ goto end;
+ }
+
+ rv = 1;
+end:
+ EVP_MD_CTX_free(mctx);
+ EVP_PKEY_free(pkey);
+
+ if (rv == 0)
+ OPENSSL_free(*sig);
+
+ return rv;
+}
+
+/*
+ * This function demonstrates verification of an RSA signature over an
+ * arbitrary-length message using the PSS signature scheme. Hashing is performed
+ * automatically.
+ */
+static int verify(OSSL_LIB_CTX *libctx, const unsigned char *sig, size_t sig_len)
+{
+ int rv = 0;
+ EVP_PKEY *pkey = NULL;
+ EVP_MD_CTX *mctx = NULL;
+ OSSL_PARAM params[2], *p = params;
+ const unsigned char *ppub_key = NULL;
+
+ /* Load DER-encoded RSA public key. */
+ ppub_key = rsa_pub_key;
+ pkey = d2i_PublicKey(EVP_PKEY_RSA, NULL, &ppub_key, sizeof(rsa_pub_key));
+ if (pkey == NULL) {
+ fprintf(stderr, "Failed to load public key\n");
+ goto end;
+ }
+
+ /* Create MD context used for verification. */
+ mctx = EVP_MD_CTX_new();
+ if (mctx == NULL) {
+ fprintf(stderr, "Failed to create MD context\n");
+ goto end;
+ }
+
+ /* Initialize MD context for verification. */
+ *p++ = OSSL_PARAM_construct_utf8_string(OSSL_SIGNATURE_PARAM_PAD_MODE,
+ OSSL_PKEY_RSA_PAD_MODE_PSS, 0);
+ *p = OSSL_PARAM_construct_end();
+
+ if (EVP_DigestVerifyInit_ex(mctx, NULL, "SHA256", libctx, propq,
+ pkey, params) == 0) {
+ fprintf(stderr, "Failed to initialize signing context\n");
+ goto end;
+ }
+
+ /*
+ * Feed data to be signed into the algorithm. This may
+ * be called multiple times.
+ */
+ if (EVP_DigestVerifyUpdate(mctx, test_message, sizeof(test_message)) == 0) {
+ fprintf(stderr, "Failed to hash message into signing context\n");
+ goto end;
+ }
+
+ /* Verify signature. */
+ if (EVP_DigestVerifyFinal(mctx, sig, sig_len) == 0) {
+ fprintf(stderr, "Failed to verify signature; "
+ "signature may be invalid\n");
+ goto end;
+ }
+
+ rv = 1;
+end:
+ EVP_MD_CTX_free(mctx);
+ EVP_PKEY_free(pkey);
+ return rv;
+}
+
+int main(int argc, char **argv)
+{
+ int rv = 1;
+ OSSL_LIB_CTX *libctx = NULL;
+ unsigned char *sig = NULL;
+ size_t sig_len = 0;
+
+ if (sign(libctx, &sig, &sig_len) == 0)
+ goto end;
+
+ if (verify(libctx, sig, sig_len) == 0)
+ goto end;
+
+ rv = 0;
+end:
+ OPENSSL_free(sig);
+ OSSL_LIB_CTX_free(libctx);
+ return rv;
+}
diff --git a/deps/openssl/openssl/demos/smime/smver.c b/deps/openssl/openssl/demos/smime/smver.c
index 601462a041612b..5d552b18082ab5 100644
--- a/deps/openssl/openssl/demos/smime/smver.c
+++ b/deps/openssl/openssl/demos/smime/smver.c
@@ -27,16 +27,18 @@ int main(int argc, char **argv)
/* Set up trusted CA certificate store */
st = X509_STORE_new();
+ if (st == NULL)
+ goto err;
/* Read in signer certificate and private key */
tbio = BIO_new_file("cacert.pem", "r");
- if (!tbio)
+ if (tbio == NULL)
goto err;
cacert = PEM_read_bio_X509(tbio, NULL, 0, NULL);
- if (!cacert)
+ if (cacert == NULL)
goto err;
if (!X509_STORE_add_cert(st, cacert))
@@ -46,18 +48,18 @@ int main(int argc, char **argv)
in = BIO_new_file("smout.txt", "r");
- if (!in)
+ if (in == NULL)
goto err;
/* Sign content */
p7 = SMIME_read_PKCS7(in, &cont);
- if (!p7)
+ if (p7 == NULL)
goto err;
/* File to output verified content to */
out = BIO_new_file("smver.txt", "w");
- if (!out)
+ if (out == NULL)
goto err;
if (!PKCS7_verify(p7, NULL, st, cont, out, 0)) {
@@ -74,6 +76,8 @@ int main(int argc, char **argv)
fprintf(stderr, "Error Verifying Data\n");
ERR_print_errors_fp(stderr);
}
+
+ X509_STORE_free(st);
PKCS7_free(p7);
X509_free(cacert);
BIO_free(in);
diff --git a/deps/openssl/openssl/dev/release-aux/fixup-CHANGES.md-postrelease.pl b/deps/openssl/openssl/dev/release-aux/fixup-CHANGES.md-postrelease.pl
index 0fb2e9134f9be1..bb971898ca2f9c 100644
--- a/deps/openssl/openssl/dev/release-aux/fixup-CHANGES.md-postrelease.pl
+++ b/deps/openssl/openssl/dev/release-aux/fixup-CHANGES.md-postrelease.pl
@@ -20,7 +20,7 @@ BEGIN
$_ = <<_____
### Changes between $v2 and $RELEASE_TEXT [xx XXX xxxx]
- *
+ * none yet
### Changes between $v1 and $v2 [$PREV_RELEASE_DATE]
_____
diff --git a/deps/openssl/openssl/dev/release-aux/fixup-NEWS.md-postrelease.pl b/deps/openssl/openssl/dev/release-aux/fixup-NEWS.md-postrelease.pl
index ff41ab29df569b..9231872f89ce77 100644
--- a/deps/openssl/openssl/dev/release-aux/fixup-NEWS.md-postrelease.pl
+++ b/deps/openssl/openssl/dev/release-aux/fixup-NEWS.md-postrelease.pl
@@ -20,7 +20,7 @@ BEGIN
$_ = <<_____
### Major changes between OpenSSL $v2 and OpenSSL $RELEASE_TEXT [under development]
- *
+ * none
### Major changes between OpenSSL $v1 and OpenSSL $v2 [$PREV_RELEASE_DATE]
_____
diff --git a/deps/openssl/openssl/dev/release-aux/openssl-announce-pre-release.tmpl b/deps/openssl/openssl/dev/release-aux/openssl-announce-pre-release.tmpl
index 470a42bdd34c92..a4a7581ea709f8 100644
--- a/deps/openssl/openssl/dev/release-aux/openssl-announce-pre-release.tmpl
+++ b/deps/openssl/openssl/dev/release-aux/openssl-announce-pre-release.tmpl
@@ -15,7 +15,7 @@
Specific notes on upgrading to OpenSSL $series from previous versions are
available in the OpenSSL Migration Guide, here:
- https://www.openssl.org/docs/manmaster/man7/migration_guide.html
+ https://www.openssl.org/docs/man3.0/man7/migration_guide.html
The $label release is available for download via HTTPS and FTP from the
following master locations (you can find the various FTP mirrors under
diff --git a/deps/openssl/openssl/dev/release.sh b/deps/openssl/openssl/dev/release.sh
index 4b778f3b751938..94d9db0eeb8e7d 100755
--- a/deps/openssl/openssl/dev/release.sh
+++ b/deps/openssl/openssl/dev/release.sh
@@ -1,5 +1,5 @@
#! /bin/bash -e
-# Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+# Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the Apache License 2.0 (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
@@ -9,6 +9,10 @@
# This is the most shell agnostic way to specify that POSIX rules.
POSIXLY_CORRECT=1
+# Force C locale because some commands (like date +%b) relies
+# on the current locale.
+export LC_ALL=C
+
usage () {
cat < function is called to increment the
reference count of the method and the I function is called
to decrement it.
+=head1 NOTES
+
+The I argument to ossl_method_store_cache_get() and
+ossl_method_store_cache_set() is not allowed to be NULL. Use "" for an
+empty property definition or query.
+
=head1 RETURN VALUES
ossl_method_store_new() returns a new method store object or NULL on failure.
@@ -119,7 +125,7 @@ This functionality was added to OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this
diff --git a/deps/openssl/openssl/doc/man1/openssl-cmp.pod.in b/deps/openssl/openssl/doc/man1/openssl-cmp.pod.in
index 420c194a6c70fe..ee62833f8e9da0 100644
--- a/deps/openssl/openssl/doc/man1/openssl-cmp.pod.in
+++ b/deps/openssl/openssl/doc/man1/openssl-cmp.pod.in
@@ -251,8 +251,8 @@ e.g., C<1.2.3.4:int:56789>.
The source of the private or public key for the certificate requested
in Initialization Request (IR), Certification Request(CR), or
Key Update Request (KUR).
-Default is the public key in the PKCS#10 CSR given with the B<-csr> option,
-if any, or else the current client key, if given.
+Defaults to the public key in the PKCS#10 CSR given with the B<-csr> option,
+the public key of the reference certificate, or the current client key.
=item B<-newkeypass> I
@@ -440,8 +440,10 @@ Reason numbers defined in RFC 5280 are:
=item B<-server> I<[http[s]://][userinfo@]host[:port][/path][?query][#fragment]>
-The IP address or DNS hostname and optionally port
-of the CMP server to connect to using HTTP(S) transport.
+The DNS hostname or IP address and optionally port
+of the CMP server to connect to using HTTP(S).
+This excludes I<-port> and I<-use_mock_srv> and is ignored with I<-rspin>.
+
The scheme C may be given only if the B<-tls_used> option is used.
In this case the default port is 443, else 80.
The optional userinfo and fragment components are ignored.
@@ -458,6 +460,7 @@ selected by B<-tls_used>), as well as any path, userinfo, and query, and fragmen
components.
Defaults to the environment variable C if set, else C
in case no TLS is used, otherwise C if set, else C.
+This option is ignored if I<-server> is not given.
=item B<-no_proxy> I
@@ -465,6 +468,7 @@ List of IP addresses and/or DNS names of servers
not to use an HTTP(S) proxy for, separated by commas and/or whitespace
(where in the latter case the whole argument must be enclosed in "...").
Default is from the environment variable C if set, else C.
+This option is ignored if I<-server> is not given.
=item B<-recipient> I
@@ -795,7 +799,10 @@ B<-tls_key>.
=item B<-tls_used>
Enable using TLS (even when other TLS_related options are not set)
-when connecting to CMP server.
+when connecting to CMP server via HTTP.
+This option is not supported with the I<-port> option
+and is ignored with the I<-use_mock_srv> and I<-rspin> options
+or if the I<-server> option is not given.
=item B<-tls_cert> I|I
@@ -880,6 +887,7 @@ As many files are written as needed to store the complete transaction.
=item B<-rspin> I
Process sequence of CMP responses provided in file(s), skipping server.
+This excludes I<-server>, I<-port>, and I<-use_mock_srv>.
Multiple filenames may be given, separated by commas and/or whitespace.
As many files are read as needed for the complete transaction.
@@ -893,8 +901,9 @@ As many files are written as needed to store the complete transaction.
=item B<-use_mock_srv>
-Use the internal mock server for testing the client.
-This works at API level, bypassing HTTP transport.
+Test the client using the internal CMP server mock-up at API level,
+bypassing socket-based transfer via HTTP.
+This excludes I<-server>, I<-port>, and I<-rspin>.
=back
@@ -904,7 +913,8 @@ This works at API level, bypassing HTTP transport.
=item B<-port> I
-Act as CMP HTTP server mock-up listening on the given port.
+Act as HTTP-based CMP server mock-up listening on the given port.
+This excludes I<-server>, I<-rspin>, and I<-use_mock_srv>.
=item B<-max_msgs> I
@@ -1221,9 +1231,9 @@ The B<-engine option> was deprecated in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved.
-Licensed under the OpenSSL license (the "License"). You may not use
+Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
in the file LICENSE in the source distribution or at
L.
diff --git a/deps/openssl/openssl/doc/man1/openssl-dgst.pod.in b/deps/openssl/openssl/doc/man1/openssl-dgst.pod.in
index f493e83b4182fe..8a091131cfb9ba 100644
--- a/deps/openssl/openssl/doc/man1/openssl-dgst.pod.in
+++ b/deps/openssl/openssl/doc/man1/openssl-dgst.pod.in
@@ -9,11 +9,11 @@ openssl-dgst - perform digest operations
B B|I
[B<-I>]
+[B<-list>]
[B<-help>]
[B<-c>]
[B<-d>]
[B<-debug>]
-[B<-list>]
[B<-hex>]
[B<-binary>]
[B<-xoflen> I]
@@ -47,7 +47,7 @@ The generic name, B, may be used with an option specifying the
algorithm to be used.
The default digest is B.
A supported I name may also be used as the sub-command name.
-To see the list of supported algorithms, use C
+To see the list of supported algorithms, use C
=head1 OPTIONS
@@ -59,8 +59,11 @@ Print out a usage message.
=item B<-I>
-Specifies name of a supported digest to be used. To see the list of
-supported digests, use the command C.
+Specifies name of a supported digest to be used. See option B<-list> below :
+
+=item B<-list>
+
+Prints out a list of supported message digests.
=item B<-c>
@@ -71,10 +74,6 @@ the B<-hex> option is given as well.
Print out BIO debugging information.
-=item B<-list>
-
-Prints out a list of supported message digests.
-
=item B<-hex>
Digest is to be output as a hex dump. This is the default case for a "normal"
@@ -206,12 +205,19 @@ used.
=head1 EXAMPLES
To create a hex-encoded message digest of a file:
+
openssl dgst -md5 -hex file.txt
+ or
+ openssl md5 file.txt
To sign a file using SHA-256 with binary file output:
+
openssl dgst -sha256 -sign privatekey.pem -out signature.sign file.txt
+ or
+ openssl sha256 -sign privatekey.pem -out signature.sign file.txt
To verify a signature:
+
openssl dgst -sha256 -verify publickey.pem \
-signature signature.sign \
file.txt
@@ -221,7 +227,7 @@ To verify a signature:
The digest mechanisms that are available will depend on the options
used when building OpenSSL.
-The C command can be used to list them.
+The C command can be used to list them.
New or agile applications should use probably use SHA-256. Other digests,
particularly SHA-1 and MD5, are still widely used for interoperating
@@ -259,7 +265,7 @@ The B<-engine> and B<-engine_impl> options were deprecated in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man1/openssl-kdf.pod.in b/deps/openssl/openssl/doc/man1/openssl-kdf.pod.in
index 2880d1ff9d8afb..23776378a1be30 100644
--- a/deps/openssl/openssl/doc/man1/openssl-kdf.pod.in
+++ b/deps/openssl/openssl/doc/man1/openssl-kdf.pod.in
@@ -166,7 +166,7 @@ Use PBKDF2 to create a hex-encoded derived key from a password and salt:
Use scrypt to create a hex-encoded derived key from a password and salt:
openssl kdf -keylen 64 -kdfopt pass:password -kdfopt salt:NaCl \
- -kdfopt N:1024 -kdfopt r:8 -kdfopt p:16 \
+ -kdfopt n:1024 -kdfopt r:8 -kdfopt p:16 \
-kdfopt maxmem_bytes:10485760 SCRYPT
=head1 NOTES
@@ -195,7 +195,7 @@ Added in OpenSSL 3.0
=head1 COPYRIGHT
-Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2019-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man1/openssl-speed.pod.in b/deps/openssl/openssl/doc/man1/openssl-speed.pod.in
index bfe992797a556d..70ef38712ef98f 100644
--- a/deps/openssl/openssl/doc/man1/openssl-speed.pod.in
+++ b/deps/openssl/openssl/doc/man1/openssl-speed.pod.in
@@ -101,6 +101,8 @@ Run benchmarks for I seconds.
=item B<-bytes> I
Run benchmarks on I-byte buffers. Affects ciphers, digests and the CSPRNG.
+The limit on the size of the buffer is INT_MAX - 64 bytes, which for a 32-bit
+int would be 2147483583 bytes.
=item B<-mr>
@@ -134,7 +136,7 @@ The B<-engine> option was deprecated in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/BIO_ctrl.pod b/deps/openssl/openssl/doc/man3/BIO_ctrl.pod
index bcdeac6f7bddce..84efd23746bb2a 100644
--- a/deps/openssl/openssl/doc/man3/BIO_ctrl.pod
+++ b/deps/openssl/openssl/doc/man3/BIO_ctrl.pod
@@ -17,7 +17,7 @@ BIO_get_ktls_recv
long BIO_ctrl(BIO *bp, int cmd, long larg, void *parg);
long BIO_callback_ctrl(BIO *b, int cmd, BIO_info_cb *cb);
- char *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
+ void *BIO_ptr_ctrl(BIO *bp, int cmd, long larg);
long BIO_int_ctrl(BIO *bp, int cmd, long larg, int iarg);
int BIO_reset(BIO *b);
@@ -146,7 +146,7 @@ OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/BIO_f_base64.pod b/deps/openssl/openssl/doc/man3/BIO_f_base64.pod
index 69de0077f72da6..0bfa4afd0c9cb8 100644
--- a/deps/openssl/openssl/doc/man3/BIO_f_base64.pod
+++ b/deps/openssl/openssl/doc/man3/BIO_f_base64.pod
@@ -21,13 +21,26 @@ any data read through it.
Base64 BIOs do not support BIO_gets() or BIO_puts().
+For writing, output is by default divided to lines of length 64
+characters and there is always a newline at the end of output.
+
+For reading, first line should be at most 1024
+characters long. If it is longer then it is ignored completely.
+Other input lines can be of any length. There must be a newline
+at the end of input.
+
+This behavior can be changed with BIO_FLAGS_BASE64_NO_NL flag.
+
BIO_flush() on a base64 BIO that is being written through is
used to signal that no more data is to be encoded: this is used
to flush the final block through the BIO.
-The flag BIO_FLAGS_BASE64_NO_NL can be set with BIO_set_flags()
-to encode the data all on one line or expect the data to be all
-on one line.
+The flag BIO_FLAGS_BASE64_NO_NL can be set with BIO_set_flags().
+For writing, it causes all data to be written on one line without
+newline at the end.
+For reading, it forces the decoder to process the data regardless
+of newlines. All newlines are ignored and the input does not need
+to contain any newline at all.
=head1 NOTES
@@ -81,7 +94,7 @@ to reliably determine EOF (for example a MIME boundary).
=head1 COPYRIGHT
-Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/BN_add.pod b/deps/openssl/openssl/doc/man3/BN_add.pod
index 62d3ee72054ca6..9561d554318f18 100644
--- a/deps/openssl/openssl/doc/man3/BN_add.pod
+++ b/deps/openssl/openssl/doc/man3/BN_add.pod
@@ -3,7 +3,7 @@
=head1 NAME
BN_add, BN_sub, BN_mul, BN_sqr, BN_div, BN_mod, BN_nnmod, BN_mod_add,
-BN_mod_sub, BN_mod_mul, BN_mod_sqr, BN_exp, BN_mod_exp, BN_gcd -
+BN_mod_sub, BN_mod_mul, BN_mod_sqr, BN_mod_sqrt, BN_exp, BN_mod_exp, BN_gcd -
arithmetic operations on BIGNUMs
=head1 SYNOPSIS
@@ -36,6 +36,8 @@ arithmetic operations on BIGNUMs
int BN_mod_sqr(BIGNUM *r, BIGNUM *a, const BIGNUM *m, BN_CTX *ctx);
+ BIGNUM *BN_mod_sqrt(BIGNUM *in, BIGNUM *a, const BIGNUM *p, BN_CTX *ctx);
+
int BN_exp(BIGNUM *r, BIGNUM *a, BIGNUM *p, BN_CTX *ctx);
int BN_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p,
@@ -87,6 +89,12 @@ L.
BN_mod_sqr() takes the square of I modulo B and places the
result in I.
+BN_mod_sqrt() returns the modular square root of I such that
+C. The modulus I must be a
+prime, otherwise an error or an incorrect "result" will be returned.
+The result is stored into I which can be NULL. The result will be
+newly allocated in that case.
+
BN_exp() raises I to the I-th power and places the result in I
(C). This function is faster than repeated applications of
BN_mul().
@@ -108,7 +116,10 @@ the arguments.
=head1 RETURN VALUES
-For all functions, 1 is returned for success, 0 on error. The return
+The BN_mod_sqrt() returns the result (possibly incorrect if I is
+not a prime), or NULL.
+
+For all remaining functions, 1 is returned for success, 0 on error. The return
value should always be checked (e.g., C).
The error codes can be obtained by L.
@@ -119,7 +130,7 @@ L, L
=head1 COPYRIGHT
-Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/DEFINE_STACK_OF.pod b/deps/openssl/openssl/doc/man3/DEFINE_STACK_OF.pod
index ec9eda81c6f83c..9cec9989249133 100644
--- a/deps/openssl/openssl/doc/man3/DEFINE_STACK_OF.pod
+++ b/deps/openssl/openssl/doc/man3/DEFINE_STACK_OF.pod
@@ -266,6 +266,7 @@ on error.
B_insert>(), B_push>() and B_unshift>() return
the total number of elements in the stack and 0 if an error occurred.
+B_push>() further returns -1 if I is NULL.
B_set>() returns a pointer to the replacement element or NULL on
error.
diff --git a/deps/openssl/openssl/doc/man3/ERR_get_error.pod b/deps/openssl/openssl/doc/man3/ERR_get_error.pod
index 6518458907d9a0..038296ac64ccd3 100644
--- a/deps/openssl/openssl/doc/man3/ERR_get_error.pod
+++ b/deps/openssl/openssl/doc/man3/ERR_get_error.pod
@@ -31,7 +31,7 @@ ERR_get_error_line_data, ERR_peek_error_line_data, ERR_peek_last_error_line_data
const char **func,
const char **data, int *flags);
unsigned long ERR_peek_error_all(const char **file, int *line,
- const char *func,
+ const char **func,
const char **data, int *flags);
unsigned long ERR_peek_last_error_all(const char **file, int *line,
const char *func,
@@ -132,7 +132,7 @@ and ERR_peek_last_error_line_data() became deprecated in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2000-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2000-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/EVP_PKEY_gettable_params.pod b/deps/openssl/openssl/doc/man3/EVP_PKEY_gettable_params.pod
index 23ac4bd8b06793..f7884af86fefcd 100644
--- a/deps/openssl/openssl/doc/man3/EVP_PKEY_gettable_params.pod
+++ b/deps/openssl/openssl/doc/man3/EVP_PKEY_gettable_params.pod
@@ -37,11 +37,22 @@ EVP_PKEY_gettable_params() returns a constant list of I indicating
the names and types of key parameters that can be retrieved.
See L for information about parameters.
+An B of type B or
+B is of arbitrary length. Such a parameter can be
+obtained using any of the functions EVP_PKEY_get_int_param(),
+EVP_PKEY_get_size_t_param() or EVP_PKEY_get_bn_param(). Attempting to
+obtain an integer value that does not fit into a native C B type will cause
+EVP_PKEY_get_int_param() to fail. Similarly attempting to obtain an integer
+value that is negative or does not fit into a native C B type using
+EVP_PKEY_get_size_t_param() will also fail.
+
EVP_PKEY_get_int_param() retrieves a key I integer value I<*out>
-associated with a name of I.
+associated with a name of I if it fits into C type. For
+parameters that do not fit into C use EVP_PKEY_get_bn_param().
EVP_PKEY_get_size_t_param() retrieves a key I size_t value I<*out>
-associated with a name of I.
+associated with a name of I if it fits into C type. For
+parameters that do not fit into C use EVP_PKEY_get_bn_param().
EVP_PKEY_get_bn_param() retrieves a key I BIGNUM value I<**bn>
associated with a name of I. If I<*bn> is NULL then the BIGNUM
@@ -115,7 +126,7 @@ These functions were added in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/OBJ_nid2obj.pod b/deps/openssl/openssl/doc/man3/OBJ_nid2obj.pod
index 482cc320c778d4..94eb6cc5899f97 100644
--- a/deps/openssl/openssl/doc/man3/OBJ_nid2obj.pod
+++ b/deps/openssl/openssl/doc/man3/OBJ_nid2obj.pod
@@ -101,7 +101,8 @@ given NID with two other NIDs - one representing the underlying signature
algorithm and the other representing a digest algorithm to be used in
conjunction with it. I represents the NID for the composite "Signature
Algorithm", I is the NID for the digest algorithm and I is the
-NID for the underlying signature algorithm.
+NID for the underlying signature algorithm. As there are signature algorithms
+that do not require a digest, NID_undef is a valid I.
OBJ_cleanup() releases any resources allocated by creating new objects.
diff --git a/deps/openssl/openssl/doc/man3/OPENSSL_hexchar2int.pod b/deps/openssl/openssl/doc/man3/OPENSSL_hexchar2int.pod
index a112815127bd13..9ca57063f879b8 100644
--- a/deps/openssl/openssl/doc/man3/OPENSSL_hexchar2int.pod
+++ b/deps/openssl/openssl/doc/man3/OPENSSL_hexchar2int.pod
@@ -15,8 +15,9 @@ OPENSSL_buf2hexstr_ex, OPENSSL_buf2hexstr
int OPENSSL_hexstr2buf_ex(unsigned char *buf, size_t buf_n, long *buflen,
const char *str, const char sep);
unsigned char *OPENSSL_hexstr2buf(const char *str, long *len);
- int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlen,
- const unsigned char *buf, long buflen, const char sep);
+ int OPENSSL_buf2hexstr_ex(char *str, size_t str_n, size_t *strlength,
+ const unsigned char *buf, long buflen,
+ const char sep);
char *OPENSSL_buf2hexstr(const unsigned char *buf, long buflen);
=head1 DESCRIPTION
@@ -47,7 +48,7 @@ in the given I.
The character I is the separator between the bytes, setting this to '\0'
means that there is no separator.
I gives the size of the of the string buffer.
-If I is not NULL, it is filled in with the result length.
+If I is not NULL, it is filled in with the result length.
To find out how large the result will be, call this function with NULL
for I.
@@ -70,7 +71,7 @@ success, or 0 on error.
=head1 COPYRIGHT
-Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/OSSL_CMP_CTX_new.pod b/deps/openssl/openssl/doc/man3/OSSL_CMP_CTX_new.pod
index 51ac68d1a7bd8c..33c73170a072b5 100644
--- a/deps/openssl/openssl/doc/man3/OSSL_CMP_CTX_new.pod
+++ b/deps/openssl/openssl/doc/man3/OSSL_CMP_CTX_new.pod
@@ -538,7 +538,7 @@ OSSL_CMP_CTX_push1_subjectAltName() adds the given X509 name to the list of
alternate names on the certificate template request. This cannot be used if
any Subject Alternative Name extension is set via
OSSL_CMP_CTX_set0_reqExtensions().
-By default, unless OSSL_CMP_OPT_SUBJECTALTNAME_NODEFAULT has been set,
+By default, unless B has been set,
the Subject Alternative Names are copied from the reference certificate,
see OSSL_CMP_CTX_set1_oldCert().
If set and the subject DN is not set with OSSL_CMP_CTX_set1_subjectName() then
@@ -559,14 +559,16 @@ to the X509_EXTENSIONS of the requested certificate template.
OSSL_CMP_CTX_set1_oldCert() sets the old certificate to be updated in
Key Update Requests (KUR) or to be revoked in Revocation Requests (RR).
It must be given for RR, else it defaults to the CMP signer certificate.
-The reference certificate determined in this way, if any, is also used for
-deriving default subject DN and Subject Alternative Names and the
+The I determined in this way, if any, is also used for
+deriving default subject DN, public key, Subject Alternative Names, and the
default issuer entry in the requested certificate template of IR/CR/KUR.
The subject of the reference certificate is used as the sender field value
in CMP message headers.
Its issuer is used as default recipient in CMP message headers.
-OSSL_CMP_CTX_set1_p10CSR() sets the PKCS#10 CSR to be used in P10CR.
+OSSL_CMP_CTX_set1_p10CSR() sets the PKCS#10 CSR to use in P10CR messages.
+If such a CSR is provided, its subject, public key, and extension fields are
+also used as fallback values for the certificate template of IR/CR/KUR messages.
OSSL_CMP_CTX_push0_genm_ITAV() adds I to the stack in the I which
will be the body of a General Message sent with this context.
@@ -756,7 +758,7 @@ The OpenSSL CMP support was added in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/OSSL_CMP_MSG_get0_header.pod b/deps/openssl/openssl/doc/man3/OSSL_CMP_MSG_get0_header.pod
index 741349cd6e3f54..cc211a3945fc56 100644
--- a/deps/openssl/openssl/doc/man3/OSSL_CMP_MSG_get0_header.pod
+++ b/deps/openssl/openssl/doc/man3/OSSL_CMP_MSG_get0_header.pod
@@ -36,12 +36,40 @@ in the header of the given message according to the CMP_CTX.
This requires re-protecting the message (if it was protected).
OSSL_CMP_CTX_setup_CRM() creates a CRMF certificate request message
+from various information provided in the CMP context argument I
for inclusion in a CMP request message based on details contained in I.
-If the CMP context does not include a subject name set via
-L but includes a reference certificate
-then it copies the subject DN from there
-if I is set or the I does not include a subjectAltName.
-The I defines the request identifier to use, which typically is 0.
+The I argument defines the request identifier to use, which typically is 0.
+
+The subject DN to include in the certificate template is determined as follows.
+If I includes a subject name set via L,
+this name is used.
+Otherwise, if a PKCS#10 CSR is given in I, its subject is used.
+Otherwise, if a reference certificate is given in I
+(see L), its subject is used if I
+is nonzero or the I does not include a Subject Alternative Name.
+
+The public key to include is taken from any value set via
+L,
+otherwise the public key of any PKCS#10 CSR is given in I,
+otherwise the public key of any reference certificate given in I,
+otherwise it is derived from the client private key if given in I.
+
+The set of X.509 extensions to include is computed as follows.
+If a PKCS#10 CSR is present in I, default extensions are taken from there,
+otherwise the empty set is taken as the initial value.
+If there is a reference certificate in I and contains Subject Alternative
+Names (SANs) and B is not set,
+these override any SANs from the PKCS#10 CSR.
+The extensions are further augmented or overridden by any extensions with the
+same OIDs included in the I via L.
+The SANs are further overridden by any SANs included in I via
+L.
+Finally, policies are overridden by any policies included in I via
+L.
+
+OSSL_CMP_CTX_setup_CRM() also sets the sets the regToken control B
+for KUR messages using the issuer name and serial number of the reference
+certificate, if present.
OSSL_CMP_MSG_read() loads a DER-encoded OSSL_CMP_MSG from I.
@@ -83,7 +111,7 @@ The OpenSSL CMP support was added in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/OSSL_CRMF_MSG_set1_regCtrl_regToken.pod b/deps/openssl/openssl/doc/man3/OSSL_CRMF_MSG_set1_regCtrl_regToken.pod
index 96281b67a88dcf..2a0fa04e473e05 100644
--- a/deps/openssl/openssl/doc/man3/OSSL_CRMF_MSG_set1_regCtrl_regToken.pod
+++ b/deps/openssl/openssl/doc/man3/OSSL_CRMF_MSG_set1_regCtrl_regToken.pod
@@ -89,8 +89,8 @@ section 6.3.
OSSL_CRMF_MSG_set1_regCtrl_protocolEncrKey() sets the protocolEncrKey control in
the given I copying the given I as value. See RFC 4211 section 6.6.
-OSSL_CRMF_MSG_set1_regCtrl_oldCertID() sets the oldCertID control in the given
-I copying the given I as value. See RFC 4211, section 6.5.
+OSSL_CRMF_MSG_set1_regCtrl_oldCertID() sets the B regToken control in
+the given I copying the given I as value. See RFC 4211, section 6.5.
OSSL_CRMF_CERTID_gen produces an OSSL_CRMF_CERTID_gen structure copying the
given I name and I number.
@@ -121,7 +121,7 @@ The OpenSSL CRMF support was added in OpenSSL 3.0.
=head1 COPYRIGHT
-Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2007-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/OSSL_HTTP_transfer.pod b/deps/openssl/openssl/doc/man3/OSSL_HTTP_transfer.pod
index 7fcd71dbe03b56..7e823db3eab525 100644
--- a/deps/openssl/openssl/doc/man3/OSSL_HTTP_transfer.pod
+++ b/deps/openssl/openssl/doc/man3/OSSL_HTTP_transfer.pod
@@ -113,17 +113,25 @@ or NULL to indicate failure, in which case it should not modify the BIO.
Here is a simple example that supports TLS connections (but not via a proxy):
- BIO *http_tls_cb(BIO *hbio, void *arg, int connect, int detail)
+ BIO *http_tls_cb(BIO *bio, void *arg, int connect, int detail)
{
if (connect && detail) { /* connecting with TLS */
SSL_CTX *ctx = (SSL_CTX *)arg;
BIO *sbio = BIO_new_ssl(ctx, 1);
- hbio = sbio != NULL ? BIO_push(sbio, hbio) : NULL;
- } else if (!connect && !detail) { /* disconnecting after error */
- /* optionally add diagnostics here */
+ bio = sbio != NULL ? BIO_push(sbio, bio) : NULL;
+ } else if (!connect) { /* disconnecting */
+ BIO *hbio;
+
+ if (!detail) { /* an error has occurred */
+ /* optionally add diagnostics here */
+ }
+ BIO_ssl_shutdown(bio);
+ hbio = BIO_pop(bio);
+ BIO_free(bio); /* SSL BIO */
+ bio = hbio;
}
- return hbio;
+ return bio;
}
After disconnect the modified BIO will be deallocated using BIO_free_all().
diff --git a/deps/openssl/openssl/doc/man3/OpenSSL_version.pod b/deps/openssl/openssl/doc/man3/OpenSSL_version.pod
index 2bcc17a46293e4..946bb151bafeb1 100644
--- a/deps/openssl/openssl/doc/man3/OpenSSL_version.pod
+++ b/deps/openssl/openssl/doc/man3/OpenSSL_version.pod
@@ -38,8 +38,6 @@ OpenSSL_version_num, OPENSSL_info
const char *OPENSSL_info(int t);
-Deprecated:
-
/* from openssl/opensslv.h */
#define OPENSSL_VERSION_NUMBER 0xnnnnnnnnL
@@ -81,6 +79,25 @@ version for the headers in use is at least at the given pre-requisite major
header version number (B.B) is
greater than or equal to B.B.
+B is a combination of the major, minor and
+patch version into a single integer 0xMNN00PP0L, where:
+
+=over 4
+
+=item M
+
+is the number from B, in hexadecimal notation
+
+=item NN
+
+is the number from B, in hexadecimal notation
+
+=item PP
+
+is the number from B, in hexadecimal notation
+
+=back
+
=head2 Functions
OPENSSL_version_major(), OPENSSL_version_minor(), OPENSSL_version_patch(),
@@ -206,35 +223,6 @@ QUIC enabled.
For an unknown I, NULL is returned.
-=head1 BACKWARD COMPATIBILITY
-
-For compatibility, some older macros and functions are retained or
-synthesised.
-They are all considered deprecated.
-
-=head2 Macros
-
-B is a combination of the major, minor and
-patch version into a single integer 0xMNN00PP0L, where:
-
-=over 4
-
-=item M
-
-is the number from B, in hexadecimal notation
-
-=item NN
-
-is the number from B, in hexadecimal notation
-
-=item PP
-
-is the number from B, in hexadecimal notation
-
-=back
-
-=head2 Functions
-
OpenSSL_version_num() returns the value of B.
=head1 RETURN VALUES
@@ -256,11 +244,11 @@ L
=head1 HISTORY
The macros and functions described here were added in OpenSSL 3.0,
-with the exception of the L ones.
+except for OPENSSL_VERSION_NUMBER and OpenSSL_version_num().
=head1 COPYRIGHT
-Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2018-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/PEM_read_bio_PrivateKey.pod b/deps/openssl/openssl/doc/man3/PEM_read_bio_PrivateKey.pod
index a71907b1701694..d4878f67df47ce 100644
--- a/deps/openssl/openssl/doc/man3/PEM_read_bio_PrivateKey.pod
+++ b/deps/openssl/openssl/doc/man3/PEM_read_bio_PrivateKey.pod
@@ -335,7 +335,7 @@ I bytes at I are used as the passphrase and I is
ignored.
If the I parameters is set to NULL and the I parameter is not
-NULL then the I parameter is interpreted as a null terminated string
+NULL then the I parameter is interpreted as a NUL terminated string
to use as the passphrase. If both I and I are NULL then the
default callback routine is used which will typically prompt for the
passphrase on the current terminal with echoing turned off.
@@ -355,7 +355,8 @@ value as the I parameter passed to the PEM routine. It allows
arbitrary data to be passed to the callback by the application
(for example a window handle in a GUI application). The callback
I return the number of characters in the passphrase or -1 if
-an error occurred.
+an error occurred. The passphrase can be arbitrary data; in the case where it
+is a string, it is not NUL terminated. See the L section below.
Some implementations may need to use cryptographic algorithms during their
operation. If this is the case and I and I parameters have been
@@ -573,7 +574,7 @@ PEM_write_bio_DHparams() and PEM_write_DHparams() were deprecated in 3.0.
=head1 COPYRIGHT
-Copyright 2001-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2001-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/SSL_CONF_cmd.pod b/deps/openssl/openssl/doc/man3/SSL_CONF_cmd.pod
index 7971d6e0b5e798..9c703e0de1d4b4 100644
--- a/deps/openssl/openssl/doc/man3/SSL_CONF_cmd.pod
+++ b/deps/openssl/openssl/doc/man3/SSL_CONF_cmd.pod
@@ -460,7 +460,7 @@ B: session ticket support, enabled by default. Inverse of
B: that is B<-SessionTicket> is the same as setting
B.
-B: SSL/TLS compression support, enabled by default. Inverse
+B: SSL/TLS compression support, disabled by default. Inverse
of B.
B: use empty fragments as a countermeasure against a
@@ -496,7 +496,6 @@ Equivalent to B.
B: permits the use of unsafe legacy renegotiation
for OpenSSL clients only. Equivalent to B.
-Set by default.
B: use encrypt-then-mac extension, enabled by
default. Inverse of B: that is,
@@ -731,9 +730,12 @@ B and B where added in OpenSSL 1.1.0.
B and B were added in OpenSSL 1.1.1.
+The B option is no longer set by default from
+OpenSSL 3.0.
+
=head1 COPYRIGHT
-Copyright 2012-2021 The OpenSSL Project Authors. All Rights Reserved.
+Copyright 2012-2022 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use
this file except in compliance with the License. You can obtain a copy
diff --git a/deps/openssl/openssl/doc/man3/SSL_CTX_set_cert_verify_callback.pod b/deps/openssl/openssl/doc/man3/SSL_CTX_set_cert_verify_callback.pod
index fdeeaee6d75589..be59a548cbd9ea 100644
--- a/deps/openssl/openssl/doc/man3/SSL_CTX_set_cert_verify_callback.pod
+++ b/deps/openssl/openssl/doc/man3/SSL_CTX_set_cert_verify_callback.pod
@@ -36,16 +36,18 @@ In server mode, a return value of 0 leads to handshake failure.
In client mode, the behaviour is as follows.
All values, including 0, are ignored
if the verification mode is B.
-Otherwise, when the return value is 0, the handshake will fail.
-
-In client mode I may also return -1,
-typically on failure verifying the server certificate.
-This makes the handshake suspend and return control to the calling application
-with B.
-The app can for instance fetch further certificates or cert status information
-needed for the verification.
-Calling L again resumes the connection attempt
-by retrying the server certificate verification step.
+Otherwise, when the return value is less than or equal to 0, the handshake will
+fail.
+
+In client mode I may also call the L
+function on the B |