Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-39621: Make buf arg to md5_compress be const #18497

Merged
merged 1 commit into from Feb 13, 2020
Merged

bpo-39621: Make buf arg to md5_compress be const #18497

merged 1 commit into from Feb 13, 2020

Conversation

petdance
Copy link
Contributor

@petdance petdance commented Feb 13, 2020

The function md5_compress does not modify its buffer argument.

static void md5_compress(struct md5_state *md5, unsigned char *buf)

buf should be const.

https://bugs.python.org/issue39621

@miss-islington
Copy link
Contributor

miss-islington commented Feb 13, 2020

Thanks @petdance for the PR, and @benjaminp for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒🤖

@bedevere-bot
Copy link

bedevere-bot commented Feb 13, 2020

GH-18498 is a backport of this pull request to the 3.8 branch.

@petdance petdance deleted the bpo-39621 branch Feb 13, 2020
miss-islington added a commit that referenced this pull request Feb 13, 2020
(cherry picked from commit 597ebed)

Co-authored-by: Andy Lester <andy@petdance.com>
farazs-github pushed a commit to MediaTek-Labs/cpython that referenced this pull request Nov 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants