[noPoll] Compile error deprecated functions TLS

Kjell Irgens kjell en spacetec.no
Dom Jun 11 09:19:38 CEST 2017


----- On 11 Jun, 2017, at 07:03, Chris Severance aur.severach at spamgourmet.com wrote:
> https://aur.archlinux.org/packages/nopoll/
> % gcc --version
> gcc (GCC) 7.1.1 20170528
> % pacman -Q openssl
> openssl 1.1.0.f-1
> 
> nopoll_conn.c:586:3: error: 'TLSv1_client_method' is deprecated
> [-Werror=deprecated-declarations]

Hi Chris,

I was able to make it compile by using the modifications attached to this mail.  Someone should make an autoconf check for TLS_client_method() availability and use the new API when available.

--Kjell


CONFIDENTIALITY This e-mail and any attachment contain KONGSBERG information which may be proprietary, confidential or subject to export regulations, and is only meant or the intended recipient(s). Any disclosure, copying, distribution or use is prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in error, please delete it immediately from your system and notify the sender properly. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssl11.patch
Type: text/x-patch
Size: 4688 bytes
Desc: not available
URL: <http://lists.aspl.es/pipermail/nopoll/attachments/20170611/586f3611/attachment.bin>


Más información sobre la lista de distribución noPoll