Subject: | Net_SSLeay patch for OpenSSL 0.9.8[ab] |
Date: | Wed, 8 Nov 2006 14:54:04 -0600 |
To: | bug-IO-Socket-SSL [...] rt.cpan.org |
From: | Kenneth Marshall <ktm [...] it.is.rice.edu> |
Show quoted text
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
> "IO-Socket-SSL-1.01 Solaris 8 OpenSSL 0.9.8b bug",
> a summary of which appears below.
>
> There is no need to reply to this message right now. Your ticket has been
> assigned an ID of [rt.cpan.org #22906]. Your ticket is accessible
> on the web at:
>
> http://rt.cpan.org/Ticket/Display.html?id=22906
>
> Please include the string:
>
> [rt.cpan.org #22906]
>
> in the subject line of all future correspondence about this issue. To do so,
> you may reply to this message.
>
> Thank you,
> bug-IO-Socket-SSL[...]rt.cpan.org
Here is patch to the Net_SSLeay.pm-1.30 that will allow the
IO-Socket-SSL-1.01 to work with OpenSSL-0.9.8ab. It may not
be needed with 0.9.8c.
It might be worth including information in the README or
in the patches subdirectory.
Ken
--- SSLeay.xs_ORIG 2006-11-08 14:36:19.546828000 -0600
+++ SSLeay.xs 2006-11-08 14:36:58.538142000 -0600
@@ -815,7 +815,7 @@
#endif
if (strEQ(name, "OP_ALL"))
#ifdef SSL_OP_ALL
- return SSL_OP_ALL;
+ return (SSL_OP_ALL & ~SSL_OP_TLS_BLOCK_PADDING_BUG);
#else
goto not_there;
#endif