aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/sha1.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-25 08:23:32 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-25 08:23:32 +0200
commitcf42c36e9963f9cf13704d8d74a9546f0db33d40 (patch)
tree858c8076671647abe299b1ef0125b7476006f726 /src/crypto/sha1.h
parentea69592a2f261dba37d551c0ac77e93ce00b37c3 (diff)
Apply clang-format on crypto/* and compat/*
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();
};