diff --git a/mail/hashcash/files/patch-sha1.h b/mail/hashcash/files/patch-sha1.h new file mode 100644 index 000000000000..f700ecf72d35 --- /dev/null +++ b/mail/hashcash/files/patch-sha1.h @@ -0,0 +1,25 @@ +--- sha1.h.orig ++++ sha1.h +@@ -36,8 +36,6 @@ + (ctx)->num = 0l \ + } while (0) + +-#define SHA1_Transform( iv, data ) SHA1_Xform( iv, data ) +- + #else + + typedef struct { +@@ -60,9 +58,12 @@ + + #endif + +-void SHA1_Xform( word32[ SHA1_DIGEST_WORDS ], ++void SHA1_Xform( word32[ SHA1_DIGEST_WORDS ], + const byte[ SHA1_INPUT_BYTES ] ); + ++void SHA1_Transform( word32[ SHA1_DIGEST_WORDS ], ++ const byte[ SHA1_INPUT_BYTES ] ); ++ + #if defined( __cplusplus ) + } + #endif