Skip to content

Inspect InitTLSCiphers function #2993

@EugeneOne1

Description

@EugeneOne1

The file internal/home/tls.go contains some unclear logic in the following function:

// InitTLSCiphers performs the same work as initDefaultCipherSuites() from
// crypto/tls/common.go but don't uses lots of other default ciphers.
func InitTLSCiphers() (ciphers []uint16) {

Initially, the function was added during #1384 into the util package which has already been removed.

The documentation for it prompts to follow the crypto/tls/common.go to find initDefaultCipherSuites function, the implementation of which is suspiciously similar. Perhaps, there is a way to use its results directly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions