diff options
Diffstat (limited to 'src/crypto/rand/rand_windows.go')
-rw-r--r-- | src/crypto/rand/rand_windows.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/rand/rand_windows.go b/src/crypto/rand/rand_windows.go index 9a840c32d..16266198f 100644 --- a/src/crypto/rand/rand_windows.go +++ b/src/crypto/rand/rand_windows.go @@ -38,5 +38,6 @@ func (r *reader) Read(b []byte) (n int, err error) { // Cryptographically secure random number generator. // https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/rand-s?view=msvc-170 // errno_t rand_s(unsigned int* randomValue); +// //export rand_s func libc_rand_s(randomValue *uint32) int32 |