aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509/x509_lcl.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2015-05-02 13:21:34 +0100
committerDr. Stephen Henson <steve@openssl.org>2015-05-02 14:15:00 +0100
commit6f4d71ff9d5ac80c5ae2a309a487ccbdb360108b (patch)
treef7aae0d37349fddbf56d3c9a9ecacf9442d244ab /crypto/x509/x509_lcl.h
parent169692d736d5a7e2cdeeebeab3cd64a608c33f6b (diff)
downloadopenssl-6f4d71ff9d5ac80c5ae2a309a487ccbdb360108b.zip
openssl-6f4d71ff9d5ac80c5ae2a309a487ccbdb360108b.tar.gz
openssl-6f4d71ff9d5ac80c5ae2a309a487ccbdb360108b.tar.bz2
make X509_VERIFY_PARAM opaque
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_lcl.h')
-rw-r--r--crypto/x509/x509_lcl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/crypto/x509/x509_lcl.h b/crypto/x509/x509_lcl.h
index 427d8ca..eb5ae43 100644
--- a/crypto/x509/x509_lcl.h
+++ b/crypto/x509/x509_lcl.h
@@ -57,6 +57,24 @@
*
*/
+/*
+ * This structure holds all parameters associated with a verify operation by
+ * including an X509_VERIFY_PARAM structure in related structures the
+ * parameters used can be customized
+ */
+
+struct X509_VERIFY_PARAM_st {
+ char *name;
+ time_t check_time; /* Time to use */
+ unsigned long inh_flags; /* Inheritance flags */
+ unsigned long flags; /* Various verify flags */
+ int purpose; /* purpose to check untrusted certificates */
+ int trust; /* trust setting to check */
+ int depth; /* Verify depth */
+ STACK_OF(ASN1_OBJECT) *policies; /* Permissible policies */
+ X509_VERIFY_PARAM_ID *id; /* opaque ID data */
+};
+
/* internal only structure to hold additional X509_VERIFY_PARAM data */
struct X509_VERIFY_PARAM_ID_st {