Skip to content

Commit 84a07ce

Browse files
author
Arto Kinnunen
committed
Merge branch 'release_internal' into release_external
* release_internal: Check X509 config before using the functions
2 parents 76da6a5 + 80b1e23 commit 84a07ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Security/protocols/tls_sec_prot/tls_sec_prot_lib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include MBEDTLS_CONFIG_FILE
2525
#endif
2626

27-
#if defined(MBEDTLS_SSL_TLS_C)
27+
#if defined(MBEDTLS_SSL_TLS_C) && defined(MBEDTLS_X509_CRT_PARSE_C)
2828
#define WS_MBEDTLS_SECURITY_ENABLED
2929
#endif
3030

0 commit comments

Comments
 (0)