diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-02-13 13:43:12 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-02-13 15:11:48 +0100 |
commit | 87d4d2dc94e738392e4cc9650c6c967666d49e85 (patch) | |
tree | 97b5e195f77db386473863e0ff138a872faebbc5 | |
parent | 40f1b46375958224fb8f510f048faba1dc89b58b (diff) | |
download | gnutls-87d4d2dc94e738392e4cc9650c6c967666d49e85.tar.gz |
generate 2048 bit keys in RSA mode
-rw-r--r-- | tests/crq_key_id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crq_key_id.c b/tests/crq_key_id.c index c9c4fd7a9a..7c1ce01f31 100644 --- a/tests/crq_key_id.c +++ b/tests/crq_key_id.c @@ -79,7 +79,7 @@ void doit(void) } ret = - gnutls_x509_privkey_generate(pkey, algorithm, 1024, 0); + gnutls_x509_privkey_generate(pkey, algorithm, (algorithm==GNUTLS_PK_RSA)?2048:1024, 0); if (ret < 0) { fail("gnutls_x509_privkey_generate (rsa): %d\n", ret); |