Re: [HACKERS] GnuTLS support - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] GnuTLS support
Date
Msg-id CAB7nPqQd9va3_2EUMm9xsRNqCNmaZZh+HcoKtrBAEyhc8xTREQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] GnuTLS support  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: [HACKERS] GnuTLS support  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On Mon, Nov 27, 2017 at 10:05 AM, Andreas Karlsson <andreas@proxel.se> wrote:
> The script for the windows version takes the
> --with-openssl=<path> switch so that cannot just be translated to a single
> --with-ssl switch. Should to have both --with-openssl and --with-gnutls or
> --with-ssl=(openssl|gnutls) and --with-ssl-path=<path>? I also do not know
> the Windows build code very well (or really at all).

By default --with-openssl does not take a path with ./configure. When
using gnutls, do the name of the libraries and the binaries generated
change compared to openssl? If yes, and I guess that it is the case,
you will need to be able to make the difference between gnutls and
openssl anyway as the set of perl scripts in src/tools/msvc need to
make the difference with deliverables at name-level. I would be
personally fine with just listing gnutls in the list of options and
comment it as --with-ssl=<path>, and change the openssl comment to
match that.
-- 
Michael


pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: [HACKERS] GnuTLS support
Next
From: Andreas Karlsson
Date:
Subject: Typo in config_default.pl comment