summaryrefslogtreecommitdiff
path: root/usr/src/common
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2021-12-24 14:34:11 +0200
committerToomas Soome <tsoome@me.com>2022-01-19 23:27:02 +0200
commit5aaf65b1581c191cf1ecb7151a3ad599f33f45f9 (patch)
tree09f1372454ddb6ae187b25bde53d92a73f9c84a7 /usr/src/common
parent56acfad3590872afa6b09b3aec90c03ebe17ef21 (diff)
downloadillumos-joyent-5aaf65b1581c191cf1ecb7151a3ad599f33f45f9.tar.gz
14352 sha1: mismatched bound
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/common')
-rw-r--r--usr/src/common/crypto/sha1/sha1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/common/crypto/sha1/sha1.c b/usr/src/common/crypto/sha1/sha1.c
index 3c7100a65e..08c7a2f52c 100644
--- a/usr/src/common/crypto/sha1/sha1.c
+++ b/usr/src/common/crypto/sha1/sha1.c
@@ -81,7 +81,7 @@ static void Encode(uint8_t *, const uint32_t *, size_t);
(ctx)->state[3], (ctx)->state[4], (ctx), (in))
static void SHA1Transform(uint32_t, uint32_t, uint32_t, uint32_t, uint32_t,
- SHA1_CTX *, const uint8_t *);
+ SHA1_CTX *, const uint8_t [64]);
#elif defined(__amd64)
@@ -95,7 +95,7 @@ void sha1_block_data_order(SHA1_CTX *ctx, const void *inpp, size_t num_blocks);
#define SHA1_TRANSFORM(ctx, in) SHA1Transform((ctx), (in))
-static void SHA1Transform(SHA1_CTX *, const uint8_t *);
+static void SHA1Transform(SHA1_CTX *, const uint8_t [64]);
#endif