Files
bsdports/system/cdrtools/files/patch-x-include-schily-sha2.h
2019-12-26 07:26:06 +00:00

16 lines
609 B
C

--- ./include/schily/sha2.h.orig 2010-08-27 13:41:30.000000000 +0300
+++ ./include/schily/sha2.h 2018-06-10 14:33:47.132769000 +0200
@@ -104,10 +104,12 @@
#ifdef HAVE_LONGLONG
extern void SHA384Init __PR((SHA2_CTX *));
+#ifndef HAVE_PRAGMA_WEAK
extern void SHA384Transform __PR((UInt64_t state[8],
const UInt8_t [SHA384_BLOCK_LENGTH]));
extern void SHA384Update __PR((SHA2_CTX *, const UInt8_t *, size_t));
extern void SHA384Pad __PR((SHA2_CTX *));
+#endif
extern void SHA384Final __PR((UInt8_t [SHA384_DIGEST_LENGTH],
SHA2_CTX *));
extern char *SHA384End __PR((SHA2_CTX *, char *));