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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2eec8ceaa21cb7..8382e5a57de628 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -203,7 +203,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -255,11 +255,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "BSD-x86",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -781,6 +781,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -849,6 +852,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1647,6 +1653,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2400,6 +2409,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2697,6 +2709,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3762,6 +3777,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3795,6 +3813,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4779,6 +4803,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5076,6 +5103,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6141,6 +6171,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6174,6 +6207,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7171,6 +7210,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7693,6 +7736,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9779,6 +9824,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9786,6 +9832,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11405,6 +11454,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11702,6 +11754,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12767,6 +12822,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12800,6 +12858,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13784,6 +13848,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14081,6 +14148,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15146,6 +15216,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15179,6 +15252,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16287,6 +16366,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16452,6 +16534,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16551,6 +16634,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16906,6 +16990,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16917,6 +17002,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18214,6 +18301,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18683,7 +18774,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18940,6 +19033,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19429,6 +19526,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19528,6 +19626,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19883,6 +19982,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19894,6 +19994,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20077,6 +20179,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20102,6 +20205,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24501,6 +24605,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25791,6 +25898,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26574,6 +26687,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26864,6 +26978,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 b5d8c7c8adce23..5ae248b0fcbf8e 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: Thu Oct 26 14:48:37 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:57:29 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 b9fef9eebf98a6..ef047655a33035 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -203,7 +203,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -255,11 +255,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "BSD-x86",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -781,6 +781,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -849,6 +852,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1647,6 +1653,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2400,6 +2409,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2697,6 +2709,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3762,6 +3777,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3795,6 +3813,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4779,6 +4803,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5076,6 +5103,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6141,6 +6171,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6174,6 +6207,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7171,6 +7210,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7693,6 +7736,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9779,6 +9824,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9786,6 +9832,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11405,6 +11454,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11702,6 +11754,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12767,6 +12822,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12800,6 +12858,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13784,6 +13848,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14081,6 +14148,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15146,6 +15216,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15179,6 +15252,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16287,6 +16366,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16452,6 +16534,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16551,6 +16634,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16906,6 +16990,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16917,6 +17002,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18214,6 +18301,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18683,7 +18774,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18940,6 +19033,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19429,6 +19526,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19528,6 +19626,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19883,6 +19982,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19894,6 +19994,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20077,6 +20179,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20102,6 +20205,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24501,6 +24605,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25791,6 +25898,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26574,6 +26687,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26864,6 +26978,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 4b373bd0dc21f4..5beff8d651b48a 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: Thu Oct 26 14:48:56 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:57:42 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/BSD-x86/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 65137fe6dcc5b3..449b67e7317785 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -202,7 +202,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -255,11 +255,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "BSD-x86",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -782,6 +782,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -850,6 +853,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1589,6 +1595,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2342,6 +2351,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2639,6 +2651,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3704,6 +3719,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3737,6 +3755,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4721,6 +4745,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5018,6 +5045,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6083,6 +6113,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6116,6 +6149,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7113,6 +7152,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7635,6 +7678,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9699,6 +9744,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9706,6 +9752,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11325,6 +11374,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11622,6 +11674,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12687,6 +12742,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12720,6 +12778,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13704,6 +13768,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14001,6 +14068,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15066,6 +15136,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15099,6 +15172,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16207,6 +16286,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16372,6 +16454,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16471,6 +16554,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16826,6 +16910,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16837,6 +16922,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18134,6 +18221,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18603,7 +18694,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18860,6 +18953,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19349,6 +19446,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19448,6 +19546,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19803,6 +19902,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19814,6 +19914,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19997,6 +20099,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20022,6 +20125,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24343,6 +24447,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25623,6 +25730,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26406,6 +26519,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26696,6 +26810,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 edf452c92abb33..628312a9c73101 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: Thu Oct 26 14:49:16 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:57:55 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/BSD-x86/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 82a08c7ee72579..c98dd836086a9a 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -203,7 +203,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -255,11 +255,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "BSD-x86_64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -782,6 +782,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -850,6 +853,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1653,6 +1659,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2406,6 +2415,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2703,6 +2715,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3768,6 +3783,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3801,6 +3819,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4785,6 +4809,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5082,6 +5109,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6147,6 +6177,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6180,6 +6213,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7177,6 +7216,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7699,6 +7742,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9821,6 +9866,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9828,6 +9874,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11447,6 +11496,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11744,6 +11796,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12809,6 +12864,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12842,6 +12900,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13826,6 +13890,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14123,6 +14190,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15188,6 +15258,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15221,6 +15294,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16329,6 +16408,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16494,6 +16576,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16593,6 +16676,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16948,6 +17032,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16959,6 +17044,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18256,6 +18343,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18725,7 +18816,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18982,6 +19075,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19471,6 +19568,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19570,6 +19668,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19925,6 +20024,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19936,6 +20036,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20119,6 +20221,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20144,6 +20247,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24634,6 +24738,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25937,6 +26044,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26720,6 +26833,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27010,6 +27124,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 9b2212f3ae4bd1..ae35447b7d8921 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: Thu Oct 26 14:49:35 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:58:07 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/BSD-x86_64/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 397887f1e385f7..62e705ce7d8fbf 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -203,7 +203,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -255,11 +255,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "BSD-x86_64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -782,6 +782,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -850,6 +853,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1653,6 +1659,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2406,6 +2415,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2703,6 +2715,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3768,6 +3783,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3801,6 +3819,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4785,6 +4809,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5082,6 +5109,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6147,6 +6177,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6180,6 +6213,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7177,6 +7216,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7699,6 +7742,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9821,6 +9866,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9828,6 +9874,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11447,6 +11496,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11744,6 +11796,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12809,6 +12864,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12842,6 +12900,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13826,6 +13890,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14123,6 +14190,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15188,6 +15258,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15221,6 +15294,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16329,6 +16408,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16494,6 +16576,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16593,6 +16676,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16948,6 +17032,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16959,6 +17044,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18256,6 +18343,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18725,7 +18816,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18982,6 +19075,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19471,6 +19568,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19570,6 +19668,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19925,6 +20024,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19936,6 +20036,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20119,6 +20221,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20144,6 +20247,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24634,6 +24738,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25937,6 +26044,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26720,6 +26833,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27010,6 +27124,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 1148cc2a577c0c..bb3c014867e772 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: Thu Oct 26 14:49:58 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:58:22 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/BSD-x86_64/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 3a36a6286ecc1e..419db86f724155 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -202,7 +202,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -255,11 +255,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "BSD-x86_64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1590,6 +1596,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2343,6 +2352,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2640,6 +2652,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3705,6 +3720,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3738,6 +3756,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4722,6 +4746,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5019,6 +5046,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6084,6 +6114,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6117,6 +6150,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7114,6 +7153,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7636,6 +7679,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9700,6 +9745,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9707,6 +9753,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11326,6 +11375,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11623,6 +11675,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12688,6 +12743,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12721,6 +12779,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13705,6 +13769,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14002,6 +14069,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15067,6 +15137,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15100,6 +15173,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16208,6 +16287,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16373,6 +16455,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16472,6 +16555,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16827,6 +16911,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16838,6 +16923,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18135,6 +18222,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18604,7 +18695,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18861,6 +18954,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19350,6 +19447,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19449,6 +19547,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19804,6 +19903,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19815,6 +19915,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19998,6 +20100,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20023,6 +20126,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24344,6 +24448,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25624,6 +25731,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26407,6 +26520,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26697,6 +26811,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 d9add13d2a3d32..201f0f7d4ec27d 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: Thu Oct 26 14:50:22 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:58:38 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/BSD-x86_64/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 8bf601f3902773..f724da47527e6a 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -216,7 +216,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -268,11 +268,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN32",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -287,7 +287,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x558d4506ace0)",
+    "RANLIB" => "CODE(0x5644d3bdea88)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -832,6 +832,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -900,6 +903,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1695,6 +1701,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2448,6 +2457,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2745,6 +2757,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3810,6 +3825,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3843,6 +3861,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4827,6 +4851,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5124,6 +5151,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6189,6 +6219,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6222,6 +6255,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7225,6 +7264,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7747,6 +7790,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9834,6 +9879,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9841,6 +9887,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11463,6 +11512,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11760,6 +11812,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12825,6 +12880,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12858,6 +12916,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13842,6 +13906,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14139,6 +14206,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15204,6 +15274,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15237,6 +15310,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16361,6 +16440,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16526,6 +16608,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16625,6 +16708,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16980,6 +17064,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16991,6 +17076,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18294,6 +18381,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18763,7 +18854,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -19020,6 +19113,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19509,6 +19606,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19608,6 +19706,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19963,6 +20062,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19974,6 +20074,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20157,6 +20259,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20182,6 +20285,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24587,6 +24691,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -25885,6 +25992,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26668,6 +26781,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26959,6 +27073,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 8a88b5d57d37eb..bdcc1602d19976 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: Thu Oct 26 15:04:24 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:07:51 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 b0c0b52ee69d56..9585418f7e5ff2 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -216,7 +216,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -268,11 +268,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN32",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -287,7 +287,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x55f14f6dce20)",
+    "RANLIB" => "CODE(0x564719267e28)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -832,6 +832,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -900,6 +903,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1695,6 +1701,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2448,6 +2457,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2745,6 +2757,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3810,6 +3825,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3843,6 +3861,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4827,6 +4851,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5124,6 +5151,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6189,6 +6219,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6222,6 +6255,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7225,6 +7264,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7747,6 +7790,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9834,6 +9879,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9841,6 +9887,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11463,6 +11512,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11760,6 +11812,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12825,6 +12880,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12858,6 +12916,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13842,6 +13906,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14139,6 +14206,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15204,6 +15274,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15237,6 +15310,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16361,6 +16440,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16526,6 +16608,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16625,6 +16708,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16980,6 +17064,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16991,6 +17076,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18294,6 +18381,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18763,7 +18854,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -19020,6 +19113,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19509,6 +19606,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19608,6 +19706,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19963,6 +20062,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19974,6 +20074,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20157,6 +20259,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20182,6 +20285,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24587,6 +24691,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -25885,6 +25992,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26668,6 +26781,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26959,6 +27073,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 82019d38ddffd7..71f6defc14b660 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: Thu Oct 26 15:04:43 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:08:03 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/VC-WIN32/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 40491bd28bd763..e5fcaa06b5bfbb 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -215,7 +215,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -268,11 +268,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN32",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -287,7 +287,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x55dfb3e6a5e8)",
+    "RANLIB" => "CODE(0x5571e27ca240)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -833,6 +833,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -901,6 +904,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1637,6 +1643,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2390,6 +2399,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2687,6 +2699,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3752,6 +3767,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3785,6 +3803,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4769,6 +4793,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5066,6 +5093,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6131,6 +6161,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6164,6 +6197,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7167,6 +7206,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7689,6 +7732,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9754,6 +9799,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9761,6 +9807,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11383,6 +11432,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11680,6 +11732,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12745,6 +12800,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12778,6 +12836,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13762,6 +13826,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14059,6 +14126,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15124,6 +15194,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15157,6 +15230,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16281,6 +16360,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16446,6 +16528,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16545,6 +16628,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16900,6 +16984,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16911,6 +16996,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18214,6 +18301,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18683,7 +18774,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18940,6 +19033,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19429,6 +19526,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19528,6 +19626,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19883,6 +19982,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19894,6 +19994,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20077,6 +20179,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20102,6 +20205,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24429,6 +24533,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -25717,6 +25824,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26500,6 +26613,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26791,6 +26905,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 3894b1e4a023f9..6a3750ca20c513 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: Thu Oct 26 15:05:01 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:08:15 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/VC-WIN32/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 e450e0c1904e51..f0d251945602cc 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -213,7 +213,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -266,11 +266,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN64-ARM",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -283,7 +283,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x55619ad3d968)",
+    "RANLIB" => "CODE(0x55d9bc8048e0)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -825,6 +825,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -893,6 +896,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1629,6 +1635,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2382,6 +2391,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2679,6 +2691,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3744,6 +3759,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3777,6 +3795,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4761,6 +4785,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5058,6 +5085,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6123,6 +6153,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6156,6 +6189,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7159,6 +7198,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7681,6 +7724,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9746,6 +9791,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9753,6 +9799,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11375,6 +11424,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11672,6 +11724,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12737,6 +12792,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12770,6 +12828,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13754,6 +13818,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14051,6 +14118,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15116,6 +15186,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15149,6 +15222,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16273,6 +16352,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16438,6 +16520,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16537,6 +16620,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16892,6 +16976,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16903,6 +16988,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18206,6 +18293,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18675,7 +18766,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18932,6 +19025,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19421,6 +19518,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19520,6 +19618,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19875,6 +19974,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19886,6 +19986,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20069,6 +20171,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20094,6 +20197,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24421,6 +24525,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -25709,6 +25816,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26492,6 +26605,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26783,6 +26897,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 2611edb7bd6bf2..9787debf662e37 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: Thu Oct 26 15:05:18 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:08:26 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/VC-WIN64-ARM/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 ca90ef75c27121..13e18c89b0aa59 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -219,7 +219,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -271,11 +271,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN64A",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -290,7 +290,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x559ccffc4580)",
+    "RANLIB" => "CODE(0x562d3fd74038)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -836,6 +836,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -904,6 +907,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1704,6 +1710,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2457,6 +2466,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2754,6 +2766,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3819,6 +3834,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3852,6 +3870,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4836,6 +4860,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5133,6 +5160,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6198,6 +6228,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6231,6 +6264,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7234,6 +7273,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7756,6 +7799,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9869,6 +9914,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9876,6 +9922,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11498,6 +11547,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11795,6 +11847,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12860,6 +12915,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12893,6 +12951,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13877,6 +13941,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14174,6 +14241,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15239,6 +15309,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15272,6 +15345,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16396,6 +16475,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16561,6 +16643,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16660,6 +16743,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -17015,6 +17099,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -17026,6 +17111,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18329,6 +18416,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18798,7 +18889,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -19055,6 +19148,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19544,6 +19641,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19643,6 +19741,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19998,6 +20097,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -20009,6 +20109,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20192,6 +20294,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20217,6 +20320,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24713,6 +24817,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -26024,6 +26131,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26807,6 +26920,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27098,6 +27212,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 8daa2d52f03a84..98286464f80cf9 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: Thu Oct 26 15:03:22 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:07:09 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 243ea4184ec432..9841596b5aba4c 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -219,7 +219,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -271,11 +271,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN64A",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -290,7 +290,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x55a9fd66b620)",
+    "RANLIB" => "CODE(0x5579ca7a23f8)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -836,6 +836,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -904,6 +907,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1704,6 +1710,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2457,6 +2466,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2754,6 +2766,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3819,6 +3834,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3852,6 +3870,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4836,6 +4860,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5133,6 +5160,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6198,6 +6228,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6231,6 +6264,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7234,6 +7273,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7756,6 +7799,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9869,6 +9914,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9876,6 +9922,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11498,6 +11547,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11795,6 +11847,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12860,6 +12915,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12893,6 +12951,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13877,6 +13941,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14174,6 +14241,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15239,6 +15309,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15272,6 +15345,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16396,6 +16475,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16561,6 +16643,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16660,6 +16743,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -17015,6 +17099,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -17026,6 +17111,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18329,6 +18416,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18798,7 +18889,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -19055,6 +19148,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19544,6 +19641,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19643,6 +19741,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19998,6 +20097,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -20009,6 +20109,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20192,6 +20294,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20217,6 +20320,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24713,6 +24817,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -26024,6 +26131,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26807,6 +26920,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27098,6 +27212,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 ebb9fb26fed3ea..19f5adb778b915 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: Thu Oct 26 15:03:45 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:07:24 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/VC-WIN64A/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 8216effe724d74..9e8a1ec6db6169 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -218,7 +218,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -271,11 +271,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "VC-WIN64A",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "lib",
@@ -290,7 +290,7 @@ our %target = (
     "LDFLAGS" => "/nologo /debug",
     "MT" => "mt",
     "MTFLAGS" => "-nologo",
-    "RANLIB" => "CODE(0x555a33e1b438)",
+    "RANLIB" => "CODE(0x55ba24087cd0)",
     "RC" => "rc",
     "_conf_fname_int" => [
         "Configurations/00-base-templates.conf",
@@ -837,6 +837,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -905,6 +908,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1641,6 +1647,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2394,6 +2403,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2691,6 +2703,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3756,6 +3771,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3789,6 +3807,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4773,6 +4797,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5070,6 +5097,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6135,6 +6165,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6168,6 +6201,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7171,6 +7210,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7693,6 +7736,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9758,6 +9803,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9765,6 +9811,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11387,6 +11436,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11684,6 +11736,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12749,6 +12804,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12782,6 +12840,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13766,6 +13830,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14063,6 +14130,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15128,6 +15198,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15161,6 +15234,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16285,6 +16364,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16450,6 +16532,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16549,6 +16632,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16904,6 +16988,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16915,6 +17000,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18218,6 +18305,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18687,7 +18778,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18944,6 +19037,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19433,6 +19530,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19532,6 +19630,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19887,6 +19986,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19898,6 +19998,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20081,6 +20183,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20106,6 +20209,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24433,6 +24537,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips-dso-fips.res",
             "providers/fips.ld",
@@ -25721,6 +25828,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26504,6 +26617,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26795,6 +26909,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 369ab9a8a4cd45..98267ccf4001f9 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: Thu Oct 26 15:04:07 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:07:39 2024 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 6ac2c78651481b..d094af47b73f1c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 a410f0eddf361c..61260779ae4363 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/VC-WIN64A/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 510129745cd0c6..b857105391594a 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "aix64-gcc-as",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar -X64",
@@ -785,6 +785,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -853,6 +856,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1630,6 +1636,9 @@ our %unified_info = (
             "VPAES_ASM",
             "X25519_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2383,6 +2392,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2680,6 +2692,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3745,6 +3760,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3778,6 +3796,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4762,6 +4786,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5059,6 +5086,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6124,6 +6154,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6157,6 +6190,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7154,6 +7193,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7676,6 +7719,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9777,6 +9822,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9784,6 +9830,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11403,6 +11452,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11700,6 +11752,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12765,6 +12820,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12798,6 +12856,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13782,6 +13846,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14079,6 +14146,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15144,6 +15214,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15177,6 +15250,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16285,6 +16364,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16450,6 +16532,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16549,6 +16632,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16904,6 +16988,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16915,6 +17000,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18212,6 +18299,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18681,7 +18772,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18938,6 +19031,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19427,6 +19524,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19526,6 +19624,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19881,6 +19980,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19892,6 +19992,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20075,6 +20177,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20100,6 +20203,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24552,6 +24656,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25849,6 +25956,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26632,6 +26745,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26922,6 +27036,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 7d0c5f9befa8ba..e6d5e6f9a047a3 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: Thu Oct 26 14:47:40 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:56:52 2024 UTC"
 
 /*
  * Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/poly1305/poly1305-ppc.s b/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/poly1305/poly1305-ppc.s
index b78c1c0c7f79e4..d4e29d925bb524 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/poly1305/poly1305-ppc.s
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm/crypto/poly1305/poly1305-ppc.s
@@ -366,7 +366,7 @@ __poly1305_splat:
 
 .align	5
 __poly1305_blocks_vsx:
-	stdu	1,-432(1)
+	stdu	1,-416(1)
 	mflr	0
 	li	10,191
 	li	11,207
@@ -377,12 +377,12 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	22,10,1
 	addi	10,10,32
-	stvx	23,10,1
-	addi	10,10,32
-	stvx	24,11,1
+	stvx	23,11,1
 	addi	11,11,32
-	stvx	25,10,1
+	stvx	24,10,1
 	addi	10,10,32
+	stvx	25,11,1
+	addi	11,11,32
 	stvx	26,10,1
 	addi	10,10,32
 	stvx	27,11,1
@@ -393,15 +393,15 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	30,10,1
 	stvx	31,11,1
-	stw	12,388(1)
+	stw	12,372(1)
 	li	12,-1
 	or	12,12,12
-	std	27,392(1)
-	std	28,400(1)
-	std	29,408(1)
-	std	30,416(1)
-	std	31,424(1)
-	std	0,448(1)
+	std	27,376(1)
+	std	28,384(1)
+	std	29,392(1)
+	std	30,400(1)
+	std	31,408(1)
+	std	0,432(1)
 
 	bl	LPICmeup
 
@@ -1036,7 +1036,7 @@ Last_vsx:
 
 .align	4
 Ldone_vsx:
-	ld	0,448(1)
+	ld	0,432(1)
 	li	27,4
 	li	28,8
 	li	29,12
@@ -1047,39 +1047,39 @@ Ldone_vsx:
 	.long	0x7C7D1919
 	.long	0x7C9E1919
 
-	lwz	12,388(1)
+	lwz	12,372(1)
 	mtlr	0
 	li	10,191
 	li	11,207
 	or	12,12,12
 	lvx	20,10,1
 	addi	10,10,32
-	lvx	21,10,1
-	addi	10,10,32
-	lvx	22,11,1
+	lvx	21,11,1
 	addi	11,11,32
-	lvx	23,10,1
+	lvx	22,10,1
 	addi	10,10,32
-	lvx	24,11,1
+	lvx	23,11,1
 	addi	11,11,32
-	lvx	25,10,1
+	lvx	24,10,1
 	addi	10,10,32
-	lvx	26,11,1
+	lvx	25,11,1
 	addi	11,11,32
-	lvx	27,10,1
+	lvx	26,10,1
 	addi	10,10,32
-	lvx	28,11,1
+	lvx	27,11,1
 	addi	11,11,32
-	lvx	29,10,1
+	lvx	28,10,1
 	addi	10,10,32
-	lvx	30,11,1
-	lvx	31,10,1
-	ld	27,392(1)
-	ld	28,400(1)
-	ld	29,408(1)
-	ld	30,416(1)
-	ld	31,424(1)
-	addi	1,1,432
+	lvx	29,11,1
+	addi	11,11,32
+	lvx	30,10,1
+	lvx	31,11,1
+	ld	27,376(1)
+	ld	28,384(1)
+	ld	29,392(1)
+	ld	30,400(1)
+	ld	31,408(1)
+	addi	1,1,416
 	blr	
 .long	0
 .byte	0,12,0x04,1,0x80,5,4,0
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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/aix64-gcc-as/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 65c498fd6d0e27..ff854e43c4d10d 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "aix64-gcc-as",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar -X64",
@@ -785,6 +785,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -853,6 +856,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1630,6 +1636,9 @@ our %unified_info = (
             "VPAES_ASM",
             "X25519_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2383,6 +2392,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2680,6 +2692,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3745,6 +3760,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3778,6 +3796,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4762,6 +4786,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5059,6 +5086,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6124,6 +6154,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6157,6 +6190,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7154,6 +7193,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7676,6 +7719,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9777,6 +9822,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9784,6 +9830,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11403,6 +11452,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11700,6 +11752,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12765,6 +12820,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12798,6 +12856,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13782,6 +13846,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14079,6 +14146,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15144,6 +15214,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15177,6 +15250,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16285,6 +16364,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16450,6 +16532,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16549,6 +16632,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16904,6 +16988,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16915,6 +17000,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18212,6 +18299,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18681,7 +18772,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18938,6 +19031,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19427,6 +19524,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19526,6 +19624,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19881,6 +19980,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19892,6 +19992,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20075,6 +20177,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20100,6 +20203,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24552,6 +24656,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25849,6 +25956,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26632,6 +26745,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26922,6 +27036,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 f2880ddb869f23..aa9a492f1854bd 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: Thu Oct 26 14:47:59 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:57:05 2024 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/crypto/poly1305/poly1305-ppc.s b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/poly1305/poly1305-ppc.s
index b78c1c0c7f79e4..d4e29d925bb524 100644
--- a/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/poly1305/poly1305-ppc.s
+++ b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/crypto/poly1305/poly1305-ppc.s
@@ -366,7 +366,7 @@ __poly1305_splat:
 
 .align	5
 __poly1305_blocks_vsx:
-	stdu	1,-432(1)
+	stdu	1,-416(1)
 	mflr	0
 	li	10,191
 	li	11,207
@@ -377,12 +377,12 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	22,10,1
 	addi	10,10,32
-	stvx	23,10,1
-	addi	10,10,32
-	stvx	24,11,1
+	stvx	23,11,1
 	addi	11,11,32
-	stvx	25,10,1
+	stvx	24,10,1
 	addi	10,10,32
+	stvx	25,11,1
+	addi	11,11,32
 	stvx	26,10,1
 	addi	10,10,32
 	stvx	27,11,1
@@ -393,15 +393,15 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	30,10,1
 	stvx	31,11,1
-	stw	12,388(1)
+	stw	12,372(1)
 	li	12,-1
 	or	12,12,12
-	std	27,392(1)
-	std	28,400(1)
-	std	29,408(1)
-	std	30,416(1)
-	std	31,424(1)
-	std	0,448(1)
+	std	27,376(1)
+	std	28,384(1)
+	std	29,392(1)
+	std	30,400(1)
+	std	31,408(1)
+	std	0,432(1)
 
 	bl	LPICmeup
 
@@ -1036,7 +1036,7 @@ Last_vsx:
 
 .align	4
 Ldone_vsx:
-	ld	0,448(1)
+	ld	0,432(1)
 	li	27,4
 	li	28,8
 	li	29,12
@@ -1047,39 +1047,39 @@ Ldone_vsx:
 	.long	0x7C7D1919
 	.long	0x7C9E1919
 
-	lwz	12,388(1)
+	lwz	12,372(1)
 	mtlr	0
 	li	10,191
 	li	11,207
 	or	12,12,12
 	lvx	20,10,1
 	addi	10,10,32
-	lvx	21,10,1
-	addi	10,10,32
-	lvx	22,11,1
+	lvx	21,11,1
 	addi	11,11,32
-	lvx	23,10,1
+	lvx	22,10,1
 	addi	10,10,32
-	lvx	24,11,1
+	lvx	23,11,1
 	addi	11,11,32
-	lvx	25,10,1
+	lvx	24,10,1
 	addi	10,10,32
-	lvx	26,11,1
+	lvx	25,11,1
 	addi	11,11,32
-	lvx	27,10,1
+	lvx	26,10,1
 	addi	10,10,32
-	lvx	28,11,1
+	lvx	27,11,1
 	addi	11,11,32
-	lvx	29,10,1
+	lvx	28,10,1
 	addi	10,10,32
-	lvx	30,11,1
-	lvx	31,10,1
-	ld	27,392(1)
-	ld	28,400(1)
-	ld	29,408(1)
-	ld	30,416(1)
-	ld	31,424(1)
-	addi	1,1,432
+	lvx	29,11,1
+	addi	11,11,32
+	lvx	30,10,1
+	lvx	31,11,1
+	ld	27,376(1)
+	ld	28,384(1)
+	ld	29,392(1)
+	ld	30,400(1)
+	ld	31,408(1)
+	addi	1,1,416
 	blr	
 .long	0
 .byte	0,12,0x04,1,0x80,5,4,0
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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/aix64-gcc-as/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 24ad5c6241368a..e0fe47f3f4c302 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -205,7 +205,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "aix64-gcc-as",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar -X64",
@@ -786,6 +786,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -854,6 +857,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1593,6 +1599,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2346,6 +2355,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2643,6 +2655,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3708,6 +3723,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3741,6 +3759,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4725,6 +4749,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5022,6 +5049,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6087,6 +6117,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6120,6 +6153,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7117,6 +7156,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7639,6 +7682,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9702,6 +9747,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9709,6 +9755,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11328,6 +11377,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11625,6 +11677,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12690,6 +12745,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12723,6 +12781,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13707,6 +13771,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14004,6 +14071,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15069,6 +15139,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15102,6 +15175,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16210,6 +16289,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16375,6 +16457,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16474,6 +16557,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16829,6 +16913,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16840,6 +16925,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18137,6 +18224,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18606,7 +18697,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18863,6 +18956,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19352,6 +19449,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19451,6 +19549,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19806,6 +19905,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19817,6 +19917,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20000,6 +20102,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20025,6 +20128,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24342,6 +24446,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25622,6 +25729,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26405,6 +26518,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26695,6 +26809,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 f7891d1f2dcf82..5a1f77c7b09564 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: Thu Oct 26 14:48:18 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:57:17 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/aix64-gcc-as/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 ee6540933123b5..609612b69b820d 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin-i386-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1649,6 +1655,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2402,6 +2411,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2699,6 +2711,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3764,6 +3779,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3797,6 +3815,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4781,6 +4805,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5078,6 +5105,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6143,6 +6173,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6176,6 +6209,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7165,6 +7204,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7687,6 +7730,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9772,6 +9817,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9779,6 +9825,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11397,6 +11446,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11694,6 +11746,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12759,6 +12814,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12792,6 +12850,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13776,6 +13840,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14073,6 +14140,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15138,6 +15208,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15171,6 +15244,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16427,6 +16506,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16526,6 +16606,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16881,6 +16962,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16892,6 +16974,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18181,6 +18265,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18650,7 +18738,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18907,6 +18997,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19396,6 +19490,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19495,6 +19590,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19850,6 +19946,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19861,6 +19958,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20044,6 +20143,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20069,6 +20169,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24464,6 +24565,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25752,6 +25856,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26535,6 +26645,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26825,6 +26936,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 10dc2211417972..491dfa9f4617a2 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: Thu Oct 26 14:51:44 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:59:31 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin-i386-cc/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 6b70420111afc6..d92a94efb6f152 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin-i386-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1649,6 +1655,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2402,6 +2411,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2699,6 +2711,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3764,6 +3779,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3797,6 +3815,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4781,6 +4805,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5078,6 +5105,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6143,6 +6173,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6176,6 +6209,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7165,6 +7204,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7687,6 +7730,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9772,6 +9817,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9779,6 +9825,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11397,6 +11446,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11694,6 +11746,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12759,6 +12814,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12792,6 +12850,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13776,6 +13840,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14073,6 +14140,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15138,6 +15208,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15171,6 +15244,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16427,6 +16506,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16526,6 +16606,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16881,6 +16962,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16892,6 +16974,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18181,6 +18265,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18650,7 +18738,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18907,6 +18997,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19396,6 +19490,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19495,6 +19590,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19850,6 +19946,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19861,6 +19958,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20044,6 +20143,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20069,6 +20169,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24464,6 +24565,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25752,6 +25856,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26535,6 +26645,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26825,6 +26936,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 f2e82653eee930..89c993059692a2 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: Thu Oct 26 14:52:03 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:59:44 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin-i386-cc/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 51670419239bfc..d5b971f9d20d1c 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -205,7 +205,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin-i386-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -784,6 +784,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -852,6 +855,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1591,6 +1597,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2344,6 +2353,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2641,6 +2653,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3706,6 +3721,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3739,6 +3757,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4723,6 +4747,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5020,6 +5047,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6085,6 +6115,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6118,6 +6151,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7107,6 +7146,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7629,6 +7672,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9692,6 +9737,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9699,6 +9745,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11317,6 +11366,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11614,6 +11666,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12679,6 +12734,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12712,6 +12770,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13696,6 +13760,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -13993,6 +14060,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15058,6 +15128,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15091,6 +15164,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16347,6 +16426,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16446,6 +16526,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16801,6 +16882,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16812,6 +16894,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18101,6 +18185,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18570,7 +18658,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18827,6 +18917,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19316,6 +19410,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19415,6 +19510,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19770,6 +19866,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19781,6 +19878,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19964,6 +20063,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -19989,6 +20089,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24306,6 +24407,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25584,6 +25688,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26367,6 +26477,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26657,6 +26768,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 f9b9c4c980b695..2d13043ced2571 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: Thu Oct 26 14:52:23 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:59:57 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin-i386-cc/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 532f2649c95127..5085e5ad401684 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin64-arm64-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1622,6 +1628,9 @@ our %unified_info = (
             "SHA512_ASM",
             "VPAES_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2375,6 +2384,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2672,6 +2684,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3737,6 +3752,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3770,6 +3788,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4754,6 +4778,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5051,6 +5078,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6116,6 +6146,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6149,6 +6182,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7138,6 +7177,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7660,6 +7703,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9746,6 +9791,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9753,6 +9799,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11371,6 +11420,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11668,6 +11720,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12733,6 +12788,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12766,6 +12824,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13750,6 +13814,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14047,6 +14114,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15112,6 +15182,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15145,6 +15218,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16401,6 +16480,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16500,6 +16580,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16855,6 +16936,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16866,6 +16948,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18215,6 +18299,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18684,7 +18772,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18941,6 +19031,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19430,6 +19524,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19529,6 +19624,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19884,6 +19980,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19895,6 +19992,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20078,6 +20177,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20103,6 +20203,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24501,6 +24602,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25790,6 +25894,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26573,6 +26683,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26863,6 +26974,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 25b8011da926c1..8b0c9897062718 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: Thu Oct 26 14:52:40 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:00:08 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 ce36db2197645b..bdb02ff56b6413 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin64-arm64-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1622,6 +1628,9 @@ our %unified_info = (
             "SHA512_ASM",
             "VPAES_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2375,6 +2384,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2672,6 +2684,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3737,6 +3752,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3770,6 +3788,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4754,6 +4778,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5051,6 +5078,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6116,6 +6146,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6149,6 +6182,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7138,6 +7177,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7660,6 +7703,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9746,6 +9791,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9753,6 +9799,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11371,6 +11420,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11668,6 +11720,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12733,6 +12788,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12766,6 +12824,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13750,6 +13814,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14047,6 +14114,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15112,6 +15182,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15145,6 +15218,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16401,6 +16480,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16500,6 +16580,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16855,6 +16936,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16866,6 +16948,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18215,6 +18299,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18684,7 +18772,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18941,6 +19031,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19430,6 +19524,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19529,6 +19624,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19884,6 +19980,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19895,6 +19992,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20078,6 +20177,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20103,6 +20203,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24501,6 +24602,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25790,6 +25894,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26573,6 +26683,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26863,6 +26974,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 398666786c6285..e209ae9d1a2f78 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: Thu Oct 26 14:52:59 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:00:21 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin64-arm64-cc/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 d1c07ea505db01..752eaf3a647b74 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -205,7 +205,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin64-arm64-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -784,6 +784,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -852,6 +855,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1591,6 +1597,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2344,6 +2353,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2641,6 +2653,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3706,6 +3721,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3739,6 +3757,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4723,6 +4747,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5020,6 +5047,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6085,6 +6115,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6118,6 +6151,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7107,6 +7146,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7629,6 +7672,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9692,6 +9737,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9699,6 +9745,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11317,6 +11366,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11614,6 +11666,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12679,6 +12734,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12712,6 +12770,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13696,6 +13760,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -13993,6 +14060,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15058,6 +15128,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15091,6 +15164,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16347,6 +16426,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16446,6 +16526,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16801,6 +16882,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16812,6 +16894,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18101,6 +18185,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18570,7 +18658,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18827,6 +18917,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19316,6 +19410,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19415,6 +19510,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19770,6 +19866,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19781,6 +19878,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19964,6 +20063,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -19989,6 +20089,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24306,6 +24407,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25584,6 +25688,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26367,6 +26477,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26657,6 +26768,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 f8a747399b32f4..f58186b307020c 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: Thu Oct 26 14:53:18 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:00:33 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin64-arm64-cc/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 fbffdc36072be9..2d3418aa631279 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin64-x86_64-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1654,6 +1660,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2407,6 +2416,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2704,6 +2716,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3769,6 +3784,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3802,6 +3820,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4786,6 +4810,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5083,6 +5110,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6148,6 +6178,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6181,6 +6214,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7170,6 +7209,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7692,6 +7735,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9813,6 +9858,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9820,6 +9866,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11438,6 +11487,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11735,6 +11787,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12800,6 +12855,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12833,6 +12891,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13817,6 +13881,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14114,6 +14181,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15179,6 +15249,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15212,6 +15285,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16468,6 +16547,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16567,6 +16647,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16922,6 +17003,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16933,6 +17015,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18222,6 +18306,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18691,7 +18779,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18948,6 +19038,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19437,6 +19531,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19536,6 +19631,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19891,6 +19987,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19902,6 +19999,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20085,6 +20184,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20110,6 +20210,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24596,6 +24697,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25897,6 +26001,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26680,6 +26790,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26970,6 +27081,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 5d70cfc584bb4c..e53812582a877f 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: Thu Oct 26 14:50:40 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:58:49 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 e76d49d0c7c8c4..ea30dc93d43ae3 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin64-x86_64-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1654,6 +1660,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2407,6 +2416,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2704,6 +2716,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3769,6 +3784,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3802,6 +3820,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4786,6 +4810,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5083,6 +5110,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6148,6 +6178,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6181,6 +6214,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7170,6 +7209,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7692,6 +7735,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9813,6 +9858,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9820,6 +9866,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11438,6 +11487,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11735,6 +11787,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12800,6 +12855,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12833,6 +12891,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13817,6 +13881,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14114,6 +14181,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15179,6 +15249,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15212,6 +15285,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16468,6 +16547,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16567,6 +16647,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16922,6 +17003,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16933,6 +17015,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18222,6 +18306,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18691,7 +18779,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18948,6 +19038,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19437,6 +19531,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19536,6 +19631,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19891,6 +19987,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19902,6 +19999,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20085,6 +20184,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20110,6 +20210,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24596,6 +24697,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25897,6 +26001,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26680,6 +26790,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26970,6 +27081,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 400bfc2f11b14f..588d59e092b146 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: Thu Oct 26 14:51:03 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:59:05 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 5b1ec98359201f..b008b9a8a1a960 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -205,7 +205,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -258,11 +258,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "darwin64-x86_64-cc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -784,6 +784,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -852,6 +855,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1591,6 +1597,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2344,6 +2353,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2641,6 +2653,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3706,6 +3721,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3739,6 +3757,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4723,6 +4747,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5020,6 +5047,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6085,6 +6115,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6118,6 +6151,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7107,6 +7146,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7629,6 +7672,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9692,6 +9737,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9699,6 +9745,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/legacy"
                 ],
@@ -11317,6 +11366,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11614,6 +11666,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12679,6 +12734,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12712,6 +12770,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13696,6 +13760,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -13993,6 +14060,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15058,6 +15128,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15091,6 +15164,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16347,6 +16426,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16446,6 +16526,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16801,6 +16882,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16812,6 +16894,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18101,6 +18185,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18570,7 +18658,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18827,6 +18917,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19316,6 +19410,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19415,6 +19510,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19770,6 +19866,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19781,6 +19878,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19964,6 +20063,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -19989,6 +20089,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24306,6 +24407,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips/fips-dso-fips_entry.o"
         ],
@@ -25584,6 +25688,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26367,6 +26477,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26657,6 +26768,12 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o"
         ],
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 935727e4cc5d08..36035d10a344b7 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: Thu Oct 26 14:51:26 2023 UTC"
+#define DATE "built on: Wed Jan 31 12:59:20 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/darwin64-x86_64-cc/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 fd7fbe3f636d8a..6b9f0f9e20278f 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-aarch64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1629,6 +1635,9 @@ our %unified_info = (
             "SHA512_ASM",
             "VPAES_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2382,6 +2391,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2679,6 +2691,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3744,6 +3759,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3777,6 +3795,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4761,6 +4785,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5058,6 +5085,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6123,6 +6153,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6156,6 +6189,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7153,6 +7192,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7675,6 +7718,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9761,6 +9806,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9768,6 +9814,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11387,6 +11436,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11684,6 +11736,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12749,6 +12804,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12782,6 +12840,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13766,6 +13830,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14063,6 +14130,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15128,6 +15198,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15161,6 +15234,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16269,6 +16348,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16434,6 +16516,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16533,6 +16616,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16888,6 +16972,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16899,6 +16984,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18256,6 +18343,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18725,7 +18816,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18982,6 +19075,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19471,6 +19568,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19570,6 +19668,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19925,6 +20024,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19936,6 +20036,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20119,6 +20221,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20144,6 +20247,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24542,6 +24646,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25833,6 +25940,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26616,6 +26729,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26906,6 +27020,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 aa138ec0af4f2f..45946ceaf6a533 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: Thu Oct 26 14:53:36 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:00:44 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2802640171fd6e..c0ce61cbb81f53 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-aarch64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1629,6 +1635,9 @@ our %unified_info = (
             "SHA512_ASM",
             "VPAES_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2382,6 +2391,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2679,6 +2691,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3744,6 +3759,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3777,6 +3795,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4761,6 +4785,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5058,6 +5085,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6123,6 +6153,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6156,6 +6189,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7153,6 +7192,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7675,6 +7718,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9761,6 +9806,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9768,6 +9814,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11387,6 +11436,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11684,6 +11736,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12749,6 +12804,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12782,6 +12840,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13766,6 +13830,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14063,6 +14130,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15128,6 +15198,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15161,6 +15234,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16269,6 +16348,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16434,6 +16516,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16533,6 +16616,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16888,6 +16972,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16899,6 +16984,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18256,6 +18343,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18725,7 +18816,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18982,6 +19075,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19471,6 +19568,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19570,6 +19668,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19925,6 +20024,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19936,6 +20036,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20119,6 +20221,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20144,6 +20247,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24542,6 +24646,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25833,6 +25940,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26616,6 +26729,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26906,6 +27020,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 fe50bcb0f8eebe..b44bd4bb5b9fe0 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: Thu Oct 26 14:53:55 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:00:57 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-aarch64/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 bf7ab392cebcd7..09dbbbd0f4dac9 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-aarch64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1598,6 +1604,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2351,6 +2360,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2648,6 +2660,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3713,6 +3728,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3746,6 +3764,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4730,6 +4754,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5027,6 +5054,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6092,6 +6122,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6125,6 +6158,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7122,6 +7161,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7644,6 +7687,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9707,6 +9752,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9714,6 +9760,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11333,6 +11382,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11630,6 +11682,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12695,6 +12750,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12728,6 +12786,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13712,6 +13776,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14009,6 +14076,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15074,6 +15144,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15107,6 +15180,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16215,6 +16294,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16380,6 +16462,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16479,6 +16562,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16834,6 +16918,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16845,6 +16930,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18142,6 +18229,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18611,7 +18702,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18868,6 +18961,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19357,6 +19454,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19456,6 +19554,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19811,6 +19910,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19822,6 +19922,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20005,6 +20107,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20030,6 +20133,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24347,6 +24451,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25627,6 +25734,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26410,6 +26523,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26700,6 +26814,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 e40fd9e8fa7be3..d1a00e8b46a21c 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: Thu Oct 26 14:54:15 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:01:10 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-aarch64/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 79653867c073ee..b56c2ea33a722f 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-armv4",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1637,6 +1643,9 @@ our %unified_info = (
             "SHA256_ASM",
             "SHA512_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2390,6 +2399,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2687,6 +2699,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3752,6 +3767,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3785,6 +3803,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4769,6 +4793,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5066,6 +5093,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6131,6 +6161,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6164,6 +6197,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7161,6 +7200,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7683,6 +7726,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9771,6 +9816,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9778,6 +9824,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11397,6 +11446,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11694,6 +11746,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12759,6 +12814,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12792,6 +12850,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13776,6 +13840,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14073,6 +14140,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15138,6 +15208,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15171,6 +15244,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16279,6 +16358,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16444,6 +16526,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16543,6 +16626,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16898,6 +16982,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16909,6 +16994,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18290,6 +18377,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18759,7 +18850,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -19016,6 +19109,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19505,6 +19602,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19604,6 +19702,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19959,6 +20058,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19970,6 +20070,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20153,6 +20255,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20178,6 +20281,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24583,6 +24687,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25875,6 +25982,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26658,6 +26771,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26948,6 +27062,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 470b8436be3e9a..6c556e9489e771 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: Thu Oct 26 14:54:32 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:01:21 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 61ce2baaf0268d..76009b2dee65f5 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-armv4",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1637,6 +1643,9 @@ our %unified_info = (
             "SHA256_ASM",
             "SHA512_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2390,6 +2399,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2687,6 +2699,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3752,6 +3767,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3785,6 +3803,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4769,6 +4793,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5066,6 +5093,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6131,6 +6161,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6164,6 +6197,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7161,6 +7200,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7683,6 +7726,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9771,6 +9816,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9778,6 +9824,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11397,6 +11446,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11694,6 +11746,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12759,6 +12814,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12792,6 +12850,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13776,6 +13840,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14073,6 +14140,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15138,6 +15208,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15171,6 +15244,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16279,6 +16358,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16444,6 +16526,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16543,6 +16626,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16898,6 +16982,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16909,6 +16994,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18290,6 +18377,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18759,7 +18850,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -19016,6 +19109,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19505,6 +19602,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19604,6 +19702,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19959,6 +20058,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19970,6 +20070,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20153,6 +20255,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20178,6 +20281,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24583,6 +24687,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25875,6 +25982,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26658,6 +26771,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26948,6 +27062,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 34de4e5471460b..3c25da4cbf40e0 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: Thu Oct 26 14:54:52 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:01:34 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-armv4/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 3945676082d3a7..2e34266f4e384a 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-armv4",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1598,6 +1604,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2351,6 +2360,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2648,6 +2660,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3713,6 +3728,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3746,6 +3764,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4730,6 +4754,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5027,6 +5054,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6092,6 +6122,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6125,6 +6158,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7122,6 +7161,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7644,6 +7687,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9707,6 +9752,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9714,6 +9760,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11333,6 +11382,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11630,6 +11682,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12695,6 +12750,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12728,6 +12786,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13712,6 +13776,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14009,6 +14076,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15074,6 +15144,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15107,6 +15180,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16215,6 +16294,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16380,6 +16462,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16479,6 +16562,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16834,6 +16918,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16845,6 +16930,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18142,6 +18229,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18611,7 +18702,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18868,6 +18961,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19357,6 +19454,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19456,6 +19554,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19811,6 +19910,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19822,6 +19922,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20005,6 +20107,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20030,6 +20133,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24347,6 +24451,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25627,6 +25734,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26410,6 +26523,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26700,6 +26814,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 06676dd0a62428..7a8a7caa417f99 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: Thu Oct 26 14:55:11 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:01:46 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-armv4/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 f42b25e4813c2c..7892d0e6f537f2 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-elf",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -789,6 +789,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -857,6 +860,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1655,6 +1661,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2408,6 +2417,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2705,6 +2717,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3770,6 +3785,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3803,6 +3821,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4787,6 +4811,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5084,6 +5111,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6149,6 +6179,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6182,6 +6215,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7179,6 +7218,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7701,6 +7744,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9786,6 +9831,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9793,6 +9839,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11412,6 +11461,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11709,6 +11761,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12774,6 +12829,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12807,6 +12865,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13791,6 +13855,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14088,6 +14155,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15153,6 +15223,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15186,6 +15259,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16294,6 +16373,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16459,6 +16541,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16558,6 +16641,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16913,6 +16997,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16924,6 +17009,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18221,6 +18308,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18690,7 +18781,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18947,6 +19040,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19436,6 +19533,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19535,6 +19633,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19890,6 +19989,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19901,6 +20001,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20084,6 +20186,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20109,6 +20212,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24504,6 +24608,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25794,6 +25901,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26577,6 +26690,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26867,6 +26981,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 9cfe51eea4fc93..96090e0478b789 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: Thu Oct 26 14:55:29 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:01:58 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 0af1ae16add5e7..aeb57e7bc872ec 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-elf",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -789,6 +789,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -857,6 +860,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1655,6 +1661,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2408,6 +2417,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2705,6 +2717,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3770,6 +3785,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3803,6 +3821,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4787,6 +4811,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5084,6 +5111,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6149,6 +6179,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6182,6 +6215,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7179,6 +7218,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7701,6 +7744,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9786,6 +9831,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9793,6 +9839,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11412,6 +11461,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11709,6 +11761,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12774,6 +12829,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12807,6 +12865,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13791,6 +13855,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14088,6 +14155,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15153,6 +15223,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15186,6 +15259,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16294,6 +16373,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16459,6 +16541,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16558,6 +16641,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16913,6 +16997,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16924,6 +17009,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18221,6 +18308,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18690,7 +18781,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18947,6 +19040,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19436,6 +19533,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19535,6 +19633,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19890,6 +19989,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19901,6 +20001,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20084,6 +20186,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20109,6 +20212,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24504,6 +24608,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25794,6 +25901,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26577,6 +26690,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26867,6 +26981,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 32a9cc3b4e7b0b..f92ceb4158b5dc 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: Thu Oct 26 14:55:49 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:02:11 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-elf/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 6b8469360a6939..f8c616164c6be4 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-elf",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1597,6 +1603,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2350,6 +2359,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2647,6 +2659,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3712,6 +3727,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3745,6 +3763,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4729,6 +4753,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5026,6 +5053,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6091,6 +6121,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6124,6 +6157,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7121,6 +7160,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7643,6 +7686,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9706,6 +9751,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9713,6 +9759,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11332,6 +11381,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11629,6 +11681,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12694,6 +12749,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12727,6 +12785,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13711,6 +13775,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14008,6 +14075,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15073,6 +15143,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15106,6 +15179,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16214,6 +16293,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16379,6 +16461,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16478,6 +16561,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16833,6 +16917,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16844,6 +16929,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18141,6 +18228,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18610,7 +18701,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18867,6 +18960,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19356,6 +19453,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19455,6 +19553,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19810,6 +19909,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19821,6 +19921,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20004,6 +20106,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20029,6 +20132,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24346,6 +24450,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25626,6 +25733,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26409,6 +26522,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26699,6 +26813,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 d5ca31dd991bac..9a4d8ec2adcab7 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: Thu Oct 26 14:56:09 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:02:24 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-elf/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 c8aa0d7fe32340..294b69122eef95 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-ppc64le",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1635,6 +1641,9 @@ our %unified_info = (
             "VPAES_ASM",
             "X25519_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2388,6 +2397,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2685,6 +2697,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3750,6 +3765,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3783,6 +3801,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4767,6 +4791,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5064,6 +5091,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6129,6 +6159,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6162,6 +6195,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7159,6 +7198,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7681,6 +7724,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9782,6 +9827,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9789,6 +9835,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11408,6 +11457,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11705,6 +11757,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12770,6 +12825,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12803,6 +12861,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13787,6 +13851,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14084,6 +14151,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15149,6 +15219,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15182,6 +15255,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16290,6 +16369,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16455,6 +16537,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16554,6 +16637,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16909,6 +16993,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16920,6 +17005,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18217,6 +18304,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18686,7 +18777,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18943,6 +19036,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19432,6 +19529,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19531,6 +19629,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19886,6 +19985,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19897,6 +19997,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20080,6 +20182,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20105,6 +20208,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24557,6 +24661,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25854,6 +25961,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26637,6 +26750,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26927,6 +27041,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 d1e3acb464a422..f868966a04b719 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: Thu Oct 26 14:57:32 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:03:19 2024 UTC"
 
 /*
  * Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm/crypto/poly1305/poly1305-ppc.s b/deps/openssl/config/archs/linux-ppc64le/asm/crypto/poly1305/poly1305-ppc.s
index fc3b2251a83583..b6ffc97d217bad 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm/crypto/poly1305/poly1305-ppc.s
+++ b/deps/openssl/config/archs/linux-ppc64le/asm/crypto/poly1305/poly1305-ppc.s
@@ -365,7 +365,7 @@ __poly1305_splat:
 
 .align	5
 __poly1305_blocks_vsx:
-	stdu	1,-432(1)
+	stdu	1,-416(1)
 	mflr	0
 	li	10,191
 	li	11,207
@@ -376,12 +376,12 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	22,10,1
 	addi	10,10,32
-	stvx	23,10,1
-	addi	10,10,32
-	stvx	24,11,1
+	stvx	23,11,1
 	addi	11,11,32
-	stvx	25,10,1
+	stvx	24,10,1
 	addi	10,10,32
+	stvx	25,11,1
+	addi	11,11,32
 	stvx	26,10,1
 	addi	10,10,32
 	stvx	27,11,1
@@ -392,15 +392,15 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	30,10,1
 	stvx	31,11,1
-	stw	12,388(1)
+	stw	12,372(1)
 	li	12,-1
 	or	12,12,12
-	std	27,392(1)
-	std	28,400(1)
-	std	29,408(1)
-	std	30,416(1)
-	std	31,424(1)
-	std	0,448(1)
+	std	27,376(1)
+	std	28,384(1)
+	std	29,392(1)
+	std	30,400(1)
+	std	31,408(1)
+	std	0,432(1)
 
 	bl	.LPICmeup
 
@@ -1035,7 +1035,7 @@ __poly1305_blocks_vsx:
 
 .align	4
 .Ldone_vsx:
-	ld	0,448(1)
+	ld	0,432(1)
 	li	27,4
 	li	28,8
 	li	29,12
@@ -1046,39 +1046,39 @@ __poly1305_blocks_vsx:
 	.long	0x7C7D1919
 	.long	0x7C9E1919
 
-	lwz	12,388(1)
+	lwz	12,372(1)
 	mtlr	0
 	li	10,191
 	li	11,207
 	or	12,12,12
 	lvx	20,10,1
 	addi	10,10,32
-	lvx	21,10,1
-	addi	10,10,32
-	lvx	22,11,1
+	lvx	21,11,1
 	addi	11,11,32
-	lvx	23,10,1
+	lvx	22,10,1
 	addi	10,10,32
-	lvx	24,11,1
+	lvx	23,11,1
 	addi	11,11,32
-	lvx	25,10,1
+	lvx	24,10,1
 	addi	10,10,32
-	lvx	26,11,1
+	lvx	25,11,1
 	addi	11,11,32
-	lvx	27,10,1
+	lvx	26,10,1
 	addi	10,10,32
-	lvx	28,11,1
+	lvx	27,11,1
 	addi	11,11,32
-	lvx	29,10,1
+	lvx	28,10,1
 	addi	10,10,32
-	lvx	30,11,1
-	lvx	31,10,1
-	ld	27,392(1)
-	ld	28,400(1)
-	ld	29,408(1)
-	ld	30,416(1)
-	ld	31,424(1)
-	addi	1,1,432
+	lvx	29,11,1
+	addi	11,11,32
+	lvx	30,10,1
+	lvx	31,11,1
+	ld	27,376(1)
+	ld	28,384(1)
+	ld	29,392(1)
+	ld	30,400(1)
+	ld	31,408(1)
+	addi	1,1,416
 	blr	
 .long	0
 .byte	0,12,0x04,1,0x80,5,4,0
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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 0ea84d2ce335f5..dcc417e8d68a9e 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-ppc64le",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1635,6 +1641,9 @@ our %unified_info = (
             "VPAES_ASM",
             "X25519_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2388,6 +2397,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2685,6 +2697,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3750,6 +3765,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3783,6 +3801,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4767,6 +4791,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5064,6 +5091,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6129,6 +6159,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6162,6 +6195,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7159,6 +7198,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7681,6 +7724,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9782,6 +9827,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9789,6 +9835,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11408,6 +11457,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11705,6 +11757,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12770,6 +12825,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12803,6 +12861,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13787,6 +13851,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14084,6 +14151,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15149,6 +15219,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15182,6 +15255,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16290,6 +16369,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16455,6 +16537,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16554,6 +16637,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16909,6 +16993,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16920,6 +17005,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18217,6 +18304,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18686,7 +18777,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18943,6 +19036,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19432,6 +19529,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19531,6 +19629,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19886,6 +19985,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19897,6 +19997,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20080,6 +20182,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20105,6 +20208,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24557,6 +24661,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25854,6 +25961,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26637,6 +26750,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26927,6 +27041,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 e29cf2d622f37b..af79fca6cdd64f 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: Thu Oct 26 14:57:51 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:03:31 2024 UTC"
 
 /*
  * Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/poly1305/poly1305-ppc.s b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/poly1305/poly1305-ppc.s
index fc3b2251a83583..b6ffc97d217bad 100644
--- a/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/poly1305/poly1305-ppc.s
+++ b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/crypto/poly1305/poly1305-ppc.s
@@ -365,7 +365,7 @@ __poly1305_splat:
 
 .align	5
 __poly1305_blocks_vsx:
-	stdu	1,-432(1)
+	stdu	1,-416(1)
 	mflr	0
 	li	10,191
 	li	11,207
@@ -376,12 +376,12 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	22,10,1
 	addi	10,10,32
-	stvx	23,10,1
-	addi	10,10,32
-	stvx	24,11,1
+	stvx	23,11,1
 	addi	11,11,32
-	stvx	25,10,1
+	stvx	24,10,1
 	addi	10,10,32
+	stvx	25,11,1
+	addi	11,11,32
 	stvx	26,10,1
 	addi	10,10,32
 	stvx	27,11,1
@@ -392,15 +392,15 @@ __poly1305_blocks_vsx:
 	addi	11,11,32
 	stvx	30,10,1
 	stvx	31,11,1
-	stw	12,388(1)
+	stw	12,372(1)
 	li	12,-1
 	or	12,12,12
-	std	27,392(1)
-	std	28,400(1)
-	std	29,408(1)
-	std	30,416(1)
-	std	31,424(1)
-	std	0,448(1)
+	std	27,376(1)
+	std	28,384(1)
+	std	29,392(1)
+	std	30,400(1)
+	std	31,408(1)
+	std	0,432(1)
 
 	bl	.LPICmeup
 
@@ -1035,7 +1035,7 @@ __poly1305_blocks_vsx:
 
 .align	4
 .Ldone_vsx:
-	ld	0,448(1)
+	ld	0,432(1)
 	li	27,4
 	li	28,8
 	li	29,12
@@ -1046,39 +1046,39 @@ __poly1305_blocks_vsx:
 	.long	0x7C7D1919
 	.long	0x7C9E1919
 
-	lwz	12,388(1)
+	lwz	12,372(1)
 	mtlr	0
 	li	10,191
 	li	11,207
 	or	12,12,12
 	lvx	20,10,1
 	addi	10,10,32
-	lvx	21,10,1
-	addi	10,10,32
-	lvx	22,11,1
+	lvx	21,11,1
 	addi	11,11,32
-	lvx	23,10,1
+	lvx	22,10,1
 	addi	10,10,32
-	lvx	24,11,1
+	lvx	23,11,1
 	addi	11,11,32
-	lvx	25,10,1
+	lvx	24,10,1
 	addi	10,10,32
-	lvx	26,11,1
+	lvx	25,11,1
 	addi	11,11,32
-	lvx	27,10,1
+	lvx	26,10,1
 	addi	10,10,32
-	lvx	28,11,1
+	lvx	27,11,1
 	addi	11,11,32
-	lvx	29,10,1
+	lvx	28,10,1
 	addi	10,10,32
-	lvx	30,11,1
-	lvx	31,10,1
-	ld	27,392(1)
-	ld	28,400(1)
-	ld	29,408(1)
-	ld	30,416(1)
-	ld	31,424(1)
-	addi	1,1,432
+	lvx	29,11,1
+	addi	11,11,32
+	lvx	30,10,1
+	lvx	31,11,1
+	ld	27,376(1)
+	ld	28,384(1)
+	ld	29,392(1)
+	ld	30,400(1)
+	ld	31,408(1)
+	addi	1,1,416
 	blr	
 .long	0
 .byte	0,12,0x04,1,0x80,5,4,0
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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-ppc64le/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 fe396100caff68..65bbbec1229b91 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-ppc64le",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1598,6 +1604,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2351,6 +2360,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2648,6 +2660,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3713,6 +3728,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3746,6 +3764,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4730,6 +4754,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5027,6 +5054,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6092,6 +6122,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6125,6 +6158,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7122,6 +7161,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7644,6 +7687,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9707,6 +9752,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9714,6 +9760,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11333,6 +11382,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11630,6 +11682,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12695,6 +12750,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12728,6 +12786,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13712,6 +13776,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14009,6 +14076,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15074,6 +15144,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15107,6 +15180,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16215,6 +16294,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16380,6 +16462,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16479,6 +16562,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16834,6 +16918,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16845,6 +16930,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18142,6 +18229,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18611,7 +18702,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18868,6 +18961,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19357,6 +19454,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19456,6 +19554,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19811,6 +19910,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19822,6 +19922,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20005,6 +20107,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20030,6 +20133,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24347,6 +24451,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25627,6 +25734,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26410,6 +26523,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26700,6 +26814,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 38c6d24008d45c..c7183f844429c4 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: Thu Oct 26 14:58:10 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:03:44 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-ppc64le/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 8c177223983873..1f87af83ac7da3 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-x86_64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1662,6 +1668,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2415,6 +2424,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2712,6 +2724,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3777,6 +3792,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3810,6 +3828,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4794,6 +4818,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5091,6 +5118,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6156,6 +6186,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6189,6 +6222,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7186,6 +7225,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7708,6 +7751,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9829,6 +9874,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9836,6 +9882,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11455,6 +11504,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11752,6 +11804,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12817,6 +12872,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12850,6 +12908,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13834,6 +13898,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14131,6 +14198,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15196,6 +15266,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15229,6 +15302,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16337,6 +16416,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16502,6 +16584,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16601,6 +16684,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16956,6 +17040,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16967,6 +17052,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18264,6 +18351,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18733,7 +18824,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18990,6 +19083,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19479,6 +19576,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19578,6 +19676,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19933,6 +20032,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19944,6 +20044,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20127,6 +20229,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20152,6 +20255,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24638,6 +24742,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25941,6 +26048,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26724,6 +26837,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27014,6 +27128,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 c453e042ec2cd8..699fafe5c0af57 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: Thu Oct 26 14:56:27 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:02:36 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-x86_64/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 82a028a7500db9..f5f1bbec0436e9 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-x86_64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1662,6 +1668,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2415,6 +2424,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2712,6 +2724,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3777,6 +3792,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3810,6 +3828,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4794,6 +4818,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5091,6 +5118,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6156,6 +6186,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6189,6 +6222,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7186,6 +7225,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7708,6 +7751,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9829,6 +9874,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9836,6 +9882,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11455,6 +11504,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11752,6 +11804,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12817,6 +12872,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12850,6 +12908,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13834,6 +13898,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14131,6 +14198,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15196,6 +15266,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15229,6 +15302,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16337,6 +16416,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16502,6 +16584,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16601,6 +16684,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16956,6 +17040,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16967,6 +17052,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18264,6 +18351,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18733,7 +18824,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18990,6 +19083,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19479,6 +19576,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19578,6 +19676,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19933,6 +20032,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19944,6 +20044,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20127,6 +20229,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20152,6 +20255,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24638,6 +24742,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25941,6 +26048,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26724,6 +26837,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27014,6 +27128,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 dd77a730662bb9..5804b20f527214 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: Thu Oct 26 14:56:50 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:02:51 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-x86_64/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 74531136b16293..973e1e1265b7dc 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux-x86_64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -792,6 +792,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -860,6 +863,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1599,6 +1605,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2352,6 +2361,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2649,6 +2661,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3714,6 +3729,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3747,6 +3765,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4731,6 +4755,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5028,6 +5055,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6093,6 +6123,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6126,6 +6159,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7123,6 +7162,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7645,6 +7688,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9708,6 +9753,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9715,6 +9761,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11334,6 +11383,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11631,6 +11683,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12696,6 +12751,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12729,6 +12787,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13713,6 +13777,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14010,6 +14077,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15075,6 +15145,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15108,6 +15181,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16216,6 +16295,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16381,6 +16463,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16480,6 +16563,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16835,6 +16919,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16846,6 +16931,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18143,6 +18230,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18612,7 +18703,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18869,6 +18962,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19358,6 +19455,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19457,6 +19555,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19812,6 +19911,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19823,6 +19923,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20006,6 +20108,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20031,6 +20134,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24348,6 +24452,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25628,6 +25735,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26411,6 +26524,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26701,6 +26815,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 eb1d92ca3b85e8..cc6654b94a6b76 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: Thu Oct 26 14:57:14 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:03:07 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux-x86_64/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 077d1fe8d7f266..f03243a0e161a1 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux32-s390x",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1644,6 +1650,9 @@ our %unified_info = (
         "providers/liblegacy.a" => [
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2397,6 +2406,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2694,6 +2706,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3759,6 +3774,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3792,6 +3810,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4776,6 +4800,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5073,6 +5100,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6138,6 +6168,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6171,6 +6204,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7168,6 +7207,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7690,6 +7733,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9769,6 +9814,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9776,6 +9822,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11395,6 +11444,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11692,6 +11744,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12757,6 +12812,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12790,6 +12848,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13774,6 +13838,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14071,6 +14138,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15136,6 +15206,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15169,6 +15242,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16277,6 +16356,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16442,6 +16524,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16541,6 +16624,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16896,6 +16980,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16907,6 +16992,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18258,6 +18345,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18727,7 +18818,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18984,6 +19077,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19473,6 +19570,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19572,6 +19670,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19927,6 +20026,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19938,6 +20038,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20121,6 +20223,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20146,6 +20249,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24519,6 +24623,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25807,6 +25914,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26590,6 +26703,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26880,6 +26994,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 12e34e0b8d87b4..0f0b2de4f51ac1 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: Thu Oct 26 14:58:28 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:03:56 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 1a3bfbead00cc9..3c7006cb9b9e70 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux32-s390x",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1644,6 +1650,9 @@ our %unified_info = (
         "providers/liblegacy.a" => [
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2397,6 +2406,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2694,6 +2706,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3759,6 +3774,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3792,6 +3810,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4776,6 +4800,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5073,6 +5100,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6138,6 +6168,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6171,6 +6204,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7168,6 +7207,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7690,6 +7733,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9769,6 +9814,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9776,6 +9822,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11395,6 +11444,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11692,6 +11744,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12757,6 +12812,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12790,6 +12848,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13774,6 +13838,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14071,6 +14138,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15136,6 +15206,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15169,6 +15242,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16277,6 +16356,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16442,6 +16524,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16541,6 +16624,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16896,6 +16980,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16907,6 +16992,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18258,6 +18345,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18727,7 +18818,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18984,6 +19077,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19473,6 +19570,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19572,6 +19670,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19927,6 +20026,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19938,6 +20038,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20121,6 +20223,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20146,6 +20249,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24519,6 +24623,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25807,6 +25914,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26590,6 +26703,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26880,6 +26994,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 cc34b5b48f7286..e8782c94c1f1da 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: Thu Oct 26 14:58:48 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:04:09 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux32-s390x/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 e3a8f82fe7462c..f363125e2a7b40 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux32-s390x",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1598,6 +1604,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2351,6 +2360,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2648,6 +2660,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3713,6 +3728,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3746,6 +3764,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4730,6 +4754,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5027,6 +5054,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6092,6 +6122,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6125,6 +6158,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7122,6 +7161,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7644,6 +7687,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9707,6 +9752,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9714,6 +9760,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11333,6 +11382,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11630,6 +11682,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12695,6 +12750,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12728,6 +12786,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13712,6 +13776,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14009,6 +14076,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15074,6 +15144,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15107,6 +15180,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16215,6 +16294,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16380,6 +16462,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16479,6 +16562,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16834,6 +16918,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16845,6 +16930,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18142,6 +18229,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18611,7 +18702,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18868,6 +18961,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19357,6 +19454,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19456,6 +19554,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19811,6 +19910,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19822,6 +19922,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20005,6 +20107,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20030,6 +20133,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24347,6 +24451,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25627,6 +25734,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26410,6 +26523,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26700,6 +26814,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 d228feb5a19ee6..c597c4d38fdb35 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: Thu Oct 26 14:59:08 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:04:22 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux32-s390x/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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-loongarch64/no-asm/apps/progs.c b/deps/openssl/config/archs/linux64-loongarch64/no-asm/apps/progs.c
index 2646a1a35bf398..6f240203d77ae3 100644
--- a/deps/openssl/config/archs/linux64-loongarch64/no-asm/apps/progs.c
+++ b/deps/openssl/config/archs/linux64-loongarch64/no-asm/apps/progs.c
@@ -2,7 +2,7 @@
  * WARNING: do not edit!
  * Generated by apps/progs.pl
  *
- * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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-loongarch64/no-asm/configdata.pm b/deps/openssl/config/archs/linux64-loongarch64/no-asm/configdata.pm
index f8186f5553dd14..c254f9376fe637 100644
--- a/deps/openssl/config/archs/linux64-loongarch64/no-asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-loongarch64/no-asm/configdata.pm
@@ -157,7 +157,7 @@ our %config = (
     ],
     "dynamic_engines" => "0",
     "ex_libs" => [],
-    "full_version" => "3.0.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-loongarch64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1597,6 +1603,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2350,6 +2359,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2647,6 +2659,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3712,6 +3727,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3745,6 +3763,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4729,6 +4753,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5026,6 +5053,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6091,6 +6121,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6124,6 +6157,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7121,6 +7160,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7643,6 +7686,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9706,6 +9751,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9713,6 +9759,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11332,6 +11381,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11629,6 +11681,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12694,6 +12749,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12727,6 +12785,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13711,6 +13775,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14008,6 +14075,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15073,6 +15143,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15106,6 +15179,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16214,6 +16293,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16379,6 +16461,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16478,6 +16561,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16833,6 +16917,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16844,6 +16929,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18141,6 +18228,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18610,7 +18701,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18867,6 +18960,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19356,6 +19453,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19455,6 +19553,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19810,6 +19909,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19821,6 +19921,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20004,6 +20106,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20029,6 +20132,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24346,6 +24450,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25626,6 +25733,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26409,6 +26522,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26699,6 +26813,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
diff --git a/deps/openssl/config/archs/linux64-loongarch64/no-asm/crypto/buildinf.h b/deps/openssl/config/archs/linux64-loongarch64/no-asm/crypto/buildinf.h
index 3ba7a434358453..2d29318d84a21e 100644
--- a/deps/openssl/config/archs/linux64-loongarch64/no-asm/crypto/buildinf.h
+++ b/deps/openssl/config/archs/linux64-loongarch64/no-asm/crypto/buildinf.h
@@ -11,7 +11,7 @@
  */
 
 #define PLATFORM "platform: linux64-loongarch64"
-#define DATE "built on: Thu Oct 26 15:05:52 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:08:49 2024 UTC"
 
 /*
  * Generate compiler_flags as an array of individual characters. This is a
diff --git a/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/bio.h b/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/bio.h
index e16cf622c69d23..f9aa74731c833c 100644
--- a/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/bio.h
+++ b/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/bio.h
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
diff --git a/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h b/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h
index ea36c0ca51c2ab..65f3bfa0540b2d 100644
--- a/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h
+++ b/deps/openssl/config/archs/linux64-loongarch64/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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
diff --git a/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/progs.h b/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 100644
--- a/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/progs.h
+++ b/deps/openssl/config/archs/linux64-loongarch64/no-asm/include/progs.h
@@ -2,7 +2,7 @@
  * WARNING: do not edit!
  * Generated by apps/progs.pl
  *
- * Copyright 1995-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 223edd33ddacd4..33f877abf4ba4b 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm/configdata.pm
+++ b/deps/openssl/config/archs/linux64-mips64/asm/configdata.pm
@@ -162,7 +162,7 @@ our %config = (
     ],
     "dynamic_engines" => "0",
     "ex_libs" => [],
-    "full_version" => "3.0.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -210,7 +210,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -262,11 +262,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-mips64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -794,6 +794,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -862,6 +865,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1623,6 +1629,9 @@ our %unified_info = (
             "SHA256_ASM",
             "SHA512_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2376,6 +2385,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2673,6 +2685,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3738,6 +3753,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3771,6 +3789,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4755,6 +4779,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5052,6 +5079,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6117,6 +6147,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6150,6 +6183,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7147,6 +7186,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7669,6 +7712,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9741,6 +9786,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9748,6 +9794,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11367,6 +11416,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11664,6 +11716,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12729,6 +12784,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12762,6 +12820,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13746,6 +13810,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14043,6 +14110,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15108,6 +15178,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15141,6 +15214,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16249,6 +16328,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16414,6 +16496,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16513,6 +16596,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16868,6 +16952,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16879,6 +16964,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18215,6 +18302,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18684,7 +18775,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18941,6 +19034,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19430,6 +19527,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19529,6 +19627,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19884,6 +19983,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19895,6 +19995,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20078,6 +20180,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20103,6 +20206,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24452,6 +24556,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25736,6 +25843,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26519,6 +26632,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26809,6 +26923,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 1f63d54c12ba01..0ecfd9b31ae486 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: Thu Oct 26 15:00:22 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:05:11 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 ab9529b1189573..78289801ba39a7 100644
--- a/deps/openssl/config/archs/linux64-mips64/asm_avx2/configdata.pm
+++ b/deps/openssl/config/archs/linux64-mips64/asm_avx2/configdata.pm
@@ -162,7 +162,7 @@ our %config = (
     ],
     "dynamic_engines" => "0",
     "ex_libs" => [],
-    "full_version" => "3.0.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -210,7 +210,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -262,11 +262,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-mips64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -794,6 +794,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -862,6 +865,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1623,6 +1629,9 @@ our %unified_info = (
             "SHA256_ASM",
             "SHA512_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2376,6 +2385,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2673,6 +2685,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3738,6 +3753,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3771,6 +3789,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4755,6 +4779,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5052,6 +5079,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6117,6 +6147,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6150,6 +6183,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7147,6 +7186,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7669,6 +7712,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9741,6 +9786,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9748,6 +9794,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11367,6 +11416,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11664,6 +11716,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12729,6 +12784,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12762,6 +12820,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13746,6 +13810,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14043,6 +14110,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15108,6 +15178,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15141,6 +15214,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16249,6 +16328,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16414,6 +16496,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16513,6 +16596,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16868,6 +16952,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16879,6 +16964,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18215,6 +18302,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18684,7 +18775,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18941,6 +19034,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19430,6 +19527,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19529,6 +19627,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19884,6 +19983,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19895,6 +19995,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20078,6 +20180,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20103,6 +20206,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24452,6 +24556,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25736,6 +25843,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26519,6 +26632,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26809,6 +26923,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 492782784a2fed..a45ecc65c50250 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: Thu Oct 26 15:00:41 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:05:23 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux64-mips64/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 60fd68cd9d1b05..07632e82e26608 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-mips64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -792,6 +792,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -860,6 +863,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1599,6 +1605,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2352,6 +2361,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2649,6 +2661,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3714,6 +3729,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3747,6 +3765,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4731,6 +4755,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5028,6 +5055,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6093,6 +6123,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6126,6 +6159,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7123,6 +7162,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7645,6 +7688,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9708,6 +9753,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9715,6 +9761,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11334,6 +11383,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11631,6 +11683,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12696,6 +12751,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12729,6 +12787,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13713,6 +13777,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14010,6 +14077,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15075,6 +15145,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15108,6 +15181,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16216,6 +16295,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16381,6 +16463,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16480,6 +16563,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16835,6 +16919,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16846,6 +16931,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18143,6 +18230,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18612,7 +18703,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18869,6 +18962,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19358,6 +19455,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19457,6 +19555,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19812,6 +19911,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19823,6 +19923,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20006,6 +20108,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20031,6 +20134,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24348,6 +24452,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25628,6 +25735,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26411,6 +26524,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26701,6 +26815,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 b2da592e4a422c..2780a78e9cca2c 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: Thu Oct 26 15:00:59 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:05:35 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux64-mips64/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 b807271a07fd32..eb98331a682e6e 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-riscv64",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -790,6 +790,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -858,6 +861,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1597,6 +1603,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2350,6 +2359,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2647,6 +2659,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3712,6 +3727,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3745,6 +3763,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4729,6 +4753,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5026,6 +5053,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6091,6 +6121,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6124,6 +6157,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7121,6 +7160,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7643,6 +7686,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9706,6 +9751,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9713,6 +9759,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11332,6 +11381,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11629,6 +11681,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12694,6 +12749,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12727,6 +12785,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13711,6 +13775,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14008,6 +14075,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15073,6 +15143,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15106,6 +15179,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16214,6 +16293,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16379,6 +16461,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16478,6 +16561,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16833,6 +16917,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16844,6 +16929,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18141,6 +18228,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18610,7 +18701,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18867,6 +18960,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19356,6 +19453,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19455,6 +19553,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19810,6 +19909,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19821,6 +19921,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20004,6 +20106,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20029,6 +20132,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24346,6 +24450,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25626,6 +25733,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26409,6 +26522,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26699,6 +26813,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 2c8f14b9fd31f8..0ca3c0b6e4db75 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: Thu Oct 26 15:05:34 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:08:37 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux64-riscv64/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 7ca0547e9d1176..d615c028da84a6 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-s390x",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1645,6 +1651,9 @@ our %unified_info = (
         "providers/liblegacy.a" => [
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2398,6 +2407,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2695,6 +2707,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3760,6 +3775,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3793,6 +3811,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4777,6 +4801,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5074,6 +5101,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6139,6 +6169,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6172,6 +6205,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7169,6 +7208,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7691,6 +7734,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9780,6 +9825,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9787,6 +9833,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11406,6 +11455,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11703,6 +11755,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12768,6 +12823,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12801,6 +12859,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13785,6 +13849,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14082,6 +14149,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15147,6 +15217,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15180,6 +15253,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16288,6 +16367,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16453,6 +16535,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16552,6 +16635,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16907,6 +16991,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16918,6 +17003,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18269,6 +18356,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18738,7 +18829,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18995,6 +19088,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19484,6 +19581,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19583,6 +19681,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19938,6 +20037,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19949,6 +20049,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20132,6 +20234,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20157,6 +20260,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24530,6 +24634,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25818,6 +25925,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26601,6 +26714,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26891,6 +27005,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 aad4edb0f23308..3c794e9cce429f 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: Thu Oct 26 14:59:26 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:04:34 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */
 # ifdef OPENSSL_VERSION_PRE_RELEASE
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 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 67f9b59a4f1473..64f0a78c6daef6 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -207,7 +207,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-s390x",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -791,6 +791,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -859,6 +862,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1645,6 +1651,9 @@ our %unified_info = (
         "providers/liblegacy.a" => [
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2398,6 +2407,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2695,6 +2707,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3760,6 +3775,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3793,6 +3811,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4777,6 +4801,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5074,6 +5101,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6139,6 +6169,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6172,6 +6205,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7169,6 +7208,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7691,6 +7734,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9780,6 +9825,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9787,6 +9833,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11406,6 +11455,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11703,6 +11755,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12768,6 +12823,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12801,6 +12859,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13785,6 +13849,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14082,6 +14149,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15147,6 +15217,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15180,6 +15253,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16288,6 +16367,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16453,6 +16535,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16552,6 +16635,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16907,6 +16991,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16918,6 +17003,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18269,6 +18356,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18738,7 +18829,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18995,6 +19088,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19484,6 +19581,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19583,6 +19681,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19938,6 +20037,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19949,6 +20049,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20132,6 +20234,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20157,6 +20260,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24530,6 +24634,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25818,6 +25925,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26601,6 +26714,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26891,6 +27005,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 49a18326cda364..3d0c483c575a75 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: Thu Oct 26 14:59:45 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:04:46 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux64-s390x/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 0511cc0ad771f1..69bc1c7975b343 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -206,7 +206,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -259,11 +259,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned char",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "linux64-s390x",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -792,6 +792,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -860,6 +863,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1599,6 +1605,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2352,6 +2361,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2649,6 +2661,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3714,6 +3729,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3747,6 +3765,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4731,6 +4755,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5028,6 +5055,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6093,6 +6123,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6126,6 +6159,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7123,6 +7162,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7645,6 +7688,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9708,6 +9753,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9715,6 +9761,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11334,6 +11383,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11631,6 +11683,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12696,6 +12751,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12729,6 +12787,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13713,6 +13777,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14010,6 +14077,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15075,6 +15145,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15108,6 +15181,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16216,6 +16295,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16381,6 +16463,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16480,6 +16563,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16835,6 +16919,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16846,6 +16931,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18143,6 +18230,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18612,7 +18703,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18869,6 +18962,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19358,6 +19455,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19457,6 +19555,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19812,6 +19911,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19823,6 +19923,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20006,6 +20108,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20031,6 +20134,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24348,6 +24452,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25628,6 +25735,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26411,6 +26524,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26701,6 +26815,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 56f3cb4a199951..26a9eee8e3c3c5 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: Thu Oct 26 15:00:04 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:04:59 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/linux64-s390x/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 5ab80e6faf2eee..ef7cd1e1ccd587 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -204,7 +204,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -256,11 +256,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "solaris-x86-gcc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -782,6 +782,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -850,6 +853,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1648,6 +1654,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2401,6 +2410,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2698,6 +2710,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3763,6 +3778,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3796,6 +3814,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4780,6 +4804,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5077,6 +5104,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6142,6 +6172,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6175,6 +6208,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7172,6 +7211,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7694,6 +7737,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9779,6 +9824,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9786,6 +9832,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11405,6 +11454,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11702,6 +11754,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12767,6 +12822,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12800,6 +12858,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13784,6 +13848,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14081,6 +14148,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15146,6 +15216,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15179,6 +15252,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16287,6 +16366,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16452,6 +16534,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16551,6 +16634,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16906,6 +16990,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16917,6 +17002,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18214,6 +18301,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18683,7 +18774,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18940,6 +19033,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19429,6 +19526,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19528,6 +19626,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19883,6 +19982,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19894,6 +19994,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20077,6 +20179,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20102,6 +20205,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24497,6 +24601,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25787,6 +25894,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26570,6 +26683,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26860,6 +26974,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 468c40de382836..75a6d54a84bc6c 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: Thu Oct 26 15:01:17 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:05:47 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/solaris-x86-gcc/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 7e2449164988b9..0fc41abe71068d 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -204,7 +204,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -256,11 +256,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "solaris-x86-gcc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -782,6 +782,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -850,6 +853,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1648,6 +1654,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2401,6 +2410,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2698,6 +2710,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3763,6 +3778,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3796,6 +3814,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4780,6 +4804,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5077,6 +5104,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6142,6 +6172,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6175,6 +6208,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7172,6 +7211,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7694,6 +7737,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9779,6 +9824,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9786,6 +9832,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11405,6 +11454,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11702,6 +11754,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12767,6 +12822,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12800,6 +12858,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13784,6 +13848,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14081,6 +14148,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15146,6 +15216,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15179,6 +15252,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16287,6 +16366,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16452,6 +16534,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16551,6 +16634,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16906,6 +16990,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16917,6 +17002,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18214,6 +18301,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18683,7 +18774,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18940,6 +19033,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19429,6 +19526,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19528,6 +19626,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19883,6 +19982,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19894,6 +19994,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20077,6 +20179,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20102,6 +20205,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24497,6 +24601,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25787,6 +25894,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26570,6 +26683,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26860,6 +26974,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 805dcab06bb3b9..58695dce18281f 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: Thu Oct 26 15:01:37 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:06:00 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/solaris-x86-gcc/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 cade32bd647c0b..be79bd091411ec 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -203,7 +203,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -256,11 +256,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "solaris-x86-gcc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1590,6 +1596,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2343,6 +2352,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2640,6 +2652,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3705,6 +3720,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3738,6 +3756,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4722,6 +4746,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5019,6 +5046,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6084,6 +6114,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6117,6 +6150,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7114,6 +7153,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7636,6 +7679,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9699,6 +9744,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9706,6 +9752,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11325,6 +11374,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11622,6 +11674,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12687,6 +12742,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12720,6 +12778,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13704,6 +13768,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14001,6 +14068,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15066,6 +15136,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15099,6 +15172,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16207,6 +16286,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16372,6 +16454,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16471,6 +16554,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16826,6 +16910,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16837,6 +16922,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18134,6 +18221,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18603,7 +18694,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18860,6 +18953,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19349,6 +19446,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19448,6 +19546,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19803,6 +19902,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19814,6 +19914,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19997,6 +20099,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20022,6 +20125,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24339,6 +24443,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25619,6 +25726,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26402,6 +26515,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26692,6 +26806,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 8201c478c71fe0..0b4b1b3b6d0b16 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: Thu Oct 26 15:01:58 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:06:14 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/solaris-x86-gcc/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 48232d7ea1f9e6..6ca22d6bc68da3 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -204,7 +204,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -256,11 +256,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "solaris64-x86_64-gcc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1654,6 +1660,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2407,6 +2416,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2704,6 +2716,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3769,6 +3784,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3802,6 +3820,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4786,6 +4810,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5083,6 +5110,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6148,6 +6178,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6181,6 +6214,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7178,6 +7217,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7700,6 +7743,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9821,6 +9866,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9828,6 +9874,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11447,6 +11496,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11744,6 +11796,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12809,6 +12864,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12842,6 +12900,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13826,6 +13890,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14123,6 +14190,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15188,6 +15258,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15221,6 +15294,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16329,6 +16408,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16494,6 +16576,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16593,6 +16676,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16948,6 +17032,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16959,6 +17044,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18256,6 +18343,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18725,7 +18816,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18982,6 +19075,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19471,6 +19568,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19570,6 +19668,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19925,6 +20024,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19936,6 +20036,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20119,6 +20221,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20144,6 +20247,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24630,6 +24734,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25933,6 +26040,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26716,6 +26829,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27006,6 +27120,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 f953c4d35bb5b0..4936c63ba119fb 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: Thu Oct 26 15:02:16 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:06:25 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 4a7a3cf873a3e4..cce6080a4bdc5a 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -204,7 +204,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -256,11 +256,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "solaris64-x86_64-gcc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -783,6 +783,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -851,6 +854,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1654,6 +1660,9 @@ our %unified_info = (
             "MD5_ASM",
             "RC4_ASM"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2407,6 +2416,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2704,6 +2716,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3769,6 +3784,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3802,6 +3820,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4786,6 +4810,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5083,6 +5110,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6148,6 +6178,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6181,6 +6214,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7178,6 +7217,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7700,6 +7743,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9821,6 +9866,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9828,6 +9874,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11447,6 +11496,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11744,6 +11796,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12809,6 +12864,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12842,6 +12900,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13826,6 +13890,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14123,6 +14190,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15188,6 +15258,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15221,6 +15294,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16329,6 +16408,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16494,6 +16576,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16593,6 +16676,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16948,6 +17032,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16959,6 +17044,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18256,6 +18343,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18725,7 +18816,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18982,6 +19075,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19471,6 +19568,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19570,6 +19668,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19925,6 +20024,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19936,6 +20036,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -20119,6 +20221,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20144,6 +20247,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24630,6 +24734,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25933,6 +26040,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26716,6 +26829,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -27006,6 +27120,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 0fcdd941db1ba8..f14127004a37fb 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: Thu Oct 26 15:02:40 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:06:41 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 2646a1a35bf398..6f240203d77ae3 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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 902cd2bbbf9f69..1790bd78c651b1 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.12+quic",
+    "full_version" => "3.0.13+quic",
     "includes" => [],
     "lflags" => [],
     "lib_defines" => [
@@ -203,7 +203,7 @@ 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" => "12",
+    "patch" => "13",
     "perl_archname" => "x86_64-linux-gnu-thread-multi",
     "perl_cmd" => "/usr/bin/perl",
     "perl_version" => "5.34.0",
@@ -256,11 +256,11 @@ our %config = (
     "prerelease" => "",
     "processor" => "",
     "rc4_int" => "unsigned int",
-    "release_date" => "24 Oct 2023",
+    "release_date" => "30 Jan 2024",
     "shlib_version" => "81.3",
     "sourcedir" => ".",
     "target" => "solaris64-x86_64-gcc",
-    "version" => "3.0.12"
+    "version" => "3.0.13"
 );
 our %target = (
     "AR" => "ar",
@@ -784,6 +784,9 @@ our %unified_info = (
             "providers/fips" => {
                 "fips" => "1"
             },
+            "test/p_minimal" => {
+                "noinst" => "1"
+            },
             "test/p_test" => {
                 "noinst" => "1"
             }
@@ -852,6 +855,9 @@ our %unified_info = (
             "test/asn1_internal_test" => {
                 "noinst" => "1"
             },
+            "test/asn1_stable_parse_test" => {
+                "noinst" => "1"
+            },
             "test/asn1_string_table_test" => {
                 "noinst" => "1"
             },
@@ -1591,6 +1597,9 @@ our %unified_info = (
         "providers/libfips.a" => [
             "FIPS_MODULE"
         ],
+        "test/evp_extra_test" => [
+            "STATIC_LEGACY"
+        ],
         "test/provider_internal_test" => [
             "PROVIDER_INIT_FUNCTION_NAME=p_test_init"
         ],
@@ -2344,6 +2353,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -2641,6 +2653,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -3706,6 +3721,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -3739,6 +3757,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -4723,6 +4747,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -5020,6 +5047,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -6085,6 +6115,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -6118,6 +6151,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -7115,6 +7154,10 @@ our %unified_info = (
             "libcrypto.a",
             "test/libtestutil.a"
         ],
+        "test/asn1_stable_parse_test" => [
+            "libcrypto",
+            "test/libtestutil.a"
+        ],
         "test/asn1_string_table_test" => [
             "libcrypto",
             "test/libtestutil.a"
@@ -7637,6 +7680,8 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "libcrypto.a",
+            "providers/libcommon.a",
+            "providers/liblegacy.a",
             "test/libtestutil.a"
         ],
         "test/evp_extra_test2" => [
@@ -9700,6 +9745,7 @@ our %unified_info = (
         },
         "providers" => {
             "deps" => [
+                "providers/evp_extra_test-bin-legacyprov.o",
                 "providers/libcrypto-lib-baseprov.o",
                 "providers/libcrypto-lib-defltprov.o",
                 "providers/libcrypto-lib-nullprov.o",
@@ -9707,6 +9753,9 @@ our %unified_info = (
                 "providers/libdefault.a"
             ],
             "products" => {
+                "bin" => [
+                    "test/evp_extra_test"
+                ],
                 "dso" => [
                     "providers/fips",
                     "providers/legacy"
@@ -11326,6 +11375,9 @@ our %unified_info = (
         "doc/html/man3/CMS_sign_receipt.html" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/html/man3/CMS_signed_get_attr.html" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/html/man3/CMS_uncompress.html" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -11623,6 +11675,9 @@ our %unified_info = (
         "doc/html/man3/EVP_PKEY_fromdata.html" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/html/man3/EVP_PKEY_get_attr.html" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/html/man3/EVP_PKEY_get_default_digest_nid.html" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -12688,6 +12743,9 @@ our %unified_info = (
         "doc/html/man3/X509_ALGOR_dup.html" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/html/man3/X509_ATTRIBUTE.html" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/html/man3/X509_CRL_get0_by_serial.html" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -12721,6 +12779,12 @@ our %unified_info = (
         "doc/html/man3/X509_PUBKEY_new.html" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/html/man3/X509_REQ_get_attr.html" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/html/man3/X509_REQ_get_extensions.html" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/html/man3/X509_SIG_get0.html" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -13705,6 +13769,9 @@ our %unified_info = (
         "doc/man/man3/CMS_sign_receipt.3" => [
             "doc/man3/CMS_sign_receipt.pod"
         ],
+        "doc/man/man3/CMS_signed_get_attr.3" => [
+            "doc/man3/CMS_signed_get_attr.pod"
+        ],
         "doc/man/man3/CMS_uncompress.3" => [
             "doc/man3/CMS_uncompress.pod"
         ],
@@ -14002,6 +14069,9 @@ our %unified_info = (
         "doc/man/man3/EVP_PKEY_fromdata.3" => [
             "doc/man3/EVP_PKEY_fromdata.pod"
         ],
+        "doc/man/man3/EVP_PKEY_get_attr.3" => [
+            "doc/man3/EVP_PKEY_get_attr.pod"
+        ],
         "doc/man/man3/EVP_PKEY_get_default_digest_nid.3" => [
             "doc/man3/EVP_PKEY_get_default_digest_nid.pod"
         ],
@@ -15067,6 +15137,9 @@ our %unified_info = (
         "doc/man/man3/X509_ALGOR_dup.3" => [
             "doc/man3/X509_ALGOR_dup.pod"
         ],
+        "doc/man/man3/X509_ATTRIBUTE.3" => [
+            "doc/man3/X509_ATTRIBUTE.pod"
+        ],
         "doc/man/man3/X509_CRL_get0_by_serial.3" => [
             "doc/man3/X509_CRL_get0_by_serial.pod"
         ],
@@ -15100,6 +15173,12 @@ our %unified_info = (
         "doc/man/man3/X509_PUBKEY_new.3" => [
             "doc/man3/X509_PUBKEY_new.pod"
         ],
+        "doc/man/man3/X509_REQ_get_attr.3" => [
+            "doc/man3/X509_REQ_get_attr.pod"
+        ],
+        "doc/man/man3/X509_REQ_get_extensions.3" => [
+            "doc/man3/X509_REQ_get_extensions.pod"
+        ],
         "doc/man/man3/X509_SIG_get0.3" => [
             "doc/man3/X509_SIG_get0.pod"
         ],
@@ -16208,6 +16287,9 @@ our %unified_info = (
             "test/generate_buildtest.pl",
             "whrlpool"
         ],
+        "test/p_minimal.ld" => [
+            "util/providers.num"
+        ],
         "test/p_test.ld" => [
             "util/providers.num"
         ],
@@ -16373,6 +16455,7 @@ our %unified_info = (
             "doc/html/man3/CMS_get1_ReceiptRequest.html",
             "doc/html/man3/CMS_sign.html",
             "doc/html/man3/CMS_sign_receipt.html",
+            "doc/html/man3/CMS_signed_get_attr.html",
             "doc/html/man3/CMS_uncompress.html",
             "doc/html/man3/CMS_verify.html",
             "doc/html/man3/CMS_verify_receipt.html",
@@ -16472,6 +16555,7 @@ our %unified_info = (
             "doc/html/man3/EVP_PKEY_encapsulate.html",
             "doc/html/man3/EVP_PKEY_encrypt.html",
             "doc/html/man3/EVP_PKEY_fromdata.html",
+            "doc/html/man3/EVP_PKEY_get_attr.html",
             "doc/html/man3/EVP_PKEY_get_default_digest_nid.html",
             "doc/html/man3/EVP_PKEY_get_field_type.html",
             "doc/html/man3/EVP_PKEY_get_group_name.html",
@@ -16827,6 +16911,7 @@ our %unified_info = (
             "doc/html/man3/X509V3_get_d2i.html",
             "doc/html/man3/X509V3_set_ctx.html",
             "doc/html/man3/X509_ALGOR_dup.html",
+            "doc/html/man3/X509_ATTRIBUTE.html",
             "doc/html/man3/X509_CRL_get0_by_serial.html",
             "doc/html/man3/X509_EXTENSION_set_object.html",
             "doc/html/man3/X509_LOOKUP.html",
@@ -16838,6 +16923,8 @@ our %unified_info = (
             "doc/html/man3/X509_NAME_get_index_by_NID.html",
             "doc/html/man3/X509_NAME_print_ex.html",
             "doc/html/man3/X509_PUBKEY_new.html",
+            "doc/html/man3/X509_REQ_get_attr.html",
+            "doc/html/man3/X509_REQ_get_extensions.html",
             "doc/html/man3/X509_SIG_get0.html",
             "doc/html/man3/X509_STORE_CTX_get_error.html",
             "doc/html/man3/X509_STORE_CTX_new.html",
@@ -18135,6 +18222,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/asn1_stable_parse_test" => [
+            "include",
+            "apps/include"
+        ],
         "test/asn1_string_table_test" => [
             "include",
             "apps/include"
@@ -18604,7 +18695,9 @@ our %unified_info = (
         ],
         "test/evp_extra_test" => [
             "include",
-            "apps/include"
+            "apps/include",
+            "providers/common/include",
+            "providers/implementations/include"
         ],
         "test/evp_extra_test2" => [
             "include",
@@ -18861,6 +18954,10 @@ our %unified_info = (
             "include",
             "apps/include"
         ],
+        "test/p_minimal" => [
+            "include",
+            "."
+        ],
         "test/p_test" => [
             "include",
             "."
@@ -19350,6 +19447,7 @@ our %unified_info = (
             "doc/man/man3/CMS_get1_ReceiptRequest.3",
             "doc/man/man3/CMS_sign.3",
             "doc/man/man3/CMS_sign_receipt.3",
+            "doc/man/man3/CMS_signed_get_attr.3",
             "doc/man/man3/CMS_uncompress.3",
             "doc/man/man3/CMS_verify.3",
             "doc/man/man3/CMS_verify_receipt.3",
@@ -19449,6 +19547,7 @@ our %unified_info = (
             "doc/man/man3/EVP_PKEY_encapsulate.3",
             "doc/man/man3/EVP_PKEY_encrypt.3",
             "doc/man/man3/EVP_PKEY_fromdata.3",
+            "doc/man/man3/EVP_PKEY_get_attr.3",
             "doc/man/man3/EVP_PKEY_get_default_digest_nid.3",
             "doc/man/man3/EVP_PKEY_get_field_type.3",
             "doc/man/man3/EVP_PKEY_get_group_name.3",
@@ -19804,6 +19903,7 @@ our %unified_info = (
             "doc/man/man3/X509V3_get_d2i.3",
             "doc/man/man3/X509V3_set_ctx.3",
             "doc/man/man3/X509_ALGOR_dup.3",
+            "doc/man/man3/X509_ATTRIBUTE.3",
             "doc/man/man3/X509_CRL_get0_by_serial.3",
             "doc/man/man3/X509_EXTENSION_set_object.3",
             "doc/man/man3/X509_LOOKUP.3",
@@ -19815,6 +19915,8 @@ our %unified_info = (
             "doc/man/man3/X509_NAME_get_index_by_NID.3",
             "doc/man/man3/X509_NAME_print_ex.3",
             "doc/man/man3/X509_PUBKEY_new.3",
+            "doc/man/man3/X509_REQ_get_attr.3",
+            "doc/man/man3/X509_REQ_get_extensions.3",
             "doc/man/man3/X509_SIG_get0.3",
             "doc/man/man3/X509_STORE_CTX_get_error.3",
             "doc/man/man3/X509_STORE_CTX_new.3",
@@ -19998,6 +20100,7 @@ our %unified_info = (
     "modules" => [
         "providers/fips",
         "providers/legacy",
+        "test/p_minimal",
         "test/p_test"
     ],
     "programs" => [
@@ -20023,6 +20126,7 @@ our %unified_info = (
         "test/asn1_dsa_internal_test",
         "test/asn1_encode_test",
         "test/asn1_internal_test",
+        "test/asn1_stable_parse_test",
         "test/asn1_string_table_test",
         "test/asn1_time_test",
         "test/asynciotest",
@@ -24340,6 +24444,9 @@ our %unified_info = (
         "providers/common/libfips-lib-securitycheck_fips.o" => [
             "providers/common/securitycheck_fips.c"
         ],
+        "providers/evp_extra_test-bin-legacyprov.o" => [
+            "providers/legacyprov.c"
+        ],
         "providers/fips" => [
             "providers/fips.ld",
             "providers/fips/fips-dso-fips_entry.o"
@@ -25620,6 +25727,12 @@ our %unified_info = (
         "test/asn1_internal_test-bin-asn1_internal_test.o" => [
             "test/asn1_internal_test.c"
         ],
+        "test/asn1_stable_parse_test" => [
+            "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o"
+        ],
+        "test/asn1_stable_parse_test-bin-asn1_stable_parse_test.o" => [
+            "test/asn1_stable_parse_test.c"
+        ],
         "test/asn1_string_table_test" => [
             "test/asn1_string_table_test-bin-asn1_string_table_test.o"
         ],
@@ -26403,6 +26516,7 @@ our %unified_info = (
             "test/errtest.c"
         ],
         "test/evp_extra_test" => [
+            "providers/evp_extra_test-bin-legacyprov.o",
             "test/evp_extra_test-bin-evp_extra_test.o"
         ],
         "test/evp_extra_test-bin-evp_extra_test.o" => [
@@ -26693,6 +26807,13 @@ our %unified_info = (
         "test/ossl_store_test-bin-ossl_store_test.o" => [
             "test/ossl_store_test.c"
         ],
+        "test/p_minimal" => [
+            "test/p_minimal-dso-p_minimal.o",
+            "test/p_minimal.ld"
+        ],
+        "test/p_minimal-dso-p_minimal.o" => [
+            "test/p_minimal.c"
+        ],
         "test/p_test" => [
             "test/p_test-dso-p_test.o",
             "test/p_test.ld"
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 84378d6580e182..bcc7cb4282dcdb 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: Thu Oct 26 15:03:03 2023 UTC"
+#define DATE "built on: Wed Jan 31 13:06:57 2024 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 e16cf622c69d23..f9aa74731c833c 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
@@ -867,7 +867,7 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
                       int (*puts) (BIO *, const char *));
 int (*BIO_meth_get_gets(const BIO_METHOD *biom)) (BIO *, char *, int);
 int BIO_meth_set_gets(BIO_METHOD *biom,
-                      int (*gets) (BIO *, char *, int));
+                      int (*ossl_gets) (BIO *, char *, int));
 long (*BIO_meth_get_ctrl(const BIO_METHOD *biom)) (BIO *, int, long, void *);
 int BIO_meth_set_ctrl(BIO_METHOD *biom,
                       long (*ctrl) (BIO *, int, long, void *));
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 ea36c0ca51c2ab..65f3bfa0540b2d 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  12
+# define OPENSSL_VERSION_PATCH  13
 
 /*
  * 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.12"
-# define OPENSSL_FULL_VERSION_STR "3.0.12+quic"
+# define OPENSSL_VERSION_STR "3.0.13"
+# define OPENSSL_FULL_VERSION_STR "3.0.13+quic"
 
 /*
  * SECTION 3: ADDITIONAL METADATA
  *
  * These strings are defined separately to allow them to be parsable.
  */
-# define OPENSSL_RELEASE_DATE "24 Oct 2023"
+# define OPENSSL_RELEASE_DATE "30 Jan 2024"
 
 /*
  * SECTION 4: BACKWARD COMPATIBILITY
  */
 
-# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.12+quic 24 Oct 2023"
+# define OPENSSL_VERSION_TEXT "OpenSSL 3.0.13+quic 30 Jan 2024"
 
 /* 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/progs.h b/deps/openssl/config/archs/solaris64-x86_64-gcc/no-asm/include/progs.h
index 83c829a721bf0b..f1d15624839fbb 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-2023 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 1995-2024 The OpenSSL Project Authors. All Rights Reserved.
  *
  * Licensed under 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/crypto/perlasm/x86asm.pl b/deps/openssl/openssl/crypto/perlasm/x86asm.pl
index 8dcde9eacaa3d1..98a7159a5f131c 100644
--- a/deps/openssl/openssl/crypto/perlasm/x86asm.pl
+++ b/deps/openssl/openssl/crypto/perlasm/x86asm.pl
@@ -174,9 +174,9 @@ sub ::vprotd
 
 sub ::endbranch
 {
-    &::generic("#ifdef __CET__\n");
+    &::generic("%ifdef __CET__\n");
     &::data_byte(0xf3,0x0f,0x1e,0xfb);
-    &::generic("#endif\n");
+    &::generic("%endif\n");
 }
 
 # label management
diff --git a/deps/openssl/openssl/include/crypto/bn_conf.h b/deps/openssl/openssl/include/crypto/bn_conf.h
new file mode 100644
index 00000000000000..79400c6472a49c
--- /dev/null
+++ b/deps/openssl/openssl/include/crypto/bn_conf.h
@@ -0,0 +1 @@
+#include "../../../config/bn_conf.h"
diff --git a/deps/openssl/openssl/include/crypto/dso_conf.h b/deps/openssl/openssl/include/crypto/dso_conf.h
new file mode 100644
index 00000000000000..e7f2afa9872320
--- /dev/null
+++ b/deps/openssl/openssl/include/crypto/dso_conf.h
@@ -0,0 +1 @@
+#include "../../../config/dso_conf.h"
diff --git a/deps/openssl/openssl/include/openssl/asn1.h b/deps/openssl/openssl/include/openssl/asn1.h
new file mode 100644
index 00000000000000..cd9fc7cc706c37
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/asn1.h
@@ -0,0 +1 @@
+#include "../../../config/asn1.h"
diff --git a/deps/openssl/openssl/include/openssl/asn1t.h b/deps/openssl/openssl/include/openssl/asn1t.h
new file mode 100644
index 00000000000000..6ff4f574949bbd
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/asn1t.h
@@ -0,0 +1 @@
+#include "../../../config/asn1t.h"
diff --git a/deps/openssl/openssl/include/openssl/bio.h b/deps/openssl/openssl/include/openssl/bio.h
new file mode 100644
index 00000000000000..dcece3cb4d6ebf
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/bio.h
@@ -0,0 +1 @@
+#include "../../../config/bio.h"
diff --git a/deps/openssl/openssl/include/openssl/cmp.h b/deps/openssl/openssl/include/openssl/cmp.h
new file mode 100644
index 00000000000000..7c8a6dc96fc360
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/cmp.h
@@ -0,0 +1 @@
+#include "../../../config/cmp.h"
diff --git a/deps/openssl/openssl/include/openssl/cms.h b/deps/openssl/openssl/include/openssl/cms.h
new file mode 100644
index 00000000000000..33a00775c9fa76
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/cms.h
@@ -0,0 +1 @@
+#include "../../../config/cms.h"
diff --git a/deps/openssl/openssl/include/openssl/conf.h b/deps/openssl/openssl/include/openssl/conf.h
new file mode 100644
index 00000000000000..2712886cafcd78
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/conf.h
@@ -0,0 +1 @@
+#include "../../../config/conf.h"
diff --git a/deps/openssl/openssl/include/openssl/configuration.h b/deps/openssl/openssl/include/openssl/configuration.h
new file mode 100644
index 00000000000000..8ffad996047c5e
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/configuration.h
@@ -0,0 +1 @@
+#include "../../../config/configuration.h"
diff --git a/deps/openssl/openssl/include/openssl/crmf.h b/deps/openssl/openssl/include/openssl/crmf.h
new file mode 100644
index 00000000000000..4103852ecb21c2
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/crmf.h
@@ -0,0 +1 @@
+#include "../../../config/crmf.h"
diff --git a/deps/openssl/openssl/include/openssl/crypto.h b/deps/openssl/openssl/include/openssl/crypto.h
new file mode 100644
index 00000000000000..6d0e701ebd3c19
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/crypto.h
@@ -0,0 +1 @@
+#include "../../../config/crypto.h"
diff --git a/deps/openssl/openssl/include/openssl/ct.h b/deps/openssl/openssl/include/openssl/ct.h
new file mode 100644
index 00000000000000..7ebb84387135be
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/ct.h
@@ -0,0 +1 @@
+#include "../../../config/ct.h"
diff --git a/deps/openssl/openssl/include/openssl/err.h b/deps/openssl/openssl/include/openssl/err.h
new file mode 100644
index 00000000000000..bf482070474781
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/err.h
@@ -0,0 +1 @@
+#include "../../../config/err.h"
diff --git a/deps/openssl/openssl/include/openssl/ess.h b/deps/openssl/openssl/include/openssl/ess.h
new file mode 100644
index 00000000000000..64cc016225119f
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/ess.h
@@ -0,0 +1 @@
+#include "../../../config/ess.h"
diff --git a/deps/openssl/openssl/include/openssl/fipskey.h b/deps/openssl/openssl/include/openssl/fipskey.h
new file mode 100644
index 00000000000000..c012013d98d4e8
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/fipskey.h
@@ -0,0 +1 @@
+#include "../../../config/fipskey.h"
diff --git a/deps/openssl/openssl/include/openssl/lhash.h b/deps/openssl/openssl/include/openssl/lhash.h
new file mode 100644
index 00000000000000..8d824f5cfe6274
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/lhash.h
@@ -0,0 +1 @@
+#include "../../../config/lhash.h"
diff --git a/deps/openssl/openssl/include/openssl/ocsp.h b/deps/openssl/openssl/include/openssl/ocsp.h
new file mode 100644
index 00000000000000..5b13afedf36bb6
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/ocsp.h
@@ -0,0 +1 @@
+#include "../../../config/ocsp.h"
diff --git a/deps/openssl/openssl/include/openssl/opensslv.h b/deps/openssl/openssl/include/openssl/opensslv.h
new file mode 100644
index 00000000000000..078cfba40fbe73
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/opensslv.h
@@ -0,0 +1 @@
+#include "../../../config/opensslv.h"
diff --git a/deps/openssl/openssl/include/openssl/pkcs12.h b/deps/openssl/openssl/include/openssl/pkcs12.h
new file mode 100644
index 00000000000000..2d7e2c08e99175
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/pkcs12.h
@@ -0,0 +1 @@
+#include "../../../config/pkcs12.h"
diff --git a/deps/openssl/openssl/include/openssl/pkcs7.h b/deps/openssl/openssl/include/openssl/pkcs7.h
new file mode 100644
index 00000000000000..b553f9d0f053b0
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/pkcs7.h
@@ -0,0 +1 @@
+#include "../../../config/pkcs7.h"
diff --git a/deps/openssl/openssl/include/openssl/safestack.h b/deps/openssl/openssl/include/openssl/safestack.h
new file mode 100644
index 00000000000000..989eafb33023b9
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/safestack.h
@@ -0,0 +1 @@
+#include "../../../config/safestack.h"
diff --git a/deps/openssl/openssl/include/openssl/srp.h b/deps/openssl/openssl/include/openssl/srp.h
new file mode 100644
index 00000000000000..9df42dad4c3127
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/srp.h
@@ -0,0 +1 @@
+#include "../../../config/srp.h"
diff --git a/deps/openssl/openssl/include/openssl/ssl.h b/deps/openssl/openssl/include/openssl/ssl.h
new file mode 100644
index 00000000000000..eb74ca98a9759a
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/ssl.h
@@ -0,0 +1 @@
+#include "../../../config/ssl.h"
diff --git a/deps/openssl/openssl/include/openssl/ui.h b/deps/openssl/openssl/include/openssl/ui.h
new file mode 100644
index 00000000000000..f5edb766b4fc6c
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/ui.h
@@ -0,0 +1 @@
+#include "../../../config/ui.h"
diff --git a/deps/openssl/openssl/include/openssl/x509.h b/deps/openssl/openssl/include/openssl/x509.h
new file mode 100644
index 00000000000000..ed28bd68cb2474
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/x509.h
@@ -0,0 +1 @@
+#include "../../../config/x509.h"
diff --git a/deps/openssl/openssl/include/openssl/x509_vfy.h b/deps/openssl/openssl/include/openssl/x509_vfy.h
new file mode 100644
index 00000000000000..9270a3ee09750a
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/x509_vfy.h
@@ -0,0 +1 @@
+#include "../../../config/x509_vfy.h"
diff --git a/deps/openssl/openssl/include/openssl/x509v3.h b/deps/openssl/openssl/include/openssl/x509v3.h
new file mode 100644
index 00000000000000..5629ae9a3a90af
--- /dev/null
+++ b/deps/openssl/openssl/include/openssl/x509v3.h
@@ -0,0 +1 @@
+#include "../../../config/x509v3.h"