summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_local.h')
-rw-r--r--src/lib/libcrypto/x509/x509_local.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h
index 5b74b0d1bd..6b72678e7a 100644
--- a/src/lib/libcrypto/x509/x509_local.h
+++ b/src/lib/libcrypto/x509/x509_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_local.h,v 1.24 2024/04/08 23:46:21 beck Exp $ */ 1/* $OpenBSD: x509_local.h,v 1.25 2024/07/12 18:15:10 beck Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2013. 3 * project 2013.
4 */ 4 */
@@ -71,6 +71,14 @@ __BEGIN_HIDDEN_DECLS
71#define X509_CRL_HASH_EVP EVP_sha512() 71#define X509_CRL_HASH_EVP EVP_sha512()
72#define X509_CRL_HASH_LEN SHA512_DIGEST_LENGTH 72#define X509_CRL_HASH_LEN SHA512_DIGEST_LENGTH
73 73
74/*
75 * Used internally instead of the confusing X509_TRUST_DEFAULT,
76 * which is not the default for X509_check_trust.
77 * XXX Make X509_check_trust internal, and move the other
78 * X509_TRUST values here to clean up this mess.
79 */
80#define X509_TRUST_ACCEPT_ALL -1
81
74struct X509_pubkey_st { 82struct X509_pubkey_st {
75 X509_ALGOR *algor; 83 X509_ALGOR *algor;
76 ASN1_BIT_STRING *public_key; 84 ASN1_BIT_STRING *public_key;