summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-06-08 13:00:54 +0000
committerPierre Joye <pajoye@php.net>2010-06-08 13:00:54 +0000
commit68cd943189e42fcb0d6e116444d065bc67f79ce4 (patch)
tree8668dbecf27387c5e82640b9a93a4a73c36e6d1a
parent5afc8e2c833c4bb1e69545ee857f07d910f12b79 (diff)
downloadphp-git-68cd943189e42fcb0d6e116444d065bc67f79ce4.tar.gz
- add striped down version of RNG layer to have a reliable random src on windows
-rw-r--r--win32/winutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/winutil.h b/win32/winutil.h
index 8ee75752da..5f8efe0a9e 100644
--- a/win32/winutil.h
+++ b/win32/winutil.h
@@ -20,3 +20,4 @@ PHPAPI char *php_win_err(int error);
#define php_win_err() php_win_err(GetLastError())
int php_win32_check_trailing_space(const char * path, const int path_len);
+PHPAPI php_win32_get_random_bytes(unsigned char *buf, size_t size);