Fix ifdef conditions for EC-related extensions.
Was alternatively ECP_C and ECDH_C.
This commit is contained in:
parent
5734b2d358
commit
0b2726732e
3 changed files with 16 additions and 14 deletions
|
@ -428,7 +428,9 @@ struct _ssl_handshake_params
|
|||
#if defined(POLARSSL_ECDH_C)
|
||||
ecdh_context ecdh_ctx; /*!< ECDH key exchange */
|
||||
#endif
|
||||
#if defined(POLARSSL_ECDH_C) || defined(POLARSSL_ECDSA_C)
|
||||
int ec_curve; /*!< Selected elliptic curve */
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Checksum contexts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue