openssl/crypto/x509v3
Pauli a1df06b363 This has been added to avoid the situation where some host ctype.h functions
return true for characters > 127.  I.e. they are allowing extended ASCII
characters through which then cause problems.  E.g. marking superscript '2' as
a number then causes the common (ch - '0') conversion to number to fail
miserably.  Likewise letters with diacritical marks can also cause problems.

If a non-ASCII character set is being used (currently only EBCDIC), it is
adjusted for.

The implementation uses a single table with a bit for each of the defined
classes.  These functions accept an int argument and fail for
values out of range or for characters outside of the ASCII set.  They will
work for both signed and unsigned character inputs.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4102)
2017-08-22 09:45:25 +10:00
..
build.info Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
ext_dat.h Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
pcy_cache.c Fix threading issue that at best will leak memory 2016-06-03 12:08:13 -04:00
pcy_data.c CLA: trivial 2017-05-31 08:56:03 -04:00
pcy_int.h
pcy_lib.c
pcy_map.c
pcy_node.c
pcy_tree.c Avoid possible memleak in X509_policy_check() 2017-07-05 11:14:07 +02:00
standard_exts.h Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
v3_addr.c More updates following review feedback 2017-08-21 08:44:44 +01:00
v3_admis.c Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
v3_admis.h Declare a new x509v3 extension: x509ExtAdmission 2017-06-20 09:25:30 -04:00
v3_akey.c Don't leak memory in v2i_AUTHORITY_KEYID 2016-06-01 18:00:53 +01:00
v3_akeya.c
v3_alt.c Trivial bounds checking. 2017-07-07 15:45:55 +10:00
v3_asid.c More updates following review feedback 2017-08-21 08:44:44 +01:00
v3_bcons.c
v3_bitst.c
v3_conf.c This has been added to avoid the situation where some host ctype.h functions 2017-08-22 09:45:25 +10:00
v3_cpols.c explicitText encoding 2017-04-20 14:52:02 -04:00
v3_crld.c Don't leak memory on set_reasons() error path 2016-06-01 18:00:53 +01:00
v3_enum.c Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
v3_extku.c
v3_genn.c
v3_ia5.c Specify array sizes 2016-06-11 16:43:49 +02:00
v3_info.c Trivial bounds checking. 2017-07-07 15:45:55 +10:00
v3_int.c Constify input buffers of some X509V3 and X509_PURPOSE -related methods 2016-06-15 13:22:38 -04:00
v3_lib.c Convert x509 selftests to internal test 2016-11-03 13:13:31 +01:00
v3_ncons.c Few nit's 2017-01-25 09:06:34 +00:00
v3_pci.c Standardize Levitte's dual-license 2017-06-15 14:16:16 -04:00
v3_pcia.c Standardize Levitte's dual-license 2017-06-15 14:16:16 -04:00
v3_pcons.c
v3_pku.c Remove some commented out code in libcrypto 2017-02-28 16:02:11 +00:00
v3_pmaps.c Don't leak memory in v2i_POLICY_MAPPINGS() on error path 2016-06-01 18:00:53 +01:00
v3_prn.c Convert X509_CRL* functions to use const getters 2016-08-17 13:38:03 +01:00
v3_purp.c Add support for custom signature parameters 2017-04-25 22:12:34 +01:00
v3_skey.c Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
v3_sxnet.c Constify SXNET_add_id_* 2016-07-25 08:20:00 -04:00
v3_tlsf.c Change a call of OPENSSL_strcasecmp to strcasecmp 2016-05-28 02:15:04 +02:00
v3_utl.c This has been added to avoid the situation where some host ctype.h functions 2017-08-22 09:45:25 +10:00
v3err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00