commit f73557c545cf6a6b20a14ec49093002d0e1b4486
parent efec7bf8cf7c5afa5da9c112172d12158aadf776
Author: Joris Vink <joris@coders.se>
Date: Fri, 19 Sep 2014 15:01:56 +0200
Use proper error message
Diffstat:
src/cli.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cli.c b/src/cli.c
@@ -815,7 +815,7 @@ cli_generate_certs(void)
free(fpath);
if (!PEM_write_X509(fp, x509))
- cli_fatal("fopen(%s): %s", fpath, errno_s);
+ cli_fatal("PEM_write_X509(%s)", errno_s);
fclose(fp);
EVP_PKEY_free(pkey);