diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-09-23 11:22:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-09-23 11:22:26 -0400 |
commit | 01733e2b1568dacea26765800fab2c66f0b16bd1 (patch) | |
tree | 5ffd894d152a052c54471a96c3ea25fabba341f2 /src/test/test_keypin.c | |
parent | efea1e904a17450fe9916a0032680f752bd40bc2 (diff) | |
download | tor-01733e2b1568dacea26765800fab2c66f0b16bd1.tar.gz tor-01733e2b1568dacea26765800fab2c66f0b16bd1.zip |
New AuthDirPinKeys option to enable/disable keypinning enforcement
Implements ticket #17135. We're going to need this one to avoid
chaos as everybody figures out how ed25519 keys work.
Diffstat (limited to 'src/test/test_keypin.c')
-rw-r--r-- | src/test/test_keypin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_keypin.c b/src/test/test_keypin.c index 033578cae8..bd0f6fdd52 100644 --- a/src/test/test_keypin.c +++ b/src/test/test_keypin.c @@ -131,7 +131,8 @@ test_keypin_parse_file(void *arg) smartlist_free(mock_addent_got); } -#define ADD(a,b) keypin_check_and_add((const uint8_t*)(a),(const uint8_t*)(b)) +#define ADD(a,b) keypin_check_and_add((const uint8_t*)(a),\ + (const uint8_t*)(b),0) #define LONE_RSA(a) keypin_check_lone_rsa((const uint8_t*)(a)) static void |