mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Fix up references to scram-sha-256
pg_hba_file_rules erroneously reported this as scram-sha256. Fix that. To avoid future errors and confusion, also adjust documentation links and internal symbols to have a separator between "sha" and "256". Reported-by: Christophe Courtois <christophe.courtois@dalibo.com> Author: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
#include "common/sha2.h"
|
||||
|
||||
/* Name of SCRAM mechanisms per IANA */
|
||||
#define SCRAM_SHA256_NAME "SCRAM-SHA-256"
|
||||
#define SCRAM_SHA256_PLUS_NAME "SCRAM-SHA-256-PLUS" /* with channel binding */
|
||||
#define SCRAM_SHA_256_NAME "SCRAM-SHA-256"
|
||||
#define SCRAM_SHA_256_PLUS_NAME "SCRAM-SHA-256-PLUS" /* with channel binding */
|
||||
|
||||
/* Channel binding types */
|
||||
#define SCRAM_CHANNEL_BINDING_TLS_UNIQUE "tls-unique"
|
||||
|
Reference in New Issue
Block a user