boringssl/crypto/x509v3
David Benjamin b50c91b5df Cleaner handling of "cnid" in do_x509_check
Avoid using cnid = 0, use NID_undef instead, and return early instead of
trying to find an instance of that in the subject DN.

(Imported from upstrea's 40d5689458593aeca0d1a7f3591f7ccb48e459ac.)

Change-Id: I1bdf6bf7a4b1f4774a8dbec7e5df421b3a27c7e4
Reviewed-on: https://boringssl-review.googlesource.com/5947
Reviewed-by: Adam Langley <agl@google.com>
2015-09-23 23:59:43 +00:00
..
CMakeLists.txt Move arm_arch.h and fix up lots of include paths. 2015-08-26 01:57:59 +00:00
ext_dat.h Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
pcy_cache.c Remove remaining calls to the old lock functions. 2015-05-20 19:18:13 +00:00
pcy_data.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_int.h Inital import. 2014-06-20 13:17:32 -07:00
pcy_lib.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_map.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_node.c Inital import. 2014-06-20 13:17:32 -07:00
pcy_tree.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
tab_test.c Rename tabtest.c and v3nametest.c 2015-06-16 18:07:27 +00:00
v3_akey.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_akeya.c Inital import. 2014-06-20 13:17:32 -07:00
v3_alt.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_bcons.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_bitst.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_conf.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_cpols.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_crld.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_enum.c Tag a number of globals as const. 2015-01-14 21:53:00 +00:00
v3_extku.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_genn.c Inital import. 2014-06-20 13:17:32 -07:00
v3_ia5.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_info.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_int.c Inital import. 2014-06-20 13:17:32 -07:00
v3_lib.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_ncons.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_pci.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_pcia.c Convert latin-1 files to UTF-8. 2015-01-29 17:26:36 -08:00
v3_pcons.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_pku.c Inital import. 2014-06-20 13:17:32 -07:00
v3_pmaps.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_prn.c Remove CHARSET_EBCDIC 2014-07-07 19:30:35 +00:00
v3_purp.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_skey.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_sxnet.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
v3_utl.c Cleaner handling of "cnid" in do_x509_check 2015-09-23 23:59:43 +00:00
v3name_test.c Rename tabtest.c and v3nametest.c 2015-06-16 18:07:27 +00:00