diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-03-27 10:32:29 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-03-27 10:32:43 +0100 |
commit | d811771890f448f3ef055d48718f4016539ebd1e (patch) | |
tree | 63a549d24b322172793cc19066b9f3ad393545f6 | |
parent | 398fd6742fc02bdf99f4345172ff7183eb23954c (diff) | |
download | gnutls-d811771890f448f3ef055d48718f4016539ebd1e.tar.gz |
gnutls_pkcs11_privkey_generate2: increased the size of ck_attributes
-rw-r--r-- | lib/pkcs11_privkey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pkcs11_privkey.c b/lib/pkcs11_privkey.c index 99a6f986a6..5403692405 100644 --- a/lib/pkcs11_privkey.c +++ b/lib/pkcs11_privkey.c @@ -614,7 +614,7 @@ gnutls_pkcs11_privkey_generate2(const char *url, gnutls_pk_algorithm_t pk, struct pkcs11_session_info sinfo; struct p11_kit_uri *info = NULL; ck_rv_t rv; - struct ck_attribute a[10], p[10]; + struct ck_attribute a[20], p[20]; ck_object_handle_t pub, priv; unsigned long _bits = bits; int a_val, p_val; |