Skip to content

Commit

Permalink
fixup! imports: Make gpg.constants-imports compatible with vendoring
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Lock <jlock@vmware.com>
  • Loading branch information
Jussi Kukkonen and joshuagl committed Jan 25, 2021
1 parent 101f477 commit ae1f611
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions securesystemslib/gpg/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,7 @@ def get_hashing_class(hash_algorithm_id):
A pyca/cryptography hashing class
"""
supported_hashing_algorithms = [constants.SHA1,
constants.SHA256,
supported_hashing_algorithms = [constants.SHA1, constants.SHA256,
constants.SHA512]
corresponding_hashing_classes = [hashing.SHA1, hashing.SHA256,
hashing.SHA512]
Expand Down

0 comments on commit ae1f611

Please sign in to comment.