Opened 8 years ago
Closed 8 years ago
#844 closed Bug / Defect ( fixed )
OpenVPN fails to build against LibreSSL 2.5.1
| Reported by: | living180 | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Building / Compiling | Version: | OpenVPN 2.4.0 (Community Ed) |
| Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
| Cc: |
Description
Attempting to build against LibreSSL 2.5.1 results in the following compilation 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.
This was originally reported to Gentoo as
bug 608244
. That bug now includes a patch which fixes the error.
This was merged in master and release/2.4
commit dcfd3b6173d8cdb4658de23db1dd0bd932b390d2 (master)
commit fb802b9b0d9366093b5567c0f3e9845b2f30e9cc (release/2.4)
Author: Olivier Wahrenberger
Date: Mon Feb 13 19:38:26 2017 +0100
... 2.4.1 is supposed to be released today, and contains the fix. So I'll close this ticket.