diff options
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/authfile.c b/authfile.c index c8eac1892..afedd7bbb 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -147,7 +147,7 @@ save_private_key_rsa(const char *filename, const char *passphrase, | |||
147 | strerror(errno)); | 147 | strerror(errno)); |
148 | buffer_free(&encrypted); | 148 | buffer_free(&encrypted); |
149 | close(fd); | 149 | close(fd); |
150 | remove(filename); | 150 | unlink(filename); |
151 | return 0; | 151 | return 0; |
152 | } | 152 | } |
153 | close(fd); | 153 | close(fd); |