diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-06 09:20:58 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-06 09:20:58 +0100 |
commit | 015aa8bcd3d1ae29a68800651598146ce259e5b4 (patch) | |
tree | 4012421b4ef33a6a76472f83ca41ba86b18b3994 /src | |
parent | 6ba193bb10782d38f5a68475c38040d03c2fbfe5 (diff) | |
download | gnutls-015aa8bcd3d1ae29a68800651598146ce259e5b4.tar.gz |
Cosmetic fixes.
Diffstat (limited to 'src')
-rw-r--r-- | src/certtool.c | 9 |
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) |