early-access version 2853
This commit is contained in:
13
externals/vcpkg/ports/azure-c-shared-utility/openssl.patch
vendored
Executable file
13
externals/vcpkg/ports/azure-c-shared-utility/openssl.patch
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
diff --git a/adapters/x509_openssl.c b/adapters/x509_openssl.c
|
||||
index 5a9e5ac2..bb946c2d 100644
|
||||
--- a/adapters/x509_openssl.c
|
||||
+++ b/adapters/x509_openssl.c
|
||||
@@ -75,7 +75,7 @@ static int load_certificate_chain(SSL_CTX* ssl_ctx, const char* certificate)
|
||||
// certificates.
|
||||
|
||||
/* Codes_SRS_X509_OPENSSL_07_006: [ If successful x509_openssl_add_ecc_credentials shall to import each certificate in the cert chain. ] */
|
||||
-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (OPENSSL_VERSION_NUMBER < 0x20000000L)
|
||||
+#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
|
||||
SSL_CTX_clear_extra_chain_certs(ssl_ctx);
|
||||
#else
|
||||
if (ssl_ctx->extra_certs != NULL)
|
Reference in New Issue
Block a user