Browse Source

Merge branch 'maint-0.2.9' into maint-0.3.0

Nick Mathewson 6 years ago
parent
commit
ac1ddd5e5b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/test/test_link_handshake.c

+ 3 - 3
src/test/test_link_handshake.c

@@ -155,9 +155,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;