Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 3594E9FB48A for ; Wed, 6 Jun 2007 16:59:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 62541-04-4 for ; Wed, 6 Jun 2007 16:59:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id CCD349FB4DA for ; Wed, 6 Jun 2007 16:59:34 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id A32223142B; Wed, 6 Jun 2007 21:59:33 +0200 (MET DST) From: Rainer Bauer X-Newsgroups: pgsql.interfaces.odbc Subject: Re: [psqlODBC 08.02.0402] OpenSSL libraries Date: Wed, 06 Jun 2007 22:00:33 +0200 Organization: Hub.Org Networking Services Lines: 32 Message-ID: <984e635uh495p8b56ajc1uft1faj3hflc0@4ax.com> References: <452863p8rdgtgmsbshlr1rqrv9m4444dci@4ax.com> <466429A0.1040701@tpf.co.jp> <4665680E.60007@tpf.co.jp> <8k8d63tai4higfh38i6cvmruv42f7lq8bk@4ax.com> <4666D0AC.1070205@tpf.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org X-Newsreader: Forte Agent 4.2/32.1117 To: pgsql-odbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.426 tagged_above=0 required=5 tests=AWL=0.425, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200706/27 X-Sequence-Number: 9016 Hiroshi Inoue 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. Well, if SSL connections do work with MS Access, then the error must be somewhere else. How do you test the driver during developement? Are you using Access or a handwritten program? >> 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. What I did was installing Postgres 8.2.4 _without_ the psqlODBC driver. Afterwards I downloaded the latest MSI package [8.2.0400] from the psqlODBC page and installed that version. Any chance that there are some incompatibilites introduced by that? Rainer