From 64253a295ac2981bafe9833fc63d6dd287289715 Mon Sep 17 00:00:00 2001 From: dtucker Date: Tue, 28 Sep 2021 11:14:50 +0000 Subject: [PATCH] Make prototype for rijndaelEncrypt match function including the bounds. Fixes error in portable where GCC>=11 takes notice of the bounds. ok deraadt@ --- usr.bin/ssh/rijndael.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.bin/ssh/rijndael.h b/usr.bin/ssh/rijndael.h index 8e6258a49ac..e949adf073e 100644 --- a/usr.bin/ssh/rijndael.h +++ b/usr.bin/ssh/rijndael.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.h,v 1.14 2014/04/29 15:42:07 markus Exp $ */ +/* $OpenBSD: rijndael.h,v 1.15 2021/09/28 11:14:50 dtucker Exp $ */ /** * rijndael-alg-fst.h @@ -38,7 +38,6 @@ typedef unsigned short u16; typedef unsigned int u32; int rijndaelKeySetupEnc(unsigned int [], const unsigned char [], int); -void rijndaelEncrypt(const unsigned int [], int, const unsigned char [], - unsigned char []); +void rijndaelEncrypt(const unsigned int [], int, const u8 [16], u8 [16]); #endif /* _PRIVATE_RIJNDAEL_H */ -- 2.20.1