Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 149756

Summary: jabberd-1.4.3-r5 ssl does not work with openssl-0.9.8d
Product: Gentoo Linux Reporter: Nikhil Sethi <nikhil.sethi+gentoobug>
Component: Current packagesAssignee: Krzysztof Pawlik (RETIRED) <nelchael>
Status: RESOLVED DUPLICATE    
Severity: normal CC: brebs, net-im
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Nikhil Sethi 2006-10-01 11:09:48 UTC
Running jabberd-1.4.3-r5 with openssl-0.9.8d results in the following error:
...
"SSL_CTX_new:library has no ciphers"
...

and SSL does not work.

Looking around, I found the reason is that jabberd does not call SSL_library_init() before using other openssl methods. Following fixed the problem. What is the process of getting this patch submitted to the ebuild?

# diff jabberd/mio_ssl.c /tmp/mio_ssl.c
66c66,67
<          OpenSSL_add_all_algorithms();
---
>     SSL_library_init();
>     OpenSSL_add_all_algorithms();
Comment 1 Paul Bredbury 2006-10-01 12:43:16 UTC
This patch is already in, for jabberd-1.4.4

/usr/portage/net-im/jabberd/files/jabberd-1.4.4-openssl-0.9.8.patch
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-10-02 02:24:57 UTC

*** This bug has been marked as a duplicate of 147342 ***