summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-03-27 10:32:29 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-03-27 10:32:43 +0100
commitd811771890f448f3ef055d48718f4016539ebd1e (patch)
tree63a549d24b322172793cc19066b9f3ad393545f6
parent398fd6742fc02bdf99f4345172ff7183eb23954c (diff)
downloadgnutls-d811771890f448f3ef055d48718f4016539ebd1e.tar.gz
gnutls_pkcs11_privkey_generate2: increased the size of ck_attributes
-rw-r--r--lib/pkcs11_privkey.c2
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;