View | Details | Raw Unified | Return to bug 219018 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-lib_usual_tls_tls.c (+11 lines)
Line 0 Link Here
1
--- lib/usual/tls/tls.c.orig	2017-05-01 17:37:49 UTC
2
+++ lib/usual/tls/tls.c
3
@@ -287,7 +287,7 @@ tls_info_callback(const SSL *ssl, int wh
4
 {
5
 	struct tls *ctx = SSL_get_app_data(ssl);
6
 
7
-#ifdef USE_LIBSSL_INTERNALS
8
+#if defined(USE_LIBSSL_INTERNALS) && LIBRESSL_VERSION_NUMBER < 0x2050100fL
9
 	if (!(ctx->state & TLS_HANDSHAKE_COMPLETE) && ssl->s3) {
10
 		/* steal info about used DH key */
11
 		if (ssl->s3->tmp.dh && !ctx->used_dh_bits) {

Return to bug 219018