pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Add missing includes
2+ messages / 2 participants
[nested] [flat]
* pgsql: Add missing includes
@ 2018-01-04 22:58 Peter Eisentraut <peter_e@gmx.net>
0 siblings, 1 reply; 2+ messages in thread
From: Peter Eisentraut @ 2018-01-04 22:58 UTC (permalink / raw)
To: pgsql-committers
Add missing includes
<openssl/x509.h> is necessary to look into the X509 struct, used by
ac3ff8b1d8f98da38c53a701e6397931080a39cf.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1834c1e432d22f9e186950c7dd8598958776e016
Modified Files
--------------
src/backend/libpq/be-secure-openssl.c | 1 +
src/interfaces/libpq/fe-secure-openssl.c | 1 +
2 files changed, 2 insertions(+)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pgsql: Add missing includes
@ 2018-01-05 00:08 Andres Freund <andres@anarazel.de>
parent: Peter Eisentraut <peter_e@gmx.net>
0 siblings, 0 replies; 2+ messages in thread
From: Andres Freund @ 2018-01-05 00:08 UTC (permalink / raw)
To: Peter Eisentraut <peter_e@gmx.net>; +Cc: pgsql-committers
On 2018-01-04 22:58:28 +0000, Peter Eisentraut wrote:
> Add missing includes
>
> <openssl/x509.h> is necessary to look into the X509 struct, used by
> ac3ff8b1d8f98da38c53a701e6397931080a39cf.
That's not sufficient here:
/home/andres/src/postgresql/src/backend/libpq/be-secure-openssl.c: In function ‘be_tls_get_certificate_hash’:
/home/andres/src/postgresql/src/backend/libpq/be-secure-openssl.c:1269:50: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’
if (!OBJ_find_sigid_algs(OBJ_obj2nid(server_cert->sig_alg->algorithm),
^~
../../../src/Makefile.global:819: recipe for target 'be-secure-openssl.o' failed
It's defined in openssl's include/internal/x509_int.h which also has the
following comment:
/* Internal X509 structures and functions: not for application use */
so this looks like a nonstarter approach that shouldn't be fixed with
additional includes.
Greetings,
Andres Freund
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-01-05 00:08 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04 22:58 pgsql: Add missing includes Peter Eisentraut <peter_e@gmx.net>
2018-01-05 00:08 ` Andres Freund <andres@anarazel.de>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox