]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/crypto/tls/key_agreement.go
[dev.boringcrypto] all: merge master into dev.boringcrypto
[gostls13.git] / src / crypto / tls / key_agreement.go
index 1e77facce07d1e298cd0d530cb69240c9165f61c..0754d1b389966b919b85880f3332ae7fbdfc3ea4 100644 (file)
@@ -213,7 +213,7 @@ NextCandidate:
                return nil, errors.New("tls: certificate private key does not implement crypto.Signer")
        }
 
-       signatureAlgorithm, sigType, hashFunc, err := pickSignatureAlgorithm(priv.Public(), clientHello.supportedSignatureAlgorithms, supportedSignatureAlgorithms, ka.version)
+       signatureAlgorithm, sigType, hashFunc, err := pickSignatureAlgorithm(priv.Public(), clientHello.supportedSignatureAlgorithms, supportedSignatureAlgorithms(), ka.version)
        if err != nil {
                return nil, err
        }