1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Final review comments

This commit is contained in:
Jack Lloyd
2020-01-28 14:43:52 -05:00
parent 60239753d2
commit 2e9eef4f7b
2 changed files with 8 additions and 16 deletions

View File

@ -334,7 +334,7 @@ int mbedtls_rsa_complete( mbedtls_rsa_context *ctx )
*/
#if !defined(MBEDTLS_RSA_NO_CRT)
if( is_priv && !(have_DP && have_DQ && have_QP))
if( is_priv && ! ( have_DP && have_DQ && have_QP ) )
{
ret = mbedtls_rsa_deduce_crt( &ctx->P, &ctx->Q, &ctx->D,
&ctx->DP, &ctx->DQ, &ctx->QP );