]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Make prototype for rijndaelEncrypt match function
authordtucker@openbsd.org <dtucker@openbsd.org>
Tue, 28 Sep 2021 11:14:50 +0000 (11:14 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 01:09:27 +0000 (11:09 +1000)
including the bounds. Fixes error in portable where GCC>=11 takes notice of
the bounds. ok deraadt@

OpenBSD-Commit-ID: cdd2f05fd1549e1786a70871e513cf9e9cf099a6

rijndael.h

index 53e74e0a81269c9f4d1b9bc0c8ca6f57dca8ec2c..e04324b612924364ba3bf4dae43e0c746d8ad49e 100644 (file)
@@ -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,8 +38,7 @@ 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]);
 
 /*  The structure for key information */
 typedef struct {