From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
---|---|
To: | PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Typo in auth-scram.c |
Date: | 2017-11-13 13:34:06 |
Message-ID: | CAB7nPqSauJ9gUMzj1aiXQVxqEkyko+WZ+wUac8_hB_M_bO6U_A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
scram-typo.patch | application/octet-stream | 558 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-11-13 13:37:25 | Re: Typo in auth-scram.c |
Previous Message | Stephen Frost | 2017-11-13 13:14:56 | Migration to PGLister - After |