Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXUbi-0003Lu-Do for pgsql-general@arkaria.postgresql.org; Sun, 11 Sep 2022 21:35:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oXUbg-0000oC-G5 for pgsql-general@arkaria.postgresql.org; Sun, 11 Sep 2022 21:35:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXUbg-0000o3-4r for pgsql-general@lists.postgresql.org; Sun, 11 Sep 2022 21:35:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXUbb-0001r8-IY for pgsql-general@lists.postgresql.org; Sun, 11 Sep 2022 21:35:11 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 28BLZ44K1206134; Sun, 11 Sep 2022 17:35:04 -0400 From: Tom Lane To: Daniel Gustafsson cc: Sebastien Flaesch , "pgsql-general@lists.postgresql.org" Subject: Re: lippq client library and openssl initialization: PQinitOpenSSL() In-reply-to: <9A09E47E-68EB-45DF-A934-FB76F2086D20@yesql.se> References: <816006.1662908880@sss.pgh.pa.us> <9A09E47E-68EB-45DF-A934-FB76F2086D20@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Sun, 11 Sep 2022 22:57:50 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1206132.1662932104.1@sss.pgh.pa.us> Date: Sun, 11 Sep 2022 17:35:04 -0400 Message-ID: <1206133.1662932104@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > On 11 Sep 2022, at 17:08, Tom Lane wrote: >> Don't believe so. The HAVE_CRYPTO_LOCK stuff is all obsolete and >> not compiled if you built against 1.1.0. The only thing left that >> will happen if you don't call PQinitOpenSSL is an extra call to >> OPENSSL_init_ssl, which should be harmless as far as I can see >> from the OpenSSL docs. > To the best of my knowledge, thats entirely correct. Should we document these functions as obsolete when using OpenSSL >= 1.1.0 ? regards, tom lane