From c0b3ae8be16e4db2b062cd1453d4e6d9f8d55746 Mon Sep 17 00:00:00 2001 From: Tracy <38665906+TracyGH@users.noreply.github.com> Date: Fri, 1 Feb 2019 17:11:59 -0600 Subject: [PATCH] Added a call to the currently unused 'signature' string variable. --- StorageRestApiAuth/AzureStorageAuthenticationHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StorageRestApiAuth/AzureStorageAuthenticationHelper.cs b/StorageRestApiAuth/AzureStorageAuthenticationHelper.cs index fe090bc..2960647 100644 --- a/StorageRestApiAuth/AzureStorageAuthenticationHelper.cs +++ b/StorageRestApiAuth/AzureStorageAuthenticationHelper.cs @@ -57,7 +57,7 @@ internal static AuthenticationHeaderValue GetAuthorizationHeader( // This is the actual header that will be added to the list of request headers. // You can stop the code here and look at the value of 'authHV' before it is returned. AuthenticationHeaderValue authHV = new AuthenticationHeaderValue("SharedKey", - storageAccountName + ":" + Convert.ToBase64String(SHA256.ComputeHash(SignatureBytes))); + storageAccountName + ":" + signature; return authHV; }