1
1

kex1: Fix null check of hostkey.

Этот коммит содержится в:
Andreas Schneider 2013-06-17 13:21:51 +02:00
родитель 2b68728552
Коммит 7ceaea479e

Просмотреть файл

@ -375,7 +375,7 @@ SSH_PACKET_CALLBACK(ssh_packet_publickey1){
goto error;
}
hostkey = make_rsa1_string(host_exp,host_mod);
if (serverkey == NULL) {
if (hostkey == NULL) {
goto error;
}
if (build_session_id1(session, server_mod, host_mod) < 0) {