-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
The file internal/home/tls.go contains some unclear logic in the following function:
AdGuardHome/internal/home/tls.go
Lines 602 to 604 in 2d87a04
| // 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.
Reactions are currently unavailable