Re: SSL connection check

From: 井上博史 <hinoue205(at)gmail(dot)com>
To: daniel(at)yesql(dot)se
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: SSL connection check
Date: 2021-02-18 03:27:26
Message-ID: CAFGcedUzsQ3kzLKJn6dSQkMwgHQtCDODC5Sh2L-RB+YJcc39kA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Hi Daniel,

I would take care of the patch.

Thanks.
Hiroshi Inoue

<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
ウイルス
フリー。 www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

2021年2月17日(水) 19:38 Daniel Gustafsson <daniel(at)yesql(dot)se>:

> PgDtc_is_recovery_available use PQgetssl() to check if SSL was used for the
> connection. PQgetssl() is discouraged since it is hardcoded to the OpenSSL
> implementation and may fail to identify an SSL connection in case another
> TLS
> backend is added to postgres (a few alternatives have already been
> discussed on
> -hackers).
>
> The attached changes to use PQsslInUse() to perform the check, and removes
> a
> comment which seemed out of place with this (unless I totally misunderstood
> it). PQsslInUse has been available since 9.5, to cope with older libpq
> versions, an autoconf check is added for falling back on PQgetssl in 9.4
> through to 9.2.
>
> --
> Daniel Gustafsson https://vmware.com/
>
>

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Michael Paquier 2021-02-18 04:42:42 Re: PostgreSQLとpsqlodbcドライバーの互換性について
Previous Message Daniel Gustafsson 2021-02-17 10:38:45 SSL connection check