diff options
author | Michael Heimpold <mhei@heimpold.de> | 2019-01-04 00:00:41 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-01-27 01:04:53 +0100 |
commit | 268b5bec8094b5e0737e8705e652e1c80a965096 (patch) | |
tree | 84cd56f61641d41e1c9e4843a176eaf007576f99 /target | |
parent | e8f230251654edc43432c20f49ee33b67cabf6c9 (diff) | |
download | upstream-268b5bec8094b5e0737e8705e652e1c80a965096.tar.gz upstream-268b5bec8094b5e0737e8705e652e1c80a965096.tar.bz2 upstream-268b5bec8094b5e0737e8705e652e1c80a965096.zip |
mbedtls: Kconfig option to enable/disable debug functions
This introduces a new Kconfig option to switch on/off mbedtls' support
for debug functions.
The idea behind is to inspect TLS traffic with Wireshark for debug
purposes. At the moment, there is no native or 'nice' support for
this, but at
https://github.com/Lekensteyn/mbedtls/commit/68aea15833e1ac9290b8f52a4223fb4585fb3986
an example implementation can be found which uses the debug functions
of the library. However, this requires to have this debug stuff enabled
in the library, but at the moment it is staticly patched out.
So this patch removes the static part from the configuration patch
and introduces a dynamic config file editing during build.
When enabled, this heavily increases the library size, so I added
a warning in the Kconfig help section.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions