Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608244 - dev-libs/libressl-2.5.1 breaks openvpn
Summary: dev-libs/libressl-2.5.1 breaks openvpn
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-04 19:16 UTC by Daniel Harding
Modified: 2017-02-15 15:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
this patch fixes it (fix-libressl.patch,771 bytes, patch)
2017-02-14 19:43 UTC, Jason A. Donenfeld
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 archtester Gentoo Infrastructure gentoo-dev Security 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