Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL - Mailing list pgsql-committers

From Gregory Stark
Subject Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL
Date
Msg-id 87zlz27c5q.fsf@oxford.xeocode.com
Whole thread Raw
In response to pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL  (mha@postgresql.org (Magnus Hagander))
Responses Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL
List pgsql-committers
"Magnus Hagander" <mha@postgresql.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.oinitdb.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

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add catalogs.sgml documentation for text search catalogs.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Use BIO functions to avoid passing FILE * pointers to OpenSSL