From 7ef3bb0b5cb04e9aee787380ab203c4190d79486 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 19 Jan 2015 16:43:28 +0000 Subject: [PATCH] cleanup of the SMALL hiding from Mathias Svensson --- bin/md5/md5.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/md5/md5.c b/bin/md5/md5.c index e9d40e7ec8c..c039b6053de 100644 --- a/bin/md5/md5.c +++ b/bin/md5/md5.c @@ -1,4 +1,4 @@ -/* $OpenBSD: md5.c,v 1.78 2015/01/16 06:39:32 deraadt Exp $ */ +/* $OpenBSD: md5.c,v 1.79 2015/01/19 16:43:28 deraadt Exp $ */ /* * Copyright (c) 2001,2003,2005-2007,2010,2013,2014 @@ -174,9 +174,9 @@ TAILQ_HEAD(hash_list, hash_function); void digest_end(const struct hash_function *, void *, char *, size_t, int); int digest_file(const char *, struct hash_list *, int); -int digest_filelist(const char *, struct hash_function *, int, char **); void digest_print(const struct hash_function *, const char *, const char *); #if !defined(SHA2_ONLY) +int digest_filelist(const char *, struct hash_function *, int, char **); void digest_printstr(const struct hash_function *, const char *, const char *); void digest_string(char *, struct hash_list *); void digest_test(struct hash_list *); @@ -442,6 +442,7 @@ digest_print(const struct hash_function *hf, const char *what, } } +#if !defined(SHA2_ONLY) void digest_printstr(const struct hash_function *hf, const char *what, const char *digest) @@ -458,6 +459,7 @@ digest_printstr(const struct hash_function *hf, const char *what, break; } } +#endif /* !defined(SHA2_ONLY) */ int digest_file(const char *file, struct hash_list *hl, int echo) -- 2.20.1