mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-26 23:42:22 +01:00
Remove conditional and just assign boolean result
This commit is contained in:
@@ -1626,9 +1626,9 @@ static int ProcessBufferCertPublicKey(WOLFSSL_CTX* ctx, WOLFSSL* ssl,
|
||||
}
|
||||
#ifdef WC_RSA_PSS
|
||||
if (ssl)
|
||||
ssl->ctx->useRsaPss = (cert->keyOID == RSAPSSk) ? 1U : 0U;
|
||||
ssl->ctx->useRsaPss = cert->keyOID == RSAPSSk;
|
||||
else
|
||||
ctx->useRsaPss = (cert->keyOID == RSAPSSk) ? 1U : 0U;
|
||||
ctx->useRsaPss = cert->keyOID == RSAPSSk;
|
||||
#endif
|
||||
break;
|
||||
#endif /* !NO_RSA */
|
||||
|
||||
Reference in New Issue
Block a user