X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/f9ba5e2255cf18092750fffacb6a9603571a2be5..2ea09d783ec32eea87d0592ac941e8849d780f9d:/src/src/hash.h diff --git a/src/src/hash.h b/src/src/hash.h index a29d46531..788c9f0ad 100644 --- a/src/src/hash.h +++ b/src/src/hash.h @@ -1,7 +1,7 @@ /* * Exim - an Internet mail transport agent - * - * Copyright (C) 1995 - 2018 Exim maintainers + * Copyright (c) The Exim Maintainers 1995 - 2022 + * SPDX-License-Identifier: GPL-2.0-or-later * * Hash interface functions */ @@ -30,6 +30,7 @@ typedef enum hashmethod { HASH_BADTYPE, + HASH_NULL, HASH_SHA1, HASH_SHA2_256, @@ -76,6 +77,7 @@ typedef struct { extern BOOL exim_sha_init(hctx *, hashmethod); extern void exim_sha_update(hctx *, const uschar *a, int); +extern void exim_sha_update_string(hctx *, const uschar *a); extern void exim_sha_finish(hctx *, blob *); #endif