From b99fe5f4927b305bae88daac2484c284fe749329 Mon Sep 17 00:00:00 2001 From: Pauli Date: Fri, 18 Aug 2017 09:50:25 +1000 Subject: Remove tests dependence on e_os.h Apart from ssltest_old.c, the test suite relied on e_os.h for the OSSL_NELEM macro and nothing else. The ssltest_old.c also requires EXIT and some socket macros. Create a new header to define the OSSL_NELEM macro and use that instead. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/4186) --- test/ssltest_old.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ssltest_old.c') diff --git a/test/ssltest_old.c b/test/ssltest_old.c index 3a8d9b2637..9e3bb7a83d 100644 --- a/test/ssltest_old.c +++ b/test/ssltest_old.c @@ -25,6 +25,8 @@ #include #include +#include + #define USE_SOCKETS #include "e_os.h" -- cgit v1.2.3