fix for : OpenSSL commands (rand,ecparam, dhparam) may not work first time after boot (#62)
Co-authored-by: neelimap <neelimaps@neominds.in> Reviewed-on: http://13.234.246.121:3000/Neominds/ossl35vx69/pulls/62 Co-authored-by: Neelima P S <neelima.ps@neominds.in> Co-committed-by: Neelima P S <neelima.ps@neominds.in>
This commit is contained in:
committed by
neelimap
co-authored by
neelimap
parent
4f2d67aac9
commit
dc59cdaed0
@@ -377,6 +377,17 @@ int ossl_init_thread_start(const void *index, void *arg,
|
|||||||
{
|
{
|
||||||
THREAD_EVENT_HANDLER **hands;
|
THREAD_EVENT_HANDLER **hands;
|
||||||
THREAD_EVENT_HANDLER *hand;
|
THREAD_EVENT_HANDLER *hand;
|
||||||
|
|
||||||
|
TASK_ID tid = tss_symlist_get_first_tid("ossl_init_base");
|
||||||
|
|
||||||
|
if (tid != ERROR) {
|
||||||
|
tss_symlist_clone_entries_for_new_task(tid,"ossl_init_base");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
printf ("ERROR: ossl_init_thread_start(): tss_symlist_get_first_tid failed for ossl_init_base\n");
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef FIPS_MODULE
|
#ifdef FIPS_MODULE
|
||||||
OSSL_LIB_CTX *ctx = arg;
|
OSSL_LIB_CTX *ctx = arg;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user