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

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	postfix
4
PORTNAME=	postfix
5
DISTVERSION=	3.5.5
5
DISTVERSION=	3.5.5
6
PORTREVISION?=	0
6
PORTREVISION?=	1
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	mail
8
CATEGORIES=	mail
9
MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/ \
9
MASTER_SITES=	ftp://ftp.porcupine.org/mirrors/postfix-release/ \
(-)files/patch-src_tls_tls__misc.c (+20 lines)
Line 0 Link Here
1
--- src/tls/tls_misc.c.orig	2020-07-12 20:41:51 UTC
2
+++ src/tls/tls_misc.c
3
@@ -922,8 +922,6 @@ void    tls_get_signature_params(TLS_SESS_STATE *TLSco
4
 	 */
5
 	if (SSL_get_signature_nid(ssl, &nid) && nid != NID_undef)
6
 	    locl_sig_dgst = OBJ_nid2sn(nid);
7
-
8
-	X509_free(cert);
9
     }
10
     /* Signature algorithms for the peer end of the connection */
11
     if ((cert = SSL_get_peer_certificate(ssl)) != 0) {
12
@@ -965,6 +963,8 @@ void    tls_get_signature_params(TLS_SESS_STATE *TLSco
13
 	 */
14
 	if (SSL_get_peer_signature_nid(ssl, &nid) && nid != NID_undef)
15
 	    peer_sig_dgst = OBJ_nid2sn(nid);
16
+
17
+        X509_free(cert);
18
     }
19
     if (kex_name) {
20
 	TLScontext->kex_name = mystrdup(kex_name);

Return to bug 248271