On 3/23/06, Nils Larsch <[EMAIL PROTECTED]> wrote:
>
> multiple calls to ERR_load_crypto_strings() are harmless
> (well the function is not reentrant but that's not important
> here) the problem is that you call ERR_free_strings() between
> these two calls. ERR_load_crypto_strings() sets a static
> status variable once it has been called so that every further
> call to ERR_load_crypto_strings() does nothing and as
> ERR_free_strings() doesn't clear this variable again further
> calls to ERR_load_crypto_strings() do nothing ...

...which is a bug, as the state (strings loaded/strings unloaded) is
not properly updated.

-Kyle H
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to