Add $ssl_verify_partial_chains option for OpenSSL. (closes #3916)
authorMatthias Andree <matthias.andree@gmx.de>
Wed, 8 Mar 2017 02:26:04 +0000 (18:26 -0800)
committerRichard Russon <rich@flatcap.org>
Sat, 11 Mar 2017 23:36:53 +0000 (23:36 +0000)
commit13321d86b899cee15339248a262b450c837c39d3
tree5e08fae69f2bf41b0decd1497ff49aa81356a6a2
parentbb172e3ed3e70c2febdbf7d700f56546240faca2
Add $ssl_verify_partial_chains option for OpenSSL.  (closes #3916)

The reworked OpenSSL certificate validation took away a "feature" of
the previous implementation: the ability to reject a node in the chain
and yet continue to the next node.

If this new option is set to 'yes', enables OpenSSL's
X509_V_FLAG_PARTIAL_CHAIN flag to reinstate the functionality and permit
to use a non-root certificate as the trust anchor.

This option is only available if OpenSSL offers the
X509_V_FLAG_PARTIAL_CHAIN macro, which should be the case as of 1.0.2b
or later.

Code written by Kevin McCarthy and Matthias Andree.
doc/makedoc-defs.h
init.h
mutt.h
mutt_ssl.c