Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
This commit is contained in:
@@ -12,7 +12,8 @@ INSTALL_PREFIX=
|
||||
OPENSSLDIR= /usr/local/ssl
|
||||
INSTALLTOP=/usr/local/ssl
|
||||
MAKE= make -f Makefile.ssl
|
||||
MAKEDEPEND= $(TOP)/util/domd $(TOP)
|
||||
MAKEDEPPROG= makedepend
|
||||
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
|
||||
MAKEFILE= Makefile.ssl
|
||||
AR= ar r
|
||||
|
||||
@@ -109,7 +110,7 @@ clean:
|
||||
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
||||
|
||||
rc4_enc.o: ../../include/openssl/opensslconf.h ../../include/openssl/rc4.h
|
||||
rc4_enc.o: rc4_locl.h
|
||||
rc4_enc.o: rc4_enc.c rc4_locl.h
|
||||
rc4_skey.o: ../../include/openssl/opensslconf.h
|
||||
rc4_skey.o: ../../include/openssl/opensslv.h ../../include/openssl/rc4.h
|
||||
rc4_skey.o: rc4_locl.h
|
||||
rc4_skey.o: rc4_locl.h rc4_skey.c
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#ifndef HEADER_RC4_H
|
||||
#define HEADER_RC4_H
|
||||
|
||||
#ifdef NO_RC4
|
||||
#ifdef OPENSSL_NO_RC4
|
||||
#error RC4 is disabled.
|
||||
#endif
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#ifdef NO_RC4
|
||||
#ifdef OPENSSL_NO_RC4
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("No RC4 support\n");
|
||||
|
||||
Reference in New Issue
Block a user