Re: Multiple calls to ERR_load_crypto_string()

2006-03-23 Thread Nils Larsch
Fukuba, Yoshiki wrote: Hi, After multiple calls to ERR_load_crypto_string(), we cannot get error message using ERR_error_string(). A short sample is as follows: = #include openssl/err.h int main() { ERR_load_crypto_strings(); printf(%s\n,ERR_error_string(101163138,NULL

Re: Multiple calls to ERR_load_crypto_string()

2006-03-23 Thread Kyle Hamilton
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

Multiple calls to ERR_load_crypto_string()

2006-03-22 Thread Fukuba, Yoshiki
Hi, After multiple calls to ERR_load_crypto_string(), we cannot get error message using ERR_error_string(). A short sample is as follows: = #include openssl/err.h int main() { ERR_load_crypto_strings(); printf(%s\n,ERR_error_string(101163138,NULL)); ERR_free_strings