From: Richard Levitte Date: Tue, 13 Apr 2010 14:39:58 +0000 (+0000) Subject: No need to look for the file if none was entered. X-Git-Tag: OpenSSL_1_0_0a~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1cf12a63502b46f6f1dd2314d0b426a5c9132594;p=oweals%2Fopenssl.git No need to look for the file if none was entered. --- diff --git a/apps/CA.com b/apps/CA.com index 02682e424a..69b7bb3fd8 100644 --- a/apps/CA.com +++ b/apps/CA.com @@ -114,8 +114,8 @@ $! $ IF F$SEARCH(CATOP+".private"+CAKEY) .EQS. "" $ THEN $ READ '__INPUT' FILE - - /PROMT="CA certificate filename (or enter to create)" -$ IF F$SEARCH(FILE) .NES. "" + /PROMPT="CA certificate filename (or enter to create)" +$ IF (FILE .NES. "") .AND. (F$SEARCH(FILE) .NES. "") $ THEN $ COPY 'FILE' 'CATOP'.private'CAKEY' $ RET=$STATUS