fix build 267 case 932, certgen w/o sha

This commit is contained in:
toddouska
2015-07-31 11:24:34 -07:00
parent 1470789ac6
commit 75b9d809b3

View File

@@ -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);