Re: Re: Proposal for encrypting pg_shadow passwords

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Neil Padgett <npadgett(at)redhat(dot)com>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: Proposal for encrypting pg_shadow passwords
Date: 2001-08-15 21:26:42
Message-ID: 200108152126.f7FLQg107359@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> Bruce Momjian writes:
>
> > > Hmm... I used to be able to build in a separate tree than my source
> > > tree. Since this patch was applied, I can't. It seems that the
> > > preprocessor is finding the system md5.h (i.e. /usr/include/md5.h)
> > > rather than the PostgreSQL md5.h. Suggestions on how to fix?
>
> I kind of doubt that, since the new code does #include "libpq/md5.h".
>
> > Ewe, you have md5.h somewhere else. Let me rename it to pgmd5.h. Is
> > that OK for everyone? Or maybe I should move it all into crypt.h. That
> > seems to make more sense.
>
> No, the problem is that you are not supposed to have include files in the
> backend subtree. I'm surprised the code builds at all.

Oh, yes, I had moved md5.h to libpq because I needed md5.c. I should
have just pointed to libpq/md5.h. Anyway, it is better in crypt.h
anyway.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2001-08-15 21:29:03 Re: Re: Proposal for encrypting pg_shadow passwords
Previous Message Neil Padgett 2001-08-15 21:22:05 Re: Re: Proposal for encrypting pg_shadow passwords