Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mcepl:branches:devel:languages:python:Factory
python36
openssl-300-ripemd160-rm.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openssl-300-ripemd160-rm.patch of Package python36
From 6876a1cd27d91501e478c49ab927f26b1732e933 Mon Sep 17 00:00:00 2001 From: Christian Heimes <christian@python.org> Date: Fri, 9 Apr 2021 22:23:10 +0200 Subject: [PATCH] OpenSSL 3.0.0: Use supported hashing algos in doc test ripemd160 is not available in OpenSSL 3.0.0's default crypto provider. It's only present in legacy provider. (cherry picked from commit gh#python/cpython@2d7fdc9) Fixes: bpo#38820 From-PR: gh#python/cpython!25319 Patch: openssl-300-ripemd160-rm.patch Released-in: 3.10.0 Signed-off-by: Christian Heimes <christian@python.org> --- Doc/library/hashlib.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index b4f51763523..d78f9f48d1b 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -109,10 +109,10 @@ More condensed: Using :func:`new` with an algorithm provided by OpenSSL: - >>> h = hashlib.new('ripemd160') + >>> h = hashlib.new('sha512_256') >>> h.update(b"Nobody inspects the spammish repetition") >>> h.hexdigest() - 'cc4a5ce1b3df48aec5d22d1f16b894a0b894eccc' + '19197dc4d03829df858011c6c87600f994a858103bbc19005f20987aa19a97e2' Hashlib provides the following constant attributes: -- 2.46.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor