summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-10-31 16:17:14 +0000
committertb <>2021-10-31 16:17:14 +0000
commitffa34fcb9fe3bc69390b8f4cebf181d753feed2b (patch)
tree80a417213394a21cfca59eb2d196d983d31b64a5 /src
parent7e5274a3b813cdd58de14a2b9b45421cc45a94c9 (diff)
downloadopenbsd-ffa34fcb9fe3bc69390b8f4cebf181d753feed2b.tar.gz
openbsd-ffa34fcb9fe3bc69390b8f4cebf181d753feed2b.tar.bz2
openbsd-ffa34fcb9fe3bc69390b8f4cebf181d753feed2b.zip
Provide the X509_LOOKUP_TYPE enum.
Remove the now unused X509_LU_{RETRY,FAIL,PKEY}. ok beck inoguchi jsing
Diffstat (limited to 'src')
-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 {