1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix build with nettle 3.7.2

PR:		254355
Submitted by:	mandree
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-03-30 19:16:46 +00:00
parent 29547ac3cd
commit 83c16a3eca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=569585
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,