From: Brendan Cully Date: Wed, 3 Sep 2003 17:10:37 +0000 (+0000) Subject: Fix a segmentation fault which occurs when a certificate is X-Git-Tag: pre-type-punning-patch~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5814f38772e940a314005fc69d720e0c7b4c848d;p=mutt Fix a segmentation fault which occurs when a certificate is rejected. Bug noted by Rob Latham . --- diff --git a/mutt_ssl.c b/mutt_ssl.c index 289015af..1f847a4c 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -284,7 +284,7 @@ static int ssl_socket_open (CONNECTION * conn) if (ssl_negotiate(data)) { - ssl_socket_close (conn); + mutt_socket_close (conn); return -1; }