public header to the internal. Make some variables unsigned to
eliminate some warnings
-# $OpenBSD: Makefile,v 1.1 2014/05/18 22:04:14 guenther Exp $
+# $OpenBSD: Makefile,v 1.2 2014/05/22 03:36:23 guenther Exp $
PROG= utf8test
+CPPFLAGS+=-I${.CURDIR}/../../../../lib/libssl/src/crypto/asn1
LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
+WARNINGS=Yes
.include <bsd.regress.mk>
#include <err.h>
#include <openssl/asn1.h>
+#include "asn1_locl.h" /* peek into the internals */
#define UNCHANGED 0xfedcba98
unsigned char testbuf[] = "012345";
const unsigned char zerobuf[sizeof testbuf] = { 0 };
unsigned long value;
- int i, j, k, l, ret;
+ unsigned int i, j, k, l;
+ int ret;
/*
* First, verify UTF8_getc()