Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Smith <brian@briansmith.org>2015-03-28 10:12:01 +0300
committerAdam Langley <agl@google.com>2015-04-13 23:49:18 +0300
commit054e68267553e0b64975444741efa8099688d960 (patch)
tree48ad376df5dd4e09a2406784020f10626149a66a /decrepit
parentef24ac396ac61872c95f277732dcf8dd669f6f75 (diff)
Eliminate unnecessary includes from low-level crypto modules.
Beyond generally eliminating unnecessary includes, eliminate as many includes of headers that declare/define particularly error-prone functionality like strlen, malloc, and free. crypto/err/internal.h was added to remove the dependency on openssl/thread.h from the public openssl/err.h header. The include of <stdlib.h> in openssl/mem.h was retained since it defines OPENSSL_malloc and friends as macros around the stdlib.h functions. The public x509.h, x509v3.h, and ssl.h headers were not changed in order to minimize breakage of source compatibility with external code. Change-Id: I0d264b73ad0a720587774430b2ab8f8275960329 Reviewed-on: https://boringssl-review.googlesource.com/4220 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'decrepit')
-rw-r--r--decrepit/cast/cast.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/decrepit/cast/cast.c b/decrepit/cast/cast.c
index bd2c0e98..68bcbe32 100644
--- a/decrepit/cast/cast.c
+++ b/decrepit/cast/cast.c
@@ -56,6 +56,12 @@
#include <openssl/cast.h>
+#if defined(OPENSSL_WINDOWS)
+#pragma warning(push, 3)
+#include <intrin.h>
+#pragma warning(pop)
+#endif
+
#include "../macros.h"