Skip to content

Commit 172ba63

Browse files
committed
Add guard for MBEDTLS_ECP_INTERNAL_ALT
MBEDTLS_ECP_RESTARTABLE and MBEDTLS_ECP_INTERNAL_ALT are mutually exclusive, can't work and shouldn't be compiled together.
1 parent 683c582 commit 172ba63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/mbedtls/check_config.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
defined(MBEDTLS_ECDSA_SIGN_ALT) || \
115115
defined(MBEDTLS_ECDSA_VERIFY_ALT) || \
116116
defined(MBEDTLS_ECDSA_GENKEY_ALT) || \
117+
defined(MBEDTLS_ECP_INTERNAL_ALT) || \
117118
defined(MBEDTLS_ECP_ALT) )
118119
#error "MBEDTLS_ECP_RESTARTABLE defined, but it cannot coexist with an alternative ECP implementation"
119120
#endif

0 commit comments

Comments
 (0)