mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 13:35:37 +00:00
Added config check for SSL/TLS module that depends on cipher layer
This commit is contained in:
parent
5fd4917d97
commit
04784f57e4
|
@ -735,7 +735,7 @@
|
||||||
* Enable the generic cipher layer.
|
* Enable the generic cipher layer.
|
||||||
*
|
*
|
||||||
* Module: library/cipher.c
|
* Module: library/cipher.c
|
||||||
* Caller:
|
* Caller: library/ssl_tls.c
|
||||||
*
|
*
|
||||||
* Uncomment to enable generic cipher wrappers.
|
* Uncomment to enable generic cipher wrappers.
|
||||||
*/
|
*/
|
||||||
|
@ -1226,7 +1226,7 @@
|
||||||
* Caller: library/ssl_cli.c
|
* Caller: library/ssl_cli.c
|
||||||
* library/ssl_srv.c
|
* library/ssl_srv.c
|
||||||
*
|
*
|
||||||
* Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C
|
* Requires: POLARSSL_MD5_C, POLARSSL_SHA1_C, POLARSSL_CIPHER_C
|
||||||
*
|
*
|
||||||
* This module is required for SSL/TLS.
|
* This module is required for SSL/TLS.
|
||||||
*/
|
*/
|
||||||
|
@ -1443,7 +1443,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(POLARSSL_SSL_TLS_C) && ( !defined(POLARSSL_MD5_C) || \
|
#if defined(POLARSSL_SSL_TLS_C) && ( !defined(POLARSSL_MD5_C) || \
|
||||||
!defined(POLARSSL_SHA1_C) )
|
!defined(POLARSSL_SHA1_C) || !defined(POLARSSL_CIPHER_C) )
|
||||||
#error "POLARSSL_SSL_TLS_C defined, but not all prerequisites"
|
#error "POLARSSL_SSL_TLS_C defined, but not all prerequisites"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue