Typo in auth-scram.c - Mailing list pgsql-hackers

From Michael Paquier
Subject Typo in auth-scram.c
Date
Msg-id CAB7nPqSauJ9gUMzj1aiXQVxqEkyko+WZ+wUac8_hB_M_bO6U_A@mail.gmail.com
Whole thread Raw
Responses Re: Typo in auth-scram.c
List pgsql-hackers
Hi all,

auth-scram.c is visibly not able to do things in a deterministic way,
that's more determinisitc:

--- a/src/backend/libpq/auth-scram.c
+++ b/src/backend/libpq/auth-scram.c
@@ -1116,7 +1116,7 @@ build_server_final_message(scram_state *state)


 /*
- * Determinisitcally generate salt for mock authentication, using a SHA256
+ * Deterministically generate salt for mock authentication, using a SHA256
  * hash based on the username and a cluster-level secret key.  Returns a
  * pointer to a static buffer of size SCRAM_DEFAULT_SALT_LEN.
  */

Thanks,
-- 
Michael

Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Migration to PGLister - After
Next
From: Stephen Frost
Date:
Subject: Re: Typo in auth-scram.c