commit | 2e9eef4f7b3939ac76b7c0790437b4a7bd6e1996 | [log] [tgz] |
---|---|---|
author | Jack Lloyd <jack.lloyd@fortanix.com> | Tue Jan 28 14:43:52 2020 -0500 |
committer | Jack Lloyd <jack.lloyd@fortanix.com> | Tue Jan 28 14:43:52 2020 -0500 |
tree | 54e341ac84766b29c1dd702a8f83f6721ada7bab | |
parent | 60239753d2c4d5b04984c971143037cc8ae03f97 [diff] [blame] |
Final review comments
diff --git a/library/rsa.c b/library/rsa.c index dc34e38..6c45746 100644 --- a/library/rsa.c +++ b/library/rsa.c
@@ -334,7 +334,7 @@ */ #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 );