From d3029e4b0cb3b12440a1b4ec59c447f945f737ef Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Mon, 30 Sep 2024 16:20:13 +0200 Subject: [PATCH] fixup! fixup! APPS/ocsp: fix case where reqin and outfile are the same --- doc/man1/openssl-ocsp.pod.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/man1/openssl-ocsp.pod.in b/doc/man1/openssl-ocsp.pod.in index 995289eefc68f..1d43bc985b7c8 100644 --- a/doc/man1/openssl-ocsp.pod.in +++ b/doc/man1/openssl-ocsp.pod.in @@ -159,7 +159,8 @@ Print out the text form of the OCSP request, response or both respectively. Write out the DER-encoded OCSP request or response to I. 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. =item B<-reqin> I, B<-respin> I