Enable CKR properly from config

This commit is contained in:
Neil Alexander 2018-11-06 12:32:16 +00:00
parent bc578f571c
commit bc62af7f7d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 6 additions and 1 deletions

View file

@ -37,6 +37,10 @@ func (c *cryptokey) init(core *Core) {
c.ipv6sources = make([]net.IPNet, 0)
}
func (c *cryptokey) setEnabled(enabled bool) {
c.enabled = enabled
}
func (c *cryptokey) isEnabled() bool {
return c.enabled
}