Summary: | compatiblity with openssl 0.9.8 | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Phh <phh> |
Component: | kssl | Assignee: | George Staikos <staikos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | chriswhite, rdieter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | The fix |
Description
Phh
2005-07-26 16:31:33 UTC
Created attachment 11938 [details]
The fix
This fix, but no backward compatibilty...
I'm seeing the same crashes with kio_imap4 and openssl 0.9.8 in KDE 3.4.3 - the patch doesn't fix them however. It would be a real bummer if KDE 3.5 were incompatible with openssl 0.9.8. *** Bug 113323 has been marked as a duplicate of this bug. *** SVN commit 517010 by staikos: more openssl version compatibility BUG: 109652 M +10 -0 kopenssl.cc --- branches/KDE/3.5/kdelibs/kio/kssl/kopenssl.cc #517009:517010 @@ -576,21 +576,31 @@ if (_cryptoLib) { if (x) ((int (*)())x)(); x = _cryptoLib->symbol("OpenSSL_add_all_algorithms"); + if (!x) + x = _cryptoLib->symbol("OPENSSL_add_all_algorithms"); if (x) { ((void (*)())x)(); } else { x = _cryptoLib->symbol("OpenSSL_add_all_algorithms_conf"); + if (!x) + x = _cryptoLib->symbol("OPENSSL_add_all_algorithms_conf"); if (x) { ((void (*)())x)(); } else { x = _cryptoLib->symbol("OpenSSL_add_all_algorithms_noconf"); + if (!x) + x = _cryptoLib->symbol("OPENSSL_add_all_algorithms_noconf"); if (x) ((void (*)())x)(); } } x = _cryptoLib->symbol("OpenSSL_add_all_ciphers"); + if (!x) + x = _cryptoLib->symbol("OPENSSL_add_all_ciphers"); if (x) ((void (*)())x)(); x = _cryptoLib->symbol("OpenSSL_add_all_digests"); + if (!x) + x = _cryptoLib->symbol("OPENSSL_add_all_digests"); if (x) ((void (*)())x)(); } } |