p=(ERR_STATE *)lh_delete(thread_hash,(char *)&tmp);
p=(ERR_STATE *)lh_delete(thread_hash,&tmp);
void ERR_remove_state(unsigned long pid)	{	ERR_STATE *p,tmp;	if (thread_hash == NULL)		return;	if (pid == 0)		pid=(unsigned long)CRYPTO_thread_id();	tmp.pid=pid;	CRYPTO_w_lock(CRYPTO_LOCK_ERR);	p=(ERR_STATE *)lh_delete(thread_hash,(char *)&tmp);	CRYPTO_w_unlock(CRYPTO_LOCK_ERR);	if (p != NULL) ERR_STATE_free(p);	}