mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Fix ifdef conditions for EC-related extensions.
Was alternatively ECP_C and ECDH_C.
This commit is contained in:
committed by
Paul Bakker
parent
5734b2d358
commit
0b2726732e
@ -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
|
||||
|
Reference in New Issue
Block a user