diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-01 22:01:26 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-03-01 22:01:26 -0500 |
commit | 55ce9bff549c4709ec14486633a4a024a288b59a (patch) | |
tree | 6a897b49445ffd9e9d8745724104f65e3547a20b /src/test/test_crypto.c | |
parent | a05dc378e391b868a694914bd763d057930f076a (diff) | |
download | tor-55ce9bff549c4709ec14486633a4a024a288b59a.tar.gz tor-55ce9bff549c4709ec14486633a4a024a288b59a.zip |
Remove unused check_fingerprint_syntax
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r-- | src/test/test_crypto.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index 1f12c87ace..645fc9f8a6 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -608,22 +608,6 @@ test_crypto_formats(void) tor_free(data2); } - /* Check fingerprint */ - { - test_assert(crypto_pk_check_fingerprint_syntax( - "ABCD 1234 ABCD 5678 0000 ABCD 1234 ABCD 5678 0000")); - test_assert(!crypto_pk_check_fingerprint_syntax( - "ABCD 1234 ABCD 5678 0000 ABCD 1234 ABCD 5678 000")); - test_assert(!crypto_pk_check_fingerprint_syntax( - "ABCD 1234 ABCD 5678 0000 ABCD 1234 ABCD 5678 00000")); - test_assert(!crypto_pk_check_fingerprint_syntax( - "ABCD 1234 ABCD 5678 0000 ABCD1234 ABCD 5678 0000")); - test_assert(!crypto_pk_check_fingerprint_syntax( - "ABCD 1234 ABCD 5678 0000 ABCD1234 ABCD 5678 00000")); - test_assert(!crypto_pk_check_fingerprint_syntax( - "ACD 1234 ABCD 5678 0000 ABCD 1234 ABCD 5678 00000")); - } - done: tor_free(data1); tor_free(data2); |