summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2021-10-31 16:17:14 +0000
committertb <>2021-10-31 16:17:14 +0000
commit7a2357cbadabb0ff16df3472a6ed33e19048a0b2 (patch)
tree80a417213394a21cfca59eb2d196d983d31b64a5
parentd630fe1077b5e9c8d0bd2be6d40e8a57d3001cca (diff)
downloadopenbsd-7a2357cbadabb0ff16df3472a6ed33e19048a0b2.tar.gz
openbsd-7a2357cbadabb0ff16df3472a6ed33e19048a0b2.tar.bz2
openbsd-7a2357cbadabb0ff16df3472a6ed33e19048a0b2.zip
Provide the X509_LOOKUP_TYPE enum.
Remove the now unused X509_LU_{RETRY,FAIL,PKEY}. ok beck inoguchi jsing
-rw-r--r--src/lib/libcrypto/x509/x509_vfy.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h
index 097e1f69f4..ee6b9a614b 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.39 2021/10/31 15:55:45 tb Exp $ */ 1/* $OpenBSD: x509_vfy.h,v 1.40 2021/10/31 16:17:14 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 *
@@ -102,11 +102,11 @@ typedef struct x509_file_st
102 * certificate chain. 102 * certificate chain.
103 */ 103 */
104 104
105#define X509_LU_RETRY -1 105typedef enum {
106#define X509_LU_FAIL 0 106 X509_LU_NONE,
107#define X509_LU_X509 1 107 X509_LU_X509,
108#define X509_LU_CRL 2 108 X509_LU_CRL,
109#define X509_LU_PKEY 3 109} X509_LOOKUP_TYPE;
110 110
111#if defined(LIBRESSL_INTERNAL) || !defined(LIBRESSL_OPAQUE_X509) 111#if defined(LIBRESSL_INTERNAL) || !defined(LIBRESSL_OPAQUE_X509)
112typedef struct x509_object_st { 112typedef struct x509_object_st {