Applies go fmt to all the code
This commit is contained in:
parent
81ee64180a
commit
4b1b463735
@ -41,7 +41,7 @@ type clientHelloMsg struct {
|
|||||||
// Marshalling of signature_algorithms extension see https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1
|
// Marshalling of signature_algorithms extension see https://tools.ietf.org/html/rfc5246#section-7.4.1.4.1
|
||||||
// for more details. Extension is serialized in data buffer
|
// for more details. Extension is serialized in data buffer
|
||||||
// Function advances data slice and returns it, so that it can be used for further processing
|
// Function advances data slice and returns it, so that it can be used for further processing
|
||||||
func marshallExtensionSignatureAlgorithms(data []byte, sigSchemes []SignatureScheme) ([]byte) {
|
func marshallExtensionSignatureAlgorithms(data []byte, sigSchemes []SignatureScheme) []byte {
|
||||||
data[0] = byte(extensionSignatureAlgorithms >> 8)
|
data[0] = byte(extensionSignatureAlgorithms >> 8)
|
||||||
data[1] = byte(extensionSignatureAlgorithms)
|
data[1] = byte(extensionSignatureAlgorithms)
|
||||||
l := 2 + 2*len(sigSchemes)
|
l := 2 + 2*len(sigSchemes)
|
||||||
|
Loading…
Reference in New Issue
Block a user