aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_link_handshake.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-06-05 16:35:40 -0400
committerNick Mathewson <nickm@torproject.org>2017-06-05 16:35:40 -0400
commit5343d2b03c8158fcd9c8811e367e26ac6bfa9827 (patch)
tree68a5941caf91184402606b82ede56c2ba47a8141 /src/test/test_link_handshake.c
parente3b1573be6aefc91946fa4649591ed1690d77ee8 (diff)
parentac1ddd5e5bf86b85553b685d6ffa256ef555d94a (diff)
downloadtor-5343d2b03c8158fcd9c8811e367e26ac6bfa9827.tar.gz
tor-5343d2b03c8158fcd9c8811e367e26ac6bfa9827.zip
Merge branch 'maint-0.3.0'
Diffstat (limited to 'src/test/test_link_handshake.c')
-rw-r--r--src/test/test_link_handshake.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c
index 6e5f4430d5..99f47c0344 100644
--- a/src/test/test_link_handshake.c
+++ b/src/test/test_link_handshake.c
@@ -148,9 +148,9 @@ test_link_handshake_certs_ok(void *arg)
/* c1 has started_here == 1 */
{
- const tor_x509_cert_t *link = NULL;
- tt_assert(!tor_tls_get_my_certs(1, &link, NULL));
- mock_own_cert = tor_x509_cert_dup(link);
+ const tor_x509_cert_t *link_cert = NULL;
+ tt_assert(!tor_tls_get_my_certs(1, &link_cert, NULL));
+ mock_own_cert = tor_x509_cert_dup(link_cert);
}
c1->base_.state = OR_CONN_STATE_OR_HANDSHAKING_V3;