[squid-users] Compile error from port on FreeBSD 11.2-RELEASE r342572

Amos Jeffries squid3 at treenet.co.nz
Tue Jun 25 09:09:03 UTC 2019



On 25/06/19 4:22 am, oleg palukhin wrote:
> Hi list.	
> Trying update to squid3-3.5.28_2 from squid3-3.5.28_1 (port on  FreeBSD
> 11.2-RELEASE):
> "--- support.lo ---
> support.cc:2203:9: error: no matching function for call to
> 'SSL_CTX_sess_set_get_cb' SSL_CTX_sess_set_get_cb(ctx, get_session_cb);
>         ^~~~~~~~~~~~~~~~~~~~~~~
> /usr/local/include/openssl/ssl.h:737:6: note: candidate function not
> viable: no known conversion from 'SSL_SESSION *(SSL *, unsigned char *,
> int, int *)' (aka 'ssl_session_st *(ssl_st *, unsigned char *, int, int
> *)') to 'SSL_SESSION *(*)(struct ssl_st *, const unsigned char *, int,
> int *)' (aka 'ssl_session_st *(*)(ssl_st *, const unsigned char *, int,
> int *)') for 2nd argument void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, ^
> 1 error generated."
> 
> My DEFAULT_VERSIONS+=ssl=libressl, may be it`s break point? All previos
> updating compilations were clean until now.
> Any kick in right direction, please.
> 


libressl claims to be "OpenSSL version 2.0".

Please try the current stable / production release of Squid. Which
today is v4.

PS. If you are buildling your own Squid and using TLS/SSL functionality
please follow the latest release version. TLS is a very volatile
environment these past few years and almost every Squid release has
improvements for things like this.

Amos


More information about the squid-users mailing list