Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 834529FB666 for ; Wed, 6 Jun 2007 12:20:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 27774-06 for ; Wed, 6 Jun 2007 12:20:20 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 5B3D69FB687 for ; Wed, 6 Jun 2007 12:20:19 -0300 (ADT) Received: (qmail 17917 invoked from network); 7 Jun 2007 00:20:16 +0900 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 7 Jun 2007 00:20:16 +0900 Received: from unknown (HELO ?192.168.11.3?) (219.61.40.6) by sd.tpf.co.jp with SMTP; 7 Jun 2007 00:20:16 +0900 Message-ID: <4666D0AC.1070205@tpf.co.jp> Date: Thu, 07 Jun 2007 00:20:12 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Rainer Bauer CC: pgsql-odbc@postgresql.org Subject: Re: [psqlODBC 08.02.0402] OpenSSL libraries References: <452863p8rdgtgmsbshlr1rqrv9m4444dci@4ax.com> <466429A0.1040701@tpf.co.jp> <4665680E.60007@tpf.co.jp> <8k8d63tai4higfh38i6cvmruv42f7lq8bk@4ax.com> In-Reply-To: <8k8d63tai4higfh38i6cvmruv42f7lq8bk@4ax.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/24 X-Sequence-Number: 9013 Rainer Bauer wrote: > > Do you have a Win32 program that establishes a SSL connection and does NOT > crash? For example MS Access. Unfortunately we can't expect to add OPENSSL_Applink() code snippet to such generic applications. > Rainer > > PS: psqlODBC only calls SSL_read(), SSL_write() and SSL_get_error(). As I > understand it all the real SSL handling happens in libpq. So maybe I am > looking at the wrong place to find the error? Psqlodbc uses libpq to establish SSL connections and gets the result communication path using PQsocket() and/or PQgetssl(). Then the driver communcates with the server via the commnication path and doesn't call libpq APIs until the end of the connection. The driver calls PQfinish() to terminate the connection. It would be a problem if libpq and psqlodbc link different openssl libraries. regards, Hiroshi Inoue