diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-06-05 15:51:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-06-05 15:51:11 -0400 |
commit | 91f49bc0f0759d0e0a794fbfe8cce5a9bb07e607 (patch) | |
tree | c1f8700691b13fd3a1f343ae9b2db68cd31d32e7 /src/or/connection_or.h | |
parent | d5acdadaeffa8e1c61abef5881e9cc6e42d9a755 (diff) | |
download | tor-91f49bc0f0759d0e0a794fbfe8cce5a9bb07e607.tar.gz tor-91f49bc0f0759d0e0a794fbfe8cce5a9bb07e607.zip |
Fix unit tests to work after own_link_cert assertion
The assert_nonfatal() I had added was triggered by some of the code
that tested the pre-ed case of CERTS cell generation.
Diffstat (limited to 'src/or/connection_or.h')
-rw-r--r-- | src/or/connection_or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/connection_or.h b/src/or/connection_or.h index 80a5bddb14..514a0fd008 100644 --- a/src/or/connection_or.h +++ b/src/or/connection_or.h @@ -112,5 +112,9 @@ void var_cell_free(var_cell_t *cell); void connection_or_group_set_badness_(smartlist_t *group, int force); +#ifdef TOR_UNIT_TESTS +extern int certs_cell_ed25519_disabled_for_testing; +#endif + #endif |