> ISTM that in this line:
>
> keying = (text *)palloc( keylen + unamelen );
>
> You forgot to include the length of the header VARHDRSZ.
>
Aha, that'd be it, it's been a long day.
Thanks Martijn
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your
On Thu, Oct 30, 2008 at 05:27:58PM +, Glyn Astill wrote:
> Hi chaps,
>
> I think I'm going to struggle to describe this, but hopefully someone can
> squint and see where I'm going wrong.
>
> I've got a c function called "ftest", all it does is take some text and
> prepend "abcdefghijklmnopq
Hi chaps,
I think I'm going to struggle to describe this, but hopefully someone can
squint and see where I'm going wrong.
I've got a c function called "ftest", all it does is take some text and prepend
"abcdefghijklmnopqr" onto it. I use it to pass a key into
pgp_sym_encrypt/decrypt working on