aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth-scram.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-scram.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-scram.c')
-rw-r--r--src/interfaces/libpq/fe-auth-scram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth-scram.c b/src/interfaces/libpq/fe-auth-scram.c
index 5b783bc3136..4cad93c24ad 100644
--- a/src/interfaces/libpq/fe-auth-scram.c
+++ b/src/interfaces/libpq/fe-auth-scram.c
@@ -17,7 +17,6 @@
#include "common/base64.h"
#include "common/saslprep.h"
#include "common/scram-common.h"
-#include "libpq/scram.h"
#include "fe-auth.h"
/* These are needed for getpid(), in the fallback implementation */