aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/wincompat/getrandom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wincompat/getrandom.c')
-rw-r--r--src/wincompat/getrandom.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/wincompat/getrandom.c b/src/wincompat/getrandom.c
deleted file mode 100644
index b064b04..0000000
--- a/src/wincompat/getrandom.c
+++ /dev/null
@@ -1,12 +0,0 @@
-// SPDX-License-Identifier: GPL-2.0
-/*
- * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
- */
-
-#include <stdbool.h>
-#include <ntsecapi.h>
-
-static inline bool __attribute__((__warn_unused_result__)) get_random_bytes(uint8_t *out, size_t len)
-{
- return RtlGenRandom(out, len);
-}