Skip to content

Commit

Permalink
Update patches/0002-Add-crypto-backend-foundation.patch
Browse files Browse the repository at this point in the history
Co-authored-by: Davis Goodin <dagood@users.noreply.github.com>
  • Loading branch information
qmuntal and dagood authored Sep 12, 2023
1 parent b47812e commit 2987ab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/0002-Add-crypto-backend-foundation.patch
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ index 20bac96e86703b..a56388ca720355 100644
+ return func(result, secret, label, seed []byte) error {
+ if boring.Enabled && boring.SupportsTLS1PRF() {
+ // No need to check if hashFunc is supported by the backend,
+ // since it can only by crypto.SHA256 or crypto.SHA384,
+ // since it can only be crypto.SHA256 or crypto.SHA384,
+ // which are always supported.
+ out, err := boring.TLS1PRF(secret, label, seed, len(result), hashFunc)
+ if err != nil {
Expand Down

0 comments on commit 2987ab8

Please sign in to comment.