projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prevent undefined behavior when src and dst are equal
[oweals/openssl.git]
/
apps
/
opt.c
diff --git
a/apps/opt.c
b/apps/opt.c
index d694fe15f20d141e25d0118f619e65702516bfcc..f72ac64ec7a4eb020225d36a1238feca337131ba 100644
(file)
--- a/
apps/opt.c
+++ b/
apps/opt.c
@@
-580,6
+580,9
@@
int opt_verify(int opt, X509_VERIFY_PARAM *vpm)
case OPT_V_NO_CHECK_TIME:
X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_NO_CHECK_TIME);
break;
case OPT_V_NO_CHECK_TIME:
X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_NO_CHECK_TIME);
break;
+ case OPT_V_ALLOW_PROXY_CERTS:
+ X509_VERIFY_PARAM_set_flags(vpm, X509_V_FLAG_ALLOW_PROXY_CERTS);
+ break;
}
return 1;
}
return 1;