diff options
author | Michael Brown | 2007-02-01 07:36:45 +0100 |
---|---|---|
committer | Michael Brown | 2007-02-01 07:36:45 +0100 |
commit | 0050378f5167f9972f94ac374cebad749fb39395 (patch) | |
tree | 680b012166aa6da7754f5a99c04aeb933210eabe /src/crypto | |
parent | Make context sizes available for statically-allocated structures (diff) | |
download | ipxe-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.c | 2 |
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, |