Skip to content

Clarify comments on EVP_get_digestbyname usage#341

Open
CPiccini wants to merge 3 commits into
mainfrom
CPiccini-patch-2
Open

Clarify comments on EVP_get_digestbyname usage#341
CPiccini wants to merge 3 commits into
mainfrom
CPiccini-patch-2

Conversation

@CPiccini

Copy link
Copy Markdown
Contributor

Updated comments to bypass CodeQL checks for required backward compatible param

Updated comments to bypass CodeQL checks for required backward compatible param
Copilot AI review requested due to automatic review settings April 23, 2026 02:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates inline comments around EVP_get_digestbyname usage in the OpenSSL provider RSA signature implementation, intended to clarify/justify the externally-provided digest name usage for CodeQL.

Changes:

  • Consolidated/added CodeQL justification comments next to EVP_get_digestbyname(...) calls in RSA sign/verify init and context parameter parsing.

Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
Updated comments for clarity while maintaining backward compatibility.
Copilot AI review requested due to automatic review settings April 23, 2026 02:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
Comment thread plugins/ossl_prov/src/azihsm_ossl_signature_rsa.c Outdated
@CPiccini

Copy link
Copy Markdown
Contributor Author

@copilot apply changes based on the comments in this thread. Also make change so it passes cargofmt checks for length

Copilot AI commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

@copilot apply changes based on the comments in this thread. Also make change so it passes cargofmt checks for length

Implemented in commit f1f5c75. I replaced the non-standard CodeQL [SM02689] markers with regular explanatory block comments at all EVP_get_digestbyname call sites in this file and verified formatting now passes (cargo xtask precheck --fmt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants