diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-05-29 14:38:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-29 14:38:59 -0400 |
commit | a6e3db5f7241e28641feffadccbfb9e60e936208 (patch) | |
tree | 509c352f17bdf512be344983a60f630515de5fb7 /src | |
parent | ba17968534ea51bbf5e3a0ab0cf4da97ef895252 (diff) | |
download | tor-a6e3db5f7241e28641feffadccbfb9e60e936208.tar.gz tor-a6e3db5f7241e28641feffadccbfb9e60e936208.zip |
Attempt to fix keypinning on Windows
Not that I would countenance a directory authority on Windows, but
it would be nice if the unit tests passed.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/keypin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/keypin.c b/src/or/keypin.c index 7b0c0c7dcf..a5b4cf75f9 100644 --- a/src/or/keypin.c +++ b/src/or/keypin.c @@ -202,7 +202,7 @@ int keypin_open_journal(const char *fname) { /* O_SYNC ??*/ - int fd = tor_open_cloexec(fname, O_WRONLY|O_CREAT, 0600); + int fd = tor_open_cloexec(fname, O_WRONLY|O_CREAT|O_BINARY, 0600); if (fd < 0) goto err; |