diff options
| author | bluhm <> | 2017-03-06 22:30:17 +0000 |
|---|---|---|
| committer | bluhm <> | 2017-03-06 22:30:17 +0000 |
| commit | 69d2345ce92ca3acae193959f1cf986f532906aa (patch) | |
| tree | c4cd71249ce3563370f98fbbe2a44dc010efce39 /src | |
| parent | 0dbf4a31aa2becc157a25e82d3291c6494b3667e (diff) | |
| download | openbsd-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@
Diffstat (limited to '')
| -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++) |
