Merge pull request #3781 from fabiankeil/NO_WOLFSSL_STUB-build-fix

Fix build with  NO_WOLFSSL_STUB
This commit is contained in:
toddouska
2021-03-04 11:07:26 -08:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -29657,6 +29657,7 @@ WOLFSSL_ASN1_TIME *wolfSSL_ASN1_TIME_set(WOLFSSL_ASN1_TIME *s, time_t t)
(void)t;
return s;
}
#endif /* !NO_WOLFSSL_STUB */
int wolfSSL_ASN1_TIME_set_string(WOLFSSL_ASN1_TIME *s, const char *str)
{
@@ -29679,7 +29680,6 @@ int wolfSSL_ASN1_TIME_set_string(WOLFSSL_ASN1_TIME *s, const char *str)
}
return WOLFSSL_SUCCESS;
}
#endif /* !NO_WOLFSSL_STUB */
#ifndef NO_BIO

View File

@@ -34559,7 +34559,7 @@ static void test_wolfSSL_EVP_PKEY_keygen_init(void)
}
static void test_wolfSSL_EVP_PKEY_missing_parameters(void)
{
#if defined(OPENSSL_ALL)
#if defined(OPENSSL_ALL) && !defined(NO_WOLFSSL_STUB)
WOLFSSL_EVP_PKEY* pkey;
printf(testingFmt, "wolfSSL_EVP_PKEY_missing_parameters");
@@ -34844,7 +34844,7 @@ static void test_wolfSSL_EVP_aes_192_gcm(void)
}
static void test_wolfSSL_EVP_ripemd160(void)
{
#if defined(OPENSSL_ALL)
#if defined(OPENSSL_ALL) && !defined(NO_WOLFSSL_STUB)
printf(testingFmt, "wolfSSL_EVP_ripemd160");