mirror of
https://github.com/libp2p/go-openssl.git
synced 2025-03-14 11:40:07 +08:00
Use github.com/mattn/go-pointer to save/restore "pointers" across FFI bounderies. Go reserves the right to move pointers, so using `unsafe.Pointer` for this is not safe.
10 lines
229 B
Modula-2
10 lines
229 B
Modula-2
module github.com/libp2p/go-openssl
|
|
|
|
require (
|
|
github.com/mattn/go-pointer v0.0.1
|
|
github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572
|
|
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb // indirect
|
|
)
|
|
|
|
go 1.12
|