Add missing includes

<openssl/x509.h> is necessary to look into the X509 struct, used by
ac3ff8b1d8.
This commit is contained in:
Peter Eisentraut 2018-01-04 17:55:14 -05:00
parent ef6087ee5f
commit 1834c1e432
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@
#ifndef OPENSSL_NO_ECDH
#include <openssl/ec.h>
#endif
#include <openssl/x509.h>
#include "libpq/libpq.h"
#include "miscadmin.h"

View File

@ -58,6 +58,7 @@
#ifdef USE_SSL_ENGINE
#include <openssl/engine.h>
#endif
#include <openssl/x509.h>
#include <openssl/x509v3.h>
static bool verify_peer_name_matches_certificate(PGconn *);