aboutsummaryrefslogtreecommitdiff
path: root/Linux-PAM/modules/pam_unix/bigcrypt_main.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 16:26:05 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:26:38 -0800
commit9c52e721044e7501c3d4567b36d222dc7326224a (patch)
tree9011790770130c60a712a6f125ad50d60e07cc74 /Linux-PAM/modules/pam_unix/bigcrypt_main.c
parent9727ff2a3fa0e94a42b34a579027bacf4146d571 (diff)
parent186ff16e8d12ff15d518000c17f115ccab5275a4 (diff)
downloadpam-9c52e721044e7501c3d4567b36d222dc7326224a.tar.gz
pam-9c52e721044e7501c3d4567b36d222dc7326224a.tar.bz2
pam-9c52e721044e7501c3d4567b36d222dc7326224a.zip
New upstream version 1.0.1
Diffstat (limited to 'Linux-PAM/modules/pam_unix/bigcrypt_main.c')
-rw-r--r--Linux-PAM/modules/pam_unix/bigcrypt_main.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/Linux-PAM/modules/pam_unix/bigcrypt_main.c b/Linux-PAM/modules/pam_unix/bigcrypt_main.c
deleted file mode 100644
index fab212d9..00000000
--- a/Linux-PAM/modules/pam_unix/bigcrypt_main.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <stdio.h>
-#include <string.h>
-
-#include "bigcrypt.h"
-
-int
-main(int argc, char **argv)
-{
- if (argc < 3) {
- fprintf(stderr, "Usage: %s password salt\n",
- strchr(argv[0], '/') ?
- (strchr(argv[0], '/') + 1) :
- argv[0]);
- return 0;
- }
- fprintf(stdout, "%s\n", bigcrypt(argv[1], argv[2]));
- return 0;
-}