cloudflare / cfssl

CFSSL: Cloudflare's PKI and TLS toolkit
https://cfssl.org/
BSD 2-Clause "Simplified" License
8.65k stars 1.1k forks source link

Running into cannot use uintptr(unsafe.Pointer(sslPara)) (type uintptr) as type syscall.Pointer in field value #960

Open dperic123 opened 5 years ago

dperic123 commented 5 years ago

Hello,

I saw there was a fix somewhere for this but when i tried it, I still had issues. Maybe someone can walm me through it?

c:>go get -u github.com/cloudflare/cfssl/cmd/cfssl/ github.com/cloudflare/cfssl/vendor/github.com/google/certificate-transparency-go/x509 Users\Dan\go\src\github.com\cloudflare\cfssl\vendor\github.com\google\certificate-transparency-go\x509\root_windows.go:112:3: cannot use uintptr(unsafe.Pointer(sslPara)) (type uintptr) as type syscall.Pointer in field value

c:>go version go version go1.11.4 windows/amd64

Please let me know if you can help!

image

stormon-force commented 5 years ago

I'm having a similar problem. Is there a link to a previous solution for this issue?

Triptophan commented 5 years ago

$ go version go version go1.11.5 windows/amd64

$ go get -u github.com/cloudflare/cfssl/cmd/cfssl github.com/cloudflare/cfssl/vendor/github.com/google/certificate-transparency-go/x509 C:\Users\dkohler\go\src\github.com\cloudflare\cfssl\vendor\github.com\google\certificate-transparency-go\x509\root_windows.go:112:3: cannot use uintptr(unsafe.Pointer(sslPara)) (type uintptr) as type syscall.Pointer in field value

image

I'm having the same issue.

naphta commented 5 years ago

Are there any plans of fixing this issue?

Appears to be fixable if https://github.com/google/certificate-transparency-go/issues/284 is anything to go on.

Bowenislandsong commented 4 years ago

Is this going to be fixed?

gavin-shakespeare commented 4 years ago

I'm also having the same issue, anyone can help me fix? or guide me how to fix this issue? Thanks a lot in advance.