Avoid crashing if we call num_usable_bridges() when bridges are not enabled
commitd7833c9d27feed9e4d4d4d4b5920b5d17150b82d
authorteor <teor2345@gmail.com>
Tue, 21 Nov 2017 15:01:51 +0000 (22 02:01 +1100)
committerteor <teor2345@gmail.com>
Tue, 21 Nov 2017 15:01:51 +0000 (22 02:01 +1100)
tree1b4ca25616377499e40638d444daa296ff442ef8
parent690f646bf8a5de9b099fb5295ba9ff252e5606f4
Avoid crashing if we call num_usable_bridges() when bridges are not enabled

This applies the changes in 23524 to num_usable_bridges(), because it has
replaced any_bridge_descriptors_known().

The original changes file still applies.
src/or/entrynodes.c