git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix onetime qrunner alloc
[exim.git]
/
src
/
src
/
hash.h
diff --git
a/src/src/hash.h
b/src/src/hash.h
index a29d4653161f000bee90b8e13cd087a76ae6515a..788c9f0ad6571cb9700bcc4b905c744119362a44 100644
(file)
--- a/
src/src/hash.h
+++ b/
src/src/hash.h
@@
-1,7
+1,7
@@
/*
* Exim - an Internet mail transport agent
/*
* 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
*/
*
* Hash interface functions
*/
@@
-30,6
+30,7
@@
typedef enum hashmethod {
HASH_BADTYPE,
typedef enum hashmethod {
HASH_BADTYPE,
+ HASH_NULL,
HASH_SHA1,
HASH_SHA2_256,
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 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
extern void exim_sha_finish(hctx *, blob *);
#endif