From 760e421be5e1b40457c07e4c6e21439bf813b3b5 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 28 Jul 2023 16:39:08 +0200 Subject: [PATCH] utils.py: remove superfluous import from itself b2h() is already available. Change-Id: Ied513a08cc8b5091dd467106250f1e6b5067c3a8 --- pySim/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pySim/utils.py b/pySim/utils.py index 1541e2e6..6cacdaa6 100644 --- a/pySim/utils.py +++ b/pySim/utils.py @@ -537,7 +537,6 @@ def derive_milenage_opc(ki_hex: Hexstr, op_hex: Hexstr) -> Hexstr: from Cryptodome.Cipher import AES # pylint: disable=no-name-in-module from Cryptodome.Util.strxor import strxor - from pySim.utils import b2h # We pass in hex string and now need to work on bytes ki_bytes = bytes(h2b(ki_hex))