Skip site navigation (1) Skip section navigation (2)

Re: [psqlODBC 08.02.0402] OpenSSL libraries

From: Rainer Bauer <usenet(at)munnin(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: [psqlODBC 08.02.0402] OpenSSL libraries
Date: 2007-06-06 20:00:33
Message-ID: 984e635uh495p8b56ajc1uft1faj3hflc0@4ax.com (view raw or flat)
Thread:
Lists: pgsql-odbc
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

In response to

Responses

pgsql-odbc by date

Next:From: Rainer BauerDate: 2007-06-06 20:17:03
Subject: Re: [psqlODBC 08.02.0402] OpenSSL libraries
Previous:From: Hiroshi SaitoDate: 2007-06-06 17:18:00
Subject: Re: DSNLess connection

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group