mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
SSL_TLS doesn't depend on PK any more
(But PK does depend on RSA or ECP.)
This commit is contained in:
parent
34ced2dffe
commit
1a483833b3
6 changed files with 26 additions and 5 deletions
|
|
@ -1194,11 +1194,12 @@
|
|||
* Enable the generic public (asymetric) key layer.
|
||||
*
|
||||
* Module: library/pk.c
|
||||
* Caller: library/x509parse.c
|
||||
* library/ssl_tls.c
|
||||
* Caller: library/ssl_tls.c
|
||||
* library/ssl_cli.c
|
||||
* library/ssl_srv.c
|
||||
*
|
||||
* Requires: POLARSSL_RSA_C or POLARSSL_ECP_C
|
||||
*
|
||||
* Uncomment to enable generic public key wrappers.
|
||||
*/
|
||||
#define POLARSSL_PK_C
|
||||
|
|
@ -1385,7 +1386,7 @@
|
|||
* Caller: library/ssl_cli.c
|
||||
* library/ssl_srv.c
|
||||
*
|
||||
* Requires: POLARSSL_CIPHER_C, POLARSSL_PK_C, POLARSSL_MD_C
|
||||
* Requires: POLARSSL_CIPHER_C, POLARSSL_MD_C
|
||||
* and at least one of the POLARSSL_SSL_PROTO_* defines
|
||||
*
|
||||
* This module is required for SSL/TLS.
|
||||
|
|
@ -1708,7 +1709,7 @@
|
|||
#endif
|
||||
|
||||
#if defined(POLARSSL_SSL_TLS_C) && ( !defined(POLARSSL_CIPHER_C) || \
|
||||
!defined(POLARSSL_PK_C) || !defined(POLARSSL_MD_C) )
|
||||
!defined(POLARSSL_MD_C) )
|
||||
#error "POLARSSL_SSL_TLS_C defined, but not all prerequisites"
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue