diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-11-29 09:24:24 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-11-29 09:24:24 -0500 |
commit | eaedf0df7197b21182f6c341a44e4fdaa3cd6ea6 (patch) | |
tree | 710ce791d6a3a329649f0fe438c85f00199035a8 /src/backend/libpq/auth-scram.c | |
parent | 801386af62eac84c13feec5a643c120cf0ce33bd (diff) |
Update typedefs.list and re-run pgindent
Discussion: http://postgr.es/m/CA+TgmoaA9=1RWKtBWpDaj+sF3Stgc8sHgf5z=KGtbjwPLQVDMA@mail.gmail.com
Diffstat (limited to 'src/backend/libpq/auth-scram.c')
-rw-r--r-- | src/backend/libpq/auth-scram.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/libpq/auth-scram.c b/src/backend/libpq/auth-scram.c index 22103ce4795..15c3857f573 100644 --- a/src/backend/libpq/auth-scram.c +++ b/src/backend/libpq/auth-scram.c @@ -791,6 +791,7 @@ read_client_first_message(scram_state *state, char *input) switch (*input) { case 'n': + /* * The client does not support channel binding or has simply * decided to not use it. In that case just let it go. @@ -805,6 +806,7 @@ read_client_first_message(scram_state *state, char *input) input++; break; case 'y': + /* * The client supports channel binding and thinks that the server * does not. In this case, the server must fail authentication if @@ -827,12 +829,13 @@ read_client_first_message(scram_state *state, char *input) input++; break; case 'p': + /* * The client requires channel binding. Channel binding type * follows, e.g., "p=tls-unique". */ { - char *channel_binding_type; + char *channel_binding_type; if (!state->ssl_in_use) { @@ -1139,8 +1142,8 @@ read_client_final_message(scram_state *state, char *input) b64_message[b64_message_len] = '\0'; /* - * Compare the value sent by the client with the value expected by - * the server. + * Compare the value sent by the client with the value expected by the + * server. */ if (strcmp(channel_binding, b64_message) != 0) ereport(ERROR, |