openssl/crypto/pkcs7
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
..
bio_pk7.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
build.info unified build scheme: add build.info files 2016-02-01 12:46:58 +01:00
pk7_asn1.c Fix gcc-7 warnings. 2017-05-11 19:39:38 +02:00
pk7_attr.c Fix mem error handling in PKCS7_simple_smimecap 2016-07-05 17:45:58 +01:00
pk7_doit.c Whitespace cleanup in crypto 2016-06-29 09:56:39 -04:00
pk7_lib.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pk7_mime.c This has been added to avoid the situation where some host ctype.h functions 2017-08-22 09:45:25 +10:00
pk7_smime.c Copyright consolidation 04/10 2016-05-17 14:24:46 -04:00
pkcs7err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00