Rep:Re: Error Writing/Reading Encrypted Values

From: <cnliou(at)eurosport(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Rep:Re: Error Writing/Reading Encrypted Values
Date: 2002-01-15 00:51:55
Message-ID: 200201150051.3761@th00.opsion.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi! Hiroshi,

Thank you again for the big help!

[ begin of quote ]
> I also found in Windoz that when my encryption
> routine aborts, the retrieved encrypted string is
> actually corrupted - its string length is 1 byte
> longer than it is supposed to be.

There could be the following case.

Windows client *nix server

'\n' ---> '\n'
(not preceded by 'r')
\r\n <--- '\n'

[ end of quote ]

I will check this out.
My C routine does not add the *unwanted* '\r'. I
won't think delphi does that either. Does pgsqlODBC
do this unwanted conversion?

Best Regards,

CN

--------------------------------------------------------
You too can have your own email address from Eurosport.
http://www.eurosport.com

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Curtis Galloway 2002-01-15 00:59:41 Bad SQL generated by application
Previous Message Curtis Galloway 2002-01-15 00:14:40 Bad SQL generated by application