From: simon Date: Tue, 9 Jan 2007 18:14:30 +0000 (+0000) Subject: Fix `puttygen-unix-perms': f_open(), PuTTY's wrapper on fopen, now X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/c6940f12e2ad6ba778324f50b9a779db36238518?hp=c6940f12e2ad6ba778324f50b9a779db36238518 Fix `puttygen-unix-perms': f_open(), PuTTY's wrapper on fopen, now takes a third argument which is TRUE if the file is being opened for writing and wants to be created in such a way that it's readable only to the owner. This is used when saving private keys. While I'm here, I also use this option when writing session logs, on the general principle that they probably contain _something_ sensitive. The new argument is only supported on Unix, for the moment. (I think writing owner-accessible-only files is the default on Windows.) git-svn-id: svn://svn.tartarus.org/sgt/putty@7084 cda61777-01e9-0310-a592-d414129be87e ---