From e63afa08bd11f7426944a8086a3dad4b7c0bfcd8 Mon Sep 17 00:00:00 2001 From: David Garske Date: Tue, 24 Apr 2018 13:25:28 -0700 Subject: [PATCH] Fix a couple of minor Jenkins issues. --- wolfcrypt/src/asn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index a44517f22..fd387ce7f 100755 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -4705,6 +4705,7 @@ int wc_GetDateAsCalendarTime(const byte* date, int length, byte format, return 0; } +#ifdef WOLFSSL_CERT_GEN int wc_GetCertDates(Cert* cert, struct tm* before, struct tm* after) { int ret = 0; @@ -4730,6 +4731,7 @@ int wc_GetCertDates(Cert* cert, struct tm* before, struct tm* after) return ret; } +#endif /* WOLFSSL_CERT_GEN */ #endif /* !NO_ASN_TIME */ @@ -12385,7 +12387,7 @@ static int GetBasicDate(const byte* source, word32* idx, byte* date, byte* format, int maxIdx) { int ret, length; - byte *datePtr = NULL; + const byte *datePtr = NULL; WOLFSSL_ENTER("GetBasicDate");