summaryrefslogtreecommitdiff
path: root/src/test/test_crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-23 23:38:43 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-23 23:38:43 -0500
commita4e9d672924f027c3e66220a8f70427d42154fe2 (patch)
tree6ce56ec6484d614723ba71114cd9b9545de61a2b /src/test/test_crypto.c
parent5bfa373eeeb2d76879fe8b0ea130724176f54e81 (diff)
downloadtor-a4e9d672924f027c3e66220a8f70427d42154fe2.tar.gz
tor-a4e9d672924f027c3e66220a8f70427d42154fe2.zip
Remove some functions which were unused except for their tests
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 afb338a69c..c531c60838 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -636,22 +636,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);