aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/sha1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/sha1.h')
-rw-r--r--src/crypto/sha1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h
index b16f2c88ce..4fa2b333ba 100644
--- a/src/crypto/sha1.h
+++ b/src/crypto/sha1.h
@@ -9,7 +9,8 @@
#include <stdlib.h>
/** A hasher class for SHA1. */
-class CSHA1 {
+class CSHA1
+{
private:
uint32_t s[5];
unsigned char buf[64];
@@ -19,7 +20,7 @@ public:
static const size_t OUTPUT_SIZE = 20;
CSHA1();
- CSHA1& Write(const unsigned char *data, size_t len);
+ CSHA1& Write(const unsigned char* data, size_t len);
void Finalize(unsigned char hash[OUTPUT_SIZE]);
CSHA1& Reset();
};