summaryrefslogtreecommitdiff
path: root/src/certtool-common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-07 16:58:53 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-07 16:58:53 +0200
commit20a277a0ceb331511cc58bfe3f7dc4147c2745a1 (patch)
tree5675fcf7b2174b0e1ed7905d1ad9b0f609a13986 /src/certtool-common.h
parenta0a0607393aeb2c3a30b00f7359ed15dac8f236b (diff)
downloadgnutls-20a277a0ceb331511cc58bfe3f7dc4147c2745a1.tar.gz
p11tool/certtool: Added --curve parameter.
The curve parameter allows to explicitly specify the curve to use when generating a key.
Diffstat (limited to 'src/certtool-common.h')
-rw-r--r--src/certtool-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/certtool-common.h b/src/certtool-common.h
index de6586c7df..f6661ee462 100644
--- a/src/certtool-common.h
+++ b/src/certtool-common.h
@@ -82,6 +82,7 @@ int get_bits(gnutls_pk_algorithm_t key_type, int info_bits,
const char *info_sec_param, int warn);
gnutls_sec_param_t str_to_sec_param(const char *str);
+gnutls_ecc_curve_t str_to_curve(const char *str);
/* prime.c */
int generate_prime(FILE * outfile, int how, common_info_st * info);