mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 15:00:49 +02:00
Merge pull request #10276 from padelsbach/asn1-time-chars-check
Add checks for ascii digits in time decode functions
This commit is contained in:
+1
-1
@@ -14968,7 +14968,7 @@ int GetTimeString(byte* date, int format, char* buf, int len, int dateLen)
|
||||
#endif /* WOLFSSL_ASN_TIME_STRING */
|
||||
|
||||
/* Check time struct for valid values. Returns 0 for success */
|
||||
static int ValidateGmtime(struct tm* inTime)
|
||||
int ValidateGmtime(struct tm* inTime)
|
||||
{
|
||||
int ret = 1;
|
||||
if ((inTime != NULL) &&
|
||||
|
||||
Reference in New Issue
Block a user