]> granicus.if.org Git - php/commitdiff
- add striped down version of RNG layer to have a reliable random src on windows
authorPierre Joye <pajoye@php.net>
Tue, 8 Jun 2010 13:00:54 +0000 (13:00 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 8 Jun 2010 13:00:54 +0000 (13:00 +0000)
win32/winutil.h

index 8ee75752da792b4a790b121a10b93e8a76a4c9a2..5f8efe0a9e7995b26b9be5dad2f2accf5068c6b3 100644 (file)
@@ -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);