diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-12-07 16:36:35 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-12-07 16:36:35 +0100 |
commit | 2f5243101b3cfbdb173357ae7781802191e32f50 (patch) | |
tree | b53e5cad14aa164ea7bfa2e8865f361fa90d3252 /src/pq | |
parent | c5a41c2269fe4516eb54a54d577aed8569198f20 (diff) | |
download | gnunet-2f5243101b3cfbdb173357ae7781802191e32f50.tar.gz gnunet-2f5243101b3cfbdb173357ae7781802191e32f50.zip |
fix sig serialization
Diffstat (limited to 'src/pq')
-rw-r--r-- | src/pq/pq_query_helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
364 | &buf); | 364 | &buf); |
365 | scratch[0] = buf; | 365 | scratch[0] = buf; |
366 | param_values[0] = (void *) buf; | 366 | param_values[0] = (void *) buf; |
367 | param_lengths[0] = buf_size - 1; /* DB doesn't like the trailing \0 */ | 367 | param_lengths[0] = buf_size; |
368 | param_formats[0] = 1; | 368 | param_formats[0] = 1; |
369 | return 1; | 369 | return 1; |
370 | } | 370 | } |