Browse Source

Deprecation warnings on mkpasswd and sybilsim

Caleb James DeLisle 1 year ago
parent
commit
f34e200165
2 changed files with 2 additions and 0 deletions
  1. 1 0
      contrib/c/mkpasswd.c
  2. 1 0
      contrib/c/sybilsim.c

+ 1 - 0
contrib/c/mkpasswd.c

@@ -23,6 +23,7 @@
 int mkpasswd_main(int argc, char** argv);
 int mkpasswd_main(int argc, char** argv)
 {
+    fprintf(stderr, "mkpasswd is deprecated and will be removed from the next release\n");
     struct Allocator* alloc = MallocAllocator_new(1<<22);
     struct Random* rand = Random_new(alloc, NULL, NULL);
 

+ 1 - 0
contrib/c/sybilsim.c

@@ -439,6 +439,7 @@ static int usage(char* appName)
 int sybilsim_main(int argc, char** argv);
 int sybilsim_main(int argc, char** argv)
 {
+    fprintf(stderr, "sybilsim is deprecated and will be removed from the next release\n");
     Assert_true(argc > 0);
     if (isatty(STDIN_FILENO)) {
         return usage(argv[0]);