Menu

#535 Add OpenSSL library initialization to infrastructure

2.11.1
closed-fixed
5
2008-04-17
2008-04-16
No

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.

Discussion

  • Bryan Sutula

    Bryan Sutula - 2008-04-17

    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.

     
  • Bryan Sutula

    Bryan Sutula - 2008-04-17
    • status: open --> closed-fixed
     

Log in to post a comment.