summaryrefslogtreecommitdiffstats
path: root/awscrt-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'awscrt-build.patch')
-rw-r--r--awscrt-build.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/awscrt-build.patch b/awscrt-build.patch
new file mode 100644
index 0000000..e82c5ac
--- /dev/null
+++ b/awscrt-build.patch
@@ -0,0 +1,11 @@
+diff -up aws-crt-php-1.0.0/crt/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha256.c.old aws-crt-php-1.0.0/crt/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha256.c
+--- aws-crt-php-1.0.0/crt/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha256.c.old 2021-06-23 14:05:19.531147607 +0200
++++ aws-crt-php-1.0.0/crt/aws-crt-ffi/crt/aws-lc/crypto/fipsmodule/sha/sha256.c 2021-06-23 14:05:56.792059326 +0200
+@@ -63,6 +63,7 @@
+ #include "internal.h"
+ #include "../../internal.h"
+
++# pragma GCC diagnostic ignored "-Wstringop-overflow"
+
+ int SHA224_Init(SHA256_CTX *sha) {
+ OPENSSL_memset(sha, 0, sizeof(SHA256_CTX));