summaryrefslogtreecommitdiff
path: root/src/lib/crypt/openssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/crypt/openssl.c')
-rw-r--r--src/lib/crypt/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/crypt/openssl.c b/src/lib/crypt/openssl.c
index 232aa6c9..5d95f408 100644
--- a/src/lib/crypt/openssl.c
+++ b/src/lib/crypt/openssl.c
@@ -974,7 +974,7 @@ int openssl_encrypt(struct ossl_crypt_ctx * ctx,
if (random_buffer(iv, ctx->ivsz) < 0)
goto fail_encrypt;
- /* Set IV bit 7 to current key phase (bit KEY_ROTATION_BIT of counter) */
+ /* Set IV bit 7 to current key phase (KEY_ROTATION_BIT of counter) */
if (ctx->rot.cntr & ctx->rot.mask)
iv[0] |= 0x80;
else