Package: openssl
Version: 1.1.0f-4
Severity: normal

Dear Maintainer,

Trying to compile stock Asterisk 11.25.1 version on Stretch -even after having 
upgraded libssl and openssl to unstable 1.1.0f-4 version- it fail with 

   [CC] tcptls.c -> tcptls.o
tcptls.c: In function ‘tcptls_stream_close’:
tcptls.c:401:20: error: dereferencing pointer to incomplete type ‘SSL {aka 
struct ssl_st}’
    if (!stream->ssl->server) {
tcptls.c:404:5: warning: ‘ERR_remove_thread_state’ is deprecated 
In file included from /usr/include/openssl/ct.h:13:0,
                 from /usr/include/openssl/ssl.h:61,
                 from /usr/src/asterisk-11.25.1/include/asterisk/tcptls.h:66,
                 from tcptls.c:44:
/usr/include/openssl/err.h:247:1: note: declared here
 DEPRECATEDIN_1_1_0(void ERR_remove_thread_state(void *))
tcptls.c: In function ‘__ssl_setup’:
tcptls.c:779:31: warning: implicit declaration of function 
‘SSLv2_client_method’ [-Wimplicit-function-declaration]
    cfg->ssl_ctx = SSL_CTX_new(SSLv2_client_method());
tcptls.c:779:31: warning: passing argument 1 of ‘SSL_CTX_new’ makes pointer 
from integer without a cast [-Wint-conversion]
In file included from /usr/src/asterisk-11.25.1/include/asterisk/tcptls.h:66:0,
                 from tcptls.c:44:
/usr/include/openssl/ssl.h:1321:17: note: expected ‘const SSL_METHOD * {aka 
const struct ssl_method_st *}’ but argument is of type ‘int’
 __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
tcptls.c:789:4: warning: ‘TLSv1_client_method’ is deprecated 
    cfg->ssl_ctx = SSL_CTX_new(TLSv1_client_method());
In file included from /usr/include/openssl/ct.h:13:0,
                 from /usr/include/openssl/ssl.h:61,
                 from /usr/src/asterisk-11.25.1/include/asterisk/tcptls.h:66,
                 from tcptls.c:44:
/usr/include/openssl/ssl.h:1614:1: note: declared here
 DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* 
TLSv1.0 */
/usr/src/asterisk-11.25.1/Makefile.rules:143 : la recette pour la cible « 
tcptls.o » a échouée
make[1]: *** [tcptls.o] Erreur 1
Makefile:397 : la recette pour la cible « main » a échouée
make: *** [main] Erreur 2

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openssl depends on:
ii  libc6      2.24-11+deb9u1
ii  libssl1.1  1.1.0f-4

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates  20161130+nmu1

-- no debconf information

Reply via email to