Skip to content

Commit

Permalink
Fix minor typos in the Wireshark payload dissector
Browse files Browse the repository at this point in the history
  • Loading branch information
pakesson-truesec committed Mar 11, 2024
1 parent 95ef70a commit b7842b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/osdp_dissector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ local payload = ProtoField.new("OSDP Payload", "Payload", ftypes.BYTES)

-- SC sub entries
local scb = ProtoField.new("Secure Channel Block", "SCB", ftypes.BYTES)
local sc_data = ProtoField.new("Enctrypted Data Block", "SC_DATA", ftypes.BYTES)
local sc_data = ProtoField.new("Encrypted Data Block", "SC_DATA", ftypes.BYTES)
local sc_mac = ProtoField.new("Message Authentication Code", "SC_MAC", ftypes.BYTES)

-- Plaintext sub entries
Expand Down Expand Up @@ -174,7 +174,7 @@ function osdp_protocol.dissector(buffer, pinfo, tree)
-- +1 and -1 below are to skip the Command/Response ID
offset = offset + scb_len + 1
payload_len = payload_len - scb_len - 1
local info = "Seure Message"
local info = "Secure Message"
if scb_type < 0x15 then
info = "SC Handshake"
end
Expand Down

0 comments on commit b7842b3

Please sign in to comment.