fix sig serialization
authorChristian Grothoff <christian@grothoff.org>
Sat, 7 Dec 2019 15:36:35 +0000 (16:36 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sat, 7 Dec 2019 15:36:35 +0000 (16:36 +0100)
src/pq/pq_query_helper.c

index 34de97eb34211ecef02071c11162d13784a5c9a0..8bdf8144a7b647efbb5f3962839ddfc9e04e45cf 100644 (file)
@@ -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;
 }