summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbluhm <>2017-03-06 22:30:17 +0000
committerbluhm <>2017-03-06 22:30:17 +0000
commitdeb5b03f7173c1875345c8fd248a85078c16dc9f (patch)
treec4cd71249ce3563370f98fbbe2a44dc010efce39
parent5c5a16a9022c21d04ee4f0cfd724d03b05747ae8 (diff)
downloadopenbsd-deb5b03f7173c1875345c8fd248a85078c16dc9f.tar.gz
openbsd-deb5b03f7173c1875345c8fd248a85078c16dc9f.tar.bz2
openbsd-deb5b03f7173c1875345c8fd248a85078c16dc9f.zip
Use an unsigned loop variable to avoid a comparison between signed
and unsigned. Makes the test compile again. OK inoguchi@
-rw-r--r--src/regress/lib/libcrypto/hmac/hmactest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regress/lib/libcrypto/hmac/hmactest.c b/src/regress/lib/libcrypto/hmac/hmactest.c
index d5a00c8aac..ab75d3508c 100644
--- a/src/regress/lib/libcrypto/hmac/hmactest.c
+++ b/src/regress/lib/libcrypto/hmac/hmactest.c
@@ -319,7 +319,7 @@ end:
319static char * 319static char *
320pt(unsigned char *md, unsigned int len) 320pt(unsigned char *md, unsigned int len)
321{ 321{
322 int i; 322 unsigned int i;
323 static char buf[80]; 323 static char buf[80];
324 324
325 for (i = 0; i < len; i++) 325 for (i = 0; i < len; i++)