Several plugins now use SSL code from the OpenSSL library. Because that library requires initialization, the best place to have this is in the infrastructure of OpenHPI. Need to add this there.
It will have to be #ifdef'd for whether the OpenSSL library is being used, and some of it will depend on whether threads are being used.
Logged In: YES
user_id=814412
Originator: YES
Committed revision 6770. This adds:
include/oh_ssl_init.h
src/ssl_init.c
Other build files are modified to compile and link with ssl_init. src/init.c calls the new init function.
Lastly, removed the OpenSSL init code from the oa_soap and ilo2_ribcl plugins.
This has been tested for proper compiling with/without threads and the OpenSSL library. Both affected plugins have been superficially checked to see that they still operate properly.