From 4a340eb841c704f258c8d55e1ed212b263dd6993 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sat, 27 Apr 2024 17:15:32 +0200 Subject: [PATCH 1/2] Fix minor typo in comment --- src/DPoP/ProofTokenMessageHandler.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DPoP/ProofTokenMessageHandler.cs b/src/DPoP/ProofTokenMessageHandler.cs index 263d15a..0de7b97 100644 --- a/src/DPoP/ProofTokenMessageHandler.cs +++ b/src/DPoP/ProofTokenMessageHandler.cs @@ -36,7 +36,7 @@ protected override async Task SendAsync(HttpRequestMessage if (dPoPNonce != _nonce) { - // nonce is different, so old onto it + // nonce is different, so hold onto it _nonce = dPoPNonce; // failure and nonce was differnet so we retry @@ -72,4 +72,4 @@ private void CreateProofToken(HttpRequestMessage request) request.SetDPoPProofToken(proof.ProofToken); } -} \ No newline at end of file +} From 2aed54288cef82cf28ccfcbf27220ba849cae325 Mon Sep 17 00:00:00 2001 From: Jozef Izso Date: Sat, 27 Apr 2024 17:17:45 +0200 Subject: [PATCH 2/2] Fix minor typo in comment --- src/DPoP/ProofTokenMessageHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DPoP/ProofTokenMessageHandler.cs b/src/DPoP/ProofTokenMessageHandler.cs index 0de7b97..5a01a63 100644 --- a/src/DPoP/ProofTokenMessageHandler.cs +++ b/src/DPoP/ProofTokenMessageHandler.cs @@ -39,7 +39,7 @@ protected override async Task SendAsync(HttpRequestMessage // nonce is different, so hold onto it _nonce = dPoPNonce; - // failure and nonce was differnet so we retry + // failure and nonce was different so we retry if (!response.IsSuccessStatusCode) { response.Dispose();