summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-07-25 14:58:07 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-07-26 16:23:02 +0100
commit4c4a2f670b84394e4675991d805c97547f1af647 (patch)
tree7ecc1d13a88f19282785d9d73410ee43df603f6a /include
parentfc9d1ef39c97c06f83fd40a6f94c0af4da3887ea (diff)
Move X509_LU_RETRY, X509_LU_FAIL
X509_LU_RETRY and X509_LU_FAIL are not X509_OBJECT types so don't include them in the enum. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/x509_vfy.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/openssl/x509_vfy.h b/include/openssl/x509_vfy.h
index 5cb2a40511..18a8d8f687 100644
--- a/include/openssl/x509_vfy.h
+++ b/include/openssl/x509_vfy.h
@@ -45,10 +45,12 @@ certificate chain.
*/
typedef enum {
- X509_LU_RETRY = -1,
- X509_LU_FAIL, X509_LU_X509, X509_LU_CRL
+ X509_LU_NONE = 0,
+ X509_LU_X509, X509_LU_CRL
} X509_LOOKUP_TYPE;
+#define X509_LU_RETRY -1
+#define X509_LU_FAIL 0
DEFINE_STACK_OF(X509_LOOKUP)
DEFINE_STACK_OF(X509_OBJECT)