aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/sha1/sha1.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-01-02 10:19:52 -0800
committerGarrett D'Amore <garrett@damore.org>2018-01-02 10:19:52 -0800
commitdc08fbe8abfbaa16390cdfd360be9d74f0a28576 (patch)
treea8772e8f0723b77a1d4a9c09e04283841aebe152 /src/supplemental/sha1/sha1.h
parent1e945e873d3bd791354dec504e42025502c6042f (diff)
downloadnng-dc08fbe8abfbaa16390cdfd360be9d74f0a28576.tar.gz
nng-dc08fbe8abfbaa16390cdfd360be9d74f0a28576.tar.bz2
nng-dc08fbe8abfbaa16390cdfd360be9d74f0a28576.zip
SHA1 should just use void * for message pointers in API.
Diffstat (limited to 'src/supplemental/sha1/sha1.h')
-rw-r--r--src/supplemental/sha1/sha1.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/supplemental/sha1/sha1.h b/src/supplemental/sha1/sha1.h
index 3fe19d17..adaa9a85 100644
--- a/src/supplemental/sha1/sha1.h
+++ b/src/supplemental/sha1/sha1.h
@@ -1,6 +1,6 @@
//
-// Copyright 2017 Staysail Systems, Inc. <info@staysail.tech>
-// Copyright 2017 Capitar IT Group BV <info@capitar.com>
+// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
+// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -19,8 +19,8 @@ typedef struct {
} nni_sha1_ctx;
extern void nni_sha1_init(nni_sha1_ctx *);
-extern void nni_sha1_update(nni_sha1_ctx *, const uint8_t *, size_t);
+extern void nni_sha1_update(nni_sha1_ctx *, const void *, size_t);
extern void nni_sha1_final(nni_sha1_ctx *, uint8_t[20]);
-extern void nni_sha1(const uint8_t *, size_t, uint8_t[20]);
+extern void nni_sha1(const void *, size_t, uint8_t[20]);
#endif // NNG_SUPPLEMENTAL_SHA1_SHA1_H