]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Only call SEC_PKCS12DecoderFinish() once
authorNalin Dahyabhai <nalin@redhat.com>
Thu, 20 Dec 2012 18:51:12 +0000 (13:51 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 10 May 2013 20:04:36 +0000 (16:04 -0400)
We already call SEC_PKCS12DecoderFinish() before entering the switch()
statement, so don't call it again.

src/plugins/preauth/pkinit/pkinit_crypto_nss.c

index 34457a6f6888fc42f47fc421f10b9c1497891b0a..2ef8ffdc03be5af92b66d49483fb33c063476a80 100644 (file)
@@ -2414,7 +2414,6 @@ crypto_load_pkcs12(krb5_context context,
                 }
                 break;
             default:
-                SEC_PKCS12DecoderFinish(ctx);
                 break;
             }
             pkiDebug("%s: skipping identity PKCS12 bundle \"%s\": "