static char buf[256];
if (ret == NULL) ret=buf;
- ERR_error_string_n(e, buf, 256);
+ ERR_error_string_n(e, ret, 256);
return(ret);
}
void ERR_remove_state(unsigned long pid)
{
- ERR_STATE *p,tmp;
+ ERR_STATE *p = NULL,tmp;
if (thread_hash == NULL)
return;