diff --git a/library/pkparse.c b/library/pkparse.c index 95b1989cc..7502fe7ff 100644 --- a/library/pkparse.c +++ b/library/pkparse.c @@ -770,7 +770,7 @@ static int pk_parse_key_pkcs1_der( mbedtls_rsa_context *rsa, NULL, NULL ) ) != 0 ) goto cleanup; -#if !defined(MBEDTLS_RSA_NO_CRT) +#if !defined(MBEDTLS_RSA_NO_CRT) && !defined(MBEDTLS_RSA_ALT) /* * The RSA CRT parameters DP, DQ and QP are nominally redundant, in * that they can be easily recomputed from D, P and Q. However by