mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Oops; reinstate one explicit cast to char *.
Annoyingly, none of my own builds picked up this accidental use of pointer arithmetic on a void *.
This commit is contained in:
parent
7babe66a83
commit
6070d2e3e2
2
x11fwd.c
2
x11fwd.c
@ -1057,7 +1057,7 @@ void *x11_make_greeting(int endian, int protomajor, int protominor,
|
|||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
PUT_32BIT_MSB_FIRST(realauthdata+14, t);
|
PUT_32BIT_MSB_FIRST(realauthdata+14, t);
|
||||||
|
|
||||||
des_encrypt_xdmauth(auth_data + 9, realauthdata, authdatalen);
|
des_encrypt_xdmauth((char *)auth_data + 9, realauthdata, authdatalen);
|
||||||
} else {
|
} else {
|
||||||
authdata = realauthdata;
|
authdata = realauthdata;
|
||||||
authdatalen = 0;
|
authdatalen = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user