Skip to content

Commit

Permalink
Merge pull request #9915 from Harry-Ramsey/move-ssl-macros-development
Browse files Browse the repository at this point in the history
Move MbedTLS Macros
  • Loading branch information
ronald-cron-arm authored Feb 4, 2025
2 parents 70fbf41 + 93a496e commit 2a992bf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework
5 changes: 5 additions & 0 deletions include/mbedtls/check_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@
"but no key exchange methods defined with MBEDTLS_KEY_EXCHANGE_xxxx"
#endif

#if defined(MBEDTLS_SSL_PROTO_TLS1_2) && \
!(defined(PSA_WANT_ALG_SHA_1) || defined(PSA_WANT_ALG_SHA_256) || defined(PSA_WANT_ALG_SHA_512))
#error "MBEDTLS_SSL_PROTO_TLS1_2 defined, but not all prerequisites"
#endif

#if defined(MBEDTLS_SSL_EARLY_DATA) && \
( !defined(MBEDTLS_SSL_SESSION_TICKETS) || \
( !defined(MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED) && \
Expand Down
1 change: 1 addition & 0 deletions library/ssl_misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "psa/crypto.h"
#include "psa_util_internal.h"
extern const mbedtls_error_pair_t psa_to_ssl_errors[7];

#if defined(PSA_WANT_ALG_MD5)
#include "mbedtls/md5.h"
Expand Down

0 comments on commit 2a992bf

Please sign in to comment.