• Home
  • Raw
  • Download

Lines Matching refs:fnd

134 	ENGINE_PILE tmplate, *fnd;  in engine_table_register()  local
146 fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate); in engine_table_register()
147 if(!fnd) in engine_table_register()
149 fnd = OPENSSL_malloc(sizeof(ENGINE_PILE)); in engine_table_register()
150 if(!fnd) goto end; in engine_table_register()
151 fnd->uptodate = 1; in engine_table_register()
152 fnd->nid = *nids; in engine_table_register()
153 fnd->sk = sk_ENGINE_new_null(); in engine_table_register()
154 if(!fnd->sk) in engine_table_register()
156 OPENSSL_free(fnd); in engine_table_register()
159 fnd->funct = NULL; in engine_table_register()
160 (void)lh_ENGINE_PILE_insert(&(*table)->piles, fnd); in engine_table_register()
163 (void)sk_ENGINE_delete_ptr(fnd->sk, e); in engine_table_register()
165 if(!sk_ENGINE_push(fnd->sk, e)) in engine_table_register()
168 fnd->uptodate = 0; in engine_table_register()
177 if(fnd->funct) in engine_table_register()
178 engine_unlocked_finish(fnd->funct, 0); in engine_table_register()
179 fnd->funct = e; in engine_table_register()
180 fnd->uptodate = 1; in engine_table_register()
246 ENGINE_PILE tmplate, *fnd=NULL; in engine_table_select() local
263 fnd = lh_ENGINE_PILE_retrieve(&(*table)->piles, &tmplate); in engine_table_select()
264 if(!fnd) goto end; in engine_table_select()
265 if(fnd->funct && engine_unlocked_init(fnd->funct)) in engine_table_select()
269 "ENGINE '%s' cached\n", f, l, nid, fnd->funct->id); in engine_table_select()
271 ret = fnd->funct; in engine_table_select()
274 if(fnd->uptodate) in engine_table_select()
276 ret = fnd->funct; in engine_table_select()
280 ret = sk_ENGINE_value(fnd->sk, loop++); in engine_table_select()
298 if((fnd->funct != ret) && engine_unlocked_init(ret)) in engine_table_select()
301 if(fnd->funct) in engine_table_select()
302 engine_unlocked_finish(fnd->funct, 0); in engine_table_select()
303 fnd->funct = ret; in engine_table_select()
319 if(fnd) fnd->uptodate = 1; in engine_table_select()