Show More
@@ -678,7 +678,7 b' static int sha1hash(char hash[20], const' | |||||
678 | } |
|
678 | } | |
679 | } |
|
679 | } | |
680 |
|
680 | |||
681 | shaobj = PyObject_CallFunction(shafunc, "s#", str, len); |
|
681 | shaobj = PyObject_CallFunction(shafunc, PY23("s#", "y#"), str, len); | |
682 |
|
682 | |||
683 | if (shaobj == NULL) |
|
683 | if (shaobj == NULL) | |
684 | return -1; |
|
684 | return -1; |
General Comments 0
You need to be logged in to leave comments.
Login now