Skip to content
Snippets Groups Projects
Commit 8a36f212 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Fix a failure case of connection_ap_handshake_attach_circuit()

tor_fragile_assert() might be a no-op, so we have to return something
here to indicate failure to the caller.
parent f1cf9bd7
No related branches found
No related tags found
No related merge requests found
......@@ -1573,6 +1573,7 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
return -1;
default: /* oops */
tor_fragile_assert();
return -1;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment