refactor: add setter for handshake

This commit is contained in:
Derrick Hammer 2024-01-08 07:14:25 -05:00
parent 33e2ef0d61
commit 29cff7f368
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ type HandshakeOpen struct {
base.IncomingMessageHandler
}
func (h *HandshakeOpen) SetHandshake(handshake []byte) {
h.handshake = handshake
}
func (h HandshakeOpen) Challenge() []byte {
return h.challenge
}