summaryrefslogtreecommitdiffstats
path: root/crypto/o_time.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-11-21 14:13:20 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-11-21 14:13:20 +0000
commit46a6cec6998b84d85240dfb99af235c8a0854a31 (patch)
tree8742de19d95907899dff2402aec9605a94686f72 /crypto/o_time.h
parent472af806ce859b6b00249550027c2c9fa149453b (diff)
Reorganise parameters for OPENSSL_gmtime_diff.
Make ASN1_UTCTIME_cmp_time_t more robust by using the new time functions.
Diffstat (limited to 'crypto/o_time.h')
-rw-r--r--crypto/o_time.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/o_time.h b/crypto/o_time.h
index 671099a32d..fcf8c230e1 100644
--- a/crypto/o_time.h
+++ b/crypto/o_time.h
@@ -63,6 +63,7 @@
struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec);
-int OPENSSL_gmtime_diff(struct tm *from, struct tm *to, int *pday, int *psec);
+int OPENSSL_gmtime_diff(int *pday, int *psec,
+ const struct tm *from, const struct tm *to);
#endif