summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/apps/ca.c
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2001-07-19 19:59:37 +0000
committerkris <kris@FreeBSD.org>2001-07-19 19:59:37 +0000
commit84fabcda925860c067e7f03b07d3a988add59e0b (patch)
treeef18fca7a2e8717f4db054621eb99df1a2637e56 /crypto/openssl/apps/ca.c
parentd0bb02b6446135ca9fe648fd3c37af5f01a47815 (diff)
parent3b19ada1e8e5f87b844d2cc1e72907cfb7774fb6 (diff)
downloadFreeBSD-src-84fabcda925860c067e7f03b07d3a988add59e0b.zip
FreeBSD-src-84fabcda925860c067e7f03b07d3a988add59e0b.tar.gz
This commit was generated by cvs2svn to compensate for changes in r79998,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'crypto/openssl/apps/ca.c')
-rw-r--r--crypto/openssl/apps/ca.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/openssl/apps/ca.c b/crypto/openssl/apps/ca.c
index 2d71104..a8bf049 100644
--- a/crypto/openssl/apps/ca.c
+++ b/crypto/openssl/apps/ca.c
@@ -1220,7 +1220,11 @@ bad:
X509_free(revcert);
strncpy(buf[0],dbfile,BSIZE-4);
+#ifndef VMS
strcat(buf[0],".new");
+#else
+ strcat(buf[0],"-new");
+#endif
if (BIO_write_filename(out,buf[0]) <= 0)
{
perror(dbfile);
@@ -1230,7 +1234,11 @@ bad:
j=TXT_DB_write(out,db);
if (j <= 0) goto err;
strncpy(buf[1],dbfile,BSIZE-4);
+#ifndef VMS
strcat(buf[1],".old");
+#else
+ strcat(buf[1],"-old");
+#endif
if (rename(dbfile,buf[1]) < 0)
{
BIO_printf(bio_err,"unable to rename %s to %s\n", dbfile, buf[1]);
OpenPOWER on IntegriCloud