Skip to content

gh-155742: Use PyBytesWriter in PySSL_RAND() - #157731

Open
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:writer_rand
Open

vstinner wants to merge 1 commit into
python:mainfrom
vstinner:writer_rand

Conversation

@vstinner

@vstinner vstinner commented Sep 18, 2026

Copy link
Copy Markdown
Member

Replace soft deprecated PyBytes_FromStringAndSize() with PyBytesWriter.

Remove 'pseudo' parameter of PySSL_RAND(): it's no longer needed since ssl.RAND_pseudo_bytes() has been removed (in 2022, commit d435a18).

Replace soft deprecated PyBytes_FromStringAndSize() with
PyBytesWriter.

Remove 'pseudo' parameter of PySSL_RAND(): it's no longer needed since
ssl.RAND_pseudo_bytes() has been removed (in 2022,
commit d435a18).
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.

1 participant