From: Greg Hudson Date: Fri, 29 Mar 2013 06:39:44 +0000 (-0400) Subject: Fix typo in ktest_make_sample_auth_pack X-Git-Tag: krb5-1.12-alpha1~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c691d169d1a0df65d4658997926c35e4fe2b71;p=thirdparty%2Fkrb5.git Fix typo in ktest_make_sample_auth_pack --- diff --git a/src/tests/asn.1/ktest.c b/src/tests/asn.1/ktest.c index e734aeb73c..aa41fd89d5 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;