Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid overwriting tls headers in submodule mode
When crypto is embedded as a submodule and the cmake build system is used, it would previously overwrite some header files installed by tls. Most of them are harmless (since they should be identical), but config.h is a special case. tls's and crypto's config.h files differ widely in scope and overwriting the more general, bigger config.h file from tls with crypto's smaller one will make a lot of features unavailable in programs using tls. Let's just avoid overwriting any tls header in submodule mode. Note that this will not fix the potential issue that crypto might be using a different configuration than tls in the submodule case. Fixes Mbed-TLS/mbedtls#2965
- Loading branch information