aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pki/pki.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pki/pki.c b/src/pki/pki.c
index 589d6f5e9..2410d6944 100644
--- a/src/pki/pki.c
+++ b/src/pki/pki.c
@@ -808,7 +808,7 @@ end:
free(serial.ptr);
if (error)
- {
+ {
fprintf(stderr, "%s\n", error);
return 1;
}
@@ -980,6 +980,7 @@ static int issue(int argc, char *argv[])
error = "CA private key does not match CA certificate";
goto end;
}
+ public->destroy(public);
if (file)
{
@@ -1051,7 +1052,7 @@ end:
free(serial.ptr);
if (error)
- {
+ {
fprintf(stderr, "%s\n", error);
return 1;
}