diff options
author | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:37 -0500 |
---|---|---|
committer | Alex Pilon <apilon@hashicorp.com> | 2019-02-22 18:24:37 -0500 |
commit | 15c0b25d011f37e7c20aeca9eaf461f78285b8d9 (patch) | |
tree | 255c250a5c9d4801c74092d33b7337d8c14438ff /vendor/golang.org/x/crypto/bcrypt/bcrypt.go | |
parent | 07971ca38143c5faf951d152fba370ddcbe26ad5 (diff) | |
download | terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.gz terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.tar.zst terraform-provider-statuscake-15c0b25d011f37e7c20aeca9eaf461f78285b8d9.zip |
deps: github.com/hashicorp/terraform@sdk-v0.11-with-go-modules
Updated via: go get github.com/hashicorp/terraform@sdk-v0.11-with-go-modules and go mod tidy
Diffstat (limited to 'vendor/golang.org/x/crypto/bcrypt/bcrypt.go')
-rw-r--r-- | vendor/golang.org/x/crypto/bcrypt/bcrypt.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/golang.org/x/crypto/bcrypt/bcrypt.go b/vendor/golang.org/x/crypto/bcrypt/bcrypt.go index 202fa8a..aeb73f8 100644 --- a/vendor/golang.org/x/crypto/bcrypt/bcrypt.go +++ b/vendor/golang.org/x/crypto/bcrypt/bcrypt.go | |||
@@ -241,11 +241,11 @@ func (p *hashed) Hash() []byte { | |||
241 | n = 3 | 241 | n = 3 |
242 | } | 242 | } |
243 | arr[n] = '$' | 243 | arr[n] = '$' |
244 | n += 1 | 244 | n++ |
245 | copy(arr[n:], []byte(fmt.Sprintf("%02d", p.cost))) | 245 | copy(arr[n:], []byte(fmt.Sprintf("%02d", p.cost))) |
246 | n += 2 | 246 | n += 2 |
247 | arr[n] = '$' | 247 | arr[n] = '$' |
248 | n += 1 | 248 | n++ |
249 | copy(arr[n:], p.salt) | 249 | copy(arr[n:], p.salt) |
250 | n += encodedSaltSize | 250 | n += encodedSaltSize |
251 | copy(arr[n:], p.hash) | 251 | copy(arr[n:], p.hash) |