summaryrefslogtreecommitdiff
path: root/src/tpmtool.c
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/tpmtool.c
parent62609a1917b586d24f2004ebb8258c83874864ba (diff)
downloadgnutls-6efe5ad21ab9d01c40a224b8a2f01b6567999d97.tar.gz
get_bits() does not always warn.
Diffstat (limited to 'src/tpmtool.c')
-rw-r--r--src/tpmtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tpmtool.c b/src/tpmtool.c
index 7af4f63d0e..9f21d06d06 100644
--- a/src/tpmtool.c
+++ b/src/tpmtool.c
@@ -162,7 +162,7 @@ cmd_parser (int argc, char **argv)
if (HAVE_OPT(GENERATE_RSA))
{
key_type = GNUTLS_PK_RSA;
- bits = get_bits (key_type, bits, sec_param);
+ bits = get_bits (key_type, bits, sec_param, 0);
tpm_generate (outfile, key_type, bits, genflags);
}
else if (HAVE_OPT(PUBKEY))