Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
decrease required go version to 1.12
The error occurs when trying to build the library using go < 1.16: ./alloc.go:14:10: unrecognized Go type _Ctype_void ./alloc.go:16:21: unrecognized Go type _Ctype_void This is an unnecessary restriction. It can be fixed by replacing *C.void with unsafe.Pointer (as it is already done for `ptr` argument of CRYPTO_EX_free[1][2]). 1. https://www.openssl.org/docs/manmaster/man3/SSL_get_ex_new_index.html 2. https://www.openssl.org/docs/man3.0/man3/CRYPTO_EX_free.html Related to libp2p#18
- Loading branch information