aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ikev2.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ikev2.py')
-rw-r--r--test/test_ikev2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ikev2.py b/test/test_ikev2.py
index ea425e2e489..b93e7805363 100644
--- a/test/test_ikev2.py
+++ b/test/test_ikev2.py
@@ -1215,7 +1215,7 @@ class TemplateInitiator(IkePeer):
if self.no_idr_auth:
self.assertEqual(idi.next_payload, 39) # AUTH
else:
- idr = ikev2.IKEv2_payload_IDr(idi.payload)
+ idr = ikev2.IKEv2_payload_IDr(bytes(idi.payload))
self.assertEqual(idr.load, self.sa.r_id)
prop = idi[ikev2.IKEv2_payload_Proposal]
c = self.sa.child_sas[0]