Small patches for NDOUtils SSL

Matthieu Kermagoret mkermagoret at merethis.com
Mon Aug 24 16:18:11 CEST 2009


Hi all,

I write today with two small patches for ndoutils. They're both
related to the recent SSL patch.

First when compiling without SSL support (--disable-ssl), some code in
io.c using SSL features is not protected with the HAVE_SSL macro,
causing the compilation to fail.

Then when using ndo2db with SSL support compiled, related objects
(session, DH params, ...) are initialized even if SSL is disabled in
the configuration file. This is because config file parsing is done
after SSL initialization. Second patch just moves the file parsing
before SSL initialization.

Hope these patches will help (even a little).

Best regards,

-- 
Matthieu KERMAGORET | Développeur

mkermagoret at merethis.com

MERETHIS est éditeur du logiciel Centreon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndoutils_compilation_without_ssl.patch
Type: text/x-diff
Size: 533 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090824/ff6b6e3b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ndoutils_config_before_ssl.patch
Type: text/x-diff
Size: 982 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090824/ff6b6e3b/attachment-0001.patch>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list