ソースを参照

entropy: Port to OpenBSD

OpenBSD's entropy design is superior to Linux.
master
Aaron Marcher 6年前
コミット
fd14804d6f
2個のファイルの変更5行の追加2行の削除
  1. +0
    -1
      README
  2. +5
    -1
      components/entropy.c

+ 0
- 1
README ファイルの表示

@@ -61,4 +61,3 @@ Porting to OpenBSD is the current goal before thinking about a release.

The following functions are not portable at the moment:
- wifi_{perc,essid}
- entropy

+ 5
- 1
components/entropy.c ファイルの表示

@@ -14,5 +14,9 @@
bprintf("%d", num) : NULL;
}
#elif defined(__OpenBSD__)
/* unimplemented */
const char *
entropy(void)
{
return "∞";
}
#endif

読み込み中…
キャンセル
保存