[cups-devel] [UNKN] STR #4465: Configure script never finds openssl SSL_set_tlsext_host_name

Paul Maurer noreply at cups.org
Sun Aug 10 22:55:47 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

In cups 1.7.5, the configure script is unable to detect if openssl has
SSL_set_tlsext_host_name.  openssl 1.0.1h has this feature, but it is a
#define macro, not a function, so the configure test fails.

The fix is to have configure check for the #define.  This has been tested
with openssl 1.0.1h and libressl 2.0.5 with cups 1.7.4 and 1.7.5.  This
does not apply to version 2.0b1 because it does not perform a configure
check for SSL_set_tlsext_host_name.

Looking through all available packages on my gentoo linux system, this has
been true since at least openssl version 0.9.8y and is still true in
1.0.2b2.  Every single openssl package available for my system has
SSL_set_tlsext_host_name as a #define.

Patch attached.

Link: https://www.cups.org/str.php?L4465
Version: 1.7.5
Attachment: https://www.cups.org/strfiles.php/3377/cups-1.7.4-libressl.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJT6FrjAAoJENujp6sI12IjnfwQAI8ojFJQjJkkTcxnLDiTNRz4
iC9AJNasxpUZzs+riBwvj5wEEm+Qo0td4hdGcmrCnKKckrC/vYOQWY2odzC30g0k
pkdSH/iRIgek1N2MuY0fqoIlV7Axz+Txd8JLhbY3uxnqZCzlgozXTXeiLVcKCUy0
YufvxLpi4SXQk2Bqmvk0Sq4hCF9qBxFGUlmORAEE5vONjq+UpFtET+5fpOlTm1Ej
Dftcp1UranSQrhcSv4E59Kdkf+ybdBKWH5at0KMk5GxvQMETpPeekwTG00NxNVJY
7DMuVyFKCoIynRFduC6drA0M/w5quk2CheGm//VBZvdZGNSBPxeGxqlCkKvI4Wr6
LngPTWOsa0OmfOs3s2EKBSB2ltdCz4jDV7LtWaaELKHXD9D6NvVxVr+xtkTLp2Lo
3QcHA1M3vL/UHpnARZiGL9P8EDhmQinuJUo3A4Gxpxg9jv+zgJUIQEUe3IjcB7qV
z5eElfn1W5yRLSRFrPkG+rNM6U75ObsCQvkS3nZfO/UhQFe8puzM7IDST63o7mub
LKjctuhH/Ihi59OORrGrBsLZWYx4nosfXMLdGgV2pxQzHWI3gYzcUH4R3psV2pHB
12dY5ce7dEyd8BGz5M2x/gCXbzql0sXyxhEXWQCbQNGIx+tt7+vLROPDDHDUMHJ2
HRR/C4GpiCQCowS9rAav
=o4g6
-----END PGP SIGNATURE-----




More information about the cups mailing list