1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

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>
This commit is contained in:
Peter Eisentraut
2017-12-18 16:59:10 -05:00
parent 53cba77b53
commit 25d532698d
5 changed files with 9 additions and 9 deletions

View File

@ -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 */

View File

@ -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"