smimesign icon indicating copy to clipboard operation
smimesign copied to clipboard

certstore: certstore_windows.go type error

Open chkp-idoza opened this issue 3 years ago • 2 comments

After installing & importing the smimesign/certstore package, I get the following error while running my go main program:

....\go\pkg\mod\github.com\github\[email protected]\certstore\certstore_windows.go:640:29: cannot convert cmsg (variable of type *_Ctype_char) to type _Ctype_HANDLE

the only code I have added is the following:

store, err := certstore.Open()
if err != nil {
	fmt.Println(err)
}
defer store.Close()

Is there a way to fix this ?

chkp-idoza avatar Apr 20 '22 13:04 chkp-idoza

The same is happening to me

hangorn avatar May 19 '22 08:05 hangorn

Should be fixed by #114

ElMostafaIdrassi avatar Jul 08 '22 11:07 ElMostafaIdrassi