summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.c
diff options
context:
space:
mode:
authorRobert Haas2017-11-29 14:24:24 +0000
committerRobert Haas2017-11-29 14:24:24 +0000
commiteaedf0df7197b21182f6c341a44e4fdaa3cd6ea6 (patch)
tree710ce791d6a3a329649f0fe438c85f00199035a8 /src/interfaces/libpq/fe-auth.c
parent801386af62eac84c13feec5a643c120cf0ce33bd (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/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index 9d394919eff..f54ad8e0cc6 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -534,7 +534,7 @@ pg_SASL_init(PGconn *conn, int payloadlen)
*/
if (conn->ssl_in_use &&
strcmp(mechanism_buf.data, SCRAM_SHA256_PLUS_NAME) == 0)
- selected_mechanism = SCRAM_SHA256_PLUS_NAME;
+ selected_mechanism = SCRAM_SHA256_PLUS_NAME;
else if (strcmp(mechanism_buf.data, SCRAM_SHA256_NAME) == 0 &&
!selected_mechanism)
selected_mechanism = SCRAM_SHA256_NAME;
@@ -569,6 +569,7 @@ pg_SASL_init(PGconn *conn, int payloadlen)
}
#ifdef USE_SSL
+
/*
* Get data for channel binding.
*/
@@ -581,8 +582,8 @@ pg_SASL_init(PGconn *conn, int payloadlen)
#endif
/*
- * Initialize the SASL state information with all the information
- * gathered during the initial exchange.
+ * Initialize the SASL state information with all the information gathered
+ * during the initial exchange.
*
* Note: Only tls-unique is supported for the moment.
*/