pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgreSQL.org
Cc: mikael.kjellstrom@gmail.com
Subject: Re: [COMMITTERS] pgsql: Support OpenSSL 1.1.0.
Date: Thu, 15 Sep 2016 20:21:56 +0300
Message-ID: <480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi> (raw)
In-Reply-To: <96dabede-e72a-b51f-13b9-c8d85216a7f0@iki.fi>
References: <E1bkVG3-0000L8-Ln@gemulon.postgresql.org>
	<2442.1473957669@sss.pgh.pa.us>
	<96dabede-e72a-b51f-13b9-c8d85216a7f0@iki.fi>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

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



view thread (6+ messages)

Message-ID: <480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi>
Permalink:  ../480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi/
Also on:    postgresql.org/message-id/480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: hlinnaka@iki.fi, tgl@sss.pgh.pa.us, pgsql-hackers@postgreSQL.org, mikael.kjellstrom@gmail.com
  Subject: Re: [COMMITTERS] pgsql: Support OpenSSL 1.1.0.
  In-Reply-To: <480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi>
  References: <E1bkVG3-0000L8-Ln@gemulon.postgresql.org> <2442.1473957669@sss.pgh.pa.us> <96dabede-e72a-b51f-13b9-c8d85216a7f0@iki.fi> <480aaf7b-4eee-a29b-914a-bd2d40767040@iki.fi>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox