Fix direct use of struct instead of abstract type
diff --git a/library/ssl_cli.c b/library/ssl_cli.c
index f7d331f..9d2af94 100644
--- a/library/ssl_cli.c
+++ b/library/ssl_cli.c
@@ -3567,7 +3567,7 @@
== MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA )
{
- const struct uECC_Curve_t * uecc_curve = uECC_secp256r1();
+ uECC_Curve uecc_curve = uECC_secp256r1();
((void) n);
((void) ret);
@@ -3718,7 +3718,7 @@
== MBEDTLS_KEY_EXCHANGE_ECDHE_PSK )
{
#if defined(MBEDTLS_USE_TINYCRYPT)
- const struct uECC_Curve_t * uecc_curve = uECC_secp256r1();
+ uECC_Curve uecc_curve = uECC_secp256r1();
((void) n);
((void) ret);