summaryrefslogtreecommitdiff
path: root/src/backend/libpq/auth.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-12-18 16:59:10 -0500
committerPeter Eisentraut <peter_e@gmx.net>2017-12-18 16:59:48 -0500
commit25d532698d74f4adb34f013f1a287a0029e31fb1 (patch)
tree240d7d869e328880726f7c1453652d14ad7890b8 /src/backend/libpq/auth.c
parent53cba77b53f98255bfbba9d2612d1a5685feec52 (diff)
Move SCRAM-related name definitions to scram-common.h
Mechanism names for SCRAM and channel binding names have been included in scram.h by the libpq frontend code, and this header references a set of routines which are only used by the backend. scram-common.h is on the contrary usable by both the backend and libpq, so getting those names from there seems more reasonable. Author: Michael Paquier <michael.paquier@gmail.com>
Diffstat (limited to 'src/backend/libpq/auth.c')
-rw-r--r--src/backend/libpq/auth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index 19a91ca67d2..b7f9bb1669e 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -26,6 +26,7 @@
#include "commands/user.h"
#include "common/ip.h"
#include "common/md5.h"
+#include "common/scram-common.h"
#include "libpq/auth.h"
#include "libpq/crypt.h"
#include "libpq/libpq.h"