summaryrefslogtreecommitdiff
path: root/cipher/sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/sha512.c')
-rw-r--r--cipher/sha512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/sha512.c b/cipher/sha512.c
index af307751..97fb2036 100644
--- a/cipher/sha512.c
+++ b/cipher/sha512.c
@@ -488,7 +488,7 @@ transform (void *context, const unsigned char *data)
SHA512_CONTEXT *ctx = context;
#ifdef USE_ARM_NEON_ASM
- if (hd->use_neon)
+ if (ctx->use_neon)
{
_gcry_sha512_transform_armv7_neon(&ctx->state, data, k);