mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
fix build 267 case 932, certgen w/o sha
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user