]> 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 fdf8f803a0304330293696140d057e319394ff22..c92dd2e5b5bafc4777651cf4db2ccf7d40fce4bf 100644 (file)
@@ -185,7 +185,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, supportedSignatureAlgorithmsTLS12(), ka.version)
        if err != nil {
                return nil, err
        }