summaryrefslogtreecommitdiffstats
path: root/test/rc2test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2017-08-18 01:50:25 +0200
committerPauli <paul.dale@oracle.com>2017-08-18 01:50:25 +0200
commitb99fe5f4927b305bae88daac2484c284fe749329 (patch)
tree0497ffa8a2d0e0ea72ecca5d32d6878888835fd4 /test/rc2test.c
parentClear outputs in PKCS12_parse error handling. (diff)
downloadopenssl-b99fe5f4927b305bae88daac2484c284fe749329.tar.xz
openssl-b99fe5f4927b305bae88daac2484c284fe749329.zip
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/rc2test.c')
-rw-r--r--test/rc2test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rc2test.c b/test/rc2test.c
index 6323d81beb..fc00076b17 100644
--- a/test/rc2test.c
+++ b/test/rc2test.c
@@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
-#include "../e_os.h"
+#include <internal/nelem.h>
#include "testutil.h"
#ifndef OPENSSL_NO_RC2