Browse Source

modules: mbedtls: Enable PEM writing when PEM cert format is selected

Enable the `MBEDTLS_PEM_WRITE_C` mbedtls configuration option when
`CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT` is selected.

Signed-off-by: Simone Orru <simone.orru@secomind.com>
pull/77517/head
Simone Orru 11 months ago committed by Anas Nashif
parent
commit
ad208e1e7c
  1. 1
      modules/mbedtls/configs/config-tls-generic.h

1
modules/mbedtls/configs/config-tls-generic.h

@ -369,6 +369,7 @@ @@ -369,6 +369,7 @@
#if defined(CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT) && \
defined(MBEDTLS_X509_CRT_PARSE_C)
#define MBEDTLS_PEM_PARSE_C
#define MBEDTLS_PEM_WRITE_C
#define MBEDTLS_BASE64_C
#endif

Loading…
Cancel
Save