mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-04 05:37:38 +03:00
Update deps
This commit is contained in:
parent
3b18058ae5
commit
45829aaa45
4 changed files with 5 additions and 5 deletions
2
vendor/github.com/jedisct1/xsecretbox/sharedkey.go
generated
vendored
2
vendor/github.com/jedisct1/xsecretbox/sharedkey.go
generated
vendored
|
@ -18,7 +18,7 @@ func SharedKey(secretKey [32]byte, publicKey [32]byte) ([32]byte, error) {
|
|||
}
|
||||
if c == 0 {
|
||||
if _, err := crypto_rand.Read(sharedKey[:]); err != nil {
|
||||
return sharedKey, nil
|
||||
return sharedKey, err
|
||||
}
|
||||
return sharedKey, errors.New("weak public key")
|
||||
}
|
||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -48,7 +48,7 @@ github.com/jedisct1/go-dnsstamps
|
|||
# github.com/jedisct1/go-minisign v0.0.0-20210101122305-335e26e05d5b
|
||||
## explicit
|
||||
github.com/jedisct1/go-minisign
|
||||
# github.com/jedisct1/xsecretbox v0.0.0-20210101122535-6ce87170fce4
|
||||
# github.com/jedisct1/xsecretbox v0.0.0-20210102102453-4ecb2081017a
|
||||
## explicit
|
||||
github.com/jedisct1/xsecretbox
|
||||
# github.com/k-sone/critbitgo v1.4.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue