diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2020-11-26 00:17:08 +0100 | 
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2020-11-26 00:17:08 +0100 | 
| commit | c3cce44cfc175b9ac641820c63354ade12fb05b5 (patch) | |
| tree | 6cb1807941d7f2aa59527e6364e42d9482fda335 /client | |
| parent | 0d1274eafa7119cafd51a67015bb658c8ec9b1a8 (diff) | |
| parent | 51369e3955cdc5bf3f1ba0f6e2d7c4d73406c111 (diff) | |
Merge tag 'upstream/0.7' into debian
New release 0.7
Diffstat (limited to 'client')
| -rwxr-xr-x | client | 15 | 
1 files changed, 1 insertions, 14 deletions
| @@ -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();  } | 
