From 0c3cf7819ceb7fe970f0fc240fa177b4e6dd5506 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 6 Jul 2023 07:20:03 +0200 Subject: Add -S (salt) to bsum MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common.h') diff --git a/common.h b/common.h index 96998a8..9eb4980 100644 --- a/common.h +++ b/common.h @@ -19,6 +19,7 @@ void *emalloc(size_t n); int open_file(const char *path, int *closep); int check_and_print(const char *path, size_t hashlen, int decode_hex, char newline); int hash_and_print(const char *path, size_t hashlen, int decode_hex, char newline, int output_case); +void parse_salt(uint_least8_t *salt, const char *s, size_t required_length); /* *sum.c */ int hash_fd(int fd, const char *fname, int decode_hex, unsigned char hash[]); -- cgit v1.2.3-70-g09d2