Skip to content

Commit

Permalink
remove TODO, Finished has not been wrapped yet
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Mangum <[email protected]>
  • Loading branch information
hasheddan committed Jul 18, 2023
1 parent 51bba14 commit 4823f71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/protocol/handshake/handshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
package handshake

import (
"fmt"

"github.com/pion/dtls/v2/internal/ciphersuite/types"
"github.com/pion/dtls/v2/internal/util"
"github.com/pion/dtls/v2/pkg/protocol"
Expand Down Expand Up @@ -141,6 +143,7 @@ func (h *Handshake) Unmarshal(data []byte) error {
h.Message = &MessageClientKeyExchange{KeyExchangeAlgorithm: h.KeyExchangeAlgorithm}
case TypeFinished:
h.Message = &MessageFinished{}
fmt.Printf("%+v\n", h.Header)
case TypeCertificateVerify:
h.Message = &MessageCertificateVerify{}
default:
Expand Down

0 comments on commit 4823f71

Please sign in to comment.