From c079673dcb7f210617c9fc1470e6bf166d8a2971 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 16 May 2017 20:36:35 -0400 Subject: Preventive maintenance in advance of pgindent run. Reformat various places in which pgindent will make a mess, and fix a few small violations of coding style that I happened to notice while perusing the diffs from a pgindent dry run. There is one actual bug fix here: the need-to-enlarge-the-buffer code path in icu_convert_case was obviously broken. Perhaps it's unreachable in our usage? Or maybe this is just sadly undertested. --- src/common/scram-common.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common/scram-common.c') diff --git a/src/common/scram-common.c b/src/common/scram-common.c index 77b54c8a5e..295507a0ad 100644 --- a/src/common/scram-common.c +++ b/src/common/scram-common.c @@ -213,9 +213,10 @@ scram_build_verifier(const char *salt, int saltlen, int iterations, scram_ServerKey(salted_password, server_key); - /* + /*---------- * The format is: * SCRAM-SHA-256$:$: + *---------- */ maxlen = strlen("SCRAM-SHA-256") + 1 + 10 + 1 /* iteration count */ -- cgit v1.2.1