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:
@ -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 */
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user