Fix compile w/o openssl; disable sha256 & sha512 for --checksum.
[rsync.git] / t_unsafe.c
index 4ab6850ab03096092e3b3990a1077a181866987f..010cac50d85f14c6a260df62d34bc1f02a5e22b2 100644 (file)
@@ -2,7 +2,7 @@
  * Test harness for unsafe_symlink().  Not linked into rsync itself.
  *
  * Copyright (C) 2002 Martin Pool
- * Copyright (C) 2003-2019 Wayne Davison
+ * Copyright (C) 2003-2020 Wayne Davison
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -28,9 +28,6 @@ int am_root = 0;
 int am_sender = 1;
 int read_only = 0;
 int list_only = 0;
-int human_readable = 0;
-int preserve_perms = 0;
-int preserve_executability = 0;
 short info_levels[COUNT_INFO], debug_levels[COUNT_DEBUG];
 
 int
@@ -41,8 +38,7 @@ main(int argc, char **argv)
                return 1;
        }
 
-       printf("%s\n",
-              unsafe_symlink(argv[1], argv[2]) ? "unsafe" : "safe");
+       printf("%s\n", unsafe_symlink(argv[1], argv[2]) ? "unsafe" : "safe");
 
        return 0;
 }