aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509.h')
-rw-r--r--crypto/x509/x509.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index d3336d9ceb..0192272e7c 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -284,7 +284,9 @@ DECLARE_STACK_OF(X509_TRUST)
/* standard trust ids */
-#define X509_TRUST_ANY 1
+#define X509_TRUST_DEFAULT -1 /* Only valid in purpose settings */
+
+#define X509_TRUST_COMPAT 1
#define X509_TRUST_SSL_CLIENT 2
#define X509_TRUST_SSL_SERVER 3
#define X509_TRUST_EMAIL 4