signature: Show more information when signature file open fails

Signed-off-by: Otavio Pontes <otavio.pontes@intel.com>
This commit is contained in:
Otavio Pontes
2019-10-28 12:56:46 -07:00
parent 16e8f01254
commit 7dc51ec879
+1 -1
View File
@@ -305,7 +305,7 @@ static X509 *get_cert_from_path(const char *certificate_path)
fp_pubkey = fopen(certificate_path, "re");
if (!fp_pubkey) {
error("Failed fopen %s\n", certificate_path);
error("Failed fopen %s (%i - %s)\n", certificate_path, errno, strerror(errno));
goto error;
}