Merge pull request #210 from tempesta-tech/extra-mbedtls_ecp_group_free

Remove extra mbedtls_ecp_group_free()
This commit is contained in:
Jaeden Amero 2019-09-10 18:51:43 +01:00 committed by GitHub
commit 18c7b9fdaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -836,7 +836,7 @@ int mbedtls_ecp_group_load( mbedtls_ecp_group *grp, mbedtls_ecp_group_id id )
#endif /* MBEDTLS_ECP_DP_CURVE448_ENABLED */
default:
mbedtls_ecp_group_free( grp );
grp->id = MBEDTLS_ECP_DP_NONE;
return( MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE );
}
}