-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sanaullah,
On 12/1/14 6:09 AM, Sanaullah wrote: > I have attached the diff [that allows external crypto decides to > be used via tcnative). let me know if its ok? For reference, here's the diff: > > 304c304 < #if 1 //HAVE_ENGINE_LOAD_BUILTIN_ENGINES --- >> #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES > 661c661 < #if 1 //HAVE_ENGINE_LOAD_BUILTIN_ENGINES --- >> #if HAVE_ENGINE_LOAD_BUILTIN_ENGINES This looks like a /reverse/ diff, since you said you removed the HAVE_ENGINE_LOAD_BUILTIN_ENGINES and replaced it with "1". Other than that, it's about as compact as you can get! I think this would have been easier if you had just built tcnative like this: $ cd /path/to/tcnative/jni/native $ CFLAGS=-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES ./configure ... $ CFLAGS=-DHAVE_ENGINE_LOAD_BUILTIN_ENGINES make Can you try re-downloading the source and re-building with the above CFLAGS set instead of patching the code? If that works, it will be a slightly safer way to build. I wonder why HAVE_ENGINE_LOAD_BUILTIN_ENGINES isn't usually set to 1. I'll do a bit of reading about it. Thanks, - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJUfIh6AAoJEBzwKT+lPKRYbKgP/1K0FulX2YQmOLnlTupIqAye /d5+MXepk/kWCdKswP2aSjqpVRF4aCt6aQiWDI5oxpG45b5hkTFk0wAkC9q8MQiv Aq9RknauhbqExSLdXyS+krfZP+i3yFOEDGccxLyKg6svlIX6xsf3ywUtekBrx/G1 HdGhIXX3ipMKh36yYpfzJOlBNg3uTxdk8oADtQPBC4HsNR0ZGtE5tcAXbl0ZCN33 F5n/u5H6nYhOimlon6eFqpton6qqecjyyCNPhpoZFJFFgRJX9HrOuFkAPRyUc6GG +VgTHpH7J/RxtA3Ac2nk3U91WMIFgu+faJT7erh4KaSTT/+PaYdc7YUfctnjgUg+ R/O1/q5YN8GOItCpe/wfCZEIxRbcBiPAsLhe8Dlz5nqdc1aauAaezuqUDZu6lQKG mP/0YF5fg13L4YyEVcSM9MNzm/+vPABZ0QuZsD6QSlpAagOvbLQAX1saQeKo4ngF Yu7Xa1oo0J8Lg3cUMq3JbK6v3/A/wXmNXe85JSViR8otpWz+rM3eT6WD5kcIczko gPlF4c4bYL86i0JXJMm44Bv7ZNuOzYZk200IzlUe9ZBHiXX/UwbINawLisKcs5+G +5evf1YyGn6HvucMC7ENvszLNJAyLWk6sOguutO2COry9tyq5AL9pkATwUhH6mkL HPfFzWYVT+Kabcf7vvw/ =/JO0 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org