summaryrefslogtreecommitdiff
path: root/src/certtool-common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-11 11:00:15 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-02-11 11:08:27 +0100
commit0e75df5880c8b03498413d833648881ce904af94 (patch)
tree45d673b0aae7979fd2a98e21e920946d154a7a92 /src/certtool-common.h
parenta9897e0259be94bbbbb0c570e46e6263472c45d4 (diff)
downloadgnutls-0e75df5880c8b03498413d833648881ce904af94.tar.gz
certtool: the --generate-dh-params option can be combined with --provable
This however, will generate provable DSA parameters and import them as DH parameters. Resolves #72
Diffstat (limited to 'src/certtool-common.h')
-rw-r--r--src/certtool-common.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/certtool-common.h b/src/certtool-common.h
index 1ba6b10fce..8bd5355bce 100644
--- a/src/certtool-common.h
+++ b/src/certtool-common.h
@@ -67,8 +67,15 @@ typedef struct common_info {
/* when printing PKCS #11 objects, only print urls */
unsigned int only_urls;
unsigned int verbose;
+
+ /* set to non zero when no compatibility structs need to be exported */
+ unsigned no_compat;
} common_info_st;
+int cipher_to_flags(const char *cipher);
+
+void
+print_private_key(FILE *outfile, common_info_st * cinfo, gnutls_x509_privkey_t key);
gnutls_pubkey_t load_public_key_or_import(int mand,
gnutls_privkey_t privkey,
common_info_st * info);