summaryrefslogtreecommitdiff
path: root/src/certtool-common.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-08 09:27:57 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-08 09:27:57 +0200
commita75f395c1ed7641049beac7d22239252bb73ee80 (patch)
tree30e36415162df497878a674efee8905cb135f9d8 /src/certtool-common.c
parentcd0ce0f51b6836fbe6eec42a6da56d9509d8fabb (diff)
downloadgnutls-a75f395c1ed7641049beac7d22239252bb73ee80.tar.gz
certtool: eliminated unused variable
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/certtool-common.c')
-rw-r--r--src/certtool-common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/certtool-common.c b/src/certtool-common.c
index 4d876976dc..9fab3f54a6 100644
--- a/src/certtool-common.c
+++ b/src/certtool-common.c
@@ -1347,7 +1347,6 @@ int generate_prime(FILE * outfile, int how, common_info_st * info)
if (how != 0) {
if (info->provable != 0) {
gnutls_x509_privkey_t pkey;
- unsigned save;
ret = gnutls_x509_privkey_init(&pkey);
if (ret < 0) {
@@ -1382,10 +1381,7 @@ int generate_prime(FILE * outfile, int how, common_info_st * info)
}
if (info->outcert_format == GNUTLS_X509_FMT_PEM) {
- save = info->no_compat;
- info->no_compat = 1;
print_private_key(outfile, info, pkey);
- info->no_compat = save;
}
ret = gnutls_dh_params_import_dsa(dh_params, pkey);