summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_vfy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index a007fe4795..d31e779aae 100644
--- a/src/lib/libcrypto/x509/x509_vfy.h
+++ b/src/lib/libcrypto/x509/x509_vfy.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vfy.h,v 1.51 2022/06/27 14:00:09 tb Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.52 2022/06/27 14:10:22 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -205,6 +205,13 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth);
205/* Issuer lookup error */ 205/* Issuer lookup error */
206#define X509_V_ERR_STORE_LOOKUP 66 206#define X509_V_ERR_STORE_LOOKUP 66
207 207
208#if defined(LIBRESSL_INTERNAL)
209/* Security level errors */
210#define X509_V_ERR_EE_KEY_TOO_SMALL 67
211#define X509_V_ERR_CA_KEY_TOO_SMALL 68
212#define X509_V_ERR_CA_MD_TOO_WEAK 69
213#endif
214
208/* Certificate verify flags */ 215/* Certificate verify flags */
209 216
210/* Send issuer+subject checks to verify_cb */ 217/* Send issuer+subject checks to verify_cb */