Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXDko-0002j2-EJ for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jan 2018 22:12:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eXDkn-00022k-JC for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jan 2018 22:12:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eXDkn-00022a-Ct for pgsql-hackers@lists.postgresql.org; Thu, 04 Jan 2018 22:12:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eXDkk-0007M5-Pr for pgsql-hackers@postgresql.org; Thu, 04 Jan 2018 22:12:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w04MCfEr000396; Thu, 4 Jan 2018 17:12:41 -0500 From: Tom Lane To: Peter Eisentraut cc: Michael Paquier , Robert Haas , =?UTF-8?Q?=c3=81lvaro_Hern=c3=a1ndez_Tortosa?= , "pgsql-hackers@postgresql.org" Subject: Re: [JDBC] [HACKERS] Channel binding support for SCRAM-SHA-256 In-reply-to: <25b55513-749c-8cb6-d544-c4e177fd3351@2ndquadrant.com> References: <6de87398-a9da-aa8b-a4c2-ca06ef8d757c@2ndquadrant.com> <0eeb65bc-7f7d-064f-bbe2-5814c9763873@2ndquadrant.com> <20171222025908.GA11776@paquier.xyz> <63b10730-d6d6-fe96-c86b-b2ef4d320be7@2ndquadrant.com> <20171227002740.GA1727@paquier.xyz> <20171228071900.GA26798@paquier.xyz> <9ac07df0-784a-cb03-a9e1-1454eca16b3b@2ndquadrant.com> <89cbbbf1-4c92-48bd-7d37-e3a31ec09af5@2ndquadrant.com> <30240.1515100626@sss.pgh.pa.us> <25b55513-749c-8cb6-d544-c4e177fd3351@2ndquadrant.com> Comments: In-reply-to Peter Eisentraut message dated "Thu, 04 Jan 2018 16:53:27 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <394.1515103961.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 04 Jan 2018 17:12:41 -0500 Message-ID: <395.1515103961@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 1/4/18 16:17, Tom Lane wrote: >> dromedary is whinging about OBJ_find_sigid_algs, as well. > Yeah, it seems like we might need to fine-tune this a bit more to make > it work across all OpenSSL versions. I'm going to let the buildfarm > take a run through the current code and see what other issues arise. Well, it looks like the older machines don't like OBJ_find_sigid_algs, and the newest machines don't like what you're trying to pass to it: /home/andres/build/buildfarm-calliphoridae/HEAD/pgsql.build/../pgsql/src/b= ackend/libpq/be-secure-openssl.c: In function =E2=80=98be_tls_get_certific= ate_hash=E2=80=99: /home/andres/build/buildfarm-calliphoridae/HEAD/pgsql.build/../pgsql/src/b= ackend/libpq/be-secure-openssl.c:1268:50: error: dereferencing pointer to = incomplete type =E2=80=98X509 {aka struct x509_st}=E2=80=99 if (!OBJ_find_sigid_algs(OBJ_obj2nid(server_cert->sig_alg->algorithm), ^~ so this is looking mighty like a crashed and burned patch from here :-( regards, tom lane