projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70e5d0f
)
SC (Apple's 68K C compiler) seems to treat tentative definitions of complete
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 5 Jan 2003 13:57:09 +0000
(13:57 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Sun, 5 Jan 2003 13:57:09 +0000
(13:57 +0000)
arrya as full definitions, and hence gets upset when it finds a full definition
later. This is a bug (see K&R2 A10.2), but an easy one to work around by
making the tentative definitions incomplete, so I've done that.
git-svn-id: svn://svn.tartarus.org/sgt/putty@2462
cda61777
-01e9-0310-a592-
d414129be87e
sshaes.c
patch
|
blob
|
blame
|
history
diff --git
a/sshaes.c
b/sshaes.c
index
1dfb5f9
..
ef46c12
100644
(file)
--- a/
sshaes.c
+++ b/
sshaes.c
@@
-61,9
+61,9
@@
struct AESContext {
int Nb, Nr;
};
-static const unsigned char Sbox[
256], Sboxinv[256
];
-static const word32 E0[
256], E1[256], E2[256], E3[256
];
-static const word32 D0[
256], D1[256], D2[256], D3[256
];
+static const unsigned char Sbox[
], Sboxinv[
];
+static const word32 E0[
], E1[], E2[], E3[
];
+static const word32 D0[
], D1[], D2[], D3[
];
/*
* Common macros in both the encryption and decryption routines.