11 lines
467 B
Diff
11 lines
467 B
Diff
--- pycrypto-2.6.1/src/hash_SHA2_template.c.orig 2013-10-14 14:38:10.000000000 -0700
|
|
+++ pycrypto-2.6.1/src/hash_SHA2_template.c 2014-05-19 10:15:51.000000000 -0700
|
|
@@ -87,7 +87,7 @@
|
|
* return 1 on success
|
|
* return 0 if the length overflows
|
|
*/
|
|
-int add_length(hash_state *hs, sha2_word_t inc) {
|
|
+static int add_length(hash_state *hs, sha2_word_t inc) {
|
|
sha2_word_t overflow_detector;
|
|
overflow_detector = hs->length_lower;
|
|
hs->length_lower += inc;
|