From: Christian Grothoff Date: Sat, 7 Dec 2019 15:36:35 +0000 (+0100) Subject: fix sig serialization X-Git-Tag: v0.12.0~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2f5243101b3cfbdb173357ae7781802191e32f50;p=oweals%2Fgnunet.git fix sig serialization --- diff --git a/src/pq/pq_query_helper.c b/src/pq/pq_query_helper.c index 34de97eb3..8bdf8144a 100644 --- a/src/pq/pq_query_helper.c +++ b/src/pq/pq_query_helper.c @@ -364,7 +364,7 @@ qconv_rsa_signature (void *cls, &buf); scratch[0] = buf; param_values[0] = (void *) buf; - param_lengths[0] = buf_size - 1; /* DB doesn't like the trailing \0 */ + param_lengths[0] = buf_size; param_formats[0] = 1; return 1; }