From c0f9780c70a91779b794041008714c9bd0b14ec3 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 24 Jan 2014 14:08:14 -0800 Subject: [PATCH] fix challenge pwd init bug --- ctaocrypt/src/asn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index b528d844a..b2771828f 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -3893,6 +3893,10 @@ void InitCert(Cert* cert) cert->subject.unit[0] = '\0'; cert->subject.commonName[0] = '\0'; cert->subject.email[0] = '\0'; + +#ifdef CYASSL_CERT_REQ + cert->challengePw[0] ='\0'; +#endif }