Oh, I see, I should have used SSL_library_init() rather than OPENSSL_init_library().
Thanks everyone! Great help! David On Tue, May 20, 2014 at 1:38 PM, David Li <dlipub...@gmail.com> wrote: > Rich, > > I did the following calls: > > OpenSSL_add_all_algorithms(); > OPENSSL_init_library(); > SSL_load_error_strings(); > > Are these enough? > > > > > On Tue, May 20, 2014 at 1:32 PM, Richard Moore <richmoor...@gmail.com>wrote: > >> On 20 May 2014 20:13, David Li <dlipub...@gmail.com> wrote: >> >>> So obviously my SSL_CTX object wasn't created properly. Now I have to >>> figure out what it means by "library has no ciphers". >>> >>> >> You haven't called the functions to initialise openssl. >> >> Rich. >> >> > >