diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-11-30 12:07:59 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-11-30 12:07:59 -0500 |
commit | cef844d0179e7ef6721795ef1c449f5e4ed24e73 (patch) | |
tree | af863c7b215293d1eef3873e5d8e9a2d976e3c68 /src/or/protover.c | |
parent | 6c355d576354a252c642ff6f3e7781580c007c48 (diff) | |
parent | fd73a168ca5bf8ea6a0fa01878dd16d356d14cfa (diff) | |
download | tor-cef844d0179e7ef6721795ef1c449f5e4ed24e73.tar.gz tor-cef844d0179e7ef6721795ef1c449f5e4ed24e73.zip |
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/or/protover.c')
-rw-r--r-- | src/or/protover.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/protover.c b/src/or/protover.c index d6d14b24a2..748c0c2f50 100644 --- a/src/or/protover.c +++ b/src/or/protover.c @@ -737,6 +737,11 @@ protocol_list_contains(const smartlist_t *protos, const char * protover_compute_for_old_tor(const char *version) { + if (version == NULL) { + /* No known version; guess the oldest series that is still supported. */ + version = "0.2.5.15"; + } + if (tor_version_as_new_as(version, FIRST_TOR_VERSION_TO_ADVERTISE_PROTOCOLS)) { return ""; |