[gnutls-devel] [feature request] certtool: Cleanup output file on error

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Sep 30 10:18:25 CEST 2016


On Thu, Sep 29, 2016 at 2:01 PM, Thibault Nélis <tn at osimis.io> wrote:
> Hello,
>
> Currently the output file (as specified with --outfile) is created no
> matter what and left behind in case of an error.
> $ file foo
> foo: cannot open `foo' (No such file or directory)
> $ certtool --generate-request --load-privkey=foo --outfile=bar
> Generating a PKCS #10 certificate request...
> reading --load-privkey: foo
[...]
> Thank you for considering this.

It would be much for efficient if you propose a fix for these features
with a patch.

regards,
Nikos



More information about the Gnutls-devel mailing list