summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbluhm <>2017-03-06 22:30:17 +0000
committerbluhm <>2017-03-06 22:30:17 +0000
commit69d2345ce92ca3acae193959f1cf986f532906aa (patch)
treec4cd71249ce3563370f98fbbe2a44dc010efce39
parent0dbf4a31aa2becc157a25e82d3291c6494b3667e (diff)
downloadopenbsd-69d2345ce92ca3acae193959f1cf986f532906aa.tar.gz
openbsd-69d2345ce92ca3acae193959f1cf986f532906aa.tar.bz2
openbsd-69d2345ce92ca3acae193959f1cf986f532906aa.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++)