freebsd-ports/lang/python310/files/libressl
Charlie Li ef942f79b3
lang/python310: add LibreSSL support
LibreSSL 3.6 and later are fully compatible with PEP-644 for the
ssl and hmac modules, but not hashlib due to missing SHA-3/SHAKE,
BLAKE2 and scrypt. Partially reverts
39258d3595
for _hashopenssl.c only to allow LibreSSL to work.

(Python 3.11 and later need a different implementation due to
configure-time checking)
2023-03-26 10:29:36 -04:00
..
patch-Modules___hashopenssl.c