Skip to content

Conversation

iddqd13
Copy link

@iddqd13 iddqd13 commented Apr 5, 2018

Hello!
I tried to build libsourcey with OpenSSL and got errors. Also saw #204 Issue.
i changed some files according to pocoproject/poco@bfaa161 and OpenSSL Documentation.
Please, Check this Pull Request, maybe it will be useful.
i checked local build - build successfull ( OpenSSL 1.1.0 -stable , gcc 6.3. , Debian Stretch )

P.S. Sorry for my English. I'm learning it yet. Thanks.

iddqd13 added 3 commits April 5, 2018 16:35
Remove extra const_cast
using internal::api(EVP_MD_CTX_cleanup(_ctxPtr));  instead of internal::api(EVP_MD_CTX_reset(_ctxPtr));
internal::api(EVP_MD_CTX_cleanup(&_ctx));
internal::api(EVP_DigestInit(&_ctx, _md));
#else
internal::api(EVP_MD_CTX_cleanup(_ctxPtr));
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
internal::api(EVP_MD_CTX_cleanup(_ctxPtr));
EVP_MD_CTX_free(_ctxPtr);

For OpenSSL 1.1.1

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

Successfully merging this pull request may close these issues.

1 participant