Unable to build OpenSSL on Windows after I modified a function #24082
-
Hello! I'm trying to use CMS_SignerInfo_sign function, but I don't want Signing Time attribute to be present. So I tried to recompile OpenSSL latest version with a custom function starting from the body of the specified function:
and I also added the signature of the function in cms.h.in:
I used the following commands:
After it is done, I tried to link the compiled version with my project, but when I call it, I have a series of "unresolved references": How do I have to compile OpenSSL on Windows if I added a function? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
-
I'm afraid you will have to run |
Beta Was this translation helpful? Give feedback.
make update does not have an equivalent in Windows like
But I finally solved the problem by adding an entry in libcrypto.num with my function something like:
And in Hacking.md file it is specified the same action done by make update (libcrypto.num is updated).