summaryrefslogtreecommitdiffstats
path: root/src/crypto/axtls_sha1.c
diff options
context:
space:
mode:
authorMichael Brown2007-02-01 06:48:56 +0100
committerMichael Brown2007-02-01 06:48:56 +0100
commitcc8f9e4b7fa6a82415c2f13d4434b379ef760bcb (patch)
treeece501e37b08aefc978204a1d6b78c488305636f /src/crypto/axtls_sha1.c
parentVanilla copies from axtls (diff)
downloadipxe-cc8f9e4b7fa6a82415c2f13d4434b379ef760bcb.tar.gz
ipxe-cc8f9e4b7fa6a82415c2f13d4434b379ef760bcb.tar.xz
ipxe-cc8f9e4b7fa6a82415c2f13d4434b379ef760bcb.zip
Make context sizes available for statically-allocated structures
Diffstat (limited to 'src/crypto/axtls_sha1.c')
-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 17c087977..b44fe7fe8 100644
--- a/src/crypto/axtls_sha1.c
+++ b/src/crypto/axtls_sha1.c
@@ -17,7 +17,7 @@ static void sha1_final ( void *ctx, void *out ) {
struct crypto_algorithm sha1_algorithm = {
.name = "sha1",
- .ctxsize = sizeof ( SHA1_CTX ),
+ .ctxsize = SHA1_CTX_SIZE,
.blocksize = 64,
.digestsize = SHA1_SIZE,
.init = sha1_init,