aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/tor-checkkey.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/tor-checkkey.c b/src/tools/tor-checkkey.c
index 30c223a7a1..e15cc46df9 100644
--- a/src/tools/tor-checkkey.c
+++ b/src/tools/tor-checkkey.c
@@ -47,11 +47,7 @@ int main(int c, char **v)
fname_idx = 1;
}
-#ifdef MS_WINDOWS
- fname = tor_strdup(v[fname_idx]);
-#else
fname = expand_filename(v[fname_idx]);
-#endif
str = read_file_to_str(fname, 0, NULL);
tor_free(fname);
if (!str) {