commit links for openSUSE:Factory
Hello community, here is the log from the commit of package links for openSUSE:Factory checked in at 2013-07-30 11:45:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/links (Old) and /work/SRC/openSUSE:Factory/.links.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "links" Changes: -------- --- /work/SRC/openSUSE:Factory/links/links.changes 2013-02-25 20:37:31.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.links.new/links.changes 2013-07-30 11:45:11.000000000 +0200 @@ -1,0 +2,9 @@ +Sun Jul 28 22:39:15 UTC 2013 - crrodriguez@opensuse.org + +- Silly me tried to connect to a HTTPS host that uses + Server Name Indication (SNI) expecting it + to do something sane, of course, it did not work. + links-sni.patch: fix that. + + +------------------------------------------------------------------- New: ---- links-sni.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ links.spec ++++++ --- /var/tmp/diff_new_pack.TXeE73/_old 2013-07-30 11:45:12.000000000 +0200 +++ /var/tmp/diff_new_pack.TXeE73/_new 2013-07-30 11:45:12.000000000 +0200 @@ -37,6 +37,7 @@ Source: links-%{version}.tar.bz2 Patch2: configure.diff Patch3: links-nosslcomp.patch +Patch4: links-sni.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -53,8 +54,9 @@ %prep %setup -q -n links-%{version} -%patch2 -%patch3 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 %build autoreconf -ifv CFLAGS="$RPM_OPT_FLAGS -DOPENSSL_NO_SSL_INTERN -fno-strict-aliasing -pipe" ++++++ configure.diff ++++++ --- /var/tmp/diff_new_pack.TXeE73/_old 2013-07-30 11:45:12.000000000 +0200 +++ /var/tmp/diff_new_pack.TXeE73/_new 2013-07-30 11:45:12.000000000 +0200 @@ -1,5 +1,5 @@ ---- configure.in.orig -+++ configure.in +--- links-2.6.orig/configure.in ++++ links-2.6/configure.in @@ -16,9 +16,11 @@ image_formats="GIF PNG XBM" AM_CONFIG_HEADER(config.h) ++++++ links-nosslcomp.patch ++++++ --- /var/tmp/diff_new_pack.TXeE73/_old 2013-07-30 11:45:12.000000000 +0200 +++ /var/tmp/diff_new_pack.TXeE73/_new 2013-07-30 11:45:12.000000000 +0200 @@ -1,5 +1,5 @@ ---- https.c.orig -+++ https.c +--- links-2.6.orig/https.c ++++ links-2.6/https.c @@ -44,7 +44,23 @@ SSL *getSSL(void) if (!m) return NULL; context = SSL_CTX_new((void *)m); @@ -25,8 +25,8 @@ SSL_CTX_set_default_verify_paths(context); /* needed for systems without /dev/random, but obviously kills security. */ /*{ ---- connect.c.orig -+++ connect.c +--- links-2.6.orig/connect.c ++++ links-2.6/connect.c @@ -184,9 +184,6 @@ static void ssl_want_read(struct connect set_timeout(c); ++++++ links-sni.patch ++++++ --- links-2.6.orig/connect.c +++ links-2.6/connect.c @@ -370,6 +370,14 @@ static void connected(struct connection if (!c->ssl) { goto ssl_error; } + +#if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT) + unsigned char *server_hostname = get_host_name(c->url); + if(server_hostname) + SSL_set_tlsext_host_name(c->ssl, server_hostname); + + mem_free(server_hostname); +#endif SSL_set_fd(c->ssl, *b->sock); switch (SSL_get_error(c->ssl, SSL_connect(c->ssl))) { case SSL_ERROR_WANT_READ: -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de