From d3223d0d00a02cc846cb83b3c32f4266fd7a2d3c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 17 Jun 2002 15:23:36 +0000 Subject: [PATCH] Fix missing 'buf' variable in SSL sources and add missing includes. --- src/backend/libpq/be-secure.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/libpq/be-secure.c b/src/backend/libpq/be-secure.c index 7b3554ba95..00191d5af9 100644 --- a/src/backend/libpq/be-secure.c +++ b/src/backend/libpq/be-secure.c @@ -77,6 +77,7 @@ #include "postgres.h" #include +#include #include #include #include @@ -583,7 +584,8 @@ static int initialize_SSL (void) { char fnbuf[2048]; - + struct stat buf; + if (!SSL_context) { SSL_library_init(); -- 2.39.5