New options to the -verify program which can be used for chain verification.

Extend the X509_PURPOSE structure to include shortnames for purposed and default
trust ids.

Still need some extendable trust checking code and integration with the SSL and
S/MIME code.
This commit is contained in:
Dr. Stephen Henson
1999-11-26 00:27:07 +00:00
parent 1126239111
commit d4cec6a13d
17 changed files with 290 additions and 112 deletions

View File

@@ -76,8 +76,8 @@ typedef struct stack_st
#define sk_new_null() sk_new(NULL)
#define M_sk_num(sk) ((sk)->num)
#define M_sk_value(sk,n) ((sk)->data[n])
#define M_sk_num(sk) ((sk) ? (sk)->num:-1)
#define M_sk_value(sk,n) ((sk) ? (sk)->data[n] : NULL)
int sk_num(STACK *);
char *sk_value(STACK *, int);