diff options
Diffstat (limited to 'lib/crypto-selftests-pk.c')
-rw-r--r-- | lib/crypto-selftests-pk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto-selftests-pk.c b/lib/crypto-selftests-pk.c index e427bb7da5..22f0c868fa 100644 --- a/lib/crypto-selftests-pk.c +++ b/lib/crypto-selftests-pk.c @@ -608,8 +608,8 @@ static int test_ecdh(void) gnutls_pk_params_init(&priv); gnutls_pk_params_init(&pub); - priv.flags = GNUTLS_ECC_CURVE_SECP256R1; - pub.flags = GNUTLS_ECC_CURVE_SECP256R1; + priv.curve = GNUTLS_ECC_CURVE_SECP256R1; + pub.curve = GNUTLS_ECC_CURVE_SECP256R1; priv.algo = pub.algo = GNUTLS_PK_EC; |