Commit 1834c1e4 authored by Peter Eisentraut's avatar Peter Eisentraut

Add missing includes

<openssl/x509.h> is necessary to look into the X509 struct, used by
ac3ff8b1.
parent ef6087ee
...@@ -57,6 +57,7 @@ ...@@ -57,6 +57,7 @@
#ifndef OPENSSL_NO_ECDH #ifndef OPENSSL_NO_ECDH
#include <openssl/ec.h> #include <openssl/ec.h>
#endif #endif
#include <openssl/x509.h>
#include "libpq/libpq.h" #include "libpq/libpq.h"
#include "miscadmin.h" #include "miscadmin.h"
......
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
#ifdef USE_SSL_ENGINE #ifdef USE_SSL_ENGINE
#include <openssl/engine.h> #include <openssl/engine.h>
#endif #endif
#include <openssl/x509.h>
#include <openssl/x509v3.h> #include <openssl/x509v3.h>
static bool verify_peer_name_matches_certificate(PGconn *); static bool verify_peer_name_matches_certificate(PGconn *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment