mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
fixed DateLessThan()
It was returning true on less-than or equal-to.
This commit is contained in:
@@ -2116,7 +2116,7 @@ static int DateGreaterThan(const struct tm* a, const struct tm* b)
|
||||
|
||||
static INLINE int DateLessThan(const struct tm* a, const struct tm* b)
|
||||
{
|
||||
return !DateGreaterThan(a,b);
|
||||
return DateGreaterThan(b,a);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user