openssl: unbreak PKCS12 support
authorDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2014 11:04:27 +0000 (13:04 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 12 May 2014 11:06:50 +0000 (13:06 +0200)
Regression introduced in ce362e8eb9c (7.31.0)

Bug: http://curl.haxx.se/bug/view.cgi?id=1371
Reported-by: Dmitry
lib/vtls/openssl.c

index 5a66566..d13436d 100644 (file)
@@ -538,6 +538,7 @@ int cert_stuff(struct connectdata *conn,
 
       if(!cert_done)
         return 0; /* failure! */
+      break;
 #else
       failf(data, "file type P12 for certificate not supported");
       return 0;