version 1.280, 2017/05/30 14:13:40 |
version 1.281, 2017/06/24 05:35:05 |
|
|
host, type, want_cert ? "certificate" : "key"); |
host, type, want_cert ? "certificate" : "key"); |
debug("Found %s in %s:%lu", want_cert ? "CA key" : "key", |
debug("Found %s in %s:%lu", want_cert ? "CA key" : "key", |
host_found->file, host_found->line); |
host_found->file, host_found->line); |
if (want_cert && !check_host_cert(hostname, host_key)) |
if (want_cert && |
|
!check_host_cert(options.host_key_alias == NULL ? |
|
hostname : options.host_key_alias, host_key)) |
goto fail; |
goto fail; |
if (options.check_host_ip && ip_status == HOST_NEW) { |
if (options.check_host_ip && ip_status == HOST_NEW) { |
if (readonly || want_cert) |
if (readonly || want_cert) |