From cc8f9e4b7fa6a82415c2f13d4434b379ef760bcb Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 1 Feb 2007 05:48:56 +0000 Subject: Make context sizes available for statically-allocated structures --- src/crypto/axtls_sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crypto/axtls_sha1.c') 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, -- cgit v1.2.3-55-g7522