From 400a1d6927a0110b23affaca4c69a8c1580d67d1 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Mon, 15 Feb 2021 12:17:10 +0100 Subject: [PATCH] Compile wolfSSL_ASN1_TIME_set_string() independently of NO_WOLFSSL_STUB --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 609f1c1ca..e6600bab4 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -29585,6 +29585,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) { @@ -29607,7 +29608,6 @@ int wolfSSL_ASN1_TIME_set_string(WOLFSSL_ASN1_TIME *s, const char *str) } return WOLFSSL_SUCCESS; } -#endif /* !NO_WOLFSSL_STUB */ #ifndef NO_BIO