diff options
author | Barry Warsaw <barry@python.org> | 2000-08-15 06:03:35 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2000-08-15 06:03:35 (GMT) |
commit | 57b808d21a7651b303bf22264c4bc47824ab3b51 (patch) | |
tree | 1559029efaaaf04c245602627e1ec8d40bf6b3f8 /Modules/binascii.c | |
parent | 3fdcccb82fe8578722b94a18b76fe9d791e7a6e4 (diff) | |
download | cpython-57b808d21a7651b303bf22264c4bc47824ab3b51.zip cpython-57b808d21a7651b303bf22264c4bc47824ab3b51.tar.gz cpython-57b808d21a7651b303bf22264c4bc47824ab3b51.tar.bz2 |
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.
Diffstat (limited to 'Modules/binascii.c')
0 files changed, 0 insertions, 0 deletions