Skip to content

Commit 0dbe2da

Browse files
k-stachowiakgilles-peskine-arm
authored andcommitted
Add missing MBEDTLS_ECP_C dependencies in check_config.h
1 parent 22589f0 commit 0dbe2da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/mbedtls/check_config.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
#error "MBEDTLS_ECDSA_DETERMINISTIC defined, but not all prerequisites"
135135
#endif
136136

137-
#if defined(MBEDTLS_ECP_C) && ( !defined(MBEDTLS_BIGNUM_C) || ( \
137+
#if defined(MBEDTLS_ECP_C) && ( !defined(MBEDTLS_BIGNUM_C) || ( \
138138
!defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED) && \
139139
!defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED) && \
140140
!defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED) && \
@@ -145,7 +145,9 @@
145145
!defined(MBEDTLS_ECP_DP_BP512R1_ENABLED) && \
146146
!defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED) && \
147147
!defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED) && \
148-
!defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED) ) )
148+
!defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED) && \
149+
!defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED) && \
150+
!defined(MBEDTLS_ECP_DP_CURVE448_ENABLED) ) )
149151
#error "MBEDTLS_ECP_C defined, but not all prerequisites"
150152
#endif
151153

0 commit comments

Comments
 (0)