diff options
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/mk-ca-bundle.pl | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl index 2eeefff0b..188c939cb 100755 --- a/lib/mk-ca-bundle.pl +++ b/lib/mk-ca-bundle.pl @@ -203,9 +203,9 @@ while (<TXT>) {          print CRT $pem;        }        if ($opt_t) { -        open(TMP, "|$openssl x509 -md5 -fingerprint -text -inform PEM >> $crt") or die "Couldn't open openssl pipe: $!\n"; -        print TMP $pem; -        close(TMP) or die "Couldn't close openssl pipe: $!\n"; +        my $openssl_output = `echo '$pem' | $openssl x509 -md5 -fingerprint -text -inform PEM` or +          die "Couldn't run openssl : $?\n"; +        print CRT $openssl_output;        }        print STDERR "Parsing: $caname\n" if ($opt_v);        $certnum ++; | 
