From 629c03d7775e1f4b5c0fdee358c6773f70e91961 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Fri, 26 Apr 2013 12:57:56 +0200 Subject: add debug module option and use pam_syslog also: * remove some unnessesary comments * add vim settings for unusual indentation --- bigcrypt.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bigcrypt.c') diff --git a/bigcrypt.c b/bigcrypt.c index b1568d6..28d042a 100644 --- a/bigcrypt.c +++ b/bigcrypt.c @@ -25,7 +25,6 @@ */ #include -#include char *crypt(const char *key, const char *salt); char *bigcrypt(const char *key, const char *salt); @@ -51,8 +50,6 @@ char *bigcrypt(const char *key, const char *salt) char *cipher_ptr, *plaintext_ptr, *tmp_ptr, *salt_ptr; char keybuf[KEYBUF_SIZE + 1]; - D(("called with key='%s', salt='%s'.", key, salt)); - /* reset arrays */ memset(keybuf, 0, KEYBUF_SIZE + 1); memset(dec_c2_cryptbuf, 0, CBUF_SIZE); @@ -111,9 +108,7 @@ char *bigcrypt(const char *key, const char *salt) salt_ptr = cipher_ptr - ESEGMENT_SIZE; } } - D(("key=|%s|, salt=|%s|\nbuf=|%s|\n", key, salt, dec_c2_cryptbuf)); /* this is the terminated encrypted password */ - return dec_c2_cryptbuf; } -- cgit v1.2.3