Revert "Check for patched go crypto lib at runtime (#4671)"
This reverts commit 940f6f100f.
This commit is contained in:
parent
06bdb8349e
commit
4dac7c790d
1 changed files with 0 additions and 8 deletions
|
|
@ -19,7 +19,6 @@ import (
|
|||
"github.com/evcc-io/evcc/util"
|
||||
"github.com/evcc-io/evcc/util/machine"
|
||||
"github.com/libp2p/zeroconf/v2"
|
||||
"golang.org/x/crypto/cryptobyte"
|
||||
)
|
||||
|
||||
var EEBUSDetails = communication.ManufacturerDetails{
|
||||
|
|
@ -93,13 +92,6 @@ func NewEEBus(other map[string]interface{}) (*EEBus, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
// Test if go is patched for accepting the buggy Elli certificate
|
||||
var res bool
|
||||
b := cryptobyte.String([]byte{0x01, 0x01, 0x01})
|
||||
if ok := b.ReadASN1Boolean(&res); !ok {
|
||||
panic("EEBUS needs a patched go crypto library. Run `make patch-asn1` before compiling.")
|
||||
}
|
||||
|
||||
srv := &server.Server{
|
||||
Log: log.TRACE,
|
||||
Addr: cc.Uri,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue