Reorganise parameters for OPENSSL_gmtime_diff.
[openssl.git] / crypto / asn1 / a_time.c
index 546d615..e0d3d42 100644 (file)
@@ -225,5 +225,5 @@ int ASN1_TIME_diff(int *pday, int *psec,
                return 0;
        if (!asn1_time_to_tm(&tm_to, to))
                return 0;
-       return OPENSSL_gmtime_diff(&tm_from, &tm_to, pday, psec);
+       return OPENSSL_gmtime_diff(pday, psec, &tm_from, &tm_to);
        }