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 non-WITH_CONTENT_SCAN build (2)
[exim.git]
/
src
/
src
/
hash.h
diff --git
a/src/src/hash.h
b/src/src/hash.h
index 585237fa886fbc080a50a7f788231ec1da08a223..588325baf29c2e7f960072a411cd485ba95f0945 100644
(file)
--- a/
src/src/hash.h
+++ b/
src/src/hash.h
@@
-1,7
+1,6
@@
/*
* Exim - an Internet mail transport agent
/*
* Exim - an Internet mail transport agent
- *
- * Copyright (C) 2017 Exim maintainers
+ * Copyright (c) The Exim Maintainers 1995 - 2022
*
* Hash interface functions
*/
*
* Hash interface functions
*/
@@
-30,6
+29,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
+76,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