Skip to content

Commit

Permalink
Merge remote-tracking branch 'tor-gitlab/mr/504'
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathewson committed Dec 16, 2021
2 parents ecffdb0 + a86918d commit 5591a3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ext/ed25519/donna/test-ticks.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ get_ticks(void) {
__asm__ __volatile__("rdtsc" : "=a" (lo), "=d" (hi));
return ((uint64_t)lo | ((uint64_t)hi << 32));
#else
need rdtsc for this compiler
#error need rdtsc for this compiler
#endif
#elif defined(OS_SOLARIS)
return (uint64_t)gethrtime();
Expand All @@ -35,7 +35,7 @@ get_ticks(void) {
t = ((uint64_t)t2.tv_usec << 32) | (uint64_t)t2.tv_sec;
return t;
#else
need ticks for this platform
#error need ticks for this platform
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion src/feature/client/entrynodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -2743,7 +2743,7 @@ entry_guards_upgrade_waiting_circuits(guard_selection_t *gs,
{NONPRIMARY_GUARD_CONNECT_TIMEOUT} seconds."
*/
circuit_guard_state_t *state = origin_circuit_get_guard_state(circ);
if BUG((state == NULL))
if (BUG(state == NULL))
continue;
if (state->state != GUARD_CIRC_STATE_COMPLETE)
continue;
Expand Down

0 comments on commit 5591a3b

Please sign in to comment.