Skip to content

Commit

Permalink
initialize dammit
Browse files Browse the repository at this point in the history
  • Loading branch information
leifj committed Oct 22, 2014
1 parent 4e9d389 commit 995b789
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pyeleven/pk11.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def library(lib_name):
lib = PyKCS11.PyKCS11Lib()
assert type(lib_name) == str # lib.load does not like unicode
lib.load(lib_name)
lib.lib.C_Initialize()
modules[lib_name] = lib

return modules[lib_name]
Expand Down

0 comments on commit 995b789

Please sign in to comment.