openssl icon indicating copy to clipboard operation
openssl copied to clipboard

C.RAND_bytes is missing

Open xmhscratch opened this issue 7 years ago • 2 comments

I need the random bytes from openssl package but it seem not to be implemented. What do i need to put into shim.h and shim.c to get the binding working? Thank for your help~

xmhscratch avatar Nov 18 '18 05:11 xmhscratch

The purpose of shim.h and shim.c is to allow interoperability with different OpenSSL versions. If the call you're looking to expose is the same across all the versions that are supported, you can just ignore them and call it directly in the go file.

zeebo avatar Dec 05 '18 18:12 zeebo

Is there a way to call RAND_bytes() without forking the openssl package?

ronakg avatar Mar 11 '21 19:03 ronakg