Re: SSL (patch 4) - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: SSL (patch 4)
Date
Msg-id Pine.LNX.4.44.0205272213480.2460-100000@localhost.localdomain
Whole thread Raw
In response to SSL (patch 4)  (Bear Giles <bgiles@coyotesong.com>)
Responses Re: SSL (patch 4)
List pgsql-patches
Bear Giles writes:

> This patch adds a check that the server certificate common name
> resolves to the other side of the socket.

gethostbyname2() is a GNU thing.  AF_INET6 code needs to be #ifdef'd to
something because not every host handles IPv6.  Avoid using fixed-size
arrays for names if possible.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: SSL (patch 3)
Next
From: Peter Eisentraut
Date:
Subject: Re: SSL (patch 5)