|
Lines 903-909
Link Here
|
| 903 |
host, type, want_cert ? "certificate" : "key"); |
903 |
host, type, want_cert ? "certificate" : "key"); |
| 904 |
debug("Found %s in %s:%lu", want_cert ? "CA key" : "key", |
904 |
debug("Found %s in %s:%lu", want_cert ? "CA key" : "key", |
| 905 |
host_found->file, host_found->line); |
905 |
host_found->file, host_found->line); |
| 906 |
if (want_cert && !check_host_cert(hostname, host_key)) |
906 |
if (want_cert && !check_host_cert( |
|
|
907 |
options.host_key_alias == NULL ? |
| 908 |
hostname : options.host_key_alias, host_key)) |
| 907 |
goto fail; |
909 |
goto fail; |
| 908 |
if (options.check_host_ip && ip_status == HOST_NEW) { |
910 |
if (options.check_host_ip && ip_status == HOST_NEW) { |
| 909 |
if (readonly || want_cert) |
911 |
if (readonly || want_cert) |