ECDH: Fix typo in ecdh.c
This commit is contained in:
parent
65bab9772e
commit
78c9c461cf
1 changed files with 1 additions and 1 deletions
2
library/ecdh.c
Normal file → Executable file
2
library/ecdh.c
Normal file → Executable file
|
@ -222,8 +222,8 @@ int mbedtls_ecdh_setup( mbedtls_ecdh_context *ctx, mbedtls_ecp_group_id grp_id )
|
|||
#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
|
||||
case MBEDTLS_ECP_DP_CURVE25519:
|
||||
return( mbedtls_everest_setup( ctx, grp_id ) );
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
ctx->point_format = MBEDTLS_ECP_PF_UNCOMPRESSED;
|
||||
ctx->var = MBEDTLS_ECDH_VARIANT_MBEDTLS_2_0;
|
||||
|
|
Loading…
Reference in a new issue