boringssl/decrepit
David Benjamin 17cf2cb1d2 Work around language and compiler bug in memcpy, etc.
Most C standard library functions are undefined if passed NULL, even
when the corresponding length is zero. This gives them (and, in turn,
all functions which call them) surprising behavior on empty arrays.
Some compilers will miscompile code due to this rule. See also
https://www.imperialviolet.org/2016/06/26/nonnull.html

Add OPENSSL_memcpy, etc., wrappers which avoid this problem.

BUG=23

Change-Id: I95f42b23e92945af0e681264fffaf578e7f8465e
Reviewed-on: https://boringssl-review.googlesource.com/12928
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Adam Langley <agl@google.com>
2016-12-21 20:34:47 +00:00
..
bio Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
biossl Remove unused BIO_RR_* values. 2016-12-12 21:41:41 +00:00
blowfish Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
cast Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
des Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
dh Add |DH_generate_parameters| to decrepit. 2016-03-10 17:44:59 +00:00
dsa Fix windows build. 2016-03-08 01:57:24 +00:00
evp Add |EVP_dss1| as an alias for |EVP_sha1| in decrepit. 2016-05-20 15:31:52 +00:00
obj Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
rc4 Add |RC4_options| to decrepit. 2016-03-09 01:14:30 +00:00
ripemd Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
rsa Export RSA_padding_add_PKCS1_OAEP[_mgf1] 2016-04-13 21:15:20 +00:00
ssl Switch from readdir_r back to readdir. 2016-09-22 19:01:04 +00:00
x509 Add |X509_EXT_conf_nid| to decrepit. 2016-03-08 01:50:10 +00:00
xts Work around language and compiler bug in memcpy, etc. 2016-12-21 20:34:47 +00:00
CMakeLists.txt Add a simplified SSL BIO for curl. 2016-12-08 20:33:22 +00:00
macros.h Add decrepit, initially containing CAST and Blowfish. 2015-04-06 16:58:45 -07:00