Discovered after configuring for Android x86 with -no-comp option. The best I can tell, <openssl/comp.h> is not even needed for the enc program. However, this is the probably the least intrusive change.
diff --git a/apps/enc.c b/apps/enc.c index d84c51d..9cdbc57 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -67,7 +67,11 @@ #include <openssl/x509.h> #include <openssl/rand.h> #include <openssl/pem.h> + +#ifndef OPENSSL_NO_COMP #include <openssl/comp.h> +#endif + #include <ctype.h> int set_hex(char *in,unsigned char *out,int size);
diff --git a/apps/enc.c b/apps/enc.c index d84c51d..9cdbc57 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -67,7 +67,11 @@ #include <openssl/x509.h> #include <openssl/rand.h> #include <openssl/pem.h> + +#ifndef OPENSSL_NO_COMP #include <openssl/comp.h> +#endif + #include <ctype.h> int set_hex(char *in,unsigned char *out,int size);