Commit 9e1c5fba authored by Bruce Momjian's avatar Bruce Momjian

Fix missing 'buf' variable in SSL sources and add missing includes.

parent 7005e4c0
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.8 2002/06/17 15:19:28 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/libpq/be-secure.c,v 1.9 2002/06/17 15:23:36 momjian Exp $
* *
* Since the server static private key ($DataDir/server.key) * Since the server static private key ($DataDir/server.key)
* will normally be stored unencrypted so that the database * will normally be stored unencrypted so that the database
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
#include "postgres.h" #include "postgres.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h>
#include <signal.h> #include <signal.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
...@@ -583,7 +584,8 @@ static int ...@@ -583,7 +584,8 @@ static int
initialize_SSL (void) initialize_SSL (void)
{ {
char fnbuf[2048]; char fnbuf[2048];
struct stat buf;
if (!SSL_context) if (!SSL_context)
{ {
SSL_library_init(); SSL_library_init();
......
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