diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2022-12-17 01:16:48 +0100 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2022-12-17 01:21:12 +0100 |
commit | d1f2880461a4927c9b1ca822127afb237669aa7b (patch) | |
tree | b1e088f91eefd9490a322cef0c242ec3e48cfe35 /sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp | |
parent | databases/kyotocabinet: revert "add prototypes to kclangc.h declarations." (diff) |
sysutils/mstflint: Update to 4.22.0-1
ChangeLog: https://github.com/Mellanox/mstflint/releases/tag/v4.22.0-1
Reported by: hselasky
Sponsored by: Netflix
Diffstat (limited to 'sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp')
-rw-r--r-- | sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp b/sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp index 858e33e7bdc3..7540c09ee44a 100644 --- a/sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp +++ b/sysutils/mstflint/files/extrat-patch-mlxarchive_mlxarchive_mfa2.cpp @@ -1,6 +1,6 @@ ---- mlxarchive/mlxarchive_mfa2.cpp.orig 2020-01-05 16:50:06.000000000 +0100 -+++ mlxarchive/mlxarchive_mfa2.cpp 2020-01-09 14:20:54.186228000 +0100 -@@ -39,7 +39,9 @@ +--- mlxarchive/mlxarchive_mfa2.cpp.orig 2022-12-16 18:15:27.440142000 +0100 ++++ mlxarchive/mlxarchive_mfa2.cpp 2022-12-16 18:16:25.933770000 +0100 +@@ -40,7 +40,9 @@ */ #include <xz_utils/xz_utils.h> @@ -10,19 +10,18 @@ #include "mlxarchive_mfa2.h" #include "mlxarchive_mfa2_utils.h" -@@ -120,6 +122,7 @@ void MFA2::pack(vector<u_int8_t>& buff) - xz_compress_crc32(9, componentsBlockBuff.data(), componentsBlockBuff.size(), - zippedComponentBlockBuff.data(), zippedSize); - +@@ -115,6 +117,7 @@ + printf("-E- zipped size not as expected\n"); + exit(1); + } +#ifndef NO_OPEN_SSL - //compute descriptors SHA256 + // compute descriptors SHA256 vector<u_int8_t> descriptorsBuff; packDescriptors(descriptorsBuff); -@@ -136,7 +139,7 @@ void MFA2::pack(vector<u_int8_t>& buff) +@@ -131,6 +134,7 @@ mlxSignSHA256 << zippedComponentBlockBuff; mlxSignSHA256.getDigest(digest); _packageDescriptor.setSHA256(digest); -- +#endif } |