diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-11-29 01:09:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-11-29 01:09:25 +0000 |
commit | 13938acecae8f1b455812d0388e2891abd1c096d (patch) | |
tree | a0c899c89f6126f075ca6b88f15f3134bfe21ebe /crypto/x509v3/x509v3.h | |
parent | 51630a37069a0792f2d6ad6ce33e9c5cca27b69c (diff) |
Add part of chain verify SSL support code: not complete or doing anything
yet.
Add a function X509_STORE_CTX_purpose_inherit() which implements the logic
of "inheriting" purpose and trust from a parent structure and using a default:
this will be used in the SSL code and possibly future S/MIME.
Partial documentation of the 'verify' utility. Still need to document how all
the extension checking works and the various error messages.
Diffstat (limited to 'crypto/x509v3/x509v3.h')
-rw-r--r-- | crypto/x509v3/x509v3.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h index 5a97e09612..bee56ab2d2 100644 --- a/crypto/x509v3/x509v3.h +++ b/crypto/x509v3/x509v3.h @@ -329,12 +329,12 @@ DECLARE_ASN1_SET_OF(POLICYINFO) #define X509_PURPOSE_DYNAMIC_NAME 0x2 typedef struct x509_purpose_st { - int purpose_id; - int trust_id; /* Default trust ID */ - int purpose_flags; + int purpose; + int trust; /* Default trust ID */ + int flags; int (*check_purpose)(struct x509_purpose_st *, X509 *, int); - char *purpose_name; - char *purpose_sname; + char *name; + char *sname; void *usr_data; } X509_PURPOSE; |