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.
Showing
Please
register
or
sign in
to comment