aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-01 22:01:26 -0500
committerNick Mathewson <nickm@torproject.org>2013-03-01 22:01:26 -0500
commit55ce9bff549c4709ec14486633a4a024a288b59a (patch)
tree6a897b49445ffd9e9d8745724104f65e3547a20b /src/test/test_crypto.c
parenta05dc378e391b868a694914bd763d057930f076a (diff)
downloadtor-55ce9bff549c4709ec14486633a4a024a288b59a.tar
tor-55ce9bff549c4709ec14486633a4a024a288b59a.tar.gz
Remove unused check_fingerprint_syntax
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r--src/test/test_crypto.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index 1f12c87ac..645fc9f8a 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);