summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArmin Fuerst <armin@fuerst.priv.at>2022-02-04 20:35:54 +0100
committerTomas Mraz <tomas@openssl.org>2022-02-14 10:18:46 +0100
commit065121ff198a84106023013420dedd57ac4ff53a (patch)
treeff7da729a33d0380267dbc080a528b3d0f1cf6a9 /include
parentc920020f0bb13f0d2bf0fcad5c7ee63458b633b4 (diff)
Add tests for do_updatedb
Fixes #13944 Moved "opt_printf_stderr" out of apps.c to avoid duplicate definition in tests. Added function "asn1_string_to_time_t" including tests. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17645)
Diffstat (limited to 'include')
-rw-r--r--include/crypto/asn1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/crypto/asn1.h b/include/crypto/asn1.h
index ff02cac573..26e48ef717 100644
--- a/include/crypto/asn1.h
+++ b/include/crypto/asn1.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -147,4 +147,6 @@ EVP_PKEY * ossl_d2i_PrivateKey_legacy(int keytype, EVP_PKEY **a,
OSSL_LIB_CTX *libctx, const char *propq);
X509_ALGOR *ossl_X509_ALGOR_from_nid(int nid, int ptype, void *pval);
+time_t asn1_string_to_time_t(const char *asn1_string);
+
#endif /* ndef OSSL_CRYPTO_ASN1_H */