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.
Created attachment 463748 [details, diff] this patch fixes it
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576416b15056b11df59e03473e4e82037d74ee9b Fixed.
Reported upstream as https://community.openvpn.net/openvpn/ticket/844