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
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue