diff options
| author | bluhm <> | 2017-03-06 22:30:17 +0000 |
|---|---|---|
| committer | bluhm <> | 2017-03-06 22:30:17 +0000 |
| commit | deb5b03f7173c1875345c8fd248a85078c16dc9f (patch) | |
| tree | c4cd71249ce3563370f98fbbe2a44dc010efce39 /src | |
| parent | 5c5a16a9022c21d04ee4f0cfd724d03b05747ae8 (diff) | |
| download | openbsd-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@
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/hmac/hmactest.c | 2 |
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: | |||
| 319 | static char * | 319 | static char * |
| 320 | pt(unsigned char *md, unsigned int len) | 320 | pt(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++) |
