mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-05 14:17:36 +03:00
Update deps
This commit is contained in:
parent
587a09b306
commit
71858bfc98
173 changed files with 39197 additions and 4176 deletions
2
vendor/github.com/jedisct1/go-minisign/minisign.go
generated
vendored
2
vendor/github.com/jedisct1/go-minisign/minisign.go
generated
vendored
|
@ -90,7 +90,7 @@ func (publicKey *PublicKey) Verify(bin []byte, signature Signature) (bool, error
|
|||
if publicKey.SignatureAlgorithm != signature.SignatureAlgorithm {
|
||||
return false, errors.New("Incompatible signature algorithm")
|
||||
}
|
||||
if signature.SignatureAlgorithm[0] != 0x45 && signature.SignatureAlgorithm[1] != 0x64 {
|
||||
if signature.SignatureAlgorithm[0] != 0x45 || signature.SignatureAlgorithm[1] != 0x64 {
|
||||
return false, errors.New("Unsupported signature algorithm")
|
||||
}
|
||||
if publicKey.KeyId != signature.KeyId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue