diff options
| author | beck <> | 2021-10-27 09:50:57 +0000 |
|---|---|---|
| committer | beck <> | 2021-10-27 09:50:57 +0000 |
| commit | 0ae58a9bef1c1b52fb6b5a0140d10edc4660bd48 (patch) | |
| tree | e390498509bc0c0f8cb6b474d56f38580879b460 /src/lib/libcrypto/o_time.h | |
| parent | c355d8019b3aefa4c09059c9dc147e80d078ba54 (diff) | |
| download | openbsd-0ae58a9bef1c1b52fb6b5a0140d10edc4660bd48.tar.gz openbsd-0ae58a9bef1c1b52fb6b5a0140d10edc4660bd48.tar.bz2 openbsd-0ae58a9bef1c1b52fb6b5a0140d10edc4660bd48.zip | |
Add ASN1_TIME_diff from OpenSSL.
The symbol is not yet exposed and will show up with tb@'s forthcoming bump
ok tb@ jsing@
Diffstat (limited to 'src/lib/libcrypto/o_time.h')
| -rw-r--r-- | src/lib/libcrypto/o_time.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/o_time.h b/src/lib/libcrypto/o_time.h index 8c6301db31..064f2cc237 100644 --- a/src/lib/libcrypto/o_time.h +++ b/src/lib/libcrypto/o_time.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: o_time.h,v 1.7 2016/12/21 15:49:29 jsing Exp $ */ | 1 | /* $OpenBSD: o_time.h,v 1.8 2021/10/27 09:50:56 beck Exp $ */ |
| 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL | 2 | /* Written by Richard Levitte (richard@levitte.org) for the OpenSSL |
| 3 | * project 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -64,7 +64,8 @@ | |||
| 64 | __BEGIN_HIDDEN_DECLS | 64 | __BEGIN_HIDDEN_DECLS |
| 65 | 65 | ||
| 66 | int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); | 66 | int OPENSSL_gmtime_adj(struct tm *tm, int offset_day, long offset_sec); |
| 67 | int OPENSSL_gmtime_diff(int *pday, int *psec, const struct tm *from, | ||
| 68 | const struct tm *to); | ||
| 67 | 69 | ||
| 68 | __END_HIDDEN_DECLS | 70 | __END_HIDDEN_DECLS |
| 69 | |||
| 70 | #endif | 71 | #endif |
