mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Merge comment fix from 3.5
This commit is contained in:
		
						commit
						596357de23
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -75,6 +75,8 @@ win32_urandom(unsigned char *buffer, Py_ssize_t size, int raise) | |||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| /* Issue #25003: Don't use getentropy() on Solaris (available since
 | ||||
|  * Solaris 11.3), it is blocking whereas os.urandom() should not block. */ | ||||
| #elif defined(HAVE_GETENTROPY) && !defined(sun) | ||||
| #define PY_GETENTROPY 1 | ||||
| 
 | ||||
|  | @ -114,8 +116,6 @@ py_getentropy(unsigned char *buffer, Py_ssize_t size, int fatal) | |||
| 
 | ||||
| #else | ||||
| 
 | ||||
| /* Issue #25003: Don' use getentropy() on Solaris (available since
 | ||||
|  * Solaris 11.3), it is blocking whereas os.urandom() should not block. */ | ||||
| #if defined(HAVE_GETRANDOM) || defined(HAVE_GETRANDOM_SYSCALL) | ||||
| #define PY_GETRANDOM 1 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Martin Panter
						Martin Panter