Skip to content

Commit aaad726

Browse files
author
Arto Kinnunen
committed
Merge branch 'release_internal'
* release_internal: Check X509 config before using the functions
2 parents b4fc3f9 + 80b1e23 commit aaad726

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)