diff options
author | tb <> | 2020-10-26 11:48:39 +0000 |
---|---|---|
committer | tb <> | 2020-10-26 11:48:39 +0000 |
commit | d3ea9013dad42cd8c8569e9a061e851b2f3b757e (patch) | |
tree | f53b0c8f8b7f3bc6441adb37e2bd4974fd543d72 /src/usr.bin/openssl/verify.c | |
parent | a32c02b8b29460995ef1893cecee58117c22d2e7 (diff) | |
download | openbsd-d3ea9013dad42cd8c8569e9a061e851b2f3b757e.tar.gz openbsd-d3ea9013dad42cd8c8569e9a061e851b2f3b757e.tar.bz2 openbsd-d3ea9013dad42cd8c8569e9a061e851b2f3b757e.zip |
Add a -legacy_verify flag to force use of the old validator for debugging
and testing purposes.
ok beck inoguchi jsing
Diffstat (limited to 'src/usr.bin/openssl/verify.c')
-rw-r--r-- | src/usr.bin/openssl/verify.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/usr.bin/openssl/verify.c b/src/usr.bin/openssl/verify.c index 3da41b917a..e4443148ce 100644 --- a/src/usr.bin/openssl/verify.c +++ b/src/usr.bin/openssl/verify.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: verify.c,v 1.8 2020/07/14 19:08:30 jsing Exp $ */ | 1 | /* $OpenBSD: verify.c,v 1.9 2020/10/26 11:48:39 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -193,6 +193,10 @@ static const struct option verify_shared_options[] = { | |||
193 | .desc = "Enable debugging of certificate issuer checks", | 193 | .desc = "Enable debugging of certificate issuer checks", |
194 | }, | 194 | }, |
195 | { | 195 | { |
196 | .name = "legacy_verify", | ||
197 | .desc = "Use legacy certificate chain verification", | ||
198 | }, | ||
199 | { | ||
196 | .name = "policy", | 200 | .name = "policy", |
197 | .argname = "name", | 201 | .argname = "name", |
198 | .desc = "Add given policy to the acceptable set", | 202 | .desc = "Add given policy to the acceptable set", |