diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -429,7 +429,7 @@ destroy_sensitive_data(void) | |||
429 | key_free(sensitive_data.server_key); | 429 | key_free(sensitive_data.server_key); |
430 | sensitive_data.server_key = NULL; | 430 | sensitive_data.server_key = NULL; |
431 | } | 431 | } |
432 | for(i = 0; i < options.num_host_key_files; i++) { | 432 | for(i = 0; i < options.num_host_key_files; i++) { |
433 | if (sensitive_data.host_keys[i]) { | 433 | if (sensitive_data.host_keys[i]) { |
434 | key_free(sensitive_data.host_keys[i]); | 434 | key_free(sensitive_data.host_keys[i]); |
435 | sensitive_data.host_keys[i] = NULL; | 435 | sensitive_data.host_keys[i] = NULL; |
@@ -983,7 +983,7 @@ main(int ac, char **av) | |||
983 | startups++; | 983 | startups++; |
984 | break; | 984 | break; |
985 | } | 985 | } |
986 | 986 | ||
987 | /* | 987 | /* |
988 | * Got connection. Fork a child to handle it, unless | 988 | * Got connection. Fork a child to handle it, unless |
989 | * we are in debugging mode. | 989 | * we are in debugging mode. |
@@ -1507,7 +1507,7 @@ ssh_dh1_server(Kex *kex, Buffer *client_kexinit, Buffer *server_kexinit) | |||
1507 | fprintf(stderr, "\npub= "); | 1507 | fprintf(stderr, "\npub= "); |
1508 | BN_print_fp(stderr, dh->pub_key); | 1508 | BN_print_fp(stderr, dh->pub_key); |
1509 | fprintf(stderr, "\n"); | 1509 | fprintf(stderr, "\n"); |
1510 | DHparams_print_fp(stderr, dh); | 1510 | DHparams_print_fp(stderr, dh); |
1511 | #endif | 1511 | #endif |
1512 | if (!dh_pub_is_valid(dh, dh_client_pub)) | 1512 | if (!dh_pub_is_valid(dh, dh_client_pub)) |
1513 | packet_disconnect("bad client public DH value"); | 1513 | packet_disconnect("bad client public DH value"); |
@@ -1650,7 +1650,7 @@ ssh_dhgex_server(Kex *kex, Buffer *client_kexinit, Buffer *server_kexinit) | |||
1650 | fprintf(stderr, "\npub= "); | 1650 | fprintf(stderr, "\npub= "); |
1651 | BN_print_fp(stderr, dh->pub_key); | 1651 | BN_print_fp(stderr, dh->pub_key); |
1652 | fprintf(stderr, "\n"); | 1652 | fprintf(stderr, "\n"); |
1653 | DHparams_print_fp(stderr, dh); | 1653 | DHparams_print_fp(stderr, dh); |
1654 | #endif | 1654 | #endif |
1655 | if (!dh_pub_is_valid(dh, dh_client_pub)) | 1655 | if (!dh_pub_is_valid(dh, dh_client_pub)) |
1656 | packet_disconnect("bad client public DH value"); | 1656 | packet_disconnect("bad client public DH value"); |