mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:55:39 +01:00
Use #ifdef rather than patch for target_config.h
This commit is contained in:
parent
c5e0372056
commit
43569a93cc
@ -2421,6 +2421,10 @@
|
||||
|
||||
/* \} name SECTION: Module configuration options */
|
||||
|
||||
#if defined(TARGET_LIKE_MBED)
|
||||
#include "mbedtls/target_config.h"
|
||||
#endif
|
||||
|
||||
#include "check_config.h"
|
||||
|
||||
#endif /* MBEDTLS_CONFIG_H */
|
||||
|
@ -68,5 +68,3 @@ conf unset MBEDTLS_SSL_PROTO_SSL3
|
||||
conf unset MBEDTLS_SSL_PROTO_TLS1
|
||||
conf unset MBEDTLS_SSL_PROTO_TLS1_1
|
||||
conf unset MBEDTLS_SSL_TRUNCATED_HMAC
|
||||
|
||||
perl -pi -e 's/#include "check_config.h"/#include "target_config.h"\n$&/' $FILE
|
||||
|
Loading…
Reference in New Issue
Block a user