From 75b9d809b3f477b756545996c8cc3e4fa5307912 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 31 Jul 2015 11:24:34 -0700 Subject: [PATCH] fix build 267 case 932, certgen w/o sha --- wolfcrypt/test/test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfcrypt/test/test.c b/wolfcrypt/test/test.c index 26ee84d4c..f85ee6373 100644 --- a/wolfcrypt/test/test.c +++ b/wolfcrypt/test/test.c @@ -3726,6 +3726,10 @@ int rsa_test(void) wc_InitCert(&myCert); +#ifdef NO_SHA + myCert.sigType = CTC_SHA256wRSA; +#endif + strncpy(myCert.subject.country, "US", CTC_NAME_SIZE); strncpy(myCert.subject.state, "OR", CTC_NAME_SIZE); strncpy(myCert.subject.locality, "Portland", CTC_NAME_SIZE);