Skip to content

Commit 44f37e1

Browse files
committed
ext/security: Python 3 support
1 parent 1316a7a commit 44f37e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Xlib/ext/security.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SecurityGenerateAuthorization(rq.ReplyRequest):
7272
rq.LengthOf('auth_data', 2),
7373
rq.Card32('value_mask'),
7474
rq.String8('auth_proto'),
75-
rq.String8('auth_data'),
75+
rq.Bytes('auth_data'),
7676
rq.List('values', rq.Card32Obj)
7777
)
7878
_reply = rq.Struct(rq.ReplyCode(),
@@ -82,7 +82,7 @@ class SecurityGenerateAuthorization(rq.ReplyRequest):
8282
AUTHID('authid'),
8383
rq.LengthOf('auth_data_return', 2),
8484
rq.Pad(18),
85-
rq.String8('auth_data_return')
85+
rq.Bytes('auth_data_return')
8686
)
8787

8888

0 commit comments

Comments
 (0)