FreeBSD Bugzilla – Attachment 204342 Details for
Bug 237757
www/nginx-devel: OCSP stapling broken with security/libressl 2.9.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix/unify access to SSL_CTX certificate chains
file_237757.txt (text/plain), 924 bytes, created by
Elias Ohm
on 2019-05-12 23:40:54 UTC
(
hide
)
Description:
fix/unify access to SSL_CTX certificate chains
Filename:
MIME Type:
Creator:
Elias Ohm
Created:
2019-05-12 23:40:54 UTC
Size:
924 bytes
patch
obsolete
>--- src/event/ngx_event_openssl_stapling.c.org 2019-05-12 23:56:58.526833000 +0200 >+++ src/event/ngx_event_openssl_stapling.c 2019-05-13 01:31:53.737800000 +0200 >@@ -298,7 +298,10 @@ > SSL_CTX_select_current_cert(ssl->ctx, cert); > #endif > >-#ifdef SSL_CTRL_GET_EXTRA_CHAIN_CERTS >+#ifdef SSL_CTX_get0_chain_certs >+ /* OpenSSL 1.0.2+ */ >+ SSL_CTX_get0_chain_certs(ssl->ctx, &chain); >+#elif SSL_CTRL_GET_EXTRA_CHAIN_CERTS > /* OpenSSL 1.0.1+ */ > SSL_CTX_get_extra_chain_certs(ssl->ctx, &chain); > #else >@@ -655,7 +658,10 @@ > SSL_CTX_select_current_cert(staple->ssl_ctx, ctx->cert); > #endif > >-#ifdef SSL_CTRL_GET_EXTRA_CHAIN_CERTS >+#ifdef SSL_CTX_get0_chain_certs >+ /* OpenSSL 1.0.2+ */ >+ SSL_CTX_get0_chain_certs(staple->ssl_ctx, &chain); >+#elif SSL_CTRL_GET_EXTRA_CHAIN_CERTS > /* OpenSSL 1.0.1+ */ > SSL_CTX_get_extra_chain_certs(staple->ssl_ctx, &chain); > #else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 237757
: 204342