From: Thomas Roessler Date: Sun, 9 Apr 2000 12:43:56 +0000 (+0000) Subject: Save more than one SSL certificate to the certificate file. X-Git-Tag: mutt-1-1-12-rel~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ed4b299c63e3d879e21aa1b875de380342304c7;p=mutt Save more than one SSL certificate to the certificate file. --- diff --git a/imap/imap_ssl.c b/imap/imap_ssl.c index 5d155438..b10f653d 100644 --- a/imap/imap_ssl.c +++ b/imap/imap_ssl.c @@ -365,7 +365,7 @@ static int ssl_check_certificate (sslsockdata * data) break; case OP_MAX + 3: /* accept always */ done = 0; - if ((fp = fopen (SslCertFile, "w+t"))) + if ((fp = fopen (SslCertFile, "a+t"))) { if (PEM_write_X509 (fp, data->cert)) done = 1;