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