Skip to content

Commit 05556fc

Browse files
committed
Remove semicolon to fix getting symbol
1 parent 6c76bd7 commit 05556fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func getDynamicLibrarySymbol(functionName string) any {
1717
if libraryHandle != nil {
1818
C.dlclose(libraryHandle)
1919
}
20-
libraryHandle := C.dlopen(C.CString(os.Getenv("PKCS11_SUBMODULE")), C.RTLD_LAZY|C.RTLD_GLOBAL)
20+
libraryHandle = C.dlopen(C.CString(os.Getenv("PKCS11_SUBMODULE")), C.RTLD_LAZY|C.RTLD_GLOBAL)
2121
if libraryHandle == nil {
2222
return nil
2323
}

0 commit comments

Comments
 (0)