mirror of
http://galexander.org/git/simplesshd.git
synced 2024-12-29 09:28:07 +00:00
Add type cast to avoid warning.
This commit is contained in:
parent
5a5cc34841
commit
b7bc52d209
@ -61,7 +61,7 @@ void svr_authinitialise() {
|
||||
char pw[9];
|
||||
int i;
|
||||
ses.authstate.authtypes = AUTH_TYPE_PASSWORD;
|
||||
genrandom(pw, 8);
|
||||
genrandom((unsigned char *)pw, 8);
|
||||
for (i = 0; i < 8; i++) {
|
||||
pw[i] = tab64[pw[i] & 63];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user