summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/certtool.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/certtool.c b/src/certtool.c
index 2b48984914..eaecf3fb8d 100644
--- a/src/certtool.c
+++ b/src/certtool.c
@@ -1381,15 +1381,14 @@ privkey_info (void)
ret =
gnutls_x509_privkey_import_pkcs8 (key, &pem, info.incert_format,
NULL, GNUTLS_PKCS_PLAIN);
- if (ret < 0)
- {
+ if (ret < 0)
+ {
if (info.pass)
pass = info.pass;
else
pass = get_pass ();
- ret =
- gnutls_x509_privkey_import_pkcs8 (key, &pem, info.incert_format,
- pass, 0);
+ ret = gnutls_x509_privkey_import_pkcs8 (key, &pem,
+ info.incert_format, pass, 0);
}
}
if (ret < 0)