summaryrefslogtreecommitdiff
path: root/lib/gnutls_pubkey.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-07 14:37:00 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-07-07 14:37:00 +0200
commit66d2bde1cf2928388d2f2eec3c4cb0bd366bcd53 (patch)
treea9f9b7177a469dba5f3d5ba1d0352aaefc1d21e3 /lib/gnutls_pubkey.c
parenta21a9bba32948860ac7e19b2969282c0abf5e9eb (diff)
downloadgnutls-66d2bde1cf2928388d2f2eec3c4cb0bd366bcd53.tar.gz
set CKA_EC_PARAMS when generating an ECDSA key
Diffstat (limited to 'lib/gnutls_pubkey.c')
-rw-r--r--lib/gnutls_pubkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_pubkey.c b/lib/gnutls_pubkey.c
index dff3bb38a5..99d5f24a5e 100644
--- a/lib/gnutls_pubkey.c
+++ b/lib/gnutls_pubkey.c
@@ -969,7 +969,7 @@ int gnutls_pubkey_export_ecc_x962(gnutls_pubkey_t key,
if (ret < 0)
return gnutls_assert_val(ret);
- ret = _gnutls_x509_write_ecc_params(&key->params, parameters);
+ ret = _gnutls_x509_write_ecc_params(key->params.flags, parameters);
if (ret < 0) {
_gnutls_free_datum(ecpoint);
return gnutls_assert_val(ret);