Deprecate quite a few recursive includes from the ssl.h API header and remove some unnecessary includes from the internal header ssl_locl.h. This then requires adding includes for bn.h in four C files.
diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 8feb24a..56dbf75 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c
@@ -131,6 +131,7 @@ #include <openssl/evp.h> #include <openssl/md5.h> #include <openssl/dh.h> +#include <openssl/bn.h> static SSL_METHOD *ssl3_get_client_method(int ver); static int ssl3_client_hello(SSL *s);