mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-26 07:18:33 +03:00
Fix comment: Ki -> OPC
Change-Id: I566cf7bc658c730b4381c0f145bfc4f805cca42a
This commit is contained in:
@@ -367,7 +367,7 @@ def gen_parameters(opts):
|
|||||||
else:
|
else:
|
||||||
ki = ''.join(['%02x' % random.randrange(0,256) for i in range(16)])
|
ki = ''.join(['%02x' % random.randrange(0,256) for i in range(16)])
|
||||||
|
|
||||||
# Ki (random)
|
# OPC (random)
|
||||||
if opts.opc is not None:
|
if opts.opc is not None:
|
||||||
opc = opts.opc
|
opc = opts.opc
|
||||||
if not re.match('^[0-9a-fA-F]{32}$', opc):
|
if not re.match('^[0-9a-fA-F]{32}$', opc):
|
||||||
|
|||||||
Reference in New Issue
Block a user