]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Don't try to free an uninitialized keyblock
authorNalin Dahyabhai <nalin@redhat.com>
Tue, 9 Oct 2012 17:45:25 +0000 (13:45 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 15 Oct 2012 15:43:09 +0000 (11:43 -0400)
src/plugins/preauth/pkinit/pkinit_crypto_nss.c

index 1aa5779cd59762d0b8fed6b26f5ccc70c4e5b2bb..9a36df5c2895e4e7711dd73433530187681327b6 100644 (file)
@@ -3775,8 +3775,6 @@ pkinit_octetstring_hkdf(krb5_context context,
         }
     }
 
-    krb5_free_keyblock_contents(context, krb5key);
-
     krb5key->contents = malloc(klength);
     if (krb5key->contents == NULL) {
         krb5key->length = 0;