summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/crypto.h')
-rw-r--r--src/lib/libcrypto/crypto.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libcrypto/crypto.h b/src/lib/libcrypto/crypto.h
index 07a55ec1f6..47e7eff37c 100644
--- a/src/lib/libcrypto/crypto.h
+++ b/src/lib/libcrypto/crypto.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: crypto.h,v 1.63 2023/07/28 10:19:20 tb Exp $ */ 1/* $OpenBSD: crypto.h,v 1.64 2024/02/18 16:28:37 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -522,6 +522,14 @@ int CRYPTO_memcmp(const void *a, const void *b, size_t len);
522int OPENSSL_init_crypto(uint64_t opts, const void *settings); 522int OPENSSL_init_crypto(uint64_t opts, const void *settings);
523void OPENSSL_cleanup(void); 523void OPENSSL_cleanup(void);
524 524
525/*
526 * OpenSSL helpfully put OPENSSL_gmtime() here because all other time related
527 * functions are in asn1.h.
528 */
529#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
530struct tm *OPENSSL_gmtime(const time_t *time, struct tm *out_tm);
531#endif
532
525void ERR_load_CRYPTO_strings(void); 533void ERR_load_CRYPTO_strings(void);
526 534
527/* Error codes for the CRYPTO functions. */ 535/* Error codes for the CRYPTO functions. */