From 66d2bde1cf2928388d2f2eec3c4cb0bd366bcd53 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 7 Jul 2014 14:37:00 +0200 Subject: set CKA_EC_PARAMS when generating an ECDSA key --- lib/gnutls_pubkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gnutls_pubkey.c') 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); -- cgit v1.2.1