utls/internal/boring/notboring.go
Gaukas Wang 5796f9738a
🚑 fix: code broken after merging
Signed-off-by: Gaukas Wang <i@gaukas.wang>
2024-01-10 22:09:25 -07:00

20 lines
337 B
Go

package boring
import (
"crypto/cipher"
"errors"
)
const Enabled bool = false
func NewGCMTLS(_ cipher.Block) (cipher.AEAD, error) {
return nil, errors.New("boring not implemented")
}
func NewGCMTLS13(_ cipher.Block) (cipher.AEAD, error) {
return nil, errors.New("boring not implemented")
}
func Unreachable() {
// do nothing
}