aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-11-26 00:17:08 +0100
committerGuilhem Moulin <guilhem@fripost.org>2020-11-26 00:17:08 +0100
commitc3cce44cfc175b9ac641820c63354ade12fb05b5 (patch)
tree6cb1807941d7f2aa59527e6364e42d9482fda335 /client
parent0d1274eafa7119cafd51a67015bb658c8ec9b1a8 (diff)
parent51369e3955cdc5bf3f1ba0f6e2d7c4d73406c111 (diff)
Merge tag 'upstream/0.7' into debian
New release 0.7
Diffstat (limited to 'client')
-rwxr-xr-xclient15
1 files changed, 1 insertions, 14 deletions
diff --git a/client b/client
index b59c013..bacd4d6 100755
--- a/client
+++ b/client
@@ -361,20 +361,7 @@ elsif ($COMMAND eq 'newOrder') {
die "Timeout exceeded while waiting for certificate\n" if $timeout > 0 and $i >= $timeout;
sleep $retry_after;
}
-
- # keep only the leaf certificate
- pipe my $rd, my $wd or die "Can't pipe: $!";
- my $pid = fork // die "Can't fork: $!";
- unless ($pid) {
- open STDIN, '<&', $rd or die "Can't dup: $!";
- exec qw/openssl x509 -outform PEM/ or die;
- }
- $rd->close() or die "Can't close: $!";
- $wd->print( $r->decoded_content() );
- $wd->close() or die "Can't close: $!";
-
- waitpid $pid => 0;
- die $? if $? > 0;
+ print $r->decoded_content();
}