Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/passcheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static const char *passcheck_shmem_name = "pgtle_passcheck";


/* This should match crypt.h */
char *pass_types[3] = {"PASSWORD_TYPE_PLAINTEXT", "PASSWORD_TYPE_MD5", "PASSWORD_TYPE_SCRAM_SHA_256"};
static char *pass_types[3] = {"PASSWORD_TYPE_PLAINTEXT", "PASSWORD_TYPE_MD5", "PASSWORD_TYPE_SCRAM_SHA_256"};

/* Represents password_check_hook parameters. */
typedef struct PasswordCheckHookData
Expand Down
6 changes: 3 additions & 3 deletions src/tleextension.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ typedef struct ExtensionVersionInfo
} ExtensionVersionInfo;

/* callback to cleanup on abort */
bool cb_registered = false;
static bool cb_registered = false;

/* global indicator we are manipulating pg_tle artifacts */
bool tleart = false;
static bool tleart = false;
#define SET_TLEART \
do { \
if (!cb_registered) \
Expand All @@ -158,7 +158,7 @@ bool tleart = false;
} while (0)

/* global indicator to use tle strings rather than files */
bool tleext = false;
static bool tleext = false;
#define SET_TLEEXT \
do { \
if (!cb_registered) \
Expand Down
Loading