boringssl/decrepit
David Benjamin a78e6a5ab5 Switch from readdir_r back to readdir.
readdir and readdir_r have a sad history:
https://www.gnu.org/software/libc/manual/html_node/Reading_002fClosing-Directory.html
https://womble.decadent.org.uk/readdir_r-advisory.html
http://austingroupbugs.net/view.php?id=696

Martin Thomson reports that newer glibcs warn that readdir_r is
deprecated. Especially since this has been banished to libdecrepit
anyway, go ahead and honor that warning. OpenSSL also uses readdir, so
we're no worse than they are.

While I'm here, rewrite this to remove a useless layer of abstraction,
now that we've punted on supporting most platforms here. Also remove the
redundant documentation comment (there's one in the header already).

Change-Id: I5350c55417a7f5c4c4725f97dd63f960aeb96801
Reviewed-on: https://boringssl-review.googlesource.com/11220
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2016-09-22 19:01:04 +00:00
..
bio Replace base64 decoding. 2016-05-26 17:59:10 +00:00
blowfish
cast Wrap MSVC-only warning pragmas in a macro. 2016-06-09 21:29:36 +00:00
des
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 Make OBJ_NAME_do_all more OpenSSL-compatible. 2016-06-27 21:42:27 +00:00
rc4 Add |RC4_options| to decrepit. 2016-03-09 01:14:30 +00:00
ripemd Revert md_len removal from SHA256_CTX and SHA512_CTX. 2016-04-27 19:01:23 +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 Fix AES XTS mode key size. 2015-11-19 18:08:33 +00:00
CMakeLists.txt Banish SSL_add_dir_cert_subjects_to_stack and OPENSSL_DIR_CTX to decrepit. 2016-04-27 18:40:25 +00:00
macros.h