Skip to content
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

What is the purpose of the patch-include.patch file? #8

Open
skuskusku opened this issue Feb 8, 2019 · 1 comment
Open

What is the purpose of the patch-include.patch file? #8

skuskusku opened this issue Feb 8, 2019 · 1 comment

Comments

@skuskusku
Copy link

Hello Sinofool,

can you please elaborate what the purpose of the patch-include.patch file is? It is used to patch opensslconf.h and removes the following lines from it:

`# define NO_SSL_TRACE

endif

if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)

define NO_STORE

endif

if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)

define NO_UNIT_TEST

`
What strikes me is that this is done after the build has completed. Can you please explain what the reason is for removing these preprocessor statements from the header file?

TIA,

--
Stefan

@skuskusku
Copy link
Author

Sorry, I garbled the formatting, code removed from the header file should look like this:

#  define NO_SSL_TRACE
# endif
# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)
#  define NO_STORE
# endif
# if defined(OPENSSL_NO_UNIT_TEST) && !defined(NO_UNIT_TEST)
#  define NO_UNIT_TEST

Thanks,

--
Stefan

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

No branches or pull requests

1 participant