diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-06-05 16:35:37 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-05 16:35:37 -0400 |
commit | d561da10ddb429e1d3f4f74723e94e39f7257a9e (patch) | |
tree | e363dede5b3e7673bac3ceb10efabc134d8fe8e6 | |
parent | 9fea00928cb680f550a5ea9c64227efc025ea69b (diff) | |
download | tor-d561da10ddb429e1d3f4f74723e94e39f7257a9e.tar.gz tor-d561da10ddb429e1d3f4f74723e94e39f7257a9e.zip |
Rename "link" variable to avoid shadowing warning.
-rw-r--r-- | src/test/test_link_handshake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test_link_handshake.c b/src/test/test_link_handshake.c index b979485967..ddf66f4d34 100644 --- a/src/test/test_link_handshake.c +++ b/src/test/test_link_handshake.c @@ -104,9 +104,9 @@ test_link_handshake_certs_ok(void *arg) key1, key2, 86400), ==, 0); { - 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; |