hi, i have a problem with OpenSSL_add_all_algorithms() in openssl:
on startup, my application calls OpenSSL_add_all_algorithms() in the main thread. a while after that, a new thread is created. this second thread then calls X509_verify_cert() which returns the error: 'error:0D0C50A1:asn1 encoding routines:ASN1_item_verify:unknown message digest algorithm' if i call OpenSSL_add_all_algorithms() a second time in the startup sequence of the second thread, the error disappears. is this a desired behavior? in other applications i have no problems with multiple threads, this is the first time i get this behavior. best would be if the first call in the main thread would be sufficient. also, i could not find anything in the documentation about problems with OpenSSL_add_all_algorithms() and multiple threads. hope someone can explain that to me.. greetings, hannes ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org