Include-what-you-use ssl/internal.h. The rest of ssl/ still includes things everywhere, but this at least fixes the includes that were implicit from ssl/internal.h. Change-Id: I7ed22590aca0fe78af84fd99a3e557f4b05f6782 Reviewed-on: https://boringssl-review.googlesource.com/4281 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 8d28f38..4914924 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c
@@ -138,12 +138,13 @@ * OTHER ENTITY BASED ON INFRINGEMENT OF INTELLECTUAL PROPERTY RIGHTS OR * OTHERWISE. */ -#include <stdio.h> #include <assert.h> +#include <stdio.h> +#include <string.h> #include <openssl/bytestring.h> #include <openssl/dh.h> -#include <openssl/engine.h> +#include <openssl/err.h> #include <openssl/lhash.h> #include <openssl/mem.h> #include <openssl/obj.h>