]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SHA_hexdigest(): A couple of small patches to this function, added
authorBarry Warsaw <barry@python.org>
Tue, 15 Aug 2000 06:03:35 +0000 (06:03 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 15 Aug 2000 06:03:35 +0000 (06:03 +0000)
commit57b808d21a7651b303bf22264c4bc47824ab3b51
tree1559029efaaaf04c245602627e1ec8d40bf6b3f8
parent3fdcccb82fe8578722b94a18b76fe9d791e7a6e4
SHA_hexdigest(): A couple of small patches to this function, added
after a brief conversation with TP.  First, the return values of the
PyString_* function calls should be checked for errors.  Second,
bit-manipulations should be used instead of division for spliting the
byte up into its 4 bit digits.
Modules/shamodule.c