summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2017-03-06 22:30:18 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2017-03-06 22:30:18 +0000
commit417e54dd66153c1dfbb9f6282f1c332f5de2ed27 (patch)
treea233617dbb2c66941b4e4309f86b6f699fc0069e /regress
parentb4de90afff4d399dafa9bac4f41ea64695c853a8 (diff)
Use an unsigned loop variable to avoid a comparison between signed
and unsigned. Makes the test compile again. OK inoguchi@
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libcrypto/hmac/hmactest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/hmac/hmactest.c b/regress/lib/libcrypto/hmac/hmactest.c
index d5a00c8aacd..ab75d3508c8 100644
--- a/regress/lib/libcrypto/hmac/hmactest.c
+++ b/regress/lib/libcrypto/hmac/hmactest.c
@@ -319,7 +319,7 @@ end:
static char *
pt(unsigned char *md, unsigned int len)
{
- int i;
+ unsigned int i;
static char buf[80];
for (i = 0; i < len; i++)