Skip to content

Commit c37bc56

Browse files
Expose CK_SESSION_HANDLE as readonly
Fixes #219.
1 parent 8499fca commit c37bc56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkcs11/_pkcs11.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def merge_templates(default_template, *user_templates):
850850
cdef class Session(HasFuncList, types.Session):
851851
"""Extend Session with implementation."""
852852

853-
cdef CK_SESSION_HANDLE handle
853+
cdef readonly CK_SESSION_HANDLE handle
854854
cdef readonly Token token
855855
cdef readonly bint rw
856856
cdef CK_USER_TYPE _user_type

0 commit comments

Comments
 (0)