X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/9c29c48f8327fc20b3840ce2fb4dad4a6c8003b2..a85c067ba6c6940512cf57ec213277a370d87e70:/src/src/hash.h diff --git a/src/src/hash.h b/src/src/hash.h index 585237fa8..c94e53129 100644 --- a/src/src/hash.h +++ b/src/src/hash.h @@ -1,7 +1,7 @@ /* * Exim - an Internet mail transport agent - * - * Copyright (C) 2017 Exim maintainers + * Copyright (c) The Exim Maintainers 1995 - 2022 + * SPDX-License-Identifier: GPL-2.0-only * * 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