diff options
author | djm <> | 2009-04-06 06:30:10 +0000 |
---|---|---|
committer | djm <> | 2009-04-06 06:30:10 +0000 |
commit | f929570d17be2469dc7104fcdf26fdaddf3dbb65 (patch) | |
tree | d27deb705d08b9515fe0c6a5de67639235c5ad78 /src/lib/libcrypto/x509 | |
parent | 8495770bca2f5a7c4d65351d78035a1cf89684f0 (diff) | |
parent | 2b6e09b39ef1d803b50ee024a06d1c250fde442d (diff) | |
download | openbsd-f929570d17be2469dc7104fcdf26fdaddf3dbb65.tar.gz openbsd-f929570d17be2469dc7104fcdf26fdaddf3dbb65.tar.bz2 openbsd-f929570d17be2469dc7104fcdf26fdaddf3dbb65.zip |
This commit was generated by cvs2git to track changes on a CVS vendor
branch.
Diffstat (limited to 'src/lib/libcrypto/x509')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vpm.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c index c92e65936f..2b06718aec 100644 --- a/src/lib/libcrypto/x509/x509_vpm.c +++ b/src/lib/libcrypto/x509/x509_vpm.c | |||
@@ -74,7 +74,7 @@ static void x509_verify_param_zero(X509_VERIFY_PARAM *param) | |||
74 | param->name = NULL; | 74 | param->name = NULL; |
75 | param->purpose = 0; | 75 | param->purpose = 0; |
76 | param->trust = 0; | 76 | param->trust = 0; |
77 | param->inh_flags = X509_VP_FLAG_DEFAULT; | 77 | param->inh_flags = 0; |
78 | param->flags = 0; | 78 | param->flags = 0; |
79 | param->depth = -1; | 79 | param->depth = -1; |
80 | if (param->policies) | 80 | if (param->policies) |
@@ -320,11 +320,21 @@ static const X509_VERIFY_PARAM default_table[] = { | |||
320 | 0, /* flags */ | 320 | 0, /* flags */ |
321 | 0, /* purpose */ | 321 | 0, /* purpose */ |
322 | 0, /* trust */ | 322 | 0, /* trust */ |
323 | 9, /* depth */ | 323 | 100, /* depth */ |
324 | NULL /* policies */ | 324 | NULL /* policies */ |
325 | }, | 325 | }, |
326 | { | 326 | { |
327 | "pkcs7", /* SSL/TLS client parameters */ | 327 | "pkcs7", /* S/MIME signing parameters */ |
328 | 0, /* Check time */ | ||
329 | 0, /* internal flags */ | ||
330 | 0, /* flags */ | ||
331 | X509_PURPOSE_SMIME_SIGN, /* purpose */ | ||
332 | X509_TRUST_EMAIL, /* trust */ | ||
333 | -1, /* depth */ | ||
334 | NULL /* policies */ | ||
335 | }, | ||
336 | { | ||
337 | "smime_sign", /* S/MIME signing parameters */ | ||
328 | 0, /* Check time */ | 338 | 0, /* Check time */ |
329 | 0, /* internal flags */ | 339 | 0, /* internal flags */ |
330 | 0, /* flags */ | 340 | 0, /* flags */ |