Hello,
Personally, I prefer how we do it. For what we do, it is much more
sure it will work as it tests for explicit entry points we use rather than
an abstract version number.
The real solution to the problem is to convert our code to use the
document version 1.0 calling sequences, but that will require finding
an OpenSSL expert programmer.
Regards,
Kern
On 12/12/2011 10:30 AM, Simone Caronni wrote:
Hello,
I don't know if this patch has been posted before in the bacula-devel
mailing list and maybe rejected; if that's the case, sorry for that.
It has been in the Fedora package for quite a while, the author is
"Enrico Scholz" in the changelog.
The current src/lib/crypto.c code checks for version 1 of the OpenSSL
library by implementing an ifdef as follows:
#ifdef HAVE_OPENSSLv1
It should be implemented as the internal OpenSSL numbering which also
addresses future versions and changes:
#if (OPENSSL_VERSION_NUMBER>= 0x10000000L)
Google returns lots of examples regarding OpenSSL version checking and
library changes. Most of the Open Source projects check for OpenSSL
versions this way.
http://www.google.ch/search?q=OPENSSL_VERSION_NUMBER+0x10000000L
Attached is a patch that changes the ifdef code.
Thanks,
--Simone
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel