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:29 +0100 |
commit | 7af46484298e5ecf59b773a0814239afce978306 (patch) | |
tree | 1930eb47c7b32cc3a8e9e228024355198122617c /lib/pkcs11_privkey.c | |
parent | 9a970cf23a0e8176d45c2f1b9406b61af6f644f8 (diff) | |
download | gnutls-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.c | 2 |
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; |