From 2f5243101b3cfbdb173357ae7781802191e32f50 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 7 Dec 2019 16:36:35 +0100 Subject: [PATCH] fix sig serialization --- src/pq/pq_query_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1