aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-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/interfaces/libpq/fe-auth.c
parent53cba77b53f98255bfbba9d2612d1a5685feec52 (diff)
downloadpostgresql-25d532698d74f4adb34f013f1a287a0029e31fb1.tar.gz
postgresql-25d532698d74f4adb34f013f1a287a0029e31fb1.zip
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/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index f54ad8e0cc6..2cfdb7c125c 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -39,8 +39,8 @@
#endif
#include "common/md5.h"
+#include "common/scram-common.h"
#include "libpq-fe.h"
-#include "libpq/scram.h"
#include "fe-auth.h"