LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: Sidney Markowitz Date: Sun Apr 2 19:47:17 2006 Subject: SOLUTION Re: Crypt-OpenSSL-RSA unable to build
On 2/20/06 5:34 AM, Condor wrote: > The only one place i found that this error exist in > network: http://www.nntp.perl.org/group/perl.cpan.testers/269106 but > no solution how to fix the problem. I had the same problem as that test failure trying to build under a Fedora Core 5 with the latest OpenSSL 0.9.8a installed as the openssl and openssl-dev RPMs. I found that RSA.xs needs to have the following includes added: #include <openssl/md5.h> #include <openssl/ripemd.h> See bug report http://rt.cpan.org/Public/Bug/Display.html?id=18239 Digging in, I see that the only reason it does not also need #include <openssl/sha.h> is because sha.h is included in x509.h which is included by ssl.h which is included in RSA.xs. I guess that something changed in a recent version of openSSL and that older versions had md5.h and ripemd.h indirectly included when ssl.h was. To make the fix more robust I would include all three of md5.h, sha.h, and ripemd.h in RSA.xs. -- sidney
| Navigate in group perl.crypto at sever nntp.perl.org | |
| Previous | Next |
| © No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |