Skip to content

Commit

Permalink
fixup! fixup! APPS/pkcs8: fix case where infile and outfile are the same
Browse files Browse the repository at this point in the history
  • Loading branch information
DDvO committed Sep 30, 2024
1 parent d3029e4 commit aaae77f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/man1/openssl-pkcs8.pod.in
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ see L<openssl-passphrase-options(1)>.

This specifies the output file to write a key to or standard output by default.
The output filename can be the same as the input filename,
which leads to replacing the file contents in situ.
which leads to replacing the file contents.
Note that file I/O is not atomic. The output file is truncated and then written.

If any encryption options are set and B<-passout> is not given
then a pass phrase will be prompted for.
Expand Down

0 comments on commit aaae77f

Please sign in to comment.