summaryrefslogtreecommitdiff
path: root/thirdparty/mbedtls/library/ecp_curves.c
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-07-18 15:38:13 +0200
committerGitHub <noreply@github.com>2022-07-18 15:38:13 +0200
commit5ca5381f2c8d910e32cac078529e6a35cc40c136 (patch)
treeb6729671dfe327ccc6b058e6f7e9a643e8298128 /thirdparty/mbedtls/library/ecp_curves.c
parent4e9d3130f509472cde6eeaacaa0062d841cbebef (diff)
parent9403a68853784e542bbff51a84e6dc5c89241d2b (diff)
Merge pull request #63146 from Faless/mbedtls/2.18.1
Diffstat (limited to 'thirdparty/mbedtls/library/ecp_curves.c')
-rw-r--r--thirdparty/mbedtls/library/ecp_curves.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/mbedtls/library/ecp_curves.c b/thirdparty/mbedtls/library/ecp_curves.c
index ff26a18e8f..2199be6461 100644
--- a/thirdparty/mbedtls/library/ecp_curves.c
+++ b/thirdparty/mbedtls/library/ecp_curves.c
@@ -755,6 +755,8 @@ int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id )
ECP_VALIDATE_RET( grp != NULL );
mbedtls_ecp_group_free( grp );
+ mbedtls_ecp_group_init( grp );
+
grp->id = id;
switch( id )