Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 19:16:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569585 - head/net/libstorj/files
Message-ID:  <202103301916.12UJGlPw004052@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Mar 30 19:16:46 2021
New Revision: 569585
URL: https://svnweb.freebsd.org/changeset/ports/569585

Log:
  Fix build with nettle 3.7.2
  
  PR:		254355
  Submitted by:	mandree

Added:
  head/net/libstorj/files/
  head/net/libstorj/files/patch-src_crypto.c   (contents, props changed)
  head/net/libstorj/files/patch-src_crypto.h   (contents, props changed)

Added: head/net/libstorj/files/patch-src_crypto.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libstorj/files/patch-src_crypto.c	Tue Mar 30 19:16:46 2021	(r569585)
@@ -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,

Added: head/net/libstorj/files/patch-src_crypto.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libstorj/files/patch-src_crypto.h	Tue Mar 30 19:16:46 2021	(r569585)
@@ -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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103301916.12UJGlPw004052>