summaryrefslogtreecommitdiffstats
path: root/test/v3nametest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/v3nametest.c')
-rw-r--r--test/v3nametest.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/test/v3nametest.c b/test/v3nametest.c
index 0d55f81ba3..d6749b7e34 100644
--- a/test/v3nametest.c
+++ b/test/v3nametest.c
@@ -7,13 +7,18 @@
* https://www.openssl.org/source/license.html
*/
-#include "../e_os.h"
#include <string.h>
-#include "internal/nelem.h"
+
+#include <openssl/e_os2.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
+#include "internal/nelem.h"
#include "testutil.h"
+#ifdef OPENSSL_SYS_WINDOWS
+# define strcasecmp _stricmp
+#endif
+
static const char *const names[] = {
"a", "b", ".", "*", "@",
".a", "a.", ".b", "b.", ".*", "*.", "*@", "@*", "a@", "@a", "b@", "..",