forked from wolfSSL/wolfssl
Merge pull request #1976 from embhorn/test_fix
Fix failing nightly tests
This commit is contained in:
@@ -9056,8 +9056,9 @@ int PemToDer(const unsigned char* buff, long longSz, int type,
|
|||||||
|
|
||||||
if (ret >= 0) {
|
if (ret >= 0) {
|
||||||
der->length = ret;
|
der->length = ret;
|
||||||
if (algId == ECDSAk)
|
if ((algId == ECDSAk) && (eccKey != NULL)) {
|
||||||
*eccKey = 1;
|
*eccKey = 1;
|
||||||
|
}
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
@@ -19320,7 +19320,9 @@ static int pkcs7enveloped_run_vectors(byte* rsaCert, word32 rsaCertSz,
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(NO_PWDBASED)
|
#if !defined(NO_PWDBASED) && !defined(NO_AES) && \
|
||||||
|
!defined(NO_SHA) && defined(WOLFSSL_AES_128)
|
||||||
|
|
||||||
char password[] = "password";
|
char password[] = "password";
|
||||||
|
|
||||||
byte salt[] = {
|
byte salt[] = {
|
||||||
@@ -19871,7 +19873,9 @@ static int pkcs7authenveloped_run_vectors(byte* rsaCert, word32 rsaCertSz,
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(NO_PWDBASED)
|
#if !defined(NO_PWDBASED) && !defined(NO_AES) && defined(HAVE_AESGCM) && \
|
||||||
|
!defined(NO_SHA) && defined(WOLFSSL_AES_128)
|
||||||
|
|
||||||
char password[] = "password";
|
char password[] = "password";
|
||||||
|
|
||||||
byte salt[] = {
|
byte salt[] = {
|
||||||
|
Reference in New Issue
Block a user