]> granicus.if.org Git - neomutt/commitdiff
Save more than one SSL certificate to the certificate file.
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 9 Apr 2000 12:43:56 +0000 (12:43 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 9 Apr 2000 12:43:56 +0000 (12:43 +0000)
imap/imap_ssl.c

index 5d155438ba1ef7350fc395d57749a91a2003ef9e..b10f653daeb4e2a2167b759d9cc9239396d0a033 100644 (file)
@@ -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;