diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-03-06 22:30:18 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-03-06 22:30:18 +0000 |
commit | 417e54dd66153c1dfbb9f6282f1c332f5de2ed27 (patch) | |
tree | a233617dbb2c66941b4e4309f86b6f699fc0069e /regress | |
parent | b4de90afff4d399dafa9bac4f41ea64695c853a8 (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.c | 2 |
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++) |