Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer
2025-05-16 14:32:47 +02:00
parent ac88784089
commit 318443f270
5 changed files with 38 additions and 31 deletions

View File

@ -3,6 +3,8 @@ package tls
import (
"context"
"crypto/tls"
"goauthentik.io/internal/outpost/radius/eap/protocol"
)
type State struct {
@ -18,7 +20,7 @@ type State struct {
ContextCancel context.CancelFunc
}
func NewState(c tctx) *State {
func NewState(c protocol.Context) interface{} {
c.Log().Debug("TLS: new state")
return &State{
RemainingChunks: make([][]byte, 0),