implement RAND_pseudorand for the w32 provider in terms of w32crypto_bytes
This commit is contained in:
		| @@ -104,12 +104,6 @@ w32crypto_add(const void *indata, int size, double entropi) | |||||||
| { | { | ||||||
| } | } | ||||||
|  |  | ||||||
| static int |  | ||||||
| w32crypto_pseudorand(unsigned char *outdata, int size) |  | ||||||
| { |  | ||||||
|     return 1; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| static int | static int | ||||||
| w32crypto_status(void) | w32crypto_status(void) | ||||||
| { | { | ||||||
| @@ -123,7 +117,7 @@ const RAND_METHOD hc_rand_w32crypto_method = { | |||||||
|     w32crypto_bytes, |     w32crypto_bytes, | ||||||
|     w32crypto_cleanup, |     w32crypto_cleanup, | ||||||
|     w32crypto_add, |     w32crypto_add, | ||||||
|     w32crypto_pseudorand, |     w32crypto_bytes, | ||||||
|     w32crypto_status |     w32crypto_status | ||||||
| }; | }; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Love Hornquist Astrand
					Love Hornquist Astrand