summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2024-07-01 14:01:36 +0000
committerEd Maste <emaste@FreeBSD.org>2024-07-01 14:01:36 +0000
commitd565364dadebdaabef4ecead36ae102774e81174 (patch)
treedc22dc885255344e9a27e99a9d4ab2f9b3ec211f /cipher.c
parent9200ce3210fdc00706904d2eb2d8a481ed84eef3 (diff)
Vendor import of OpenSSH 9.8p1vendor/openssh/9.8p1
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 90b139c89985..f12daa123438 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))