Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
WillChilds-Klein committed May 3, 2024
1 parent 59afb43 commit 72ef7d6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crypto/fipsmodule/rsa/rsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -837,12 +837,12 @@ void RSA_blinding_off_temp_for_accp_compatibility(RSA *rsa) {
}

int RSA_pkey_ctx_ctrl(EVP_PKEY_CTX *ctx, int optype, int cmd, int p1, void *p2) {
if (ctx != NULL && ctx->pmeth != NULL
&& ctx->pmeth->pkey_id != EVP_PKEY_RSA
&& ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) {
return -1;
}
return EVP_PKEY_CTX_ctrl(ctx, -1, optype, cmd, p1, p2);
if (ctx != NULL && ctx->pmeth != NULL
&& ctx->pmeth->pkey_id != EVP_PKEY_RSA
&& ctx->pmeth->pkey_id != EVP_PKEY_RSA_PSS) {
return -1;
}
return EVP_PKEY_CTX_ctrl(ctx, -1, optype, cmd, p1, p2);
}

// ------------- KEY CHECKING FUNCTIONS ----------------
Expand Down

0 comments on commit 72ef7d6

Please sign in to comment.