diff options
author | Richard Levitte <levitte@openssl.org> | 2000-02-11 18:12:47 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-02-11 18:12:47 +0000 |
commit | 07fc35519eb6e63ccc6c9336b021b90b27a84cd9 (patch) | |
tree | dfc5b68ad4cd54f377acf7850543499c53733b90 /apps/CA.com | |
parent | 3ebf0be142ea19ee2b452d9403d6bc5b14cc41ae (diff) | |
download | openssl-07fc35519eb6e63ccc6c9336b021b90b27a84cd9.tar.gz |
A hack to make sure access() will give us the correct answer about the
accessability of an "empty" directory. Thsi *is* weird, and a better
solution will be provided in apps/ca.c, when I get time to hack at it.
Diffstat (limited to 'apps/CA.com')
-rw-r--r-- | apps/CA.com | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/CA.com b/apps/CA.com index a33fe0b7e4..02682e424a 100644 --- a/apps/CA.com +++ b/apps/CA.com @@ -97,10 +97,18 @@ $ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.certs] $ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.crl] $ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.newcerts] $ CREATE /DIR /PROTECTION=OWNER:RWED 'CATOP'.private] +$ $ OPEN /WRITE ser_file 'CATOP']serial. $ WRITE ser_file "01" $ CLOSE ser_file $ APPEND/NEW NL: 'CATOP']index.txt +$ +$ ! The following is to make sure access() doesn't get confused. It +$ ! really needs one file in the directory to give correct answers... +$ COPY NLA0: 'CATOP'.certs].; +$ COPY NLA0: 'CATOP'.crl].; +$ COPY NLA0: 'CATOP'.newcerts].; +$ COPY NLA0: 'CATOP'.private].; $ ENDIF $! $ IF F$SEARCH(CATOP+".private"+CAKEY) .EQS. "" |