mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Merge pull request #1544 from openziti/fix-ca-normalization-loop
If CA is invalid pem, exit out of loop. Fixes #1543
This commit is contained in:
@@ -444,6 +444,8 @@ func CalculateCaPems(caPems *bytes.Buffer) *bytes.Buffer {
|
||||
fingerprint := toHex(hash[:])
|
||||
newPem := pem.EncodeToMemory(block)
|
||||
caPemMap[fingerprint] = newPem
|
||||
} else {
|
||||
blocksToProcess = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user