Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkZt7-0007OB-Qr for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 16:51:49 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkZt7-0003AP-DC for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 16:51: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 1bkZt6-0003AJ-SO for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 16:51:48 +0000 Received: from mail-lf0-x242.google.com ([2a00:1450:4010:c07::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bkZt4-00077c-3R for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 16:51:48 +0000 Received: by mail-lf0-x242.google.com with SMTP id s64so3535548lfs.2 for ; Thu, 15 Sep 2016 09:51:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=ta4Y4RcqUgS0xnbApRbFKP6BjGiwA60uyG0p2j3cOME=; b=Nz1eoYrfe2l1IeH0fbcbgH4lcYQZgmWGo+peuHOrRtIFq4UQRReGGlSGJgf2dCkoD9 nXeCvtC6Sgak6d88VFtbdEQlLa5LHH8fCK6WzbjmryC7crxd5f3c1ZLWxtMjZYygFfI5 mEOCfLPRDhFZMDIJtnNzvuhyIc6O8MLN7ICH9PCRVEtn8mp8RRdwKDEwB+NXw/GYeZYi I6KuFixgY487Eeacg1kK2801V37ZghfrYc9NKxuxisEznCJjm/wcVJ91YygzaBgAACka o1h7rECdZjs7CjbK7hpVjzefrSxeOT5PnU2DLrvYZXFwCXiL5e2iTQepL7ArH1OTrYkA SlKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:cc:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=ta4Y4RcqUgS0xnbApRbFKP6BjGiwA60uyG0p2j3cOME=; b=cOkYNetpxQP+S9f+WL9BB4BjE7tM43XZCp0KfQ8w/aBl1DFQm3DdUTENIRp9a3WHwf LgrUJ/2LubBM/tLcveFORgyG8TrtyFfXeb52eowEKsXw+uQ0AQ0/m8z7KP2JXLlLAwAp LuAz8yfxOjSGwOCsjreNGZSXxWxMQG+W05KU6yaftujnM288MU+NP5J4u3vtWct2QxtL +tKbGiSBxihFd023Ot+MZceB81fZ+3IaVwhDBt/1YHdHP/Lwsj7lL+bZBYGhRG4wFA0u khczG0g1ASR8VxIkllg3xcwn7sL+Tk1TGD3N7XIQfiXUdPau86m+/4GZXBpjXA8EP2Mt c1Hw== X-Gm-Message-State: AE9vXwPLL0dw9J+oyceDgfP8Kl30yk73Ns7WTYYq++hI0VFlXsScCdxJWYkmk2FqYhkLOQ== X-Received: by 10.194.205.2 with SMTP id lc2mr9726361wjc.175.1473958304633; Thu, 15 Sep 2016 09:51:44 -0700 (PDT) Received: from [192.168.1.111] (dsl-hkibrasgw1-58c38f-82.dhcp.inet.fi. [88.195.143.82]) by smtp.gmail.com with ESMTPSA id 142sm3255820wmh.12.2016.09.15.09.51.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 09:51:44 -0700 (PDT) Subject: Re: [COMMITTERS] pgsql: Support OpenSSL 1.1.0. To: Tom Lane References: <2442.1473957669@sss.pgh.pa.us> Cc: pgsql-hackers@postgreSQL.org, mikael.kjellstrom@gmail.com From: Heikki Linnakangas Message-ID: <96dabede-e72a-b51f-13b9-c8d85216a7f0@iki.fi> Date: Thu, 15 Sep 2016 19:51:42 +0300 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: <2442.1473957669@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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/15/2016 07:41 PM, Tom Lane wrote: > Heikki Linnakangas writes: >> Support OpenSSL 1.1.0. > > Buildfarm member curculio doesn't like this patch. I suspect the reason > is it's got some slightly-too-old version of OpenSSL, but if so, we ought > to try to fix configure's probe so the problem gets reported at configure > time, not somewhere down in the build. > > Mikael, what openssl version is on that box exactly? (And could you > fix it to start building the 9.6 branch?) Hmm, that's odd: > be-secure-openssl.c: In function 'my_BIO_s_socket': > be-secure-openssl.c:732: warning: implicit declaration of function 'BIO_get_new_index' > be-secure-openssl.c:735: warning: implicit declaration of function 'BIO_meth_new' > be-secure-openssl.c:735: warning: assignment makes pointer from integer without a cast > ... It looks it's taking the OpenSSL 1.1.0 codepath: > #if OPENSSL_VERSION_NUMBER >= 0x10100000L > int my_bio_index; > > my_bio_index = BIO_get_new_index(); > if (my_bio_index == -1) > return NULL; > ... Wild guess: curculio is building with LibreSSL, which claims to be OpenSSL >= 1.1.0, but it doesn't actually implement all the functions that OpenSSL 1.1.0 does. Looks like we need some more autoconf scripting to detect LibreSSL. Or switch to detecting the existence of individual functions, rather than checking the version number. That would be more autoconf-like anyway. - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers