From 0a524e09a5a1700bda9b49af67a4f9551016af02 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 18 Jul 2023 16:12:33 +0100 Subject: [PATCH] fmt --- proxy/src/scram/key.rs | 2 +- proxy/src/scram/secret.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/src/scram/key.rs b/proxy/src/scram/key.rs index e9c65fcef3..c32522cb3a 100644 --- a/proxy/src/scram/key.rs +++ b/proxy/src/scram/key.rs @@ -3,7 +3,7 @@ /// Faithfully taken from PostgreSQL. pub const SCRAM_KEY_LEN: usize = 32; -/// One of the keys derived from the [password](super::password::SaltedPassword). +/// One of the keys derived from the user's password. /// We use the same structure for all keys, i.e. /// `ClientKey`, `StoredKey`, and `ServerKey`. #[derive(Default, PartialEq, Eq)] diff --git a/proxy/src/scram/secret.rs b/proxy/src/scram/secret.rs index d5f121f2ce..41088633f2 100644 --- a/proxy/src/scram/secret.rs +++ b/proxy/src/scram/secret.rs @@ -3,7 +3,7 @@ use super::base64_decode_array; use super::key::ScramKey; -/// Server secret is produced from [password](super::password::SaltedPassword) +/// Server secret is produced from user's password, /// and is used throughout the authentication process. pub struct ServerSecret { /// Number of iterations for `PBKDF2` function.