Re: libpq with ssl under win32 - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: libpq with ssl under win32
Date
Msg-id 200309050206.h8526Xw09020@candle.pha.pa.us
Whole thread Raw
In response to libpq with ssl under win32  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-patches
Andreas Pflug wrote:
> The attached patch enables libpq to be linked with ssl support (openssl
> 0.9.7.b tested).
> Client certificates are commented out because the implementation is *nix
> specific, regarding the location resolution of the .pem files. It needs
> to be discussed where these files should be located. For NT/W2K and up,
> the natural way would be using GetUserProfileDirectory, but this would
> exclude Win9x.

Can't we check the OS version via the compiler?  Maybe not portabily
between the various compilers supported.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Warning for missing createlang
Next
From: Bruce Momjian
Date:
Subject: Re: libpq-win32 patches