diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-02 00:59:53 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-05-02 01:01:45 +0200 |
commit | 88d64be07ce0458bb0a8cd4e40ae2c06fbe2c4bb (patch) | |
tree | 5a1db6dc08114d137ecd0feab6c6aa90917a1856 /community/pgbouncer/libressl-2.5.patch | |
parent | 536fc9dbe00a90566b1d08a7252dbe9b098c3cba (diff) | |
download | aports-88d64be07ce0458bb0a8cd4e40ae2c06fbe2c4bb.tar.bz2 aports-88d64be07ce0458bb0a8cd4e40ae2c06fbe2c4bb.tar.xz |
community/pgbouncer: move from testing
Diffstat (limited to 'community/pgbouncer/libressl-2.5.patch')
-rw-r--r-- | community/pgbouncer/libressl-2.5.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/community/pgbouncer/libressl-2.5.patch b/community/pgbouncer/libressl-2.5.patch new file mode 100644 index 0000000000..8aaae74dbc --- /dev/null +++ b/community/pgbouncer/libressl-2.5.patch @@ -0,0 +1,13 @@ +diff --git a/lib/usual/tls/tls.c b/lib/usual/tls/tls.c +index 9c6f6b9..a480fa4 100644 +--- a/lib/usual/tls/tls.c ++++ b/lib/usual/tls/tls.c +@@ -287,7 +287,7 @@ tls_info_callback(const SSL *ssl, int where, int rc) + { + struct tls *ctx = SSL_get_app_data(ssl); + +-#ifdef USE_LIBSSL_INTERNALS ++#if defined(USE_LIBSSL_INTERNALS) && 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) { |