Relax some dependencies

- DTLS_HELLO_VERIFY no longer depends on SRV_C
- SSL_COOKIE_C no longer depends on DTLS_HELLO_VERIFY

Not that much work for us, and easier on users (esp. since it allows just
disabling SRV_C alone).
This commit is contained in:
Manuel Pégourié-Gonnard 2015-05-20 10:59:43 +02:00
parent b596abfdc0
commit e057d3bf6b
4 changed files with 35 additions and 42 deletions

View file

@ -1087,8 +1087,7 @@
*
* \warning Disabling this can ba a security risk! (see above)
*
* Requires: MBEDTLS_SSL_SRV_C
* MBEDTLS_SSL_PROTO_DTLS
* Requires: MBEDTLS_SSL_PROTO_DTLS
*
* Comment this to disable support for HelloVerifyRequest.
*/
@ -2085,8 +2084,6 @@
*
* Module: library/ssl_cookie.c
* Caller:
*
* Requires: MBEDTLS_SSL_DTLS_HELLO_VERIFY
*/
#define MBEDTLS_SSL_COOKIE_C