commit 73b0569fe08c05e86506c2bebf63e39fc9ccde34
parent 8bcfb6cbb3b73d64b404d1fed300079134972490
Author: Joris Vink <joris@coders.se>
Date: Sun, 3 Aug 2014 17:17:11 +0200
Missing fclose()
Diffstat:
src/cli.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/cli.c b/src/cli.c
@@ -783,6 +783,7 @@ cli_generate_certs(void)
if (!PEM_write_X509(fp, x509))
cli_fatal("fopen(%s): %s", fpath, errno_s);
+ fclose(fp);
EVP_PKEY_free(pkey);
X509_free(x509);