summaryrefslogtreecommitdiff
path: root/nist
diff options
context:
space:
mode:
Diffstat (limited to 'nist')
-rw-r--r--nist/encrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nist/encrypt.c b/nist/encrypt.c
index a33a2f5..d402d53 100644
--- a/nist/encrypt.c
+++ b/nist/encrypt.c
@@ -40,7 +40,7 @@ int crypto_aead_decrypt(
);
if (!valid)
- return 1;
+ return -1;
*mlen = tagless_len;