>From 8043193af41c3a0a2942be8222764ce74cdeaad7 Mon Sep 17 00:00:00 2001 From: Alexander Cherepanov Date: Sat, 11 May 2013 18:16:20 +0400 Subject: [PATCH 4/5] Comment out fmt_default_valid() and fmt_default_binary(). --- src/formats.c | 4 ++++ src/formats.h | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/formats.c b/src/formats.c index e8e4b21..c65023a 100644 --- a/src/formats.c +++ b/src/formats.c @@ -254,20 +254,24 @@ char *fmt_default_prepare(char *fields[10], struct fmt_main *self) return fields[1]; } +/* int fmt_default_valid(char *ciphertext, struct fmt_main *self) { return 0; } +*/ char *fmt_default_split(char *ciphertext, int index, struct fmt_main *self) { return ciphertext; } +/* void *fmt_default_binary(char *ciphertext) { return ciphertext; } +*/ void *fmt_default_salt(char *ciphertext) { diff --git a/src/formats.h b/src/formats.h index fe4682d..1a051ea 100644 --- a/src/formats.h +++ b/src/formats.h @@ -270,10 +270,10 @@ extern void fmt_default_init(struct fmt_main *self); extern void fmt_default_done(void); extern void fmt_default_reset(struct db_main *db); extern char *fmt_default_prepare(char *fields[10], struct fmt_main *self); -extern int fmt_default_valid(char *ciphertext, struct fmt_main *self); +/* extern int fmt_default_valid(char *ciphertext, struct fmt_main *self); */ extern char *fmt_default_split(char *ciphertext, int index, struct fmt_main *self); -extern void *fmt_default_binary(char *ciphertext); +/* extern void *fmt_default_binary(char *ciphertext); */ extern void *fmt_default_salt(char *ciphertext); extern char *fmt_default_source(char *source, void *binary); extern int fmt_default_binary_hash(void *binary); -- 1.7.2.5