Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 492158 Details for
Bug 608398
net-proxy/haproxy-1.7.2 : src/ssl_sock.c:796:28: error: ‘SSL_CTX {aka struct ssl_ctx_st}’ has no member named ‘tlsext_status_cb’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
haproxy-1.7.9-libressl.patch
haproxy-1.7.9-libressl.patch (text/plain), 1.69 KB, created by
Marco Genasci
on 2017-09-03 19:44:21 UTC
(
hide
)
Description:
haproxy-1.7.9-libressl.patch
Filename:
MIME Type:
Creator:
Marco Genasci
Created:
2017-09-03 19:44:21 UTC
Size:
1.69 KB
patch
obsolete
>diff -Naur haproxy-1.7.9.orig/src/ssl_sock.c haproxy-1.7.9/src/ssl_sock.c >--- haproxy-1.7.9.orig/src/ssl_sock.c 2017-09-02 07:56:07.072985780 +0200 >+++ haproxy-1.7.9/src/ssl_sock.c 2017-09-02 08:03:06.643962572 +0200 >@@ -794,8 +794,11 @@ > ocsp = NULL; > > #ifndef SSL_CTX_get_tlsext_status_cb >-# define SSL_CTX_get_tlsext_status_cb(ctx, cb) \ >- *cb = (void (*) (void))ctx->tlsext_status_cb; >+#ifndef SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB >+#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB 128 >+#endif >+#define SSL_CTX_get_tlsext_status_cb(ctx, cb) \ >+ *cb = SSL_CTX_ctrl(ctx,SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB,0, (void (**)(void))cb) > #endif > SSL_CTX_get_tlsext_status_cb(ctx, &callback); > >@@ -823,7 +826,10 @@ > int key_type; > EVP_PKEY *pkey; > >-#ifdef SSL_CTX_get_tlsext_status_arg >+#if defined(SSL_CTX_get_tlsext_status_arg) || defined(LIBRESSL_VERSION_NUMBER) >+#ifndef SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG >+#define SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG 129 >+#endif > SSL_CTX_ctrl(ctx, SSL_CTRL_GET_TLSEXT_STATUS_REQ_CB_ARG, 0, &cb_arg); > #else > cb_arg = ctx->tlsext_status_arg; >@@ -3539,7 +3545,7 @@ > OSSL_HANDSHAKE_STATE state = SSL_get_state((SSL *)conn->xprt_ctx); > empty_handshake = state == TLS_ST_BEFORE; > #else >- empty_handshake = !((SSL *)conn->xprt_ctx)->packet_length; >+ empty_handshake = SSL_state((SSL *)conn->xprt_ctx) == SSL_ST_BEFORE; > #endif > > if (empty_handshake) { >@@ -3617,7 +3623,7 @@ > state = SSL_get_state((SSL *)conn->xprt_ctx); > empty_handshake = state == TLS_ST_BEFORE; > #else >- empty_handshake = !((SSL *)conn->xprt_ctx)->packet_length; >+ empty_handshake = SSL_state((SSL *)conn->xprt_ctx) == SSL_ST_BEFORE; > #endif > if (empty_handshake) { > if (!errno) {
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 608398
:
462588
|
462590
|
462592
|
462594
|
462596
| 492158