Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkaNj-0001D3-Gx for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 17:23:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkaNj-0002AC-3U for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Sep 2016 17:23:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bkaML-0000eV-W5 for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 17:22:02 +0000 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bkaMJ-0006lq-BM for pgsql-hackers@postgresql.org; Thu, 15 Sep 2016 17:22:00 +0000 Received: by mail-qk0-x22d.google.com with SMTP id t7so63588672qkh.2 for ; Thu, 15 Sep 2016 10:21:59 -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=XBaANMUQRthmfIZ7vbRaNtW74p2Y6FOYHwB2Jju5X5E=; b=HQbNxOHnNyQ4aMHe6hhKYARMHoMksdQ7Ia8RyH3ZOdMt+zyFg4xao+LcCgZn2PoQh3 VYwXywcQgBFhSnZv49v5cFRVuWgBY5k6kco6qUZvBF4HZs+1p/U9Vdn1qJ8t8oGL4nrb rKp3GnKihV7JvXn7BBn/7jPAOWE1+q4yFf6liKd+OgOmvMb20F9sHiONxQZb5HLTQT9N G9Dh9ZWxZGhm2BJ3LwMhb6ejAONAhzHiTakvRTYyagMO0gyQO8v+KHPeNYEUzYhGO9Ya w8/90N61cabXaznKMjE+mG4ETmyUK3wI6zrAwknT4H+Quk/ZYzv2KncjDAVSgLCJ+w5o I9xA== 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=XBaANMUQRthmfIZ7vbRaNtW74p2Y6FOYHwB2Jju5X5E=; b=P+LmsujOm+JQuOwofz8jnfdjhkyeJUEa4W+MrWK2t3aXiZ4TIIBS9g9oboXX/dwwMl osHRwmvAsCN1hBAjzVegUA2aOijaNy54tiTscNomh0u+tVB1yxPtqaPTeU8sFROTzRK9 fB4yLykUMnTtVM0za6PoNzmjeoLvAXZaZJzxHz7OkZ3EHqsaz5ZDRYyiIvXqd2OAa/BF yfH6eX7E9EO2mb6eGWP4rBHJWdbjdem07WDtY35gCFozDWP+0ocfhgRAQPnyKkfIpb5/ 87ByDXdWrDqRtWCVosoFP4A4VvhZlszbYNeekF1gNe1CCq9TQw/EAEEuaiOdqCa7zV6u Cygg== X-Gm-Message-State: AE9vXwPibzhdBfpUXKS3Wt7wiucHiHTnfqUjgF2RMxrU3Ye3/1bwdcl66xjHRhgFm0Zo1w== X-Received: by 10.195.12.230 with SMTP id et6mr1333168wjd.198.1473960118352; Thu, 15 Sep 2016 10:21:58 -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 bw9sm4382161wjc.33.2016.09.15.10.21.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 10:21:57 -0700 (PDT) Subject: Re: [COMMITTERS] pgsql: Support OpenSSL 1.1.0. To: Tom Lane References: <2442.1473957669@sss.pgh.pa.us> <96dabede-e72a-b51f-13b9-c8d85216a7f0@iki.fi> Cc: pgsql-hackers@postgreSQL.org, mikael.kjellstrom@gmail.com From: Heikki Linnakangas Message-ID: <480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi> Date: Thu, 15 Sep 2016 20:21:56 +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: <96dabede-e72a-b51f-13b9-c8d85216a7f0@iki.fi> 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:51 PM, Heikki Linnakangas wrote: > 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. I downloaded LibreSSL and I'm getting similar errors on my laptop. So yes, that seems to be the problem. LibreSSL defines: > /* These will change with each release of LibreSSL-portable */ > #define LIBRESSL_VERSION_NUMBER 0x2040200fL > #define LIBRESSL_VERSION_TEXT "LibreSSL 2.4.2" > > /* These will never change */ > #define OPENSSL_VERSION_NUMBER 0x20000000L > #define OPENSSL_VERSION_TEXT LIBRESSL_VERSION_TEXT > #define OPENSSL_VERSION_PTEXT " part of " OPENSSL_VERSION_TEXT I'm going to replace the OPENSSL_VERSION_NUMBER #ifdefs with autoconf AC_CHECK_FUNCS checks for the actual functions we need. - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers