ALT Linux Bugzilla
– Attachment 919 Details for
Bug 7006
patch for openssl >= 0.9.7f compatibility
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для совместимости со всеми версиями openssl
OpenSSL.pm.diff.old (text/plain), 1.61 KB, created by
Konstantin A Lepikhov (L.A. Kostis)
on 2005-06-05 01:02:14 MSD
(
hide
)
Description:
Патч для совместимости со всеми версиями openssl
Filename:
MIME Type:
Creator:
Konstantin A Lepikhov (L.A. Kostis)
Created:
2005-06-05 01:02:14 MSD
Size:
1.61 KB
patch
obsolete
>--- OpenSSL.pm.orig 2005-02-22 14:52:24 +0300 >+++ OpenSSL.pm 2005-06-05 00:50:10 +0400 >@@ -43,8 +43,10 @@ sub new { > > if($v =~ /0.9.6/) { > $self->{'version'} = "0.9.6"; >- } elsif ($v =~ /0.9.7/) { >- $self->{'version'} = "0.9.7"; >+ } elsif ($v =~ /0.9.7[abcd]/) { >+ $self->{'version'} = "0.9.7old"; >+ } elsif ($v =~ /0.9.7[^abcd]/) { >+ $self->{'version'} = "0.9.7"; > } elsif ($v =~ /0.9.8/) { > $self->{'version'} = "0.9.8"; > } >@@ -821,20 +823,29 @@ sub convdata { > print $wtfh "$opts->{'data'}\n"; > while(<$rdfh>){ > $ext .= $_; >- # print STDERR "DEBUG: cmd ret: $_"; >+ # print STDERR "DEBUG: cmd ret: $_"; > }; > waitpid($pid, 0); > $ret = $?>>8; > >- if(($ret != 0 && $opts->{'cmd'} ne 'crl') || >- ($ret != 0 && $opts->{'outform'} ne 'TEXT' && $opts->{'cmd'} eq 'crl') || >- ($ret != 1 && $opts->{'outform'} eq 'TEXT' && $opts->{'cmd'} eq 'crl')) { >- unlink($file); >- return($ret, undef, $ext); >+ if( $self->{'version'} =~ '(0.9.7old|0.9.6)' ) { >+ if(($ret != 0 && $opts->{'cmd'} ne 'crl') || >+ ($ret != 0 && $opts->{'outform'} ne 'TEXT' && $opts->{'cmd'} eq 'crl') || >+ ($ret != 1 && $opts->{'outform'} eq 'TEXT' && $opts->{'cmd'} eq 'crl')) { >+ unlink($file); >+ return($ret, undef, $ext); >+ } else { >+ $ret = 0; >+ } > } else { >- $ret = 0; >+ if($ret != 0) { >+ unlink($file); >+ return($ret, undef, $ext); >+ } else { >+ $ret = 0; >+ } > } >- >+ > open(IN, $file) || do { > my $t = sprintf(gettext("Can't open file %s: %s"), $file, $!); > GUI::HELPERS::print_warning($t);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7006
: 919 |
920