diff options
author | Pierre Joye <pajoye@php.net> | 2010-06-08 13:00:54 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-06-08 13:00:54 +0000 |
commit | 68cd943189e42fcb0d6e116444d065bc67f79ce4 (patch) | |
tree | 8668dbecf27387c5e82640b9a93a4a73c36e6d1a | |
parent | 5afc8e2c833c4bb1e69545ee857f07d910f12b79 (diff) | |
download | php-git-68cd943189e42fcb0d6e116444d065bc67f79ce4.tar.gz |
- add striped down version of RNG layer to have a reliable random src on windows
-rw-r--r-- | win32/winutil.h | 1 |
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); |