summaryrefslogtreecommitdiff
path: root/src/certtool-common.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-12 17:40:41 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-12 17:40:41 +0100
commit6efe5ad21ab9d01c40a224b8a2f01b6567999d97 (patch)
treef704fc40f7c3ff067c4eec89604299f719d870fb /src/certtool-common.h
parent62609a1917b586d24f2004ebb8258c83874864ba (diff)
downloadgnutls-6efe5ad21ab9d01c40a224b8a2f01b6567999d97.tar.gz
get_bits() does not always warn.
Diffstat (limited to 'src/certtool-common.h')
-rw-r--r--src/certtool-common.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/certtool-common.h b/src/certtool-common.h
index c1c07ff1e4..dcaed449d5 100644
--- a/src/certtool-common.h
+++ b/src/certtool-common.h
@@ -68,7 +68,8 @@ gnutls_datum_t *load_secret_key (int mand, common_info_st * info);
gnutls_pubkey_t load_pubkey (int mand, common_info_st * info);
gnutls_x509_crt_t *load_cert_list (int mand, size_t * size,
common_info_st * info);
-int get_bits (gnutls_pk_algorithm_t key_type, int info_bits, const char* info_sec_param);
+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);
/* prime.c */