]> Sergey Matveev's repositories - tofuproxy.git/blobdiff - tls/verify.go
DANE check utility
[tofuproxy.git] / tls / verify.go
index 0f21ce93bc369ce30dd2b520124c9543f641189c..a63fb4a2441082ac0c63dcd09ceb8ffb27bf0f75 100644 (file)
@@ -198,7 +198,7 @@ func verifyCert(
        if certTheirHash == certOurHash {
                return ErrRejected{host}
        }
-       daneExists, daneMatched := dane(host, certTheir)
+       daneExists, daneMatched := DANE(host, certTheir)
        if daneExists {
                if daneMatched {
                        fifos.LogDANE <- fmt.Sprintf("%s\tACK", host)