Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestBuildSANExtensionWithError (0.28 sec)

  1. security/pkg/pki/util/san_test.go

    		t.Errorf("Unmatched identities: before encoding: %v, after decoding %v", ids, actualIDs)
    	}
    
    	if !san.Critical {
    		t.Errorf("SAN field is not critical.")
    	}
    }
    
    func TestBuildSANExtensionWithError(t *testing.T) {
    	id := Identity{Type: 10}
    	if _, err := BuildSANExtension([]Identity{id}); err == nil {
    		t.Error("Expecting error to be returned but got nil")
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 17:36:33 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top