|
Bugzilla – Full Text Bug Listing |
| Summary: | perl-Crypt-SSLeay crashes | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Andreas Schwab <schwab> |
| Component: | Other | Assignee: | Peter Poeml <poeml> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | ug |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
I found in ruby source code the following statement
OpenSSL_add_ssl_algorithms();
OpenSSL_add_all_algorithms();
This also works with perl-Crypt-SSLeay. Maybe this would be a better fix.
I have nothing found if there is an API change.
Well => fixed.
|
The Crypt::SSLeay module crashes in Crypt::SSLeay::CTX::new because SSL_CTX_new returns NULL. (That it crashes is another bug that is not the point here.) The reason why SSL_CTX_new returns NULL appears to be that it is no longer enough to call SSLeay_add_all_algorithms to initialize the SSL library. When I change that to call SSLeay_add_ssl_algorithms instead everything works again. That appears to be a silent API change in the SSL library. $ cat ssleay.pl use Crypt::SSLeay; Crypt::SSLeay::CTX::new('main', 23); $ perl ssleay.pl Segmentation fault