diff options
Diffstat (limited to 'src/pki.c')
-rw-r--r-- | src/pki.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -434,7 +434,7 @@ int ssh_pki_import_privkey_file(const char *filename, return SSH_ERROR; } - file = fopen(filename, "r"); + file = fopen(filename, "rb"); if (file == NULL) { ssh_pki_log("Error opening %s: %s", filename, strerror(errno)); |