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

From Jeff Janes
Subject Re: [HACKERS] GnuTLS support
Date
Msg-id CAMkU=1wWscU32rsXUEnBsgp4a3Zumb0+jj9dFX3SNjkAWQQWhA@mail.gmail.com
Whole thread Raw
In response to [HACKERS] GnuTLS support  (Andreas Karlsson <andreas@proxel.se>)
Responses Re: [HACKERS] GnuTLS support
List pgsql-hackers


On Thu, Aug 31, 2017 at 10:52 AM, Andreas Karlsson <andreas@proxel.se> wrote:



= Work left to do

- Test code with older versions of GnuTLS


I can't build against gnutls-2.12.23-21.el6.x86_64 from CentOS 6.9

be-secure-gnutls.c: In function 'be_tls_init':
be-secure-gnutls.c:168: warning: implicit declaration of function 'gnutls_certificate_set_pin_function'
be-secure-gnutls.c: In function 'get_peer_certificate':
be-secure-gnutls.c:656: error: 'GNUTLS_X509_CRT_LIST_SORT' undeclared (first use in this function)
be-secure-gnutls.c:656: error: (Each undeclared identifier is reported only once
be-secure-gnutls.c:656: error: for each function it appears in.)

But I can build on ubuntu 16.04, using whatever baffling salami of package versions they turned gnutls into on that system.

I can interoperate in both direction gnutls client to openssl server and the reverse (and gnutls to gnutls).

Cheers,

Jeff

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] SQL/JSON in PostgreSQL
Next
From: Dipesh Dangol
Date:
Subject: [HACKERS] pgjdbc logical replication client throwing exception