Merge "Remove sha224 from supported client cert hash algs"

changes/31/574031/1
Zuul 5 years ago committed by Gerrit Code Review
commit 498c26737c

@ -289,7 +289,7 @@ class NsxV3ClientCertificateTestCase(nsxlib_testcase.NsxClientTestCase):
'subject': {}},
{'key_size': 4096,
'valid_for_days': 100,
'signature_alg': 'sha',
'signature_alg': 'sha224',
'subject': {}}]
for args in bad_cert_values:

@ -44,7 +44,7 @@ def validate_cert_params(key_size, valid_for_days,
{'value': key_size,
'list': expected_key_sizes})
expected_signature_algs = ('sha224', 'sha256')
expected_signature_algs = ('sha256')
if signature_alg not in expected_signature_algs:
raise nsxlib_exceptions.NsxLibInvalidInput(
error_message=_('Invalid signature algorithm %(value)s'

Loading…
Cancel
Save