summaryrefslogtreecommitdiff
path: root/vendor/github.com/miekg/dns/sig0.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-01-27 11:07:16 +0000
committerLibravatar GitHub <noreply@github.com>2025-01-27 11:07:16 +0000
commit3428bc96336ad666d61ce0e954a50af9e72a0fa8 (patch)
tree6c6539c36a288b45591e1ab33caf9e521811fda8 /vendor/github.com/miekg/dns/sig0.go
parent[chore]: Bump github.com/gin-contrib/gzip from 1.1.0 to 1.2.2 (#3693) (diff)
downloadgotosocial-3428bc96336ad666d61ce0e954a50af9e72a0fa8.tar.xz
[chore]: Bump github.com/miekg/dns from 1.1.62 to 1.1.63 (#3695)
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.62 to 1.1.63. - [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release) - [Commits](https://github.com/miekg/dns/compare/v1.1.62...v1.1.63) --- updated-dependencies: - dependency-name: github.com/miekg/dns dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/miekg/dns/sig0.go')
-rw-r--r--vendor/github.com/miekg/dns/sig0.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/vendor/github.com/miekg/dns/sig0.go b/vendor/github.com/miekg/dns/sig0.go
index 2c4b10352..057bb5787 100644
--- a/vendor/github.com/miekg/dns/sig0.go
+++ b/vendor/github.com/miekg/dns/sig0.go
@@ -7,7 +7,6 @@ import (
"crypto/rsa"
"encoding/binary"
"math/big"
- "strings"
"time"
)
@@ -151,7 +150,7 @@ func (rr *SIG) Verify(k *KEY, buf []byte) error {
}
// If key has come from the DNS name compression might
// have mangled the case of the name
- if !strings.EqualFold(signername, k.Header().Name) {
+ if !equal(signername, k.Header().Name) {
return &Error{err: "signer name doesn't match key name"}
}
sigend := offset