diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1263,7 +1263,7 @@ do_ssh1_kex() | |||
1263 | if (len < 0 || len > sizeof(session_key)) | 1263 | if (len < 0 || len > sizeof(session_key)) |
1264 | fatal("do_connection: bad len from %s: session_key_int %d > sizeof(session_key) %d", | 1264 | fatal("do_connection: bad len from %s: session_key_int %d > sizeof(session_key) %d", |
1265 | get_remote_ipaddr(), | 1265 | get_remote_ipaddr(), |
1266 | len, sizeof(session_key)); | 1266 | len, (int) sizeof(session_key)); |
1267 | memset(session_key, 0, sizeof(session_key)); | 1267 | memset(session_key, 0, sizeof(session_key)); |
1268 | BN_bn2bin(session_key_int, session_key + sizeof(session_key) - len); | 1268 | BN_bn2bin(session_key_int, session_key + sizeof(session_key) - len); |
1269 | 1269 | ||