diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-03-04 14:09:27 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-03-04 14:09:27 +0000 |
commit | dcb57a9e51e8fe7412948ec0c47d383ed390ed61 (patch) | |
tree | 4b137f53d1959e099db77da43091973471df0dbc /src/testing | |
parent | 4022058a6325b650542ad8e5a52e167c5336eaaa (diff) | |
download | gnunet-dcb57a9e51e8fe7412948ec0c47d383ed390ed61.tar.gz gnunet-dcb57a9e51e8fe7412948ec0c47d383ed390ed61.zip |
add argument to GNUNET_CRYPTO_ecc_decode_key to allow testing to disable key validation
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/testing.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c index 16f902890..826c5753f 100644 --- a/src/testing/testing.c +++ b/src/testing/testing.c | |||
@@ -544,7 +544,8 @@ GNUNET_TESTING_hostkey_get (const struct GNUNET_TESTING_System *system, | |||
544 | private_key = GNUNET_CRYPTO_ecc_decode_key (system->hostkeys_data + | 544 | private_key = GNUNET_CRYPTO_ecc_decode_key (system->hostkeys_data + |
545 | (key_number * | 545 | (key_number * |
546 | GNUNET_TESTING_HOSTKEYFILESIZE), | 546 | GNUNET_TESTING_HOSTKEYFILESIZE), |
547 | GNUNET_TESTING_HOSTKEYFILESIZE); | 547 | GNUNET_TESTING_HOSTKEYFILESIZE, |
548 | GNUNET_NO); | ||
548 | if (NULL == private_key) | 549 | if (NULL == private_key) |
549 | { | 550 | { |
550 | LOG (GNUNET_ERROR_TYPE_ERROR, | 551 | LOG (GNUNET_ERROR_TYPE_ERROR, |