Make error message more useful

This commit is contained in:
Jamie Cameron
2020-12-19 16:50:32 -08:00
parent 8478781009
commit 628f57e232

View File

@@ -4519,7 +4519,7 @@ if (!Net::SSLeay::CTX_use_PrivateKey_file($ssl_ctx, $keyfile,
}
if (!Net::SSLeay::CTX_use_certificate_file($ssl_ctx, $certfile || $keyfile,
&Net::SSLeay::FILETYPE_PEM)) {
print STDERR "Failed to open SSL cert $certfile\n";
print STDERR "Failed to open SSL cert ".($certfile || $keyfile)."\n";
return undef;
}