aboutsummaryrefslogtreecommitdiff
path: root/src/trunnel/ed25519_cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trunnel/ed25519_cert.c')
-rw-r--r--src/trunnel/ed25519_cert.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trunnel/ed25519_cert.c b/src/trunnel/ed25519_cert.c
index 2a84e4b163..6931eae722 100644
--- a/src/trunnel/ed25519_cert.c
+++ b/src/trunnel/ed25519_cert.c
@@ -1,4 +1,4 @@
-/* ed25519_cert.c -- generated by Trunnel v1.2.
+/* ed25519_cert.c -- generated by Trunnel v1.4.1.
* https://gitweb.torproject.org/trunnel.git
* You probably shouldn't edit this file.
*/
@@ -862,7 +862,7 @@ ed25519_cert_parse_into(ed25519_cert_t *obj, const uint8_t *input, const size_t
truncated:
return -2;
relay_fail:
- if (result >= 0) result = -1;
+ trunnel_assert(result < 0);
return result;
trunnel_alloc_failed:
return -1;