Quellcode durchsuchen

random: no sysctl seed on arm64

"warning: sysctl is not implemented and will always fail"
Lars Gierth vor 9 Jahren
Ursprung
Commit
966a2abd45
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)