Summary: | net-vpn/openconnect-8.02 : openssl-dtls.c:481:12: error: implicit declaration of function SSL_CIPHER_find | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Mike Gilbert <floppym> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | steils, williamh |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 561854, 675722 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 net-vpn:openconnect-8.02:20190118-192947.log temp.tbz2 |
Description
Toralf Förster
2019-01-18 20:22:44 UTC
Created attachment 562056 [details]
emerge-info.txt
Created attachment 562058 [details]
emerge-history.txt
Created attachment 562060 [details]
environment
Created attachment 562062 [details]
etc.portage.tbz2
Created attachment 562064 [details]
logs.tbz2
Created attachment 562066 [details]
net-vpn:openconnect-8.02:20190118-192947.log
Created attachment 562068 [details]
temp.tbz2
builds fine with gcc-8.3.0 and libressl-2.8.3 It does not with USE="-gnutls libressl". openssl-esp.c:40:25: error: static declaration of ‘HMAC_CTX_new’ follows non-static declaration static inline HMAC_CTX *HMAC_CTX_new(void) ^~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:149, from openconnect-internal.h:45, from openssl-esp.c:25: /usr/include/openssl/hmac.h:86:11: note: previous declaration of ‘HMAC_CTX_new’ was here HMAC_CTX *HMAC_CTX_new(void); ^~~~~~~~~~~~ make[1]: *** [Makefile:1100: libopenconnect_la-openssl-esp.lo] Error If you build it with USE="libressl" it nevertheless builds with "gnutls", because of "+gnutls". P.S. LibreSSL 2.8.3, openconnect 8.02. (In reply to Stefan Strogin from comment #10) How about openconnect-8.03? I sent a patch for this along with another fix for LibreSSL upstream: https://lists.infradead.org/pipermail/openconnect-devel/2019-August/005394.html https://lists.infradead.org/pipermail/openconnect-devel/2019-August/005395.html (In reply to Philipp Ammann from comment #12) > I sent a patch for this along with another fix for LibreSSL upstream: > > https://lists.infradead.org/pipermail/openconnect-devel/2019-August/005394. > html > https://lists.infradead.org/pipermail/openconnect-devel/2019-August/005395. > html Works with 8.03, thanks. However if I try to build openconnect-8.04 (not bumped yet) it fails with openssl-dtls.c: In function ‘start_dtls_handshake’: openssl-dtls.c:337:13: error: ‘DTLS1_2_VERSION’ undeclared (first use in this function); did you mean ‘TLS1_2_VERSION’? 337 | dtlsver = DTLS1_2_VERSION; | ^~~~~~~~~~~~~~~ | TLS1_2_VERSION Unfortunately LibreSSL does not support DTLS v1.2. autoconf tries to check DTLS v1.2 support, and enables it wrongly with LibreSSL. openconnect-8.02 will be removed soon. |