diff options
author | Pauli <paul.dale@oracle.com> | 2017-08-18 09:50:25 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-08-18 09:50:25 +1000 |
commit | b99fe5f4927b305bae88daac2484c284fe749329 (patch) | |
tree | 0497ffa8a2d0e0ea72ecca5d32d6878888835fd4 /test/poly1305_internal_test.c | |
parent | 524fdd515569e12047ddb29ba4c7f19706aacc98 (diff) | |
download | openssl-new-b99fe5f4927b305bae88daac2484c284fe749329.tar.gz |
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 <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4186)
Diffstat (limited to 'test/poly1305_internal_test.c')
-rw-r--r-- | test/poly1305_internal_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/poly1305_internal_test.c b/test/poly1305_internal_test.c index 592f4b6e83..55b76440ea 100644 --- a/test/poly1305_internal_test.c +++ b/test/poly1305_internal_test.c @@ -15,7 +15,7 @@ #include "testutil.h" #include "internal/poly1305.h" #include "../crypto/poly1305/poly1305_local.h" -#include "e_os.h" +#include <internal/nelem.h> typedef struct { size_t size; |