diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-06-10 13:51:53 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-06-10 13:51:53 -0400 |
commit | c94f6b228b0f6296a1fd74a5e12373754d5f07a9 (patch) | |
tree | 7a1c51dac74242473b7c2b614b3686ed2c9306a2 /src/test/test_crypto.c | |
parent | 7f9066ceee32f4df6d94b18c7b65e92d1730fce8 (diff) | |
download | tor-c94f6b228b0f6296a1fd74a5e12373754d5f07a9.tar.gz tor-c94f6b228b0f6296a1fd74a5e12373754d5f07a9.zip |
Fix "make check-spaces"
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r-- | src/test/test_crypto.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index e45fbb8898..f391cce6e6 100644 --- a/src/test/test_crypto.c +++ b/src/test/test_crypto.c @@ -526,15 +526,15 @@ test_crypto_digests(void) r = crypto_pk_get_digest(k, digest); test_assert(r == 0); test_memeq(hex_str(digest, DIGEST_LEN), - AUTHORITY_SIGNKEY_1_DIGEST, HEX_DIGEST_LEN); + AUTHORITY_SIGNKEY_1_DIGEST, HEX_DIGEST_LEN); r = crypto_pk_get_all_digests(k, &pkey_digests); test_memeq(hex_str(pkey_digests.d[DIGEST_SHA1], DIGEST_LEN), - AUTHORITY_SIGNKEY_1_DIGEST, HEX_DIGEST_LEN); + AUTHORITY_SIGNKEY_1_DIGEST, HEX_DIGEST_LEN); test_memeq(hex_str(pkey_digests.d[DIGEST_SHA256], DIGEST256_LEN), - AUTHORITY_SIGNKEY_1_DIGEST256, HEX_DIGEST256_LEN); -done: + AUTHORITY_SIGNKEY_1_DIGEST256, HEX_DIGEST256_LEN); + done: crypto_pk_free(k); } |