зеркало из https://github.com/github/putty.git
SC (Apple's 68K C compiler) seems to treat tentative definitions of complete
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. [originally from svn r2462]
This commit is contained in:
Родитель
7c37547df8
Коммит
0e086031b5
6
sshaes.c
6
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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче