diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2012-10-09 13:45:25 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-10-15 11:43:09 -0400 |
commit | 8c01d39e12032f5e74292f29763cf89ea4b9ed58 (patch) | |
tree | acb2f961eed147cb71592b0d5067a11386f893cf /src | |
parent | 3a747275b650a003ae81f0479e1202b10b2ea466 (diff) | |
download | krb5-8c01d39e12032f5e74292f29763cf89ea4b9ed58.tar.gz krb5-8c01d39e12032f5e74292f29763cf89ea4b9ed58.tar.xz krb5-8c01d39e12032f5e74292f29763cf89ea4b9ed58.zip |
Don't try to free an uninitialized keyblock
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/preauth/pkinit/pkinit_crypto_nss.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/preauth/pkinit/pkinit_crypto_nss.c b/src/plugins/preauth/pkinit/pkinit_crypto_nss.c index 1aa5779cd..9a36df5c2 100644 --- a/src/plugins/preauth/pkinit/pkinit_crypto_nss.c +++ b/src/plugins/preauth/pkinit/pkinit_crypto_nss.c @@ -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; |