krb5 commit: Fix typo in ktest_make_sample_auth_pack
Greg Hudson
ghudson at MIT.EDU
Fri Mar 29 11:41:36 EDT 2013
https://github.com/krb5/krb5/commit/20c691d169d1a0df65d4658997926c35e4fe2b71
commit 20c691d169d1a0df65d4658997926c35e4fe2b71
Author: Greg Hudson <ghudson at mit.edu>
Date: Fri Mar 29 02:39:44 2013 -0400
Fix typo in ktest_make_sample_auth_pack
src/tests/asn.1/ktest.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c
index e734aeb..aa41fd8 100644
--- a/src/tests/asn.1/ktest.c
+++ b/src/tests/asn.1/ktest.c
@@ -843,7 +843,7 @@ ktest_make_sample_auth_pack(krb5_auth_pack *p)
ktest_make_sample_algorithm_identifier_no_params(p->supportedCMSTypes[1]);
p->supportedCMSTypes[2] = NULL;
ktest_make_sample_data(&p->clientDHNonce);
- p->supportedKDFs = ealloc(2 * sizeof(krb5_data ));
+ p->supportedKDFs = ealloc(2 * sizeof(krb5_data *));
p->supportedKDFs[0] = ealloc(sizeof(krb5_data));
ktest_make_sample_data(p->supportedKDFs[0]);
p->supportedKDFs[1] = NULL;
More information about the cvs-krb5
mailing list