diff options
Diffstat (limited to 'lib/ssl/authcert.c')
-rw-r--r-- | lib/ssl/authcert.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/ssl/authcert.c b/lib/ssl/authcert.c index 85bbe8bbb..88c7c084a 100644 --- a/lib/ssl/authcert.c +++ b/lib/ssl/authcert.c @@ -45,13 +45,11 @@ NSS_GetClientAuthData(void *arg, privkey = PK11_FindKeyByAnyCert(cert, proto_win); if (privkey) { rv = SECSuccess; - } - else { + } else { CERT_DestroyCertificate(cert); } } - } - else { /* no name given, automatically find the right cert. */ + } else { /* no name given, automatically find the right cert. */ CERTCertNicknames *names; int i; |