diff options
author | Omar Tarabai <tarabai@devegypt.com> | 2014-09-15 15:00:36 +0000 |
---|---|---|
committer | Omar Tarabai <tarabai@devegypt.com> | 2014-09-15 15:00:36 +0000 |
commit | 440b6e8eee0202981cfaca9dea447f57d00e3380 (patch) | |
tree | 2e8f9b29ac4510f140145ae67bb5bb0ba8baf73d /src/sensor | |
parent | be73250fb373dbdcd18180ee9eff8b1bc87374af (diff) | |
download | gnunet-440b6e8eee0202981cfaca9dea447f57d00e3380.tar.gz gnunet-440b6e8eee0202981cfaca9dea447f57d00e3380.zip |
fix
Diffstat (limited to 'src/sensor')
-rw-r--r-- | src/sensor/sensor_util_lib_crypto.c | 2 | ||||
-rw-r--r-- | src/sensor/test_pow_sign.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sensor/sensor_util_lib_crypto.c b/src/sensor/sensor_util_lib_crypto.c index 677750e47..58a4a75c6 100644 --- a/src/sensor/sensor_util_lib_crypto.c +++ b/src/sensor/sensor_util_lib_crypto.c | |||
@@ -257,7 +257,7 @@ GNUNET_SENSOR_crypto_pow_sign (void *msg, size_t msg_size, | |||
257 | * @param matching_bits Number of leading zeros in the hash used to verify pow | 257 | * @param matching_bits Number of leading zeros in the hash used to verify pow |
258 | * @param public_key Public key of the peer that sent this block | 258 | * @param public_key Public key of the peer that sent this block |
259 | * @param payload Where to store the pointer to the payload | 259 | * @param payload Where to store the pointer to the payload |
260 | * @return Size of the payload | 260 | * @return Size of the payload, 0 on error |
261 | */ | 261 | */ |
262 | size_t | 262 | size_t |
263 | GNUNET_SENSOR_crypto_verify_pow_sign (struct GNUNET_SENSOR_crypto_pow_block * | 263 | GNUNET_SENSOR_crypto_verify_pow_sign (struct GNUNET_SENSOR_crypto_pow_block * |
diff --git a/src/sensor/test_pow_sign.c b/src/sensor/test_pow_sign.c index af9f6eb52..85a3de445 100644 --- a/src/sensor/test_pow_sign.c +++ b/src/sensor/test_pow_sign.c | |||
@@ -41,7 +41,7 @@ | |||
41 | /** | 41 | /** |
42 | * Number of matching bits to use for generating proof-of-work | 42 | * Number of matching bits to use for generating proof-of-work |
43 | */ | 43 | */ |
44 | #define MATCHING_BITS 2 | 44 | #define MATCHING_BITS 5 |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * Test timeout | 47 | * Test timeout |