From 6dbf91d7e354b5c7a3b9dd78e05726d103a29cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 18 Dec 2008 05:01:15 +0000 Subject: [PATCH] send supportedCMSTypes git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24217 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/pkinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/krb5/pkinit.c b/lib/krb5/pkinit.c index b102c7685..bab22c357 100644 --- a/lib/krb5/pkinit.c +++ b/lib/krb5/pkinit.c @@ -452,8 +452,8 @@ build_auth_pack(krb5_context context, a->clientPublicValue->subjectPublicKey.length = dhbuf.length * 8; a->clientPublicValue->subjectPublicKey.data = dhbuf.data; } - - if (0) { + + { a->supportedCMSTypes = calloc(1, sizeof(*a->supportedCMSTypes)); if (a->supportedCMSTypes == NULL) return ENOMEM;