]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 (#123719)
authorFurkan Onder <furkanonder@protonmail.com>
Fri, 6 Sep 2024 00:09:04 +0000 (03:09 +0300)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2024 00:09:04 +0000 (00:09 +0000)
Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 in Lib_Memzero0.c.

Misc/sbom.spdx.json
Modules/_hacl/Lib_Memzero0.c

index 1013c0ad6f16960487c9b435c551be10789e8d60..05647c1fe417b8f39529312b0997a970f385b7f0 100644 (file)
       "checksums": [
         {
           "algorithm": "SHA1",
-          "checksumValue": "e52071a35fc1893928804fe91b098ad5682c2508"
+          "checksumValue": "47ce34375d43a27312e1fffb96b8965610b05855"
         },
         {
           "algorithm": "SHA256",
-          "checksumValue": "c4424a4851cd2d4f27633ca19faf5cb1135a680443727a8d1b134737f9a71e62"
+          "checksumValue": "8affd767d7644150064d8bccd05d7bf4c4ae41fd4bb5bf5b8e943eabf09f3d74"
         }
       ],
       "fileName": "Modules/_hacl/Lib_Memzero0.c"
index 3d8a1e5f265605f6d3bd005583cab336009d0d6c..5b1a2f7797db769f571831f5e936da49dd419bb5 100644 (file)
@@ -13,7 +13,7 @@
 #include <string.h>
 #endif
 
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
 #include <strings.h>
 #endif