Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Christoforides <alexis@thenull.net>2018-05-30 01:39:47 +0300
committerAlexis Christoforides <alexis@thenull.net>2018-05-30 02:10:45 +0300
commit0c46c2c92f8913bcf9ad0798307dd062b8a457ce (patch)
treebc7612074172d566b372fbd35cf1d838ff6ef3d1
parenteb2ef9e9927f8692d8201b4e11c35098c150df7d (diff)
Fix exporting of SystemNative_GetNonCryptographicallySecureRandomBytes
pal_random.c was not including pal_random.h, which declared the export. This is fine upstream, and seems to have been magically nuked between commits 9eed0fbca1ff7d95f2345259791df5e2a2945c9a and 3fb2e82f2549de0872d22e35f35de85537cb5f7f
-rw-r--r--src/Native/Unix/System.Native/pal_random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Native/Unix/System.Native/pal_random.c b/src/Native/Unix/System.Native/pal_random.c
index dfc81b03e0..ddbed43f98 100644
--- a/src/Native/Unix/System.Native/pal_random.c
+++ b/src/Native/Unix/System.Native/pal_random.c
@@ -13,6 +13,7 @@
#include <errno.h>
#include "pal_config.h"
+#include "pal_random.h"
/*
Generate random bytes. The generated bytes are not cryptographically strong.