File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ class CHash256 {
25
25
static const size_t OUTPUT_SIZE = CSHA256::OUTPUT_SIZE;
26
26
27
27
void Finalize (unsigned char hash[OUTPUT_SIZE]) {
28
- unsigned char buf[sha. OUTPUT_SIZE ];
28
+ unsigned char buf[CSHA256:: OUTPUT_SIZE];
29
29
sha.Finalize (buf);
30
- sha.Reset ().Write (buf, sha. OUTPUT_SIZE ).Finalize (hash);
30
+ sha.Reset ().Write (buf, CSHA256:: OUTPUT_SIZE).Finalize (hash);
31
31
}
32
32
33
33
CHash256& Write (const unsigned char *data, size_t len) {
@@ -49,9 +49,9 @@ class CHash160 {
49
49
static const size_t OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE;
50
50
51
51
void Finalize (unsigned char hash[OUTPUT_SIZE]) {
52
- unsigned char buf[sha. OUTPUT_SIZE ];
52
+ unsigned char buf[CSHA256:: OUTPUT_SIZE];
53
53
sha.Finalize (buf);
54
- CRIPEMD160 ().Write (buf, sha. OUTPUT_SIZE ).Finalize (hash);
54
+ CRIPEMD160 ().Write (buf, CSHA256:: OUTPUT_SIZE).Finalize (hash);
55
55
}
56
56
57
57
CHash160& Write (const unsigned char *data, size_t len) {
You can’t perform that action at this time.
0 commit comments