Date: Fri, 6 Oct 2017 19:13:46 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r451403 - head/databases/pgbouncer/files Message-ID: <201710061913.v96JDkeD020408@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Fri Oct 6 19:13:46 2017 New Revision: 451403 URL: https://svnweb.freebsd.org/changeset/ports/451403 Log: databases/pgbouncer: Add patch for LibreSSL 2.5 support PR: 219018 Submitted by: Tom Hurst <tom@hur.st> Approved by: m.tsatsenko@gmail.com (maintainer) Added: head/databases/pgbouncer/files/patch-lib_usual_tls_tls.c (contents, props changed) Added: head/databases/pgbouncer/files/patch-lib_usual_tls_tls.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/pgbouncer/files/patch-lib_usual_tls_tls.c Fri Oct 6 19:13:46 2017 (r451403) @@ -0,0 +1,11 @@ +--- lib/usual/tls/tls.c.orig 2017-05-01 17:37:49 UTC ++++ lib/usual/tls/tls.c +@@ -287,7 +287,7 @@ tls_info_callback(const SSL *ssl, int wh + { + struct tls *ctx = SSL_get_app_data(ssl); + +-#ifdef USE_LIBSSL_INTERNALS ++#if defined(USE_LIBSSL_INTERNALS) && (!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x2050100fL) + if (!(ctx->state & TLS_HANDSHAKE_COMPLETE) && ssl->s3) { + /* steal info about used DH key */ + if (ssl->s3->tmp.dh && !ctx->used_dh_bits) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710061913.v96JDkeD020408>