openssl/crypto/x509v3
Viktor Dukhovni 55a6250f1e Skip CN DNS name constraint checks when not needed
Only check the CN against DNS name contraints if the
`X509_CHECK_FLAG_NEVER_CHECK_SUBJECT` flag is not set, and either the
certificate has no DNS subject alternative names or the
`X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT` flag is set.

Add pertinent documentation, and touch up some stale text about
name checks and DANE.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
2018-05-23 11:12:17 -04:00
..
build.info
ext_dat.h
pcy_cache.c Update copyright year 2018-05-01 13:34:30 +01:00
pcy_data.c Update copyright year 2018-05-01 13:34:30 +01:00
pcy_int.h
pcy_lib.c
pcy_map.c
pcy_node.c Update copyright year 2018-05-01 13:34:30 +01:00
pcy_tree.c Update copyright year 2018-05-01 13:34:30 +01:00
standard_exts.h
v3_addr.c Avoid out-of-bounds read 2017-08-28 13:26:26 -04:00
v3_admis.c Update copyright year 2018-02-13 13:59:25 +00:00
v3_admis.h Update copyright year 2018-02-13 13:59:25 +00:00
v3_akey.c
v3_akeya.c
v3_alt.c remove magic number 2017-11-13 07:52:35 -05:00
v3_asid.c Update copyright year 2018-02-27 13:59:42 +00:00
v3_bcons.c
v3_bitst.c
v3_conf.c Update copyright year 2018-02-27 13:59:42 +00:00
v3_cpols.c Update copyright year 2018-05-01 13:34:30 +01:00
v3_crld.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_enum.c
v3_extku.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_genn.c Fix memory leak in GENERAL_NAME_set0_othername. 2017-10-23 17:46:02 +02:00
v3_ia5.c
v3_info.c Consistent formatting for sizeof(foo) 2017-12-07 19:11:49 -05:00
v3_int.c
v3_lib.c Fix possible leaks on sk_X509_EXTENSION_push() failure ... 2017-11-10 09:45:17 +01:00
v3_ncons.c Skip CN DNS name constraint checks when not needed 2018-05-23 11:12:17 -04:00
v3_pci.c
v3_pcia.c
v3_pcons.c
v3_pku.c
v3_pmaps.c Simplify the stack reservation 2017-10-26 14:34:35 -04:00
v3_prn.c
v3_purp.c v3_purp.c: add locking to x509v3_cache_extensions() 2018-05-03 22:22:37 +02:00
v3_skey.c
v3_sxnet.c
v3_tlsf.c Move e_os.h to be the very first include. 2017-08-30 07:20:44 +10:00
v3_utl.c Pretty-print large INTEGERs and ENUMERATEDs in hex. 2017-11-25 09:23:34 -05:00
v3err.c Add missing error code when alloc-return-null 2018-04-26 12:27:46 -04:00