Re: PQinitSSL broken in some use casesf

Поиск
Список
Период
Сортировка
> On Tue, Feb 10, 2009 at 5:02 PM, Bruce Momjian <[email protected]> wrote:
>> PQinitSSL(false) initializes crypto?  Please point me to exact function
>> calls that are the problem?  Everything is very vague.

File: src/interfaces/libpq/fe-secure.c
Func: init_ssl_system
Line: 823

Starting at around line 853, this function prepares a lock array for 
CRYPTO_set_locking_callback.  This function is not part of libssl, its 
part of libcrypto.  It also calls CRYPTO_set_id_callback.  The rest of 
that function appears to only make libssl calls.

There should be an "if (pq_initcryptolib)" around those libcrypto calls, 
serving the same purpose as the pq_initssllib variable.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


В списке pgsql-hackers по дате отправления: