diff options
Diffstat (limited to 'src/lib/libcrypto/ts/ts.h')
-rw-r--r-- | src/lib/libcrypto/ts/ts.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ts/ts.h b/src/lib/libcrypto/ts/ts.h index 83bd6829ae..0397fb8b08 100644 --- a/src/lib/libcrypto/ts/ts.h +++ b/src/lib/libcrypto/ts/ts.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ts.h,v 1.17 2022/07/24 19:54:46 tb Exp $ */ | 1 | /* $OpenBSD: ts.h,v 1.18 2022/07/24 20:02:04 tb Exp $ */ |
2 | /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL | 2 | /* Written by Zoltan Glozik (zglozik@opentsa.org) for the OpenSSL |
3 | * project 2002, 2003, 2004. | 3 | * project 2002, 2003, 2004. |
4 | */ | 4 | */ |
@@ -567,6 +567,11 @@ void TS_RESP_CTX_add_flags(TS_RESP_CTX *ctx, int flags); | |||
567 | /* Default callback always returns a constant. */ | 567 | /* Default callback always returns a constant. */ |
568 | void TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data); | 568 | void TS_RESP_CTX_set_serial_cb(TS_RESP_CTX *ctx, TS_serial_cb cb, void *data); |
569 | 569 | ||
570 | #if defined(LIBRESSL_INTERNAL) | ||
571 | /* Default callback uses gettimeofday() and gmtime(). */ | ||
572 | void TS_RESP_CTX_set_time_cb(TS_RESP_CTX *ctx, TS_time_cb cb, void *data); | ||
573 | #endif | ||
574 | |||
570 | /* Default callback rejects all extensions. The extension callback is called | 575 | /* Default callback rejects all extensions. The extension callback is called |
571 | * when the TS_TST_INFO object is already set up and not signed yet. */ | 576 | * when the TS_TST_INFO object is already set up and not signed yet. */ |
572 | /* FIXME: extension handling is not tested yet. */ | 577 | /* FIXME: extension handling is not tested yet. */ |