Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C.RAND_bytes is missing #111

Open
xmhscratch opened this issue Nov 18, 2018 · 2 comments
Open

C.RAND_bytes is missing #111

xmhscratch opened this issue Nov 18, 2018 · 2 comments

Comments

@xmhscratch
Copy link

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~

@zeebo
Copy link
Member

zeebo commented Dec 5, 2018

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.

@ronakg
Copy link

ronakg commented Mar 11, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants