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

Update hodl.c #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update hodl.c #1

wants to merge 1 commit into from

Conversation

Qwertylex
Copy link

I had an issue:
hodl.c: In function ‘scanhash_hodl’:
hodl.c:67:20: error: storage size of ‘ctx’ isn’t known
EVP_CIPHER_CTX ctx;
^~~
but this PR fixes it, unless I did something wrong... however it segfaults after a few seconds of benchmarking?

@bitbandi
Copy link

bitbandi commented Nov 2, 2017

not good, this is just change the pointer usage.
the error "storage size of isn’t known" means, that EVP_CIPHER_CTX struct is unknown. maybe you use too old or too new openssl version.

@Qwertylex
Copy link
Author

yes, I have openssl 1.1.0.f-2
https://www.archlinux.org/packages/core/x86_64/openssl/

...shouldn't you update your code to work with 1.1.0?
Maybe I don't know how to do that properly, sorry.

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

Successfully merging this pull request may close these issues.

2 participants