mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 00:14:17 +01:00
Remove extra mbedtls_ecp_group_free() call since the grp is free
at the top of the function.
This commit is contained in:
parent
86cef2a316
commit
1f5e6abfb9
@ -836,7 +836,6 @@ int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id )
|
|||||||
#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
|
#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
mbedtls_ecp_group_free( grp );
|
|
||||||
return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE );
|
return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user