diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-07-07 14:37:00 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-07-07 14:37:00 +0200 |
commit | 66d2bde1cf2928388d2f2eec3c4cb0bd366bcd53 (patch) | |
tree | a9f9b7177a469dba5f3d5ba1d0352aaefc1d21e3 /lib/gnutls_pubkey.c | |
parent | a21a9bba32948860ac7e19b2969282c0abf5e9eb (diff) | |
download | gnutls-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.c | 2 |
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); |