On Wed, Mar 23, 2005, Michael D'Errico wrote:

> >Try the FAQ. This gets asked a *lot*.
> 
> I call ERR_remove_state in my thread cleanup
> routine, but was unaware of the other functions
> mentioned in the FAQ.  Should I also call these
> other functions in my thread cleanup routine?
> Or is the data allocated per-application and
> not per-thread?
> 

Only ERR_remove_state() should be called in a thread cleaup routine. The
others free up per-application data.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to