diff options
Diffstat (limited to 'crypto/asn1/a_time.c')
-rw-r--r-- | crypto/asn1/a_time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c index cb19e8024a..1babb96360 100644 --- a/crypto/asn1/a_time.c +++ b/crypto/asn1/a_time.c @@ -543,7 +543,7 @@ int ASN1_TIME_compare(const ASN1_TIME *a, const ASN1_TIME *b) { int day, sec; - if (!ASN1_TIME_diff(&day, &sec, a, b)) + if (!ASN1_TIME_diff(&day, &sec, b, a)) return -2; if (day > 0 || sec > 0) return 1; |