Check chain extensions also for trusted certificates
authorViktor Dukhovni <openssl-users@dukhovni.org>
Thu, 28 Jan 2016 08:01:45 +0000 (03:01 -0500)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Mon, 1 Feb 2016 02:23:23 +0000 (21:23 -0500)
commit0daccd4dc1f1ac62181738a91714f35472e50f3c
tree5b7c2b6c5db0c2caf223ea978db03559b5eb90f8
parent1b4cf96f9b82ec3b06e7902bb21620a09cadd94e
Check chain extensions also for trusted certificates

This includes basic constraints, key usages, issuer EKUs and auxiliary
trust OIDs (given a trust suitably related to the intended purpose).

Added tests and updated documentation.

Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
15 files changed:
apps/opt.c
crypto/x509/x509_trs.c
crypto/x509/x509_vfy.c
crypto/x509/x509_vpm.c
doc/apps/verify.pod
doc/apps/x509.pod
doc/crypto/X509_VERIFY_PARAM_set_flags.pod
include/openssl/x509.h
test/certs/root+anyEKU.pem [new file with mode: 0644]
test/certs/root-anyEKU.pem [new file with mode: 0644]
test/certs/root2+clientAuth.pem [new file with mode: 0644]
test/certs/root2+serverAuth.pem [new file with mode: 0644]
test/certs/root2-serverAuth.pem [new file with mode: 0644]
test/certs/setup.sh
test/recipes/25-test_verify.t