mirror of https://github.com/openssl/openssl.git
				
				
				
			test RNG: set state to uninitialised as part of uninstantiate call.
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/13226)
This commit is contained in:
		
							parent
							
								
									1f50630af8
								
							
						
					
					
						commit
						15f54941bd
					
				|  | @ -96,6 +96,7 @@ static int test_rng_uninstantiate(void *vtest) | |||
|     PROV_TEST_RNG *t = (PROV_TEST_RNG *)vtest; | ||||
| 
 | ||||
|     t->entropy_pos = 0; | ||||
|     t->state = EVP_RAND_STATE_UNINITIALISED; | ||||
|     return 1; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -381,7 +381,7 @@ IF[{- !$disabled{tests} -}] | |||
|   DEPEND[recordlentest]=../libcrypto ../libssl libtestutil.a | ||||
| 
 | ||||
|   SOURCE[drbgtest]=drbgtest.c | ||||
|   INCLUDE[drbgtest]=../include ../apps/include | ||||
|   INCLUDE[drbgtest]=../include ../apps/include ../providers/common/include | ||||
|   DEPEND[drbgtest]=../libcrypto.a libtestutil.a | ||||
| 
 | ||||
|   SOURCE[rand_status_test]=rand_status_test.c | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue