Skip to content

Commit 1834c1e

Browse files
committed
Add missing includes
<openssl/x509.h> is necessary to look into the X509 struct, used by ac3ff8b.
1 parent ef6087e commit 1834c1e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
#ifndef OPENSSL_NO_ECDH
5858
#include <openssl/ec.h>
5959
#endif
60+
#include <openssl/x509.h>
6061

6162
#include "libpq/libpq.h"
6263
#include "miscadmin.h"

src/interfaces/libpq/fe-secure-openssl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
#ifdef USE_SSL_ENGINE
5959
#include <openssl/engine.h>
6060
#endif
61+
#include <openssl/x509.h>
6162
#include <openssl/x509v3.h>
6263

6364
static bool verify_peer_name_matches_certificate(PGconn *);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy