Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

test_hashlib fails with SSLlibrary having only SHA3 algo but no SHAKE #141907

Copy link
Copy link
@Ansuel

Description

@Ansuel
Issue body actions

Bug report

Bug description:

If Python3 use an OpenSSL like SSL library that only expose SHA3 algo and no SHAKE algo, the test_hashlib test wrongly detect the algo presence and fails to execute on the SHA3 test.

This has been identified in a wrong logic for the try-except block for HASH, HASHXOF detection.

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.