diff options
author | 2001-05-09 23:01:31 +0000 | |
---|---|---|
committer | 2001-05-09 23:01:31 +0000 | |
commit | 74896b5574c6013bcdbfd014599b992f6586d150 (patch) | |
tree | ff920bbdf093ef0e9cb404391b8f5303c6edf07c | |
parent | fix -R for protocol 2, noticed by greg@nest.cx. (diff) | |
download | wireguard-openbsd-74896b5574c6013bcdbfd014599b992f6586d150.tar.xz wireguard-openbsd-74896b5574c6013bcdbfd014599b992f6586d150.zip |
fix prototype; J.S.Peatfield@damtp.cam.ac.uk
-rw-r--r-- | sys/crypto/rijndael.h | 5 | ||||
-rw-r--r-- | usr.bin/ssh/rijndael.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/crypto/rijndael.h b/sys/crypto/rijndael.h index cc5dbc243d2..0ae72493f1d 100644 --- a/sys/crypto/rijndael.h +++ b/sys/crypto/rijndael.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.h,v 1.2 2000/10/16 22:44:33 deraadt Exp $ */ +/* $OpenBSD: rijndael.h,v 1.3 2001/05/09 23:01:32 markus Exp $ */ /* This is an independent implementation of the encryption algorithm: */ /* */ @@ -40,7 +40,8 @@ typedef struct _rijndael_ctx { /* These are all based on 32 bit unsigned values and will therefore */ /* require endian conversions for big-endian architectures */ -rijndael_ctx *rijndael_set_key __P((rijndael_ctx *, const u4byte *, u4byte, int)); +rijndael_ctx * +rijndael_set_key __P((rijndael_ctx *, const u4byte *, const u4byte, int)); void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); diff --git a/usr.bin/ssh/rijndael.h b/usr.bin/ssh/rijndael.h index 66e0bbe7386..98b2c8459f1 100644 --- a/usr.bin/ssh/rijndael.h +++ b/usr.bin/ssh/rijndael.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rijndael.h,v 1.7 2001/03/01 03:38:33 deraadt Exp $ */ +/* $OpenBSD: rijndael.h,v 1.8 2001/05/09 23:01:31 markus Exp $ */ /* This is an independent implementation of the encryption algorithm: */ /* */ @@ -40,7 +40,8 @@ typedef struct _rijndael_ctx { /* These are all based on 32 bit unsigned values and will therefore */ /* require endian conversions for big-endian architectures */ -rijndael_ctx *rijndael_set_key __P((rijndael_ctx *, const u4byte *, u4byte, int)); +rijndael_ctx * +rijndael_set_key __P((rijndael_ctx *, const u4byte *, const u4byte, int)); void rijndael_encrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); void rijndael_decrypt __P((rijndael_ctx *, const u4byte *, u4byte *)); |