aboutsummaryrefslogtreecommitdiff
path: root/openssl/crypto/asn1/a_utctm.c
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/asn1/a_utctm.c')
-rw-r--r--openssl/crypto/asn1/a_utctm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl/crypto/asn1/a_utctm.c b/openssl/crypto/asn1/a_utctm.c
index 0578c8887..724a10be4 100644
--- a/openssl/crypto/asn1/a_utctm.c
+++ b/openssl/crypto/asn1/a_utctm.c
@@ -297,7 +297,7 @@ int ASN1_UTCTIME_cmp_time_t(const ASN1_UTCTIME *s, time_t t)
if (!OPENSSL_gmtime(&t, &ttm))
return -2;
- if (!OPENSSL_gmtime_diff(&day, &sec, &stm, &ttm))
+ if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm))
return -2;
if (day > 0)