Re: SOLUTION Re: Crypt-OpenSSL-RSA unable to build
[email protected] ("Condor") Mon, 3 Apr 2006 08:35:45 +0300 (EEST)
| Newsgroups | perl.crypto |
|---|---|
| Message-ID | <[email protected]> |
> 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 > > Yes, i found solution of problem and i report to author of project after two month ago. Regards, Condor