diff options
author | Darren Tucker <dtucker@cvs.openbsd.org> | 2021-09-28 11:14:51 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@cvs.openbsd.org> | 2021-09-28 11:14:51 +0000 |
commit | ee0f72fbfed97bfedd32867871cf95ceeae3b2b5 (patch) | |
tree | c2360c92f9e39941128a9a27f85b0e7d50614254 | |
parent | e29a75b35821d42b91b88fa4ff5d9941fe2e2646 (diff) |
Make prototype for rijndaelEncrypt match function including the bounds.
Fixes error in portable where GCC>=11 takes notice of the bounds.
ok deraadt@
-rw-r--r-- | usr.bin/ssh/rijndael.h | 5 |
1 files 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 */ |