Skip to content

Commit

Permalink
fixup! fixup! APPS/pkey: 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 aaae77f commit 959ad5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/man1/openssl-pkey.pod.in
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ If the input contains no public key but a private key, its public part is used.
This specifies the output file to save the encoded and/or text output of key
or standard output if this option is not specified.
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 cipher option is set but no B<-passout> is given
then a pass phrase will be prompted for.
Expand Down

0 comments on commit 959ad5b

Please sign in to comment.