Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkK90-0007sX-8g for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 00:03:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkK8z-0006qq-KI for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 00:03:09 +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 1bkK8y-0006q7-Bm for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 00:03:08 +0000 Received: from kilimanjaro.scorpionshops.com ([82.118.24.83]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkK8v-0003ZX-To for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 00:03:07 +0000 Received: from [192.168.1.4] (92-32-205-96.tn.glocalnet.net [92.32.205.96]) by kilimanjaro.scorpionshops.com (Postfix) with ESMTPSA id 46ADE7BC08D; Thu, 15 Sep 2016 02:03:04 +0200 (CEST) Subject: Re: OpenSSL 1.1 breaks configure and more To: Heikki Linnakangas , Victor Wagner , pgsql-hackers@postgresql.org, Christoph Berg , Tom Lane References: <20160627151604.GD1051@msg.df7cb.de> <1805.1467041061@sss.pgh.pa.us> <8a0a5959-0b83-3dc8-d9e7-66ce8c1c5bc7@proxel.se> <688a438c-ccc2-0431-7100-26e418fc3bca@proxel.se> <20160705121347.5c5c702f@fafnir.local.vm> <34821a62-ac89-ffb2-7516-7a8b15c04723@proxel.se> <7ff5558f-cff5-3768-2fb3-6b50b58294e5@iki.fi> <0d419332-ed78-71f8-7dd9-1aefdc6f5dca@proxel.se> <7b5c634b-902f-9b7f-3ba6-877dd265b46e@proxel.se> <5de6954f-4fd0-91b7-a575-9e337b2bb732@iki.fi> From: Andreas Karlsson Message-ID: Date: Thu, 15 Sep 2016 02:03:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: <5de6954f-4fd0-91b7-a575-9e337b2bb732@iki.fi> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 09/12/2016 06:51 PM, Heikki Linnakangas wrote: > Changes since last version: > > * Added more error checks to the my_BIO_s_socket() function. Check for > NULL result from malloc(). Check the return code of BIO_meth_set_*() > functions; looking at OpenSSL sources, they always succeed, but all the > test/example programs that come with OpenSSL do check them. > > * Use BIO_get_new_index() to get the index number for the wrapper BIO. > > * Also call BIO_meth_set_puts(). It was missing in previous patch versions. > > * Fixed src/test/ssl test suite to also work with OpenSSL 1.1.0. > > * Changed all references (in existing code) to SSLEAY_VERSION_NUMBER > into OPENSSL_VERSION_NUMBER, for consistency. > > * Squashed all into one patch. > > I intend to apply this to all supported branches, so please have a look! > This is now against REL9_6_STABLE, but there should be little difference > between branches in the code that this touches. This patch no longer seems to apply to head after the removed support of 0.9.6. Is that intentional? Andreas -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers