summaryrefslogtreecommitdiffstats
path: root/src/crypto
diff options
context:
space:
mode:
authorMichael Brown2007-02-01 07:36:45 +0100
committerMichael Brown2007-02-01 07:36:45 +0100
commit0050378f5167f9972f94ac374cebad749fb39395 (patch)
tree680b012166aa6da7754f5a99c04aeb933210eabe /src/crypto
parentMake context sizes available for statically-allocated structures (diff)
downloadipxe-0050378f5167f9972f94ac374cebad749fb39395.tar.gz
ipxe-0050378f5167f9972f94ac374cebad749fb39395.tar.xz
ipxe-0050378f5167f9972f94ac374cebad749fb39395.zip
SHA1_DIGEST_SIZE also available as a static constant
Diffstat (limited to 'src/crypto')
-rw-r--r--src/crypto/axtls_sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/axtls_sha1.c b/src/crypto/axtls_sha1.c
index b44fe7fe..62ff878a 100644
--- a/src/crypto/axtls_sha1.c
+++ b/src/crypto/axtls_sha1.c
@@ -19,7 +19,7 @@ struct crypto_algorithm sha1_algorithm = {
.name = "sha1",
.ctxsize = SHA1_CTX_SIZE,
.blocksize = 64,
- .digestsize = SHA1_SIZE,
+ .digestsize = SHA1_DIGEST_SIZE,
.init = sha1_init,
.encode = sha1_update,
.final = sha1_final,