Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 608244

Summary: dev-libs/libressl-2.5.1 breaks openvpn
Product: Gentoo Linux Reporter: Daniel Harding <dharding>
Component: Current packagesAssignee: Gentoo LibreSSL <libressl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: this patch fixes it

Description Daniel Harding 2017-02-04 19:16:55 UTC
When attempting to emerge openvpn after upgrading to libressl-2.5.1, the openvpn build fails with the following error:

    ssl_openssl.c: In function ‘tls_ctx_load_ecdh_params’:
    ssl_openssl.c:512:28: error: ‘SSL_CTX {aka struct ssl_ctx_st}’ has no member named ‘cert’
             ssl.cert = ctx->ctx->cert;
                                ^
    make[3]: *** [Makefile:670: ssl_openssl.o] Error 1

This is due to change 5a887ca93f1f8d1f3e55878cfa98141777e543da in libressl (CVS: ssl.h,v 1.113) which moved large number of fields from struct ssl_ctx_st into ssl_ctx_internal_st.
Comment 1 Jason A. Donenfeld gentoo-dev 2017-02-14 19:43:45 UTC
Created attachment 463748 [details, diff]
this patch fixes it
Comment 3 Daniel Harding 2017-02-15 15:20:10 UTC
Reported upstream as https://community.openvpn.net/openvpn/ticket/844