mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
oops - keys[] should be static
[originally from svn r430]
This commit is contained in:
parent
3319c0a12a
commit
c13065b0ff
2
sshdes.c
2
sshdes.c
@ -662,7 +662,7 @@ static void des_3cbc_decrypt(unsigned char *dest, const unsigned char *src,
|
|||||||
des_cbc_decrypt(dest, src, len, &scheds[0]);
|
des_cbc_decrypt(dest, src, len, &scheds[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
DESContext keys[3];
|
static DESContext keys[3];
|
||||||
|
|
||||||
static void des3_sesskey(unsigned char *key) {
|
static void des3_sesskey(unsigned char *key) {
|
||||||
des_key_setup(GET_32BIT_MSB_FIRST(key),
|
des_key_setup(GET_32BIT_MSB_FIRST(key),
|
||||||
|
Loading…
Reference in New Issue
Block a user