[noPoll] Compile error deprecated functions TLS

Francis Brosnan Blázquez francis.brosnan en aspl.es
Mar Jun 13 21:15:44 CEST 2017


Hello Kjell,

Just let you know TLS_client_method() availability is being checked
during configure (and configure.ac):

https://github.com/ASPLes/nopoll/blob/master/configure.ac#L256

In fact, your patch removes that support:

-#if defined(NOPOLL_HAVE_TLS_FLEXIBLE_ENABLED)
-       case NOPOLL_METHOD_TLS_FLEXIBLE:
-               return SSL_CTX_new (is_client ? TLS_client_method () :
TLS_server_method ());
-#endif         

Regards,


El dom, 11-06-2017 a las 09:19 +0200, Kjell Irgens escribió:

> ----- On 11 Jun, 2017, at 07:03, Chris Severance
> aur.severach en 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. 
> 
> _______________________________________________
> noPoll mailing list
> noPoll en lists.aspl.es
> http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll


-- 
Francis Brosnan Blázquez  -  ASPL
http://www.asplhosting.com/
http://www.aspl.es/
https://twitter.com/aspl_es
https://twitter.com/asplhosting
https://twitter.com/francisbrosnanb
https://es.linkedin.com/in/francis-brosnan-blázquez-1353a218

91 134 14 22 - 91 134 14 45 - 91 116 07 57
Av. Juan Carlos I 13, 2ºC, Torre Garena
28806 - Alcalá de Henares (España)

AVISO LEGAL
 
En virtud de lo dispuesto en la Ley Orgánica 15/1999, de 13 de
diciembre, de Protección de Datos de Carácter Personal, le informamos de
que sus datos de carácter personal, recogidos de fuentes accesibles al
público o datos que usted nos ha facilitado previamente, proceden de
bases de datos propiedad de Advanced Software Production Line, S.L.
(ASPL).
 
ASPL garantiza que los datos serán tratados con la finalidad de mantener
las oportunas relaciones comerciales o promocionales con usted o la
entidad que usted representa. No obstante, usted puede ejercitar sus
derechos de acceso, rectificación, cancelación y oposición dispuestos en
la mencionada Ley Orgánica, notificándolo por escrito a ASPL -
Protección Datos, Av. Juan Carlos I 13, 2ºC, Alcalá de Henares
(Madrid).
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.aspl.es/pipermail/nopoll/attachments/20170613/26310762/attachment.html>


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