Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Magnus Hagander" <mha(at)postgresql(dot)org>
Cc: <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL
Date: 2007-10-01 21:33:37
Message-ID: 87zlz27c5q.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


"Magnus Hagander" <mha(at)postgresql(dot)org> writes:

> Log Message:
> -----------
> Use BIO functions to avoid passing FILE * pointers to OpenSSL functions.
> This fixes potential crashes on old versions of OpenSSL and the requirement on
> "Applink" in new versions when building with MSVC and using different
> runtimes.

Several buildfarm machines are failing:

ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -I../../../src/interfaces/libpq -I../../../src/include -D_GNU_SOURCE -I/usr/include/et -c -o initdb.o initdb.c
ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g initdb.o -L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq -L../../../src/port -Wl,-rpath,'/home/gevik/pgfarmbuild/build/HEAD/inst/lib' -lpgport -lssl -lcrypto -lkrb5 -lz -lreadline -ltermcap -lcrypt -ldl -lm -o initdb
../../../src/interfaces/libpq/libpq.so: undefined reference to `ERR_set_mark'
../../../src/interfaces/libpq/libpq.so: undefined reference to `ERR_pop_to_mark'
collect2: ld returned 1 exit status

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-10-01 22:58:01 Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL
Previous Message Tom Lane 2007-10-01 21:10:40 pgsql: Add catalogs.sgml documentation for text search catalogs.

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-10-01 21:33:42 Re: First steps with 8.3 and autovacuum launcher
Previous Message Alvaro Herrera 2007-10-01 20:50:07 Re: First steps with 8.3 and autovacuum launcher