Skip to content

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

Merged
benjaminp merged 1 commit into
python:masterfrom
petdance:bpo-39621
Feb 13, 2020
Merged

bpo-39621: Make buf arg to md5_compress be const#18497
benjaminp merged 1 commit into
python:masterfrom
petdance:bpo-39621

Conversation

@petdance
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown

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

@petdance petdance deleted the bpo-39621 branch February 13, 2020 05:12
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.

5 participants