summaryrefslogtreecommitdiffstats
path: root/cipher.c
diff options
context:
space:
mode:
authorjsg@openbsd.org <jsg@openbsd.org>2024-05-17 04:39:11 +0200
committerDamien Miller <djm@mindrot.org>2024-05-17 06:42:49 +0200
commit01fb82eb2aa0a4eaf5c394ea8bb37ea4c26f8a3f (patch)
treec2cbc87b939d2f7b4e8bbeffe98cbf1d8d7de96a /cipher.c
parentupstream: allow overriding the sshd-session binary path (diff)
downloadopenssh-01fb82eb2aa0a4eaf5c394ea8bb37ea4c26f8a3f.tar.xz
openssh-01fb82eb2aa0a4eaf5c394ea8bb37ea4c26f8a3f.zip
upstream: spelling; ok djm@
OpenBSD-Commit-ID: bdea29bb3ed2a5a7782999c4c663b219d2270483
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher.c b/cipher.c
index 90b139c89..f12daa123 100644
--- a/cipher.c
+++ b/cipher.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cipher.c,v 1.120 2023/10/10 06:49:54 tb Exp $ */
+/* $OpenBSD: cipher.c,v 1.121 2024/05/17 02:39:11 jsg Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -372,7 +372,7 @@ cipher_crypt(struct sshcipher_ctx *cc, u_int seqnr, u_char *dest,
if (!EVP_CIPHER_CTX_ctrl(cc->evp, EVP_CTRL_GCM_IV_GEN,
1, lastiv))
return SSH_ERR_LIBCRYPTO_ERROR;
- /* set tag on decyption */
+ /* set tag on decryption */
if (!cc->encrypt &&
!EVP_CIPHER_CTX_ctrl(cc->evp, EVP_CTRL_GCM_SET_TAG,
authlen, (u_char *)src + aadlen + len))