aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2020-09-02 02:21:01 -0400
committerRob Austein <sra@hactrn.net>2020-09-02 02:21:01 -0400
commit314ba09b1447ec20c7ffad587691c83b965e7400 (patch)
treeba8987f94f6621d33ceb72a24eb8a9dfda050df9
parent646454d4264ae27769cb20f31f31eb7cb0b9a908 (diff)
Well of course there had to be one last dumb Python3 string bugpython3
-rwxr-xr-xprojects/hsm/cryptech_probe2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/hsm/cryptech_probe b/projects/hsm/cryptech_probe
index 84359b7..356931a 100755
--- a/projects/hsm/cryptech_probe
+++ b/projects/hsm/cryptech_probe
@@ -125,7 +125,7 @@ for port in ports:
# characters live, but it will do for the moment.
try:
- is_hsm = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END
+ is_hsm = response[response.index(SLIP_END + RPC_reply) + len(SLIP_END + RPC_reply) + 4] == SLIP_END[0]
except ValueError:
is_hsm = False
except IndexError: