diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-11-19 15:12:07 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-08-19 21:55:07 +0100 |
commit | 904348a4922333106b613754136305db229475ea (patch) | |
tree | 3629309195cccab1addcd54cffafc6fc5db971e4 /crypto/o_time.h | |
parent | aaaa18392d102c713b3614eaea684f132446fec7 (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.h | 2 |
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 |