Re: GnuTLS support

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Andreas Karlsson <andreas(at)proxel(dot)se>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GnuTLS support
Date: 2017-09-15 16:55:00
Message-ID: CAMkU=1wWscU32rsXUEnBsgp4a3Zumb0+jj9dFX3SNjkAWQQWhA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 31, 2017 at 10:52 AM, Andreas Karlsson <andreas(at)proxel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dipesh Dangol 2017-09-15 16:56:11 pgjdbc logical replication client throwing exception
Previous Message Robert Haas 2017-09-15 16:31:53 Re: SQL/JSON in PostgreSQL