entropy: Port to OpenBSD
OpenBSD's entropy design is superior to Linux.
This commit is contained in:
		@@ -14,5 +14,9 @@
 | 
			
		||||
		       bprintf("%d", num) : NULL;
 | 
			
		||||
	}
 | 
			
		||||
#elif defined(__OpenBSD__)
 | 
			
		||||
	/* unimplemented */
 | 
			
		||||
	const char *
 | 
			
		||||
	entropy(void)
 | 
			
		||||
	{
 | 
			
		||||
		return "∞";
 | 
			
		||||
	}
 | 
			
		||||
#endif
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user