gh-123718: Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 (#123719)

Fix implicit declaration of 'explicit_memset' for NetBSD 10.0 in Lib_Memzero0.c.
This commit is contained in:
Furkan Onder 2024-09-06 03:09:04 +03:00 committed by GitHub
parent 84ad264ce6
commit f8f7500168
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

4
Misc/sbom.spdx.json generated
View File

@ -538,11 +538,11 @@
"checksums": [
{
"algorithm": "SHA1",
"checksumValue": "e52071a35fc1893928804fe91b098ad5682c2508"
"checksumValue": "47ce34375d43a27312e1fffb96b8965610b05855"
},
{
"algorithm": "SHA256",
"checksumValue": "c4424a4851cd2d4f27633ca19faf5cb1135a680443727a8d1b134737f9a71e62"
"checksumValue": "8affd767d7644150064d8bccd05d7bf4c4ae41fd4bb5bf5b8e943eabf09f3d74"
}
],
"fileName": "Modules/_hacl/Lib_Memzero0.c"

View File

@ -13,7 +13,7 @@
#include <string.h>
#endif
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <strings.h>
#endif