openssl/crypto/pem
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 unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pem_all.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
pem_info.c Remove OPENSSL_assert() from crypto/pem 2017-08-21 08:44:44 +01:00
pem_lib.c This has been added to avoid the situation where some host ctype.h functions 2017-08-22 09:45:25 +10:00
pem_oth.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_pk8.c Clean password buffer on stack for PEM_read_bio_PrivateKey 2017-07-29 14:55:30 +02:00
pem_pkey.c Use OPENSSL_secure_clear_free in PEM_read_bio_PrivateKey and PEM_read_bio_ex 2017-07-29 19:31:11 +02:00
pem_sign.c Useless header include of openssl/rand.h 2016-06-18 16:30:24 -04:00
pem_x509.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pem_xaux.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pvkfmt.c Fix gcc-7 warnings. 2017-05-11 19:39:38 +02:00