Always disconnect block listed hosts (#858)

This commit is contained in:
Nate Brown
2023-05-04 16:09:42 -05:00
committed by GitHub
parent 5fe8f45d05
commit 702e1c59bd
4 changed files with 22 additions and 14 deletions

View File

@@ -177,7 +177,7 @@ func TestNebulaCertificate_Verify(t *testing.T) {
v, err := c.Verify(time.Now(), caPool)
assert.False(t, v)
assert.EqualError(t, err, "certificate has been blocked")
assert.EqualError(t, err, "certificate is in the block list")
caPool.ResetCertBlocklist()
v, err = c.Verify(time.Now(), caPool)