Skip to content

Commit

Permalink
Use SHA2 instead of SHA1
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Apr 6, 2018
1 parent 27bfdb9 commit 970e893
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/packages/src/lib/y2packager/license.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def id
return @id if @id
content = content_for(DEFAULT_LANG)
return unless content
@id = Digest::SHA1.hexdigest(content)
@id = Digest::SHA2.hexdigest(content)
end

# Return the license translated content for the given language
Expand Down
2 changes: 1 addition & 1 deletion package/yast2.changes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-------------------------------------------------------------------
Thu Apr 5 17:38:35 UTC 2018 - igonzalezsosa@suse.com

- Use SHA1 instead of MD5 when determining whether a license
- Use SHA2 instead of MD5 when determining whether a license
was already accepted or not (related to fate#325461).
- 4.0.64

Expand Down

0 comments on commit 970e893

Please sign in to comment.