Skip to content

Commit

Permalink
Exclude new none type from PSS based tests
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Scheel <[email protected]>
  • Loading branch information
cipherboy committed Oct 21, 2022
1 parent fcd009b commit 49ab358
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions builtin/logical/transit/path_sign_verify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,9 @@ func testTransit_SignVerify_RSA_PSS(t *testing.T, bits int) {

for hashAlgorithm := range keysutil.HashTypeMap {
t.Log("Hash algorithm:", hashAlgorithm)
if hashAlgorithm == "none" {
continue
}

for marshalingName := range keysutil.MarshalingTypeMap {
t.Log("\t", "Marshaling type:", marshalingName)
Expand Down
3 changes: 3 additions & 0 deletions sdk/helper/keysutil/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,9 @@ func Test_RSA_PSS(t *testing.T) {
// 2. For each hash algorithm...
for hashAlgorithm, hashType := range HashTypeMap {
t.Log(tabs[1], "Hash algorithm:", hashAlgorithm)
if hashAlgorithm == "none" {
continue
}

// 3. For each marshaling type...
for marshalingName, marshalingType := range MarshalingTypeMap {
Expand Down

0 comments on commit 49ab358

Please sign in to comment.