Blind attempt to silence SSL compile failures on hamerkop.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Nov 2021 19:18:00 +0000 (15:18 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Nov 2021 19:18:07 +0000 (15:18 -0400)
Buildfarm member hamerkop has been failing for the last few days
with errors that look like OpenSSL's X509-related symbols have
not been imported into be-secure-openssl.c.  It's unclear why
this should be, but let's try adding an explicit #include of
<openssl/x509v3.h>, as there has long been in fe-secure-openssl.c.

Discussion: https://postgr.es/m/1051867.1635720347@sss.pgh.pa.us

src/backend/libpq/be-secure-openssl.c

index e3b02b12f93b8aa0aa4fe7a3899904283f65c741..51836321fbf29068ab08f9652271f2bc518c21cb 100644 (file)
 #endif
 
 #include <openssl/ssl.h>
-#include <openssl/dh.h>
 #include <openssl/conf.h>
+#include <openssl/dh.h>
 #ifndef OPENSSL_NO_ECDH
 #include <openssl/ec.h>
 #endif
+#include <openssl/x509v3.h>
 
 #include "common/openssl.h"
 #include "libpq/libpq.h"