summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@redhat.com>2012-10-09 13:45:25 -0400
committerGreg Hudson <ghudson@mit.edu>2012-10-15 11:43:09 -0400
commit8c01d39e12032f5e74292f29763cf89ea4b9ed58 (patch)
treeacb2f961eed147cb71592b0d5067a11386f893cf /src
parent3a747275b650a003ae81f0479e1202b10b2ea466 (diff)
downloadkrb5-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.c2
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;