summaryrefslogtreecommitdiff
path: root/cipher/mac-poly1305.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/mac-poly1305.c')
-rw-r--r--cipher/mac-poly1305.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/mac-poly1305.c b/cipher/mac-poly1305.c
index d27a31c6..46ea735f 100644
--- a/cipher/mac-poly1305.c
+++ b/cipher/mac-poly1305.c
@@ -45,7 +45,7 @@ static gcry_err_code_t
poly1305mac_open (gcry_mac_hd_t h)
{
struct poly1305mac_context_s *mac_ctx;
- int secure = (h->magic == CTX_MAGIC_SECURE);
+ int secure = (h->magic == CTX_MAC_MAGIC_SECURE);
unsigned int flags = (secure ? GCRY_CIPHER_SECURE : 0);
gcry_err_code_t err;
int cipher_algo;