diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/libstorj/files/patch-src_crypto.c | 11 | ||||
-rw-r--r-- | net/libstorj/files/patch-src_crypto.h | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net/libstorj/files/patch-src_crypto.c b/net/libstorj/files/patch-src_crypto.c new file mode 100644 index 000000000000..d1b0a2a1d3e2 --- /dev/null +++ b/net/libstorj/files/patch-src_crypto.c @@ -0,0 +1,11 @@ +--- src/crypto.c.orig 2018-05-10 18:45:47 UTC ++++ src/crypto.c +@@ -216,7 +216,7 @@ int sha512_of_str(const uint8_t *str, int str_len, uin + return 0; + } + +-void pbkdf2_hmac_sha512 ( ++void off_pbkdf2_hmac_sha512 ( + unsigned key_length, + const uint8_t *key, + unsigned iterations, diff --git a/net/libstorj/files/patch-src_crypto.h b/net/libstorj/files/patch-src_crypto.h new file mode 100644 index 000000000000..5212609b064f --- /dev/null +++ b/net/libstorj/files/patch-src_crypto.h @@ -0,0 +1,11 @@ +--- src/crypto.h.orig 2018-05-10 18:45:47 UTC ++++ src/crypto.h +@@ -40,7 +40,7 @@ int double_ripemd160sha256(uint8_t *data, uint64_t dat + int double_ripemd160sha256_as_string(uint8_t *data, uint64_t data_size, + char **digest); + +-void pbkdf2_hmac_sha512(unsigned key_length, ++void off_pbkdf2_hmac_sha512(unsigned key_length, + const uint8_t *key, + unsigned iterations, + unsigned salt_length, const uint8_t *salt, |