summaryrefslogtreecommitdiff
path: root/lib/pkcs11_privkey.c
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:29 +0100
commit7af46484298e5ecf59b773a0814239afce978306 (patch)
tree1930eb47c7b32cc3a8e9e228024355198122617c /lib/pkcs11_privkey.c
parent9a970cf23a0e8176d45c2f1b9406b61af6f644f8 (diff)
downloadgnutls-7af46484298e5ecf59b773a0814239afce978306.tar.gz
gnutls_pkcs11_privkey_generate2: increased the size of ck_attributes
Diffstat (limited to 'lib/pkcs11_privkey.c')
-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 29990eeafa..d4d603fb78 100644
--- a/lib/pkcs11_privkey.c
+++ b/lib/pkcs11_privkey.c
@@ -658,7 +658,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;