blob: 6d926ed1002f88993fbb17f61e1dad8eddb81560 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- objecthash.h.orig 2018-09-25 20:58:11 UTC
+++ objecthash.h
@@ -8,9 +8,7 @@ extern "C" {
typedef unsigned char byte;
-static const int HASH_SIZE = SHA256_DIGEST_LENGTH;
-
-typedef byte hash[HASH_SIZE];
+typedef byte hash[SHA256_DIGEST_LENGTH];
typedef SHA256_CTX hash_ctx;
bool python_json_hash(const char *json, hash h);
|