On 2007.11.26 at 08:39:37 -0000, Duncan Berriman wrote:

> Try
> 
>       OpenSSL_add_all_algorithms();
>       SSL_load_error_strings();
>       SSL_library_init();

And while you are touching this part anyway, don't forget to add
OPENSSL_config(NULL) before OpenSSL_add_all_algorithms. Just in case
user wants to configure something, i.e. use hardware implementation of
some algorithms. Of course it is better to allow user specify name of
configuration file via some command line option and pass it to
OPENSSL_config. But NULL would suffice. It gives user enough control,
because there is environment variable OPENSSL_CONF  

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to