-
Notifications
You must be signed in to change notification settings - Fork 266
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
TS_VERIFY_CTX_init is required by yara >= 4.3.0 #1006
Comments
It does compile if |
It was removed since it serves no purpose with opaque |
This is redundant and already handled by TS_VERIFY_CTX_new(). Additionally it causes build failures with LibreSSL >= 3.8.0 which removed this function since it serves no purpose with opaque TS_VERIFY_CTX where it will zero out an already zero'd out ctx or cause a leak. See: libressl/portable#1006
Thanks for the explanation, I made a PR for yara here. VirusTotal/yara#2044 |
There are some test failures in yara, the second of which I am unsure if its related to LibreSSL? |
This is redundant and already handled by TS_VERIFY_CTX_new(). Additionally it causes build failures with LibreSSL >= 3.8.0 which removed this function since it serves no purpose with opaque TS_VERIFY_CTX where it will zero out an already zero'd out ctx or cause a leak. See: libressl/portable#1006
The fix was merged into yara, thanks for your time! I will close this issue now, but there might be further issues documented in issue VirusTotal/yara#2046. |
OS:
Gentoo
libressl:
3.8.2
yara:
>= 4.3.0
When building yara it fails with implicit function declarations for
TS_VERIFY_CTX_init
.yara-4.4.0-build.log
This was added to yara
4.3.0
in commit VirusTotal/yara@b9cd46d and is visible in their code base here.I do not see any OpenSSL documentation for this function, but it looks relatively simple looking at their code which is visible here.
Are there reasons why this function was not added to LibreSSL when other
TS_VERIFY_CTX_
functions were added? Or was it just because it was not needed at the time?I also made this issue for the Gentoo LibreSSL overlay. gentoo/libressl#550
The text was updated successfully, but these errors were encountered: