mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 23:44:52 +01:00
add support for SIGN requests
This commit is contained in:
@@ -54,7 +54,7 @@ func (s *Session) handlePacket(pkt []byte) error {
|
|||||||
bf := byteframe.NewByteFrameFromBytes(pkt)
|
bf := byteframe.NewByteFrameFromBytes(pkt)
|
||||||
reqType := string(bf.ReadNullTerminatedBytes())
|
reqType := string(bf.ReadNullTerminatedBytes())
|
||||||
switch reqType[:len(reqType)-3] {
|
switch reqType[:len(reqType)-3] {
|
||||||
case "DLTSKEYSIGN:", "DSGN:":
|
case "DLTSKEYSIGN:", "DSGN:", "SIGN:":
|
||||||
s.handleDSGN(bf)
|
s.handleDSGN(bf)
|
||||||
case "PS3SGN:":
|
case "PS3SGN:":
|
||||||
s.client = PS3
|
s.client = PS3
|
||||||
|
|||||||
Reference in New Issue
Block a user