summaryrefslogtreecommitdiffstats
path: root/authfile.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-09-29 23:01:36 +1100
committerDamien Miller <djm@mindrot.org>2000-09-29 23:01:36 +1100
commit78315eb6d6bf411b07d9e0bc1ede41fae9484f25 (patch)
tree6c1ff91e092df4d86b076f7f4917764bb6d17f5e /authfile.c
parentcb5e44a440c1b310a9dc5b8b5abe32fe11ed479b (diff)
- (djm) Merged big SCO portability patch from Tim Rice
<tim@multitalents.net>
Diffstat (limited to 'authfile.c')
-rw-r--r--authfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/authfile.c b/authfile.c
index c8eac189..afedd7bb 100644
--- a/authfile.c
+++ b/authfile.c
@@ -147,7 +147,7 @@ save_private_key_rsa(const char *filename, const char *passphrase,
strerror(errno));
buffer_free(&encrypted);
close(fd);
- remove(filename);
+ unlink(filename);
return 0;
}
close(fd);