mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
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) {
|
||||
der->length = ret;
|
||||
if (algId == ECDSAk)
|
||||
if ((algId == ECDSAk) && (eccKey != NULL)) {
|
||||
*eccKey = 1;
|
||||
}
|
||||
ret = 0;
|
||||
}
|
||||
#else
|
||||
|
@@ -19320,7 +19320,9 @@ static int pkcs7enveloped_run_vectors(byte* rsaCert, word32 rsaCertSz,
|
||||
};
|
||||
#endif
|
||||
|
||||
#if !defined(NO_PWDBASED)
|
||||
#if !defined(NO_PWDBASED) && !defined(NO_AES) && \
|
||||
!defined(NO_SHA) && defined(WOLFSSL_AES_128)
|
||||
|
||||
char password[] = "password";
|
||||
|
||||
byte salt[] = {
|
||||
@@ -19871,7 +19873,9 @@ static int pkcs7authenveloped_run_vectors(byte* rsaCert, word32 rsaCertSz,
|
||||
};
|
||||
#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";
|
||||
|
||||
byte salt[] = {
|
||||
|
Reference in New Issue
Block a user