summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/utf8/utf8test.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/regress/lib/libcrypto/utf8/utf8test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/utf8/utf8test.c b/src/regress/lib/libcrypto/utf8/utf8test.c
index 453ab43a40..5da5709746 100644
--- a/src/regress/lib/libcrypto/utf8/utf8test.c
+++ b/src/regress/lib/libcrypto/utf8/utf8test.c
@@ -23,6 +23,7 @@
23#include <err.h> 23#include <err.h>
24 24
25#include <openssl/asn1.h> 25#include <openssl/asn1.h>
26#include "asn1_locl.h" /* peek into the internals */
26 27
27#define UNCHANGED 0xfedcba98 28#define UNCHANGED 0xfedcba98
28 29
@@ -39,7 +40,8 @@ main(void)
39 unsigned char testbuf[] = "012345"; 40 unsigned char testbuf[] = "012345";
40 const unsigned char zerobuf[sizeof testbuf] = { 0 }; 41 const unsigned char zerobuf[sizeof testbuf] = { 0 };
41 unsigned long value; 42 unsigned long value;
42 int i, j, k, l, ret; 43 unsigned int i, j, k, l;
44 int ret;
43 45
44 /* 46 /*
45 * First, verify UTF8_getc() 47 * First, verify UTF8_getc()