diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-05-28 12:44:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-28 12:44:52 -0400 |
commit | e045c3e1e8a4b455ca4e6ee4429a0b5b02382f75 (patch) | |
tree | 8d9085222c0ea9f13e98a7c7092c5eeecbd2436b /src/trunnel/link_handshake.c | |
parent | a348df6d8b049785ffaec4a56adda744a63a9581 (diff) | |
download | tor-e045c3e1e8a4b455ca4e6ee4429a0b5b02382f75.tar.gz tor-e045c3e1e8a4b455ca4e6ee4429a0b5b02382f75.zip |
Update trunnel code.
This gets the minor change in trunnel 1.4.1, which should avoid
deadcode warnings from Coverity.
Diffstat (limited to 'src/trunnel/link_handshake.c')
-rw-r--r-- | src/trunnel/link_handshake.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trunnel/link_handshake.c b/src/trunnel/link_handshake.c index 9630d1340d..f53161a3e5 100644 --- a/src/trunnel/link_handshake.c +++ b/src/trunnel/link_handshake.c @@ -1,4 +1,4 @@ -/* link_handshake.c -- generated by Trunnel v1.4-pre. +/* link_handshake.c -- generated by Trunnel v1.4.1. * https://gitweb.torproject.org/trunnel.git * You probably shouldn't edit this file. */ @@ -1863,7 +1863,7 @@ certs_cell_parse_into(certs_cell_t *obj, const uint8_t *input, const size_t len_ truncated: return -2; relay_fail: - if (result >= 0) result = -1; + trunnel_assert(result < 0); return result; trunnel_alloc_failed: return -1; |