Subject: | XML::Sig |
Date: | Wed, 30 Jul 2014 21:56:21 +0000 |
To: | "bug-Net-SAML2 [...] rt.cpan.org" <bug-Net-SAML2 [...] rt.cpan.org> |
From: | James Goodzeit <james_goodzeit [...] trepp.com> |
Hello,
I cannot run the example code in the synopsis. Have downloaded Net-SAML2-0.17, am using PERL 5.10.1 on Linux 2.6.32-131.0.15.el6.x86_64.
To run the synopsis I need Net::SAML2::XML::Sig rather than simply XML::Sig on line 2
Then I will draw the following error when running:
RSA.xs:178: OpenSSL error: no start line at /export/home/jamesg/share/perl5/Net/SAML2/XML/Sig.pm line 452.
This can be fixed by replacing
Crypt::OpenSSL::X509
with
Crypt::OpenSSL::RSA
On lines 450 and 452 in Sig.pm, after which the example runs as expected.
Thanks