From d565364dadebdaabef4ecead36ae102774e81174 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 1 Jul 2024 10:01:36 -0400 Subject: Vendor import of OpenSSH 9.8p1 --- cipher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cipher.c') 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 * Copyright (c) 1995 Tatu Ylonen , 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)) -- cgit v1.3