Skip to content

Conversation

@ardek66
Copy link
Contributor

@ardek66 ardek66 commented Jun 11, 2022

OpenSSL methods exposed in #13131 were not properly imported from libcrypto, resulting in failure to load them dynamically.
I have solved this as mentioned in making timotheecour#64 (comment).
Although I haven't replaced all occurences of the older pragma, this new pragma could lead people to not make mistakes like this in the future.
Also I have removed PEVP_MD because it was redundant.

@Araq Araq merged commit a4fdaa8 into nim-lang:devel Jun 13, 2022

import dynlib

{.pragma: lcrypto, cdecl, dynlib: DLLUtilName, importc.}
Copy link
Contributor

Choose a reason for hiding this comment

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

(most of) these should be raises: [], noSideEffect as well - don't remember if SSL has globals or not which would affect side effects

capocasa pushed a commit to capocasa/Nim that referenced this pull request Mar 31, 2023
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.

3 participants