summaryrefslogtreecommitdiffstats
path: root/apps/CA.com
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2010-04-13 14:39:58 +0000
committerRichard Levitte <levitte@openssl.org>2010-04-13 14:39:58 +0000
commit1cf12a63502b46f6f1dd2314d0b426a5c9132594 (patch)
tree946cb1449309d8f50f788dca6f1c47937e3b5d42 /apps/CA.com
parentdc9461e23fbc3516a2e3203433af68b77370b8ae (diff)
No need to look for the file if none was entered.
Diffstat (limited to 'apps/CA.com')
-rw-r--r--apps/CA.com4
1 files changed, 2 insertions, 2 deletions
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