MFH: r569585

Fix build with nettle 3.7.2

PR:		254355
Submitted by:	mandree
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-03-30 21:06:17 +00:00
parent b4758833c2
commit 18690c87cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=569599
2 changed files with 22 additions and 0 deletions

View File

@ -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,

View File

@ -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,