Jelajahi Sumber

random: no sysctl seed on arm64

"warning: sysctl is not implemented and will always fail"
Lars Gierth 9 tahun lalu
induk
melakukan
966a2abd45
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      crypto/random/seed/LinuxRandomUuidSysctlRandomSeed.h

+ 1 - 1
crypto/random/seed/LinuxRandomUuidSysctlRandomSeed.h

@@ -20,7 +20,7 @@
 #include "memory/Allocator.h"
 #include "util/Linker.h"
 
-#if defined(linux) && !defined(__ILP32__) && defined(__GLIBC__)
+#if defined(linux) && !defined(__ILP32__) && !defined(__aarch64__) && defined(__GLIBC__)
     Linker_require("crypto/random/seed/LinuxRandomUuidSysctlRandomSeed.c")
     struct RandomSeed* LinuxRandomUuidSysctlRandomSeed_new(struct Allocator* alloc);
     RandomSeedProvider_register(LinuxRandomUuidSysctlRandomSeed_new)