From: Pierre Joye Date: Tue, 8 Jun 2010 13:00:54 +0000 (+0000) Subject: - add striped down version of RNG layer to have a reliable random src on windows X-Git-Tag: php-5.3.3RC1~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68cd943189e42fcb0d6e116444d065bc67f79ce4;p=php - add striped down version of RNG layer to have a reliable random src on windows --- 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);