summaryrefslogtreecommitdiff
path: root/cipher/cipher-ocb.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/cipher-ocb.c')
-rw-r--r--cipher/cipher-ocb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/cipher-ocb.c b/cipher/cipher-ocb.c
index a3a2c9bb..6db1db33 100644
--- a/cipher/cipher-ocb.c
+++ b/cipher/cipher-ocb.c
@@ -307,7 +307,7 @@ _gcry_cipher_ocb_authenticate (gcry_cipher_hd_t c, const unsigned char *abuf,
c->spec->encrypt (&c->context.c, l_tmp, l_tmp);
buf_xor_1 (c->u_mode.ocb.aad_sum, l_tmp, OCB_BLOCK_LEN);
- /* Mark AAD as finalized to avoid accidently calling this
+ /* Mark AAD as finalized to avoid accidentally calling this
function again after a non-full block has been processed. */
c->u_mode.ocb.aad_finalized = 1;
}