What's wrong

From: ohp(at)pyrenet(dot)fr
To: pgsql-hackers list <pgsql-hackers(at)postgresql(dot)org>
Subject: What's wrong
Date: 2003-03-31 18:02:08
Message-ID: Pine.UW2.4.53.0303311956520.29616@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

I have a problem with the attached C function sine I went to 7.3
Obviously, post_crypt(text) encrypts a clear password and
sql_crypt(text,text) is supposed to encrypt the clear passwd with the
encrypted value.

It worked fine in 7.2 but now IFAICS, it never gives the original result
and moreover, if I run SELECT sql_crypt('xxx','xxx') several times, it
gives 3 diferent results and loops other those 3 results.

I must have done something wrong but what???

TIA

--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
Quartier d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

Attachment Content-Type Size
encrypt.c text/plain 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message scott.marlowe 2003-03-31 18:06:08 Re: Changing behavior of BEGIN...sleep...do something...COMMIT
Previous Message Peter Eisentraut 2003-03-31 17:59:41 Re: updateable cursors & visibility