On 2015-02-21, Jérémie Courrèges-Anglas <j...@wxcvbn.org> wrote:

> +When requesting conversion to text format, the actual data is what has
> +been printed on stdout (-noout -text), not the content of the empty
> +file.
> +
> +--- lib/OpenSSL.pm.orig      Tue Jul 25 22:12:00 2006
> ++++ lib/OpenSSL.pm   Sat Feb 21 19:13:26 2015
> +@@ -869,6 +869,10 @@ sub convdata {
> + 
> +    unlink($file);
> + 
> ++   if($opts->{'outform'} eq 'TEXT') {
> ++       $tmp = $ext;
> ++   };
> ++
> +    return($ret, $tmp, $ext);
> + }
> + 

Hmm.  The value of $ext is this:

   $ext = "$cmd\n\n";   # ???
   while(<$rdfh>){
      $ext .= $_;
   };

-- 
Christian "naddy" Weisgerber                          na...@mips.inka.de

Reply via email to