Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

decrease required go version to 1.12 #29

Closed
wants to merge 1 commit into from

Commits on May 31, 2022

  1. 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
    oleg-jukovec committed May 31, 2022
    Configuration menu
    Copy the full SHA
    a8e2e95 View commit details
    Browse the repository at this point in the history