commit | 0b2726732ea2e7cc607c86aa869f9d5636c40c2e | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 15 19:38:07 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Aug 16 13:56:17 2013 +0200 |
tree | d593e8b4c8fdb9d49f29069fb21b97057999175b | |
parent | 5734b2d35889f8b2b2e6b93742e090164047e610 [diff] [blame] |
Fix ifdef conditions for EC-related extensions. Was alternatively ECP_C and ECDH_C.
diff --git a/include/polarssl/ssl.h b/include/polarssl/ssl.h index 0e3047f..7a468c4 100644 --- a/include/polarssl/ssl.h +++ b/include/polarssl/ssl.h
@@ -428,7 +428,9 @@ #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