build-openssl-ios
build-openssl-ios copied to clipboard
What is the purpose of the patch-include.patch file?
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
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