summaryrefslogtreecommitdiffstats
path: root/crypto/o_time.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-11-19 15:12:07 +0000
committerDr. Stephen Henson <steve@openssl.org>2013-08-19 21:55:07 +0100
commit904348a4922333106b613754136305db229475ea (patch)
tree3629309195cccab1addcd54cffafc6fc5db971e4 /crypto/o_time.h
parentaaaa18392d102c713b3614eaea684f132446fec7 (diff)
Time difference functions.
Backport of ASN1_TIME_diff and OPENSSL_gmtime_diff functions from master branch.
Diffstat (limited to 'crypto/o_time.h')
-rw-r--r--crypto/o_time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/o_time.h b/crypto/o_time.h
index e391da7508..fcf8c230e1 100644
--- a/crypto/o_time.h
+++ b/crypto/o_time.h
@@ -63,5 +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(int *pday, int *psec,
+ const struct tm *from, const struct tm *to);
#endif