Work with -pedantic!
diff --git a/Configure b/Configure
index bd4506d..198dd4a 100755
--- a/Configure
+++ b/Configure
@@ -88,7 +88,7 @@
 # Our development configs
 "purify",	"purify gcc:-g -DPURIFY -Wall:-lsocket -lnsl::::",
 "debug",	"gcc:-DBN_DEBUG -DREF_CHECK -DCRYPTO_MDEBUG -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror:-lefence::::",
-"debug-ben",	"gcc:-DBN_DEBUG -DREF_CHECK -DCRYPTO_MDEBUG -O2 -Wall -Wshadow -Werror -pipe:::::",
+"debug-ben",	"gcc:-DBN_DEBUG -DREF_CHECK -DCRYPTO_MDEBUG -O2 -pedantic -Wall -Wshadow -Werror -pipe:::::",
 "debug-ben-strict",	"gcc:-DBN_DEBUG -DREF_CHECK -DCRYPTO_MDEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe:::::",
 "debug-rse","cc:-DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
 "dist",		"cc:-O:::::",
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index 266bfa8..97b7c88 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -78,9 +78,9 @@
 
 #ifndef NOPROTO
 int get_cert_chain(X509 *cert, STACK **chain);
-int dump_certs_keys_p12(BIO *out, PKCS12 *p12, unsigned char *pass, int passlen, int options);
-int dump_certs_pkeys_bags(BIO *out, STACK *bags, unsigned char *pass, int passlen, int options);
-int dump_certs_pkeys_bag(BIO *out, PKCS12_SAFEBAG *bags, unsigned char *pass, int passlen, int options);
+int dump_certs_keys_p12(BIO *out, PKCS12 *p12, char *pass, int passlen, int options);
+int dump_certs_pkeys_bags(BIO *out, STACK *bags, char *pass, int passlen, int options);
+int dump_certs_pkeys_bag(BIO *out, PKCS12_SAFEBAG *bags, char *pass, int passlen, int options);
 int print_attribs(BIO *out, STACK *attrlst, char *name);
 void hex_prin(BIO *out, unsigned char *buf, int len);
 int alg_print(BIO *x, X509_ALGOR *alg);
@@ -274,7 +274,7 @@
 	char *catmp;
 	int i, pmatch = 0;
 	unsigned char keyid[EVP_MAX_MD_SIZE];
-	int keyidlen;
+	unsigned int keyidlen;
 	/* Get private key so we can match it to a certificate */
 	key = PEM_read_bio_PrivateKey(inkey ? inkey : in, NULL, NULL);
 	if (!inkey) BIO_reset(in);
@@ -452,7 +452,7 @@
         return 0;
 }
 
-int dump_certs_keys_p12 (BIO *out, PKCS12 *p12, unsigned char *pass,
+int dump_certs_keys_p12 (BIO *out, PKCS12 *p12, char *pass,
 	     int passlen, int options)
 {
 	STACK *asafes, *bags;
@@ -485,7 +485,7 @@
 	return 1;
 }
 
-int dump_certs_pkeys_bags (BIO *out, STACK *bags, unsigned char *pass,
+int dump_certs_pkeys_bags (BIO *out, STACK *bags, char *pass,
 	     int passlen, int options)
 {
 	int i;
@@ -497,7 +497,7 @@
 	return 1;
 }
 
-int dump_certs_pkeys_bag (BIO *out, PKCS12_SAFEBAG *bag, unsigned char *pass,
+int dump_certs_pkeys_bag (BIO *out, PKCS12_SAFEBAG *bag, char *pass,
 	     int passlen, int options)
 {
 	EVP_PKEY *pkey;
diff --git a/apps/s_server.c b/apps/s_server.c
index 1257ac5..f026fa1 100644
--- a/apps/s_server.c
+++ b/apps/s_server.c
@@ -76,8 +76,8 @@
 
 #ifndef NOPROTO
 static RSA MS_CALLBACK *tmp_rsa_cb(SSL *s, int export,int keylength);
-static int sv_body(char *hostname, int s, char *context);
-static int www_body(char *hostname, int s, char *context);
+static int sv_body(char *hostname, int s, unsigned char *context);
+static int www_body(char *hostname, int s, unsigned char *context);
 static void close_accept_socket(void );
 static void sv_usage(void);
 static int init_ssl_connection(SSL *s);
@@ -556,7 +556,7 @@
 		SSL_CTX_sess_get_cache_size(ssl_ctx));
 	}
 
-static int sv_body(char *hostname, int s, char *context)
+static int sv_body(char *hostname, int s, unsigned char *context)
 	{
 	char *buf=NULL;
 	fd_set readfds;
@@ -586,7 +586,8 @@
 	if (con == NULL) {
 		con=(SSL *)SSL_new(ctx);
 		if(context)
-		      SSL_set_session_id_context(con, context, strlen(context));
+		      SSL_set_session_id_context(con, context,
+						 strlen((char *)context));
 	}
 	SSL_clear(con);
 
@@ -871,7 +872,7 @@
 	}
 #endif
 
-static int www_body(char *hostname, int s, char *context)
+static int www_body(char *hostname, int s, unsigned char *context)
 	{
 	char *buf=NULL;
 	int ret=1;
@@ -904,7 +905,8 @@
 	if (!BIO_set_write_buffer_size(io,bufsize)) goto err;
 
 	if ((con=(SSL *)SSL_new(ctx)) == NULL) goto err;
-	if(context) SSL_set_session_id_context(con, context, strlen(context));
+	if(context) SSL_set_session_id_context(con, context,
+					       strlen((char *)context));
 
 	sbio=BIO_new_socket(s,BIO_NOCLOSE);
 	if (s_nbio_test)
diff --git a/apps/s_socket.c b/apps/s_socket.c
index 9c08ec0..2c83dbb 100644
--- a/apps/s_socket.c
+++ b/apps/s_socket.c
@@ -209,7 +209,7 @@
 int nbio_sock_error(int sock)
 	{
 	int j,i;
-	unsigned int size;
+	int size;
 
 	size=sizeof(int);
 	i=getsockopt(sock,SOL_SOCKET,SO_ERROR,(char *)&j,&size);
@@ -360,7 +360,7 @@
 	int ret,i;
 	struct hostent *h1,*h2;
 	static struct sockaddr_in from;
-	unsigned int len;
+	int len;
 /*	struct linger ling; */
 
 	if (!sock_init()) return(0);
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl
index 8cb6f2e..9e4df74 100644
--- a/crypto/Makefile.ssl
+++ b/crypto/Makefile.ssl
@@ -39,8 +39,8 @@
 
 SRC= $(LIBSRC)
 
-EXHEADER= crypto.h cryptall.h tmdiff.h opensslv.h
-HEADER=	cryptlib.h date.h opensslconf.h $(EXHEADER)
+EXHEADER= crypto.h cryptall.h tmdiff.h opensslv.h opensslconf.h
+HEADER=	cryptlib.h date.h $(EXHEADER)
 
 ALL=    $(GENERAL) $(SRC) $(HEADER)
 
diff --git a/crypto/asn1/Makefile.ssl b/crypto/asn1/Makefile.ssl
index 7b6256e..c6e1f2f 100644
--- a/crypto/asn1/Makefile.ssl
+++ b/crypto/asn1/Makefile.ssl
@@ -122,13 +122,13 @@
 
 a_bitstr.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_bitstr.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_bitstr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_bitstr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_bmp.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_bmp.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_bmp.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_bmp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_bool.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_bool.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_bool.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_bool.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_bytes.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_bytes.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_bytes.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -138,7 +138,8 @@
 a_bytes.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_bytes.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_bytes.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_bytes.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_bytes.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_bytes.o: asn1_mac.h
 a_d2i_fp.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_d2i_fp.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_d2i_fp.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -148,7 +149,8 @@
 a_d2i_fp.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_d2i_fp.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_d2i_fp.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_d2i_fp.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_d2i_fp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_d2i_fp.o: asn1_mac.h
 a_digest.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_digest.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_digest.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -158,7 +160,7 @@
 a_digest.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_digest.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_digest.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_digest.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_digest.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_dup.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_dup.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_dup.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -168,13 +170,14 @@
 a_dup.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_dup.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_dup.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_dup.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_dup.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_dup.o: asn1_mac.h
 a_enum.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_enum.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_enum.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_enum.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_gentm.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_gentm.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_gentm.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_gentm.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_hdr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_hdr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_hdr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -184,7 +187,8 @@
 a_hdr.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_hdr.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_hdr.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_hdr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_hdr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_hdr.o: asn1_mac.h
 a_i2d_fp.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_i2d_fp.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_i2d_fp.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -194,10 +198,11 @@
 a_i2d_fp.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_i2d_fp.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_i2d_fp.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_i2d_fp.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_i2d_fp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_i2d_fp.o: asn1_mac.h
 a_int.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_int.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_int.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_int.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_meth.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_meth.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_meth.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -207,17 +212,17 @@
 a_meth.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_meth.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_meth.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_meth.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_meth.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_object.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_object.o: ../../include/e_os.h ../../include/err.h ../../include/objects.h
-a_object.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h
-a_object.o: asn1.h
+a_object.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+a_object.o: ../opensslv.h asn1.h
 a_octet.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_octet.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_octet.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_octet.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_print.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_print.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_print.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_print.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_set.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_set.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_set.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -227,7 +232,8 @@
 a_set.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_set.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_set.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_set.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_set.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_set.o: asn1_mac.h
 a_sign.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_sign.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_sign.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -237,10 +243,10 @@
 a_sign.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_sign.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_sign.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_sign.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_sign.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_time.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_time.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_time.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_time.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_type.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_type.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_type.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -250,13 +256,14 @@
 a_type.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_type.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_type.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_type.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+a_type.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+a_type.o: asn1_mac.h
 a_utctm.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_utctm.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_utctm.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_utctm.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_utf8.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_utf8.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_utf8.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_utf8.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_verify.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 a_verify.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 a_verify.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -266,11 +273,12 @@
 a_verify.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 a_verify.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 a_verify.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-a_verify.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+a_verify.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 a_vis.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 a_vis.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-a_vis.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
-asn1_err.o: ../../include/bn.h ../../include/err.h ../../include/stack.h asn1.h
+a_vis.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+asn1_err.o: ../../include/bn.h ../../include/err.h ../../include/stack.h
+asn1_err.o: ../opensslconf.h asn1.h
 asn1_lib.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 asn1_lib.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 asn1_lib.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -280,7 +288,8 @@
 asn1_lib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 asn1_lib.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 asn1_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-asn1_lib.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+asn1_lib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+asn1_lib.o: asn1_mac.h
 asn1_par.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 asn1_par.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 asn1_par.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -290,10 +299,10 @@
 asn1_par.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 asn1_par.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 asn1_par.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-asn1_par.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+asn1_par.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 asn_pack.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 asn_pack.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-asn_pack.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+asn_pack.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 d2i_dhp.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_dhp.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_dhp.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -303,7 +312,8 @@
 d2i_dhp.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_dhp.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_dhp.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_dhp.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+d2i_dhp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+d2i_dhp.o: asn1_mac.h
 d2i_dsap.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_dsap.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_dsap.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -313,7 +323,8 @@
 d2i_dsap.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_dsap.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_dsap.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_dsap.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+d2i_dsap.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+d2i_dsap.o: asn1_mac.h
 d2i_pr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_pr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_pr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -323,7 +334,7 @@
 d2i_pr.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_pr.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_pr.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_pr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+d2i_pr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 d2i_pu.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_pu.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_pu.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -333,7 +344,7 @@
 d2i_pu.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_pu.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_pu.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_pu.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+d2i_pu.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 d2i_r_pr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_r_pr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_r_pr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -343,7 +354,8 @@
 d2i_r_pr.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_r_pr.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_r_pr.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_r_pr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+d2i_r_pr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+d2i_r_pr.o: asn1_mac.h
 d2i_r_pu.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_r_pu.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_r_pu.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -353,7 +365,8 @@
 d2i_r_pu.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_r_pu.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_r_pu.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_r_pu.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+d2i_r_pu.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+d2i_r_pu.o: asn1_mac.h
 d2i_s_pr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_s_pr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_s_pr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -363,7 +376,8 @@
 d2i_s_pr.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_s_pr.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_s_pr.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_s_pr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+d2i_s_pr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+d2i_s_pr.o: asn1_mac.h
 d2i_s_pu.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 d2i_s_pu.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 d2i_s_pu.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -373,7 +387,8 @@
 d2i_s_pu.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 d2i_s_pu.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 d2i_s_pu.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-d2i_s_pu.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+d2i_s_pu.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+d2i_s_pu.o: asn1_mac.h
 evp_asn1.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 evp_asn1.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 evp_asn1.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -383,7 +398,8 @@
 evp_asn1.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 evp_asn1.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 evp_asn1.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-evp_asn1.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+evp_asn1.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+evp_asn1.o: asn1_mac.h
 f_enum.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 f_enum.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 f_enum.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -393,7 +409,7 @@
 f_enum.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 f_enum.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 f_enum.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-f_enum.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+f_enum.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 f_int.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 f_int.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 f_int.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -403,7 +419,7 @@
 f_int.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 f_int.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 f_int.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-f_int.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+f_int.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 f_string.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 f_string.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 f_string.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -413,7 +429,7 @@
 f_string.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 f_string.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 f_string.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-f_string.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+f_string.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 i2d_dhp.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_dhp.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_dhp.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -423,7 +439,8 @@
 i2d_dhp.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 i2d_dhp.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 i2d_dhp.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-i2d_dhp.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+i2d_dhp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+i2d_dhp.o: asn1_mac.h
 i2d_dsap.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_dsap.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_dsap.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -433,7 +450,8 @@
 i2d_dsap.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 i2d_dsap.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 i2d_dsap.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-i2d_dsap.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+i2d_dsap.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+i2d_dsap.o: asn1_mac.h
 i2d_pr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_pr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_pr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -442,7 +460,7 @@
 i2d_pr.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 i2d_pr.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 i2d_pr.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-i2d_pr.o: ../opensslv.h asn1.h
+i2d_pr.o: ../opensslconf.h ../opensslv.h asn1.h
 i2d_pu.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_pu.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_pu.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -451,7 +469,7 @@
 i2d_pu.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 i2d_pu.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 i2d_pu.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-i2d_pu.o: ../opensslv.h asn1.h
+i2d_pu.o: ../opensslconf.h ../opensslv.h asn1.h
 i2d_r_pr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_r_pr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_r_pr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -461,7 +479,8 @@
 i2d_r_pr.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 i2d_r_pr.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 i2d_r_pr.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-i2d_r_pr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+i2d_r_pr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+i2d_r_pr.o: asn1_mac.h
 i2d_r_pu.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_r_pu.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_r_pu.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -471,7 +490,8 @@
 i2d_r_pu.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 i2d_r_pu.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 i2d_r_pu.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-i2d_r_pu.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+i2d_r_pu.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+i2d_r_pu.o: asn1_mac.h
 i2d_s_pr.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_s_pr.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_s_pr.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -481,7 +501,8 @@
 i2d_s_pr.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 i2d_s_pr.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 i2d_s_pr.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-i2d_s_pr.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+i2d_s_pr.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+i2d_s_pr.o: asn1_mac.h
 i2d_s_pu.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 i2d_s_pu.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 i2d_s_pu.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -491,7 +512,8 @@
 i2d_s_pu.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 i2d_s_pu.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 i2d_s_pu.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-i2d_s_pu.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+i2d_s_pu.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+i2d_s_pu.o: asn1_mac.h
 n_pkey.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 n_pkey.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 n_pkey.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -501,7 +523,8 @@
 n_pkey.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 n_pkey.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 n_pkey.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-n_pkey.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+n_pkey.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+n_pkey.o: asn1_mac.h
 nsseq.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 nsseq.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
 nsseq.o: ../../include/dsa.h ../../include/err.h ../../include/evp.h
@@ -510,7 +533,8 @@
 nsseq.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 nsseq.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 nsseq.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-nsseq.o: ../../include/x509_vfy.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+nsseq.o: ../../include/x509_vfy.h ../crypto.h ../opensslconf.h ../opensslv.h
+nsseq.o: asn1.h asn1_mac.h
 p5_pbe.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p5_pbe.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p5_pbe.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -520,8 +544,8 @@
 p5_pbe.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p5_pbe.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p5_pbe.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p5_pbe.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-p5_pbe.o: asn1.h asn1_mac.h
+p5_pbe.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p5_pbe.o: ../opensslv.h asn1.h asn1_mac.h
 p5_pbev2.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p5_pbev2.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p5_pbev2.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -532,7 +556,7 @@
 p5_pbev2.o: ../../include/ripemd.h ../../include/rsa.h
 p5_pbev2.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p5_pbev2.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p5_pbev2.o: ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p5_pbev2.o: ../crypto.h ../opensslconf.h ../opensslv.h asn1.h asn1_mac.h
 p7_dgst.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_dgst.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_dgst.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -542,7 +566,8 @@
 p7_dgst.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_dgst.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_dgst.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_dgst.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_dgst.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_dgst.o: asn1_mac.h
 p7_enc.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_enc.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_enc.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -552,7 +577,8 @@
 p7_enc.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_enc.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_enc.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_enc.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_enc.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_enc.o: asn1_mac.h
 p7_enc_c.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_enc_c.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_enc_c.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -562,7 +588,8 @@
 p7_enc_c.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_enc_c.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_enc_c.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_enc_c.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_enc_c.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_enc_c.o: asn1_mac.h
 p7_evp.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_evp.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_evp.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -572,7 +599,8 @@
 p7_evp.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_evp.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_evp.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_evp.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_evp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_evp.o: asn1_mac.h
 p7_i_s.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_i_s.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_i_s.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -582,7 +610,8 @@
 p7_i_s.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_i_s.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_i_s.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_i_s.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_i_s.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_i_s.o: asn1_mac.h
 p7_lib.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_lib.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_lib.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -592,7 +621,8 @@
 p7_lib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_lib.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_lib.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_lib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_lib.o: asn1_mac.h
 p7_recip.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_recip.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_recip.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -602,7 +632,8 @@
 p7_recip.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_recip.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_recip.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_recip.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_recip.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_recip.o: asn1_mac.h
 p7_s_e.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_s_e.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_s_e.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -612,7 +643,8 @@
 p7_s_e.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_s_e.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_s_e.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_s_e.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_s_e.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_s_e.o: asn1_mac.h
 p7_signd.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_signd.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_signd.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -622,7 +654,8 @@
 p7_signd.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_signd.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_signd.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_signd.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_signd.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_signd.o: asn1_mac.h
 p7_signi.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p7_signi.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p7_signi.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -632,7 +665,8 @@
 p7_signi.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p7_signi.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p7_signi.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p7_signi.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p7_signi.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p7_signi.o: asn1_mac.h
 p8_pkey.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 p8_pkey.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 p8_pkey.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -642,7 +676,8 @@
 p8_pkey.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p8_pkey.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p8_pkey.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p8_pkey.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+p8_pkey.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+p8_pkey.o: asn1_mac.h
 t_crl.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 t_crl.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 t_crl.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -652,11 +687,12 @@
 t_crl.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 t_crl.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 t_crl.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-t_crl.o: ../../include/x509v3.h ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+t_crl.o: ../../include/x509v3.h ../cryptlib.h ../crypto.h ../opensslconf.h
+t_crl.o: ../opensslv.h asn1.h
 t_pkey.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 t_pkey.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
 t_pkey.o: ../../include/err.h ../../include/rsa.h ../../include/stack.h
-t_pkey.o: ../cryptlib.h ../crypto.h ../opensslv.h
+t_pkey.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h
 t_req.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 t_req.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 t_req.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -666,7 +702,7 @@
 t_req.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 t_req.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 t_req.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-t_req.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+t_req.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
 t_x509.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 t_x509.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 t_x509.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -676,7 +712,8 @@
 t_x509.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 t_x509.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 t_x509.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-t_x509.o: ../../include/x509v3.h ../cryptlib.h ../crypto.h ../opensslv.h asn1.h
+t_x509.o: ../../include/x509v3.h ../cryptlib.h ../crypto.h ../opensslconf.h
+t_x509.o: ../opensslv.h asn1.h
 x_algor.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_algor.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_algor.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -686,7 +723,8 @@
 x_algor.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_algor.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_algor.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_algor.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_algor.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_algor.o: asn1_mac.h
 x_attrib.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_attrib.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_attrib.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -696,7 +734,8 @@
 x_attrib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_attrib.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_attrib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_attrib.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_attrib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_attrib.o: asn1_mac.h
 x_cinf.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_cinf.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_cinf.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -706,7 +745,8 @@
 x_cinf.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_cinf.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_cinf.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_cinf.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_cinf.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_cinf.o: asn1_mac.h
 x_crl.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_crl.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_crl.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -716,7 +756,8 @@
 x_crl.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_crl.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_crl.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_crl.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_crl.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_crl.o: asn1_mac.h
 x_exten.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_exten.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_exten.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -726,7 +767,8 @@
 x_exten.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_exten.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_exten.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_exten.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_exten.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_exten.o: asn1_mac.h
 x_info.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_info.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_info.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -736,7 +778,8 @@
 x_info.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_info.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_info.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_info.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_info.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_info.o: asn1_mac.h
 x_name.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_name.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_name.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -746,7 +789,8 @@
 x_name.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_name.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_name.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_name.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_name.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_name.o: asn1_mac.h
 x_pkey.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_pkey.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_pkey.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -756,7 +800,8 @@
 x_pkey.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_pkey.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_pkey.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_pkey.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_pkey.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_pkey.o: asn1_mac.h
 x_pubkey.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_pubkey.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_pubkey.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -766,7 +811,8 @@
 x_pubkey.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_pubkey.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_pubkey.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_pubkey.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_pubkey.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_pubkey.o: asn1_mac.h
 x_req.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_req.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_req.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -776,7 +822,8 @@
 x_req.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_req.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_req.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_req.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_req.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_req.o: asn1_mac.h
 x_sig.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_sig.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_sig.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -786,7 +833,8 @@
 x_sig.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_sig.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_sig.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_sig.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_sig.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_sig.o: asn1_mac.h
 x_spki.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_spki.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_spki.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -796,7 +844,8 @@
 x_spki.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_spki.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_spki.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_spki.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_spki.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_spki.o: asn1_mac.h
 x_val.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_val.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_val.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -806,7 +855,8 @@
 x_val.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_val.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_val.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_val.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_val.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_val.o: asn1_mac.h
 x_x509.o: ../../include/bio.h ../../include/blowfish.h ../../include/bn.h
 x_x509.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 x_x509.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -816,4 +866,5 @@
 x_x509.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x_x509.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 x_x509.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-x_x509.o: ../cryptlib.h ../crypto.h ../opensslv.h asn1.h asn1_mac.h
+x_x509.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h asn1.h
+x_x509.o: asn1_mac.h
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 5f113b4..6b9062d 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -471,7 +471,9 @@
 ASN1_STRING *	ASN1_STRING_dup(ASN1_STRING *a);
 ASN1_STRING *	ASN1_STRING_type_new(int type );
 int 		ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b);
-int 		ASN1_STRING_set(ASN1_STRING *str,unsigned char *data, int len);
+  /* Since this is used to store all sorts of things, via macros, for now, make
+     its data void * */
+int 		ASN1_STRING_set(ASN1_STRING *str, const void *data, int len);
 
 int		i2d_ASN1_BIT_STRING(ASN1_BIT_STRING *a,unsigned char **pp);
 ASN1_BIT_STRING *d2i_ASN1_BIT_STRING(ASN1_BIT_STRING **a,unsigned char **pp,
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c
index 8c5d2d8..f67ed0f 100644
--- a/crypto/asn1/asn1_lib.c
+++ b/crypto/asn1/asn1_lib.c
@@ -324,28 +324,29 @@
 	return(ret);
 	}
 
-int ASN1_STRING_set(ASN1_STRING *str, unsigned char *data, int len)
+int ASN1_STRING_set(ASN1_STRING *str, const void *_data, int len)
 	{
-	char *c;
+	unsigned char *c;
+	const char *data=_data;
 
 	if (len < 0)
 		{
 		if (data == NULL)
 			return(0);
 		else
-			len=strlen((char *)data);
+			len=strlen(data);
 		}
 	if ((str->length < len) || (str->data == NULL))
 		{
-		c=(char *)str->data;
+		c=str->data;
 		if (c == NULL)
-			str->data=(unsigned char *)Malloc(len+1);
+			str->data=Malloc(len+1);
 		else
-			str->data=(unsigned char *)Realloc(c,len+1);
+			str->data=Realloc(c,len+1);
 
 		if (str->data == NULL)
 			{
-			str->data=(unsigned char *)c;
+			str->data=c;
 			return(0);
 			}
 		}
diff --git a/crypto/bf/Makefile.ssl b/crypto/bf/Makefile.ssl
index 68e0b88..99e2807 100644
--- a/crypto/bf/Makefile.ssl
+++ b/crypto/bf/Makefile.ssl
@@ -104,8 +104,8 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-bf_cfb64.o: bf_locl.h blowfish.h
-bf_ecb.o: ../opensslv.h bf_locl.h blowfish.h
-bf_enc.o: bf_locl.h blowfish.h
-bf_ofb64.o: bf_locl.h blowfish.h
-bf_skey.o: bf_locl.h bf_pi.h blowfish.h
+bf_cfb64.o: ../opensslconf.h bf_locl.h blowfish.h
+bf_ecb.o: ../opensslconf.h ../opensslv.h bf_locl.h blowfish.h
+bf_enc.o: ../opensslconf.h bf_locl.h blowfish.h
+bf_ofb64.o: ../opensslconf.h bf_locl.h blowfish.h
+bf_skey.o: ../opensslconf.h bf_locl.h bf_pi.h blowfish.h
diff --git a/crypto/bio/Makefile.ssl b/crypto/bio/Makefile.ssl
index de03f53..fcf8278 100644
--- a/crypto/bio/Makefile.ssl
+++ b/crypto/bio/Makefile.ssl
@@ -106,7 +106,7 @@
 bf_buff.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 bf_buff.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 bf_buff.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bf_buff.o: ../opensslv.h bio.h
+bf_buff.o: ../opensslconf.h ../opensslv.h bio.h
 bf_nbio.o: ../../include/asn1.h ../../include/blowfish.h ../../include/bn.h
 bf_nbio.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 bf_nbio.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -115,7 +115,7 @@
 bf_nbio.o: ../../include/objects.h ../../include/rand.h ../../include/rc2.h
 bf_nbio.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 bf_nbio.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
-bf_nbio.o: ../cryptlib.h ../crypto.h ../opensslv.h bio.h
+bf_nbio.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h bio.h
 bf_null.o: ../../include/asn1.h ../../include/blowfish.h ../../include/bn.h
 bf_null.o: ../../include/buffer.h ../../include/cast.h ../../include/des.h
 bf_null.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
@@ -124,7 +124,7 @@
 bf_null.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 bf_null.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 bf_null.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bf_null.o: ../opensslv.h bio.h
+bf_null.o: ../opensslconf.h ../opensslv.h bio.h
 bio_cb.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
 bio_cb.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h bio.h
 bio_err.o: ../../include/err.h ../../include/stack.h ../crypto.h ../opensslv.h
diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c
index d3c1345..ff1a0a7 100644
--- a/crypto/bio/b_sock.c
+++ b/crypto/bio/b_sock.c
@@ -196,11 +196,11 @@
 int BIO_sock_error(int sock)
 	{
 	int j,i;
-	unsigned int size;
+	int size;
 		 
 	size=sizeof(int);
 
-	i=getsockopt(sock,SOL_SOCKET,SO_ERROR,(char *)&j,&size);
+	i=getsockopt(sock,SOL_SOCKET,SO_ERROR,&j,&size);
 	if (i < 0)
 		return(1);
 	else
@@ -593,7 +593,7 @@
 	static struct sockaddr_in from;
 	unsigned long l;
 	unsigned short port;
-	unsigned int len;
+	int len;
 	char *p;
 
 	memset((char *)&from,0,sizeof(from));
diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h
index be1a243..0b0ce79 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -499,7 +499,7 @@
 BIO *	BIO_new(BIO_METHOD *type);
 int	BIO_set(BIO *a,BIO_METHOD *type);
 int	BIO_free(BIO *a);
-int	BIO_read(BIO *b, char *data, int len);
+int	BIO_read(BIO *b, void *data, int len);
 int	BIO_gets(BIO *bp,char *buf, int size);
 int	BIO_write(BIO *b, const char *data, int len);
 int	BIO_puts(BIO *bp,const char *buf);
diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c
index 9b2577d..a73bca4 100644
--- a/crypto/bio/bio_lib.c
+++ b/crypto/bio/bio_lib.c
@@ -137,7 +137,7 @@
 	return(1);
 	}
 
-int BIO_read(BIO *b, char *out, int outl)
+int BIO_read(BIO *b, void *out, int outl)
 	{
 	int i;
 	long (*cb)();
diff --git a/crypto/bn/Makefile.ssl b/crypto/bn/Makefile.ssl
index 663aa4d..873b199 100644
--- a/crypto/bn/Makefile.ssl
+++ b/crypto/bn/Makefile.ssl
@@ -161,56 +161,58 @@
 
 bn_add.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_add.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_add.o: ../opensslv.h bn.h bn_lcl.h
+bn_add.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_asm.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_asm.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_asm.o: ../opensslv.h bn.h bn_lcl.h
+bn_asm.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_blind.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_blind.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_blind.o: ../opensslv.h bn.h bn_lcl.h
+bn_blind.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_div.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_div.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_div.o: ../opensslv.h bn.h bn_lcl.h
-bn_err.o: ../../include/err.h bn.h
+bn_div.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
+bn_err.o: ../../include/err.h ../opensslconf.h bn.h
 bn_exp.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_exp.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_exp.o: ../opensslv.h bn.h bn_lcl.h
+bn_exp.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_exp2.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_exp2.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_exp2.o: ../opensslv.h bn.h bn_lcl.h
+bn_exp2.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_gcd.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_gcd.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_gcd.o: ../opensslv.h bn.h bn_lcl.h
+bn_gcd.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_lib.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_lib.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_lib.o: ../opensslv.h bn.h bn_lcl.h
+bn_lib.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_mont.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_mont.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_mont.o: ../opensslv.h bn.h bn_lcl.h
+bn_mont.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_mpi.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_mpi.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_mpi.o: ../opensslv.h bn.h bn_lcl.h
+bn_mpi.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_mul.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_mul.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_mul.o: ../opensslv.h bn.h bn_lcl.h
+bn_mul.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_prime.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_prime.o: ../../include/err.h ../../include/rand.h ../../include/stack.h
-bn_prime.o: ../cryptlib.h ../crypto.h ../opensslv.h bn.h bn_lcl.h bn_prime.h
+bn_prime.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h bn.h
+bn_prime.o: bn_lcl.h bn_prime.h
 bn_print.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_print.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_print.o: ../opensslv.h bn.h bn_lcl.h
+bn_print.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_rand.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_rand.o: ../../include/err.h ../../include/rand.h ../../include/stack.h
-bn_rand.o: ../cryptlib.h ../crypto.h ../opensslv.h bn.h bn_lcl.h
+bn_rand.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h bn.h
+bn_rand.o: bn_lcl.h
 bn_recp.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_recp.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_recp.o: ../opensslv.h bn.h bn_lcl.h
+bn_recp.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_shift.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_shift.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_shift.o: ../opensslv.h bn.h bn_lcl.h
+bn_shift.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_sqr.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_sqr.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_sqr.o: ../opensslv.h bn.h bn_lcl.h
+bn_sqr.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
 bn_word.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 bn_word.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bn_word.o: ../opensslv.h bn.h bn_lcl.h
+bn_word.o: ../opensslconf.h ../opensslv.h bn.h bn_lcl.h
diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h
index bf176eb..fe764de 100644
--- a/crypto/bn/bn.h
+++ b/crypto/bn/bn.h
@@ -316,7 +316,7 @@
 void	BN_init(BIGNUM *);
 void	BN_clear_free(BIGNUM *a);
 BIGNUM *BN_copy(BIGNUM *a, BIGNUM *b);
-BIGNUM *BN_bin2bn(unsigned char *s,int len,BIGNUM *ret);
+BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret);
 int	BN_bn2bin(BIGNUM *a, unsigned char *to);
 BIGNUM *BN_mpi2bn(unsigned char *s,int len,BIGNUM *ret);
 int	BN_bn2mpi(BIGNUM *a, unsigned char *to);
diff --git a/crypto/bn/bn_lib.c b/crypto/bn/bn_lib.c
index 00693bc..f866126 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -571,7 +571,7 @@
 	}
 
 /* ignore negative */
-BIGNUM *BN_bin2bn(unsigned char *s, int len, BIGNUM *ret)
+BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
 	{
 	unsigned int i,m;
 	unsigned int n;
diff --git a/crypto/buffer/buffer.c b/crypto/buffer/buffer.c
index fcc1530..da19244 100644
--- a/crypto/buffer/buffer.c
+++ b/crypto/buffer/buffer.c
@@ -64,7 +64,7 @@
 	{
 	BUF_MEM *ret;
 
-	ret=(BUF_MEM *)Malloc(sizeof(BUF_MEM));
+	ret=Malloc(sizeof(BUF_MEM));
 	if (ret == NULL)
 		{
 		BUFerr(BUF_F_BUF_MEM_NEW,ERR_R_MALLOC_FAILURE);
@@ -101,15 +101,15 @@
 		}
 	if (str->max >= len)
 		{
-		memset(&(str->data[str->length]),0,len-str->length);
+		memset(&str->data[str->length],0,len-str->length);
 		str->length=len;
 		return(len);
 		}
 	n=(len+3)/3*4;
 	if (str->data == NULL)
-		ret=(char *)Malloc(n);
+		ret=Malloc(n);
 	else
-		ret=(char *)Realloc(str->data,n);
+		ret=Realloc(str->data,n);
 	if (ret == NULL)
 		{
 		BUFerr(BUF_F_BUF_MEM_GROW,ERR_R_MALLOC_FAILURE);
diff --git a/crypto/comp/Makefile.ssl b/crypto/comp/Makefile.ssl
index 79970df..26e94b5 100644
--- a/crypto/comp/Makefile.ssl
+++ b/crypto/comp/Makefile.ssl
@@ -95,10 +95,12 @@
 
 c_rle.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 c_rle.o: ../../include/crypto.h ../../include/objects.h
-c_rle.o: ../../include/opensslv.h ../../include/stack.h comp.h
+c_rle.o: ../../include/opensslv.h ../../include/stack.h ../opensslconf.h comp.h
 c_zlib.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 c_zlib.o: ../../include/crypto.h ../../include/objects.h
-c_zlib.o: ../../include/opensslv.h ../../include/stack.h comp.h
+c_zlib.o: ../../include/opensslv.h ../../include/stack.h ../opensslconf.h
+c_zlib.o: comp.h
 comp_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 comp_lib.o: ../../include/crypto.h ../../include/objects.h
-comp_lib.o: ../../include/opensslv.h ../../include/stack.h comp.h
+comp_lib.o: ../../include/opensslv.h ../../include/stack.h ../opensslconf.h
+comp_lib.o: comp.h
diff --git a/crypto/des/Makefile.ssl b/crypto/des/Makefile.ssl
index 1626f49..0849347 100644
--- a/crypto/des/Makefile.ssl
+++ b/crypto/des/Makefile.ssl
@@ -136,35 +136,35 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-cbc_cksm.o: des.h des_locl.h
-cbc_enc.o: des.h des_locl.h
-cfb64ede.o: des.h des_locl.h
-cfb64enc.o: des.h des_locl.h
-cfb_enc.o: des.h des_locl.h
-des_enc.o: des.h des_locl.h
-ecb3_enc.o: des.h des_locl.h
-ecb_enc.o: ../opensslv.h des.h des_locl.h spr.h
-ede_cbcm_enc.o: des.h des_locl.h
+cbc_cksm.o: ../opensslconf.h des.h des_locl.h
+cbc_enc.o: ../opensslconf.h des.h des_locl.h
+cfb64ede.o: ../opensslconf.h des.h des_locl.h
+cfb64enc.o: ../opensslconf.h des.h des_locl.h
+cfb_enc.o: ../opensslconf.h des.h des_locl.h
+des_enc.o: ../opensslconf.h des.h des_locl.h
+ecb3_enc.o: ../opensslconf.h des.h des_locl.h
+ecb_enc.o: ../opensslconf.h ../opensslv.h des.h des_locl.h spr.h
+ede_cbcm_enc.o: ../opensslconf.h des.h des_locl.h
 enc_read.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 enc_read.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-enc_read.o: ../opensslv.h des.h des_locl.h
+enc_read.o: ../opensslconf.h ../opensslv.h des.h des_locl.h
 enc_writ.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 enc_writ.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-enc_writ.o: ../opensslv.h des.h des_locl.h
-fcrypt.o: des.h des.h des_locl.h des_locl.h
-fcrypt_b.o: des.h des_locl.h
-ofb64ede.o: des.h des_locl.h
-ofb64enc.o: des.h des_locl.h
-ofb_enc.o: des.h des_locl.h
-pcbc_enc.o: des.h des_locl.h
-qud_cksm.o: des.h des_locl.h
-rand_key.o: des.h des_locl.h
-read2pwd.o: des.h des_locl.h
+enc_writ.o: ../opensslconf.h ../opensslv.h des.h des_locl.h
+fcrypt.o: ../opensslconf.h ../opensslconf.h des.h des.h des_locl.h des_locl.h
+fcrypt_b.o: ../opensslconf.h des.h des_locl.h
+ofb64ede.o: ../opensslconf.h des.h des_locl.h
+ofb64enc.o: ../opensslconf.h des.h des_locl.h
+ofb_enc.o: ../opensslconf.h des.h des_locl.h
+pcbc_enc.o: ../opensslconf.h des.h des_locl.h
+qud_cksm.o: ../opensslconf.h des.h des_locl.h
+rand_key.o: ../opensslconf.h des.h des_locl.h
+read2pwd.o: ../opensslconf.h des.h des_locl.h
 read_pwd.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 read_pwd.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-read_pwd.o: ../opensslv.h des.h des_locl.h
-rpc_enc.o: des.h des_locl.h des_ver.h rpc_des.h
-set_key.o: des.h des_locl.h podd.h sk.h
-str2key.o: des.h des_locl.h
-supp.o: des.h des_locl.h
-xcbc_enc.o: des.h des_locl.h
+read_pwd.o: ../opensslconf.h ../opensslv.h des.h des_locl.h
+rpc_enc.o: ../opensslconf.h des.h des_locl.h des_ver.h rpc_des.h
+set_key.o: ../opensslconf.h des.h des_locl.h podd.h sk.h
+str2key.o: ../opensslconf.h des.h des_locl.h
+supp.o: ../opensslconf.h des.h des_locl.h
+xcbc_enc.o: ../opensslconf.h des.h des_locl.h
diff --git a/crypto/des/des.h b/crypto/des/des.h
index 64c9613..54f18c7 100644
--- a/crypto/des/des.h
+++ b/crypto/des/des.h
@@ -182,9 +182,9 @@
 void des_xwhite_in2out(const des_cblock des_key,const des_cblock in_white,
 		       des_cblock out_white);
 
-int des_enc_read(int fd,char *buf,int len,des_key_schedule sched,
+int des_enc_read(int fd,void *buf,int len,des_key_schedule sched,
 		 des_cblock iv);
-int des_enc_write(int fd,const char *buf,int len,des_key_schedule sched,
+int des_enc_write(int fd,const void *buf,int len,des_key_schedule sched,
 		  des_cblock iv);
 char *des_fcrypt(const char *buf,const char *salt, char *ret);
 #if defined(PERL5) || defined(__FreeBSD__)
diff --git a/crypto/des/destest.c b/crypto/des/destest.c
index 61e8530..746a284 100644
--- a/crypto/des/destest.c
+++ b/crypto/des/destest.c
@@ -363,7 +363,7 @@
 	memcpy(iv3,cbc_iv,sizeof(cbc_iv));
 	memset(iv2,'\0',sizeof iv2);
 	des_ede3_cbcm_encrypt(cbc_out,cbc_in,i,ks,ks2,ks3,iv3,iv2,DES_DECRYPT);
-	if (memcmp(cbc_in,cbc_data,strlen(cbc_data)+1) != 0)
+	if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
 		{
 		int n;
 
@@ -531,7 +531,7 @@
 
 	memcpy(iv3,cbc_iv,sizeof(cbc_iv));
 	des_ede3_cbc_encrypt(cbc_out,cbc_in,i,ks,ks2,ks3,iv3,DES_DECRYPT);
-	if (memcmp(cbc_in,cbc_data,strlen(cbc_data)+1) != 0)
+	if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
 		{
 		printf("des_ede3_cbc_encrypt decrypt error\n");
 		err=1;
@@ -546,16 +546,16 @@
 		}
 	memset(cbc_out,0,40);
 	memset(cbc_in,0,40);
-	des_pcbc_encrypt(cbc_data,cbc_out,strlen(cbc_data)+1,ks,cbc_iv,
+	des_pcbc_encrypt(cbc_data,cbc_out,strlen((char *)cbc_data)+1,ks,cbc_iv,
 			 DES_ENCRYPT);
 	if (memcmp(cbc_out,pcbc_ok,32) != 0)
 		{
 		printf("pcbc_encrypt encrypt error\n");
 		err=1;
 		}
-	des_pcbc_encrypt(cbc_out,cbc_in,strlen(cbc_data)+1,ks,cbc_iv,
+	des_pcbc_encrypt(cbc_out,cbc_in,strlen((char *)cbc_data)+1,ks,cbc_iv,
 			 DES_DECRYPT);
-	if (memcmp(cbc_in,cbc_data,strlen(cbc_data)+1) != 0)
+	if (memcmp(cbc_in,cbc_data,strlen((char *)cbc_data)+1) != 0)
 		{
 		printf("pcbc_encrypt decrypt error\n");
 		err=1;
@@ -683,7 +683,7 @@
 
 	printf("Doing cbc_cksum\n");
 	des_key_sched(cbc_key,ks);
-	cs=des_cbc_cksum(cbc_data,cret,strlen(cbc_data),ks,cbc_iv);
+	cs=des_cbc_cksum(cbc_data,cret,strlen((char *)cbc_data),ks,cbc_iv);
 	if (cs != cbc_cksum_ret)
 		{
 		printf("bad return value (%08lX), should be %08lX\n",
@@ -701,7 +701,8 @@
 	   quad_cksum returns up to 4 groups of 8 bytes, this test gets it to
 	   produce 2 groups then treats them as 4 groups of 4 bytes.
 	   Ben 13 Feb 1999 */
-	cs=quad_cksum(cbc_data,(des_cblocks)qret,strlen(cbc_data),2,cbc_iv);
+	cs=quad_cksum(cbc_data,(des_cblocks)qret,strlen((char *)cbc_data),2,
+		      cbc_iv);
 
 	{ /* Big-endian fix */
 	static DES_LONG l=1;
@@ -763,14 +764,16 @@
 	for (i=0; i<4; i++)
 		{
 		printf(" %d",i);
-		des_ncbc_encrypt(&(cbc_out[i]),cbc_in,strlen(cbc_data)+1,ks,
+		des_ncbc_encrypt(&(cbc_out[i]),cbc_in,
+				 strlen((char *)cbc_data)+1,ks,
 				 cbc_iv,DES_ENCRYPT);
 		}
 	printf("\noutput word alignment test");
 	for (i=0; i<4; i++)
 		{
 		printf(" %d",i);
-		des_ncbc_encrypt(cbc_out,&(cbc_in[i]),strlen(cbc_data)+1,ks,
+		des_ncbc_encrypt(cbc_out,&(cbc_in[i]),
+				 strlen((char *)cbc_data)+1,ks,
 				 cbc_iv,DES_ENCRYPT);
 		}
 	printf("\n");
diff --git a/crypto/des/enc_read.c b/crypto/des/enc_read.c
index 23768da..5e256d0 100644
--- a/crypto/des/enc_read.c
+++ b/crypto/des/enc_read.c
@@ -84,8 +84,8 @@
  */
 
 
-int des_enc_read(int fd, char *buf, int len, des_key_schedule sched,
-	     des_cblock iv)
+int des_enc_read(int fd, void *buf, int len, des_key_schedule sched,
+		 des_cblock iv)
 	{
 	/* data to be unencrypted */
 	int net_num=0;
@@ -125,7 +125,7 @@
 			 * with the number of bytes we have - should always
 			 * check the return value */
 			memcpy(buf,&(unnet[unnet_start]),
-				(unsigned int)unnet_left);
+			       unnet_left);
 			/* eay 26/08/92 I had the next 2 lines
 			 * reversed :-( */
 			i=unnet_left;
@@ -133,7 +133,7 @@
 			}
 		else
 			{
-			memcpy(buf,&(unnet[unnet_start]),(unsigned int)len);
+			memcpy(buf,&(unnet[unnet_start]),len);
 			unnet_start+=len;
 			unnet_left-=len;
 			i=len;
@@ -184,9 +184,9 @@
 			des_pcbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT);
 		else
 			des_cbc_encrypt(net,unnet,num,sched,iv,DES_DECRYPT);
-		memcpy(buf,unnet,(unsigned int)len);
+		memcpy(buf,unnet,len);
 		unnet_start=len;
-		unnet_left=(int)num-len;
+		unnet_left=num-len;
 
 		/* The following line is done because we return num
 		 * as the number of bytes read. */
@@ -211,7 +211,7 @@
 
 			/* eay 26/08/92 fix a bug that returned more
 			 * bytes than you asked for (returned len bytes :-( */
-			memcpy(buf,tmpbuf,(unsigned int)num);
+			memcpy(buf,tmpbuf,num);
 			}
 		else
 			{
@@ -223,6 +223,6 @@
 						DES_DECRYPT);
 			}
 		}
-	return((int)num);
+	return num;
 	}
 
diff --git a/crypto/des/enc_writ.c b/crypto/des/enc_writ.c
index c2b4074..763765e 100644
--- a/crypto/des/enc_writ.c
+++ b/crypto/des/enc_writ.c
@@ -76,8 +76,8 @@
  *  -  This code cannot handle non-blocking sockets.
  */
 
-int des_enc_write(int fd, const char *buf, int len, des_key_schedule sched,
-	     des_cblock iv)
+int des_enc_write(int fd, const void *_buf, int len,
+		  des_key_schedule sched, des_cblock iv)
 	{
 #ifdef _LIBC
 	extern int srandom();
@@ -85,12 +85,12 @@
 	extern int random();
 	extern int write();
 #endif
-
+	const unsigned char *buf=_buf;
 	long rnum;
 	int i,j,k,outnum;
 	static unsigned char *outbuf=NULL;
 	unsigned char shortbuf[8];
-	char *p;
+	unsigned char *p;
 	const unsigned char *cp;
 	static int start=1;
 
diff --git a/crypto/dh/Makefile.ssl b/crypto/dh/Makefile.ssl
index 712a39f..20ef883 100644
--- a/crypto/dh/Makefile.ssl
+++ b/crypto/dh/Makefile.ssl
@@ -86,14 +86,15 @@
 
 dh_check.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 dh_check.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-dh_check.o: ../cryptlib.h ../crypto.h ../opensslv.h dh.h
-dh_err.o: ../../include/bn.h ../../include/err.h dh.h
+dh_check.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h dh.h
+dh_err.o: ../../include/bn.h ../../include/err.h ../opensslconf.h dh.h
 dh_gen.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 dh_gen.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-dh_gen.o: ../cryptlib.h ../crypto.h ../opensslv.h dh.h
+dh_gen.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h dh.h
 dh_key.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 dh_key.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
-dh_key.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h dh.h
+dh_key.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+dh_key.o: ../opensslv.h dh.h
 dh_lib.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 dh_lib.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-dh_lib.o: ../cryptlib.h ../crypto.h ../opensslv.h dh.h
+dh_lib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h dh.h
diff --git a/crypto/dsa/Makefile.ssl b/crypto/dsa/Makefile.ssl
index 07620d5..8f9dc77 100644
--- a/crypto/dsa/Makefile.ssl
+++ b/crypto/dsa/Makefile.ssl
@@ -94,23 +94,24 @@
 dsa_asn1.o: ../../include/ripemd.h ../../include/rsa.h
 dsa_asn1.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 dsa_asn1.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-dsa_asn1.o: ../crypto.h ../opensslv.h dsa.h
-dsa_err.o: ../../include/bn.h ../../include/err.h dsa.h
+dsa_asn1.o: ../crypto.h ../opensslconf.h ../opensslv.h dsa.h
+dsa_err.o: ../../include/bn.h ../../include/err.h ../opensslconf.h dsa.h
 dsa_gen.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 dsa_gen.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
 dsa_gen.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-dsa_gen.o: ../opensslv.h dsa.h
+dsa_gen.o: ../opensslconf.h ../opensslv.h dsa.h
 dsa_key.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 dsa_key.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
 dsa_key.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-dsa_key.o: ../opensslv.h dsa.h
+dsa_key.o: ../opensslconf.h ../opensslv.h dsa.h
 dsa_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 dsa_lib.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
-dsa_lib.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h dsa.h
+dsa_lib.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+dsa_lib.o: ../opensslv.h dsa.h
 dsa_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 dsa_sign.o: ../../include/buffer.h ../../include/e_os.h ../../include/err.h
 dsa_sign.o: ../../include/rand.h ../../include/stack.h ../cryptlib.h
-dsa_sign.o: ../crypto.h ../opensslv.h dsa.h
+dsa_sign.o: ../crypto.h ../opensslconf.h ../opensslv.h dsa.h
 dsa_vrf.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 dsa_vrf.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 dsa_vrf.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -121,4 +122,4 @@
 dsa_vrf.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 dsa_vrf.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 dsa_vrf.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-dsa_vrf.o: ../crypto.h ../opensslv.h dsa.h
+dsa_vrf.o: ../crypto.h ../opensslconf.h ../opensslv.h dsa.h
diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h
index d531efb..4d8aad6 100644
--- a/crypto/dsa/dsa.h
+++ b/crypto/dsa/dsa.h
@@ -121,17 +121,17 @@
 int	i2d_DSA_SIG(DSA_SIG *a, unsigned char **pp);
 DSA_SIG * d2i_DSA_SIG(DSA_SIG **v, unsigned char **pp, long length);
 
-DSA_SIG * DSA_do_sign(unsigned char *dgst,int dlen,DSA *dsa);
-int	DSA_do_verify(unsigned char *dgst,int dgst_len,
-		DSA_SIG *sig,DSA *dsa);
+DSA_SIG * DSA_do_sign(const unsigned char *dgst,int dlen,DSA *dsa);
+int	DSA_do_verify(const unsigned char *dgst,int dgst_len,
+		      DSA_SIG *sig,DSA *dsa);
 
 DSA *	DSA_new(void);
 int	DSA_size(DSA *);
 	/* next 4 return -1 on error */
 int	DSA_sign_setup( DSA *dsa,BN_CTX *ctx_in,BIGNUM **kinvp,BIGNUM **rp);
-int	DSA_sign(int type,unsigned char *dgst,int dlen,
+int	DSA_sign(int type,const unsigned char *dgst,int dlen,
 		unsigned char *sig, unsigned int *siglen, DSA *dsa);
-int	DSA_verify(int type,unsigned char *dgst,int dgst_len,
+int	DSA_verify(int type,const unsigned char *dgst,int dgst_len,
 		unsigned char *sigbuf, int siglen, DSA *dsa);
 void	DSA_free (DSA *r);
 
diff --git a/crypto/dsa/dsa_sign.c b/crypto/dsa/dsa_sign.c
index 9ceaceb..f823e5d 100644
--- a/crypto/dsa/dsa_sign.c
+++ b/crypto/dsa/dsa_sign.c
@@ -65,7 +65,7 @@
 #include "rand.h"
 #include "asn1.h"
 
-DSA_SIG * DSA_do_sign(unsigned char *dgst, int dlen, DSA *dsa)
+DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa)
 	{
 	BIGNUM *kinv=NULL,*r=NULL,*s=NULL;
 	BIGNUM m;
@@ -132,7 +132,7 @@
 
 /* unsigned char *sig:  out    */
 /* unsigned int *siglen:  out    */
-int DSA_sign(int type, unsigned char *dgst, int dlen, unsigned char *sig,
+int DSA_sign(int type, const unsigned char *dgst, int dlen, unsigned char *sig,
 	     unsigned int *siglen, DSA *dsa)
 	{
 	DSA_SIG *s;
diff --git a/crypto/dsa/dsa_vrf.c b/crypto/dsa/dsa_vrf.c
index 24ede67..ca51ad2 100644
--- a/crypto/dsa/dsa_vrf.c
+++ b/crypto/dsa/dsa_vrf.c
@@ -66,7 +66,8 @@
 #include "asn1.h"
 #include "asn1_mac.h"
 
-int DSA_do_verify(unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
+int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig,
+		  DSA *dsa)
 	{
 	BN_CTX *ctx;
 	BIGNUM u1,u2,t1;
@@ -143,7 +144,7 @@
  *      0: incorrect signature
  *     -1: error
  */
-int DSA_verify(int type, unsigned char *dgst, int dgst_len,
+int DSA_verify(int type, const unsigned char *dgst, int dgst_len,
 	     unsigned char *sigbuf, int siglen, DSA *dsa)
 	{
 	DSA_SIG *s;
diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c
index 4018f81..77b8cd8 100644
--- a/crypto/dsa/dsatest.c
+++ b/crypto/dsa/dsatest.c
@@ -115,6 +115,8 @@
 	0xc5,0x72,0xaf,0x53,0xe6,0xd7,0x88,0x02,
 	};
 
+static const unsigned char str1[]="12345678901234567890";
+
 static BIO *bio_err=NULL;
 
 int main(int argc, char **argv)
@@ -124,7 +126,7 @@
 	unsigned char buf[256];
 	unsigned long h;
 	unsigned char sig[256];
-	int siglen;
+	unsigned int siglen;
 
 	if (bio_err == NULL)
 		bio_err=BIO_new_fp(stderr,BIO_NOCLOSE);
@@ -179,8 +181,8 @@
 		goto end;
 		}
 	DSA_generate_key(dsa);
-	DSA_sign(0, "12345678901234567890", 20, sig, &siglen, dsa);
-	if (DSA_verify(0, "12345678901234567890", 20, sig, siglen, dsa) == 1)
+	DSA_sign(0, str1, 20, sig, &siglen, dsa);
+	if (DSA_verify(0, str1, 20, sig, siglen, dsa) == 1)
 		ret=1;
 end:
 	if (!ret)
diff --git a/crypto/err/Makefile.ssl b/crypto/err/Makefile.ssl
index 9df56d4..03fd6af 100644
--- a/crypto/err/Makefile.ssl
+++ b/crypto/err/Makefile.ssl
@@ -91,7 +91,8 @@
 err_all.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 err_all.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 err_all.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-err_all.o: ../../include/x509v3.h ../crypto.h ../opensslv.h err.h
+err_all.o: ../../include/x509v3.h ../crypto.h ../opensslconf.h ../opensslv.h
+err_all.o: err.h
 err_prn.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 err_prn.o: ../../include/lhash.h ../../include/stack.h ../cryptlib.h
 err_prn.o: ../crypto.h ../opensslv.h err.h
diff --git a/crypto/evp/Makefile.ssl b/crypto/evp/Makefile.ssl
index 0927949..0396245 100644
--- a/crypto/evp/Makefile.ssl
+++ b/crypto/evp/Makefile.ssl
@@ -119,7 +119,7 @@
 bio_b64.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 bio_b64.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 bio_b64.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bio_b64.o: ../opensslv.h evp.h
+bio_b64.o: ../opensslconf.h ../opensslv.h evp.h
 bio_enc.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 bio_enc.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 bio_enc.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -128,7 +128,7 @@
 bio_enc.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 bio_enc.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 bio_enc.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bio_enc.o: ../opensslv.h evp.h
+bio_enc.o: ../opensslconf.h ../opensslv.h evp.h
 bio_md.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 bio_md.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 bio_md.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -137,7 +137,7 @@
 bio_md.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 bio_md.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 bio_md.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-bio_md.o: ../opensslv.h evp.h
+bio_md.o: ../opensslconf.h ../opensslv.h evp.h
 bio_ok.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 bio_ok.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 bio_ok.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -146,7 +146,7 @@
 bio_ok.o: ../../include/objects.h ../../include/rand.h ../../include/rc2.h
 bio_ok.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 bio_ok.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
-bio_ok.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+bio_ok.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 c_all.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 c_all.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 c_all.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -156,7 +156,8 @@
 c_all.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 c_all.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 c_all.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-c_all.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+c_all.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+c_all.o: ../opensslv.h evp.h
 digest.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 digest.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 digest.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -165,7 +166,7 @@
 digest.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 digest.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 digest.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-digest.o: ../opensslv.h evp.h
+digest.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_3d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_3d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_3d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -174,7 +175,7 @@
 e_cbc_3d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_3d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_3d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_3d.o: ../opensslv.h evp.h
+e_cbc_3d.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_bf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_bf.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_bf.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -183,7 +184,7 @@
 e_cbc_bf.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_bf.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_bf.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_bf.o: ../opensslv.h evp.h
+e_cbc_bf.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_c.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_c.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_c.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -192,7 +193,7 @@
 e_cbc_c.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_c.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_c.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_c.o: ../opensslv.h evp.h
+e_cbc_c.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -201,7 +202,7 @@
 e_cbc_d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_d.o: ../opensslv.h evp.h
+e_cbc_d.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_i.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_i.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_i.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -210,7 +211,7 @@
 e_cbc_i.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_i.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_i.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_i.o: ../opensslv.h evp.h
+e_cbc_i.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_r2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_r2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_r2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -219,7 +220,7 @@
 e_cbc_r2.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_r2.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_r2.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_r2.o: ../opensslv.h evp.h
+e_cbc_r2.o: ../opensslconf.h ../opensslv.h evp.h
 e_cbc_r5.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cbc_r5.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cbc_r5.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -228,7 +229,7 @@
 e_cbc_r5.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cbc_r5.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cbc_r5.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cbc_r5.o: ../opensslv.h evp.h
+e_cbc_r5.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_3d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_3d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_3d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -237,7 +238,7 @@
 e_cfb_3d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_3d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_3d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_3d.o: ../opensslv.h evp.h
+e_cfb_3d.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_bf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_bf.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_bf.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -246,7 +247,7 @@
 e_cfb_bf.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_bf.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_bf.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_bf.o: ../opensslv.h evp.h
+e_cfb_bf.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_c.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_c.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_c.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -255,7 +256,7 @@
 e_cfb_c.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_c.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_c.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_c.o: ../opensslv.h evp.h
+e_cfb_c.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -264,7 +265,7 @@
 e_cfb_d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_d.o: ../opensslv.h evp.h
+e_cfb_d.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_i.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_i.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_i.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -273,7 +274,7 @@
 e_cfb_i.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_i.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_i.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_i.o: ../opensslv.h evp.h
+e_cfb_i.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_r2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_r2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_r2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -282,7 +283,7 @@
 e_cfb_r2.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_r2.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_r2.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_r2.o: ../opensslv.h evp.h
+e_cfb_r2.o: ../opensslconf.h ../opensslv.h evp.h
 e_cfb_r5.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_cfb_r5.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_cfb_r5.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -291,7 +292,7 @@
 e_cfb_r5.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_cfb_r5.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_cfb_r5.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_cfb_r5.o: ../opensslv.h evp.h
+e_cfb_r5.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_3d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_3d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_3d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -300,7 +301,7 @@
 e_ecb_3d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_3d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_3d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_3d.o: ../opensslv.h evp.h
+e_ecb_3d.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_bf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_bf.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_bf.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -309,7 +310,7 @@
 e_ecb_bf.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_bf.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_bf.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_bf.o: ../opensslv.h evp.h
+e_ecb_bf.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_c.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_c.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_c.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -318,7 +319,7 @@
 e_ecb_c.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_c.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_c.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_c.o: ../opensslv.h evp.h
+e_ecb_c.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -327,7 +328,7 @@
 e_ecb_d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_d.o: ../opensslv.h evp.h
+e_ecb_d.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_i.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_i.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_i.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -336,7 +337,7 @@
 e_ecb_i.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_i.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_i.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_i.o: ../opensslv.h evp.h
+e_ecb_i.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_r2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_r2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_r2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -345,7 +346,7 @@
 e_ecb_r2.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_r2.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_r2.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_r2.o: ../opensslv.h evp.h
+e_ecb_r2.o: ../opensslconf.h ../opensslv.h evp.h
 e_ecb_r5.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ecb_r5.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ecb_r5.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -354,7 +355,7 @@
 e_ecb_r5.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ecb_r5.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ecb_r5.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ecb_r5.o: ../opensslv.h evp.h
+e_ecb_r5.o: ../opensslconf.h ../opensslv.h evp.h
 e_null.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_null.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_null.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -363,7 +364,7 @@
 e_null.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_null.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_null.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_null.o: ../opensslv.h evp.h
+e_null.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_3d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_3d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_3d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -372,7 +373,7 @@
 e_ofb_3d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_3d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_3d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_3d.o: ../opensslv.h evp.h
+e_ofb_3d.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_bf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_bf.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_bf.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -381,7 +382,7 @@
 e_ofb_bf.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_bf.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_bf.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_bf.o: ../opensslv.h evp.h
+e_ofb_bf.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_c.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_c.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_c.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -390,7 +391,7 @@
 e_ofb_c.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_c.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_c.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_c.o: ../opensslv.h evp.h
+e_ofb_c.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -399,7 +400,7 @@
 e_ofb_d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_d.o: ../opensslv.h evp.h
+e_ofb_d.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_i.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_i.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_i.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -408,7 +409,7 @@
 e_ofb_i.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_i.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_i.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_i.o: ../opensslv.h evp.h
+e_ofb_i.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_r2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_r2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_r2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -417,7 +418,7 @@
 e_ofb_r2.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_r2.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_r2.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_r2.o: ../opensslv.h evp.h
+e_ofb_r2.o: ../opensslconf.h ../opensslv.h evp.h
 e_ofb_r5.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_ofb_r5.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_ofb_r5.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -426,7 +427,7 @@
 e_ofb_r5.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_ofb_r5.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_ofb_r5.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_ofb_r5.o: ../opensslv.h evp.h
+e_ofb_r5.o: ../opensslconf.h ../opensslv.h evp.h
 e_rc4.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_rc4.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_rc4.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -435,7 +436,7 @@
 e_rc4.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_rc4.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_rc4.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_rc4.o: ../opensslv.h evp.h
+e_rc4.o: ../opensslconf.h ../opensslv.h evp.h
 e_xcbc_d.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 e_xcbc_d.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 e_xcbc_d.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -444,7 +445,7 @@
 e_xcbc_d.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 e_xcbc_d.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 e_xcbc_d.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-e_xcbc_d.o: ../opensslv.h evp.h
+e_xcbc_d.o: ../opensslconf.h ../opensslv.h evp.h
 encode.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 encode.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 encode.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -453,7 +454,7 @@
 encode.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 encode.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 encode.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-encode.o: ../opensslv.h evp.h
+encode.o: ../opensslconf.h ../opensslv.h evp.h
 evp_enc.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 evp_enc.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 evp_enc.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -462,7 +463,7 @@
 evp_enc.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 evp_enc.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 evp_enc.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-evp_enc.o: ../opensslv.h evp.h
+evp_enc.o: ../opensslconf.h ../opensslv.h evp.h
 evp_err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 evp_err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
 evp_err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
@@ -470,7 +471,7 @@
 evp_err.o: ../../include/mdc2.h ../../include/objects.h ../../include/rc2.h
 evp_err.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 evp_err.o: ../../include/rsa.h ../../include/sha.h ../../include/stack.h
-evp_err.o: ../crypto.h ../opensslv.h evp.h
+evp_err.o: ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 evp_key.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 evp_key.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 evp_key.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -480,7 +481,7 @@
 evp_key.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 evp_key.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 evp_key.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-evp_key.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+evp_key.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 evp_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 evp_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 evp_lib.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -489,7 +490,7 @@
 evp_lib.o: ../../include/objects.h ../../include/rc2.h ../../include/rc4.h
 evp_lib.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 evp_lib.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-evp_lib.o: ../opensslv.h evp.h
+evp_lib.o: ../opensslconf.h ../opensslv.h evp.h
 evp_pbe.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 evp_pbe.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 evp_pbe.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -499,7 +500,7 @@
 evp_pbe.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 evp_pbe.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 evp_pbe.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-evp_pbe.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+evp_pbe.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 evp_pkey.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 evp_pkey.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 evp_pkey.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -510,7 +511,7 @@
 evp_pkey.o: ../../include/ripemd.h ../../include/rsa.h
 evp_pkey.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 evp_pkey.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-evp_pkey.o: ../crypto.h ../opensslv.h evp.h
+evp_pkey.o: ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_dss.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_dss.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_dss.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -520,7 +521,7 @@
 m_dss.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_dss.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_dss.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_dss.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_dss.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_dss1.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_dss1.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_dss1.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -530,7 +531,7 @@
 m_dss1.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_dss1.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_dss1.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_dss1.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_dss1.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_md2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_md2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_md2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -540,7 +541,7 @@
 m_md2.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_md2.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_md2.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_md2.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_md2.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_md5.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_md5.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_md5.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -550,7 +551,7 @@
 m_md5.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_md5.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_md5.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_md5.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_md5.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_mdc2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_mdc2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_mdc2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -560,7 +561,7 @@
 m_mdc2.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_mdc2.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_mdc2.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_mdc2.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_mdc2.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_null.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_null.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_null.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -570,7 +571,7 @@
 m_null.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_null.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_null.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_null.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_null.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_ripemd.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_ripemd.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_ripemd.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -580,7 +581,7 @@
 m_ripemd.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_ripemd.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_ripemd.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_ripemd.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_ripemd.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_sha.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_sha.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_sha.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -590,7 +591,7 @@
 m_sha.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_sha.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_sha.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_sha.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_sha.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 m_sha1.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 m_sha1.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 m_sha1.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -600,7 +601,7 @@
 m_sha1.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 m_sha1.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 m_sha1.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-m_sha1.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+m_sha1.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 names.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 names.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 names.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -610,7 +611,7 @@
 names.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 names.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 names.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-names.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+names.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 p_dec.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p_dec.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p_dec.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -620,7 +621,8 @@
 p_dec.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p_dec.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p_dec.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p_dec.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+p_dec.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p_dec.o: ../opensslv.h evp.h
 p_enc.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p_enc.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p_enc.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -630,7 +632,8 @@
 p_enc.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p_enc.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p_enc.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p_enc.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+p_enc.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p_enc.o: ../opensslv.h evp.h
 p_lib.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 p_lib.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 p_lib.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -640,7 +643,8 @@
 p_lib.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p_lib.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p_lib.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p_lib.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+p_lib.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p_lib.o: ../opensslv.h evp.h
 p_open.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p_open.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p_open.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -650,7 +654,7 @@
 p_open.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p_open.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p_open.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p_open.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+p_open.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 p_seal.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p_seal.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p_seal.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -660,8 +664,8 @@
 p_seal.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p_seal.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p_seal.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p_seal.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-p_seal.o: evp.h
+p_seal.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p_seal.o: ../opensslv.h evp.h
 p_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p_sign.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p_sign.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -671,7 +675,7 @@
 p_sign.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p_sign.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p_sign.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p_sign.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+p_sign.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
 p_verify.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p_verify.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p_verify.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -681,4 +685,4 @@
 p_verify.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p_verify.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p_verify.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p_verify.o: ../cryptlib.h ../crypto.h ../opensslv.h evp.h
+p_verify.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h evp.h
diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c
index fbd6d53..151a95c 100644
--- a/crypto/evp/bio_ok.c
+++ b/crypto/evp/bio_ok.c
@@ -441,10 +441,11 @@
 	return(ret);
 	}
 
-static void longswap(char* ptr, int len)
+static void longswap(void *_ptr, int len)
 {
 #ifndef L_ENDIAN
 	int i;
+	char *ptr=_ptr;
 
 	for(i= 0;i < len;i+= 4){
 		*((unsigned long *)&(ptr[i]))= swapem(*((unsigned long *)&(ptr[i])));
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index 21417b1..b8d645e 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -395,7 +395,7 @@
 	} EVP_ENCODE_CTX;
 
 /* Password based encryption function */
-typedef int (EVP_PBE_KEYGEN)(unsigned char *pass, int passlen,
+typedef int (EVP_PBE_KEYGEN)(const char *pass, int passlen,
          unsigned char *salt,  int saltlen, int iter, EVP_CIPHER *cipher,
                 EVP_MD *md, unsigned char *key, unsigned char *iv);
 
diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c
index 1418921..cac4f94 100644
--- a/crypto/evp/evp_pbe.c
+++ b/crypto/evp/evp_pbe.c
@@ -1,4 +1,4 @@
-/* p12_pbop.c */
+/* evp_pbe.c */
 /* Written by Dr Stephen N Henson (shenson@bigfoot.com) for the OpenSSL
  * project 1999.
  */
@@ -74,7 +74,7 @@
 EVP_PBE_KEYGEN *keygen;
 } EVP_PBE_CTL;
 
-int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, unsigned char *pass, int passlen,
+int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen,
 	     unsigned char *salt, int saltlen, int iter, EVP_CIPHER_CTX *ctx,
 	     int en_de)
 {
@@ -95,7 +95,7 @@
 		ERR_add_error_data(2, "TYPE=", obj_tmp);
 		return 0;
 	}
-	if (passlen == -1) passlen = strlen(pass);
+	if (passlen == -1) passlen = strlen((char *)pass);
 	pbetmp = (EVP_PBE_CTL *)sk_value (pbe_algs, i);
 	i = (*pbetmp->keygen)(pass, passlen, salt, saltlen, iter,
 					 pbetmp->cipher, pbetmp->md, key, iv);
@@ -109,15 +109,15 @@
 
 /* Setup a PBE algorithm but take most parameters from AlgorithmIdentifier */
 
-int EVP_PBE_ALGOR_CipherInit (X509_ALGOR *algor, unsigned char *pass,
-	     int passlen, EVP_CIPHER_CTX *ctx, int en_de)
+int EVP_PBE_ALGOR_CipherInit (X509_ALGOR *algor, const char *pass,
+			      int passlen, EVP_CIPHER_CTX *ctx, int en_de)
 {
 	PBEPARAM *pbe;
 	int saltlen, iter;
 	unsigned char *salt, *pbuf;
 
 	/* Extract useful info from algor */
-	pbuf = (char *) algor->parameter->value.sequence->data;
+	pbuf = algor->parameter->value.sequence->data;
 	if (!(pbe = d2i_PBEPARAM (NULL, &pbuf,
 			 algor->parameter->value.sequence->length))) {
 		EVPerr(EVP_F_EVP_PBE_ALGOR_CIPHERINIT,EVP_R_DECODE_ERROR);
diff --git a/crypto/hmac/Makefile.ssl b/crypto/hmac/Makefile.ssl
index 52a2167..294ff15 100644
--- a/crypto/hmac/Makefile.ssl
+++ b/crypto/hmac/Makefile.ssl
@@ -85,4 +85,4 @@
 hmac.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
 hmac.o: ../../include/opensslv.h ../../include/rc2.h ../../include/rc4.h
 hmac.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
-hmac.o: ../../include/sha.h ../../include/stack.h hmac.h
+hmac.o: ../../include/sha.h ../../include/stack.h ../opensslconf.h hmac.h
diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c
index 64c5162..bf29380 100644
--- a/crypto/hmac/hmac.c
+++ b/crypto/hmac/hmac.c
@@ -60,7 +60,8 @@
 #include <string.h>
 #include "hmac.h"
 
-void HMAC_Init(HMAC_CTX *ctx, unsigned char *key, int len, const EVP_MD *md)
+void HMAC_Init(HMAC_CTX *ctx, const unsigned char *key, int len,
+	       const EVP_MD *md)
 	{
 	int i,j,reset=0;
 	unsigned char pad[HMAC_MAX_MD_CBLOCK];
diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h
index 2a39d67..2fc9744 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -80,7 +80,7 @@
 
 #ifndef NOPROTO
 
-void HMAC_Init(HMAC_CTX *ctx, unsigned char *key, int len,
+void HMAC_Init(HMAC_CTX *ctx, const unsigned char *key, int len,
 	       const EVP_MD *md);
 void HMAC_Update(HMAC_CTX *ctx,unsigned char *key, int len);
 void HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len);
diff --git a/crypto/idea/Makefile.ssl b/crypto/idea/Makefile.ssl
index d29abbd..8de0df0 100644
--- a/crypto/idea/Makefile.ssl
+++ b/crypto/idea/Makefile.ssl
@@ -78,8 +78,8 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-i_cbc.o: idea.h idea_lcl.h
-i_cfb64.o: idea.h idea_lcl.h
-i_ecb.o: ../opensslv.h idea.h idea_lcl.h
-i_ofb64.o: idea.h idea_lcl.h
-i_skey.o: idea.h idea_lcl.h
+i_cbc.o: ../opensslconf.h idea.h idea_lcl.h
+i_cfb64.o: ../opensslconf.h idea.h idea_lcl.h
+i_ecb.o: ../opensslconf.h ../opensslv.h idea.h idea_lcl.h
+i_ofb64.o: ../opensslconf.h idea.h idea_lcl.h
+i_skey.o: ../opensslconf.h idea.h idea_lcl.h
diff --git a/crypto/md2/Makefile.ssl b/crypto/md2/Makefile.ssl
index 8f415be..dae6ef8 100644
--- a/crypto/md2/Makefile.ssl
+++ b/crypto/md2/Makefile.ssl
@@ -78,7 +78,7 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-md2_dgst.o: ../opensslv.h md2.h
+md2_dgst.o: ../opensslconf.h ../opensslv.h md2.h
 md2_one.o: ../../include/bio.h ../../include/buffer.h ../../include/e_os.h
 md2_one.o: ../../include/err.h ../../include/stack.h ../cryptlib.h ../crypto.h
-md2_one.o: ../opensslv.h md2.h
+md2_one.o: ../opensslconf.h ../opensslv.h md2.h
diff --git a/crypto/mdc2/Makefile.ssl b/crypto/mdc2/Makefile.ssl
index 0707db3..8eba164 100644
--- a/crypto/mdc2/Makefile.ssl
+++ b/crypto/mdc2/Makefile.ssl
@@ -80,5 +80,5 @@
 
 mdc2_one.o: ../../include/bio.h ../../include/buffer.h ../../include/des.h
 mdc2_one.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-mdc2_one.o: ../cryptlib.h ../crypto.h ../opensslv.h mdc2.h
-mdc2dgst.o: ../../include/des.h mdc2.h
+mdc2_one.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h mdc2.h
+mdc2dgst.o: ../../include/des.h ../opensslconf.h mdc2.h
diff --git a/crypto/objects/Makefile.ssl b/crypto/objects/Makefile.ssl
index 2397287..d520a7d 100644
--- a/crypto/objects/Makefile.ssl
+++ b/crypto/objects/Makefile.ssl
@@ -89,15 +89,17 @@
 
 o_names.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 o_names.o: ../../include/crypto.h ../../include/lhash.h
-o_names.o: ../../include/opensslv.h ../../include/stack.h objects.h
+o_names.o: ../../include/opensslv.h ../../include/stack.h ../opensslconf.h
+o_names.o: objects.h
 obj_dat.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 obj_dat.o: ../../include/buffer.h ../../include/crypto.h ../../include/e_os.h
 obj_dat.o: ../../include/err.h ../../include/lhash.h ../../include/opensslv.h
-obj_dat.o: ../../include/stack.h ../cryptlib.h obj_dat.h objects.h
+obj_dat.o: ../../include/stack.h ../cryptlib.h ../opensslconf.h obj_dat.h
+obj_dat.o: objects.h
 obj_err.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 obj_err.o: ../../include/crypto.h ../../include/err.h ../../include/opensslv.h
-obj_err.o: ../../include/stack.h objects.h
+obj_err.o: ../../include/stack.h ../opensslconf.h objects.h
 obj_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/bn.h
 obj_lib.o: ../../include/buffer.h ../../include/crypto.h ../../include/e_os.h
 obj_lib.o: ../../include/err.h ../../include/lhash.h ../../include/opensslv.h
-obj_lib.o: ../../include/stack.h ../cryptlib.h objects.h
+obj_lib.o: ../../include/stack.h ../cryptlib.h ../opensslconf.h objects.h
diff --git a/crypto/pem/Makefile.ssl b/crypto/pem/Makefile.ssl
index 4f90ffb..8f7b23c 100644
--- a/crypto/pem/Makefile.ssl
+++ b/crypto/pem/Makefile.ssl
@@ -94,8 +94,8 @@
 pem_all.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 pem_all.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 pem_all.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-pem_all.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-pem_all.o: pem.h pem2.h
+pem_all.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+pem_all.o: ../opensslv.h pem.h pem2.h
 pem_err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pem_err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
 pem_err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
@@ -105,7 +105,7 @@
 pem_err.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 pem_err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pem_err.o: ../../include/x509.h ../../include/x509_vfy.h ../crypto.h
-pem_err.o: ../opensslv.h pem.h pem2.h
+pem_err.o: ../opensslconf.h ../opensslv.h pem.h pem2.h
 pem_info.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pem_info.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 pem_info.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -116,7 +116,7 @@
 pem_info.o: ../../include/ripemd.h ../../include/rsa.h
 pem_info.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pem_info.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-pem_info.o: ../crypto.h ../opensslv.h pem.h pem2.h
+pem_info.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
 pem_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pem_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 pem_lib.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -127,7 +127,7 @@
 pem_lib.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 pem_lib.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pem_lib.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-pem_lib.o: ../crypto.h ../opensslv.h pem.h pem2.h
+pem_lib.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
 pem_seal.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pem_seal.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 pem_seal.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -138,7 +138,7 @@
 pem_seal.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 pem_seal.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pem_seal.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-pem_seal.o: ../crypto.h ../opensslv.h pem.h pem2.h
+pem_seal.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
 pem_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pem_sign.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 pem_sign.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -149,4 +149,4 @@
 pem_sign.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 pem_sign.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pem_sign.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-pem_sign.o: ../crypto.h ../opensslv.h pem.h pem2.h
+pem_sign.o: ../crypto.h ../opensslconf.h ../opensslv.h pem.h pem2.h
diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c
index 7d9a8de..47189bd 100644
--- a/crypto/pem/pem_lib.c
+++ b/crypto/pem/pem_lib.c
@@ -591,7 +591,7 @@
 				PEMerr(PEM_F_PEM_READ_BIO,ERR_R_MALLOC_FAILURE);
 				goto err;
 				}
-			strncpy(nameB->data,&(buf[11]),(unsigned int)i-6);
+			memcpy(nameB->data,&(buf[11]),i-6);
 			nameB->data[i-6]='\0';
 			break;
 			}
@@ -616,7 +616,7 @@
 			nohead=1;
 			break;
 			}
-		strncpy(&(headerB->data[hl]),buf,(unsigned int)i);
+		memcpy(&(headerB->data[hl]),buf,i);
 		headerB->data[hl+i]='\0';
 		hl+=i;
 		}
@@ -644,7 +644,7 @@
 				PEMerr(PEM_F_PEM_READ_BIO,ERR_R_MALLOC_FAILURE);
 				goto err;
 				}
-			strncpy(&(dataB->data[bl]),buf,(unsigned int)i);
+			memcpy(&(dataB->data[bl]),buf,i);
 			dataB->data[bl+i]='\0';
 			bl+=i;
 			if (end)
@@ -669,7 +669,7 @@
 		}
 	i=strlen(nameB->data);
 	if (	(strncmp(buf,"-----END ",9) != 0) ||
-		(strncmp(nameB->data,&(buf[9]),(unsigned int)i) != 0) ||
+		(strncmp(nameB->data,&(buf[9]),i) != 0) ||
 		(strncmp(&(buf[9+i]),"-----\n",6) != 0))
 		{
 		PEMerr(PEM_F_PEM_READ_BIO,PEM_R_BAD_END_LINE);
diff --git a/crypto/pkcs12/Makefile.ssl b/crypto/pkcs12/Makefile.ssl
index ff016d5..e6e06a5 100644
--- a/crypto/pkcs12/Makefile.ssl
+++ b/crypto/pkcs12/Makefile.ssl
@@ -99,8 +99,8 @@
 p12_add.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p12_add.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p12_add.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p12_add.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-p12_add.o: pkcs12.h
+p12_add.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p12_add.o: ../opensslv.h pkcs12.h
 p12_attr.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_attr.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_attr.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -111,7 +111,7 @@
 p12_attr.o: ../../include/ripemd.h ../../include/rsa.h
 p12_attr.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_attr.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_attr.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_attr.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_bags.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 p12_bags.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 p12_bags.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -122,7 +122,7 @@
 p12_bags.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 p12_bags.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_bags.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_bags.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_bags.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_crpt.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_crpt.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_crpt.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -133,7 +133,7 @@
 p12_crpt.o: ../../include/ripemd.h ../../include/rsa.h
 p12_crpt.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_crpt.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_crpt.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_crpt.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_crt.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_crt.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_crt.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -143,8 +143,8 @@
 p12_crt.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p12_crt.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p12_crt.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p12_crt.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-p12_crt.o: pkcs12.h
+p12_crt.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p12_crt.o: ../opensslv.h pkcs12.h
 p12_decr.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_decr.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_decr.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -155,7 +155,7 @@
 p12_decr.o: ../../include/ripemd.h ../../include/rsa.h
 p12_decr.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_decr.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_decr.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_decr.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_init.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_init.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_init.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -166,7 +166,7 @@
 p12_init.o: ../../include/ripemd.h ../../include/rsa.h
 p12_init.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_init.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_init.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_init.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_key.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_key.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_key.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -176,8 +176,8 @@
 p12_key.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p12_key.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p12_key.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p12_key.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-p12_key.o: pkcs12.h
+p12_key.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p12_key.o: ../opensslv.h pkcs12.h
 p12_kiss.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_kiss.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_kiss.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -188,7 +188,7 @@
 p12_kiss.o: ../../include/ripemd.h ../../include/rsa.h
 p12_kiss.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_kiss.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_kiss.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_kiss.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_lib.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 p12_lib.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 p12_lib.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -199,7 +199,7 @@
 p12_lib.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 p12_lib.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_lib.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_lib.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_lib.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_mac.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 p12_mac.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 p12_mac.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -210,7 +210,7 @@
 p12_mac.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 p12_mac.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_mac.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_mac.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_mac.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_mutl.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_mutl.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_mutl.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -221,7 +221,7 @@
 p12_mutl.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 p12_mutl.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 p12_mutl.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-p12_mutl.o: ../cryptlib.h ../crypto.h ../opensslv.h pkcs12.h
+p12_mutl.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_sbag.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 p12_sbag.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 p12_sbag.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -232,7 +232,7 @@
 p12_sbag.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 p12_sbag.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 p12_sbag.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-p12_sbag.o: ../crypto.h ../opensslv.h pkcs12.h
+p12_sbag.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs12.h
 p12_utl.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 p12_utl.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 p12_utl.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -242,8 +242,8 @@
 p12_utl.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 p12_utl.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 p12_utl.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-p12_utl.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-p12_utl.o: pkcs12.h
+p12_utl.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+p12_utl.o: ../opensslv.h pkcs12.h
 pk12err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pk12err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
 pk12err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
@@ -253,4 +253,4 @@
 pk12err.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 pk12err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pk12err.o: ../../include/x509.h ../../include/x509_vfy.h ../crypto.h
-pk12err.o: ../opensslv.h pkcs12.h
+pk12err.o: ../opensslconf.h ../opensslv.h pkcs12.h
diff --git a/crypto/pkcs12/p12_add.c b/crypto/pkcs12/p12_add.c
index 58f4d1f..60304ed 100644
--- a/crypto/pkcs12/p12_add.c
+++ b/crypto/pkcs12/p12_add.c
@@ -101,8 +101,9 @@
 
 /* Turn PKCS8 object into a shrouded keybag */
 
-PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG (pbe_nid, pass, passlen, salt, saltlen, iter, p8)int pbe_nid;
-unsigned char *pass;
+PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG (pbe_nid, pass, passlen, salt, saltlen, iter, p8)
+int pbe_nid;
+const char *pass;
 int passlen;
 unsigned char *salt;
 int saltlen;
@@ -151,7 +152,7 @@
 
 /* Turn a stack of SAFEBAGS into a PKCS#7 encrypted data ContentInfo */
 
-PKCS7 *PKCS12_pack_p7encdata (int pbe_nid, unsigned char *pass, int passlen,
+PKCS7 *PKCS12_pack_p7encdata (int pbe_nid, const char *pass, int passlen,
 	     unsigned char *salt, int saltlen, int iter, STACK *bags)
 {
 	PKCS7 *p7;
@@ -184,7 +185,7 @@
 	return p7;
 }
 
-X509_SIG *PKCS8_encrypt (int pbe_nid, unsigned char *pass, int passlen,
+X509_SIG *PKCS8_encrypt (int pbe_nid, const char *pass, int passlen,
 	     unsigned char *salt, int saltlen, int iter,
 	     PKCS8_PRIV_KEY_INFO *p8inf)
 {
diff --git a/crypto/pkcs12/p12_attr.c b/crypto/pkcs12/p12_attr.c
index 6247fdb..c7d13c6 100644
--- a/crypto/pkcs12/p12_attr.c
+++ b/crypto/pkcs12/p12_attr.c
@@ -145,8 +145,8 @@
 
 /* Add a friendlyname to a safebag */
 
-int PKCS12_add_friendlyname_asc (PKCS12_SAFEBAG *bag, unsigned char *name,
-	     int namelen)
+int PKCS12_add_friendlyname_asc (PKCS12_SAFEBAG *bag, const char *name,
+				 int namelen)
 {
 	unsigned char *uniname;
 	int ret, unilen;
@@ -160,8 +160,8 @@
 }
 	
 
-int PKCS12_add_friendlyname_uni (PKCS12_SAFEBAG *bag, unsigned char *name,
-	     int namelen)
+int PKCS12_add_friendlyname_uni (PKCS12_SAFEBAG *bag,
+				 const unsigned char *name, int namelen)
 {
 	X509_ATTRIBUTE *attrib;
 	ASN1_BMPSTRING *bmp;
diff --git a/crypto/pkcs12/p12_crpt.c b/crypto/pkcs12/p12_crpt.c
index 8623cde..8a6feda 100644
--- a/crypto/pkcs12/p12_crpt.c
+++ b/crypto/pkcs12/p12_crpt.c
@@ -78,12 +78,12 @@
 					EVP_sha1(), PKCS12_PBE_keyivgen);
 }
 
-int PKCS12_PBE_keyivgen (unsigned char *pass, int passlen, unsigned char *salt,
+int PKCS12_PBE_keyivgen (const char *pass, int passlen, unsigned char *salt,
 	     int saltlen, int iter, EVP_CIPHER *cipher, EVP_MD *md,
 	     unsigned char *key, unsigned char *iv)
 {
 	if (!PKCS12_key_gen (pass, passlen, salt, saltlen, PKCS12_KEY_ID,
- 				iter, EVP_CIPHER_key_length(cipher), key, md)) {
+			     iter, EVP_CIPHER_key_length(cipher), key, md)) {
 		PKCS12err(PKCS12_F_PKCS12_PBE_KEYIVGEN,PKCS12_R_KEY_GEN_ERROR);
 		return 0;
 	}
diff --git a/crypto/pkcs12/p12_crt.c b/crypto/pkcs12/p12_crt.c
index f7592a5..8644527 100644
--- a/crypto/pkcs12/p12_crt.c
+++ b/crypto/pkcs12/p12_crt.c
@@ -72,7 +72,7 @@
 	X509 *tcert;
 	int i;
 	unsigned char keyid[EVP_MAX_MD_SIZE];
-	int keyidlen;
+	unsigned int keyidlen;
 
 	/* Set defaults */
 	if(!nid_cert) nid_cert = NID_pbe_WithSHA1And40BitRC2_CBC;
@@ -115,7 +115,7 @@
 
 	/* Turn certbags into encrypted authsafe */
 	authsafe = PKCS12_pack_p7encdata (nid_cert, pass, -1, NULL, 0,
-								 iter, bags);
+					  iter, bags);
 	sk_pop_free(bags, PKCS12_SAFEBAG_free);
 
 	if (!authsafe) return NULL;
@@ -151,7 +151,8 @@
 
 	sk_pop_free(safes, PKCS7_free);
 
-	if(!PKCS12_set_mac (p12, pass, -1, NULL, 0, mac_iter, NULL)) return NULL;
+	if(!PKCS12_set_mac (p12, pass, -1, NULL, 0, mac_iter, NULL))
+	    return NULL;
 
 	return p12;
 
diff --git a/crypto/pkcs12/p12_decr.c b/crypto/pkcs12/p12_decr.c
index b96f119..7973a69 100644
--- a/crypto/pkcs12/p12_decr.c
+++ b/crypto/pkcs12/p12_decr.c
@@ -68,7 +68,7 @@
  * Malloc'ed buffer
  */
 
-unsigned char * PKCS12_pbe_crypt (X509_ALGOR *algor, unsigned char *pass,
+unsigned char * PKCS12_pbe_crypt (X509_ALGOR *algor, const char *pass,
 	     int passlen, unsigned char *in, int inlen, unsigned char **data,
 	     int *datalen, int en_de)
 {
@@ -107,7 +107,7 @@
  */
 
 char * PKCS12_decrypt_d2i (X509_ALGOR *algor, char * (*d2i)(),
-	     void (*free_func)(), unsigned char *pass, int passlen,
+	     void (*free_func)(), const char *pass, int passlen,
 	     ASN1_OCTET_STRING *oct, int seq)
 {
 	unsigned char *out, *p;
@@ -115,7 +115,7 @@
 	int outlen;
 
 	if (!PKCS12_pbe_crypt (algor, pass, passlen, oct->data, oct->length,
-				 &out, &outlen, 0)) {
+			       &out, &outlen, 0)) {
 		PKCS12err(PKCS12_F_PKCS12_DECRYPT_D2I,PKCS12_R_PKCS12_PBE_CRYPT_ERROR);
 		return NULL;
 	}
@@ -147,7 +147,8 @@
  */
 
 ASN1_OCTET_STRING *PKCS12_i2d_encrypt (X509_ALGOR *algor, int (*i2d)(),
-	     unsigned char *pass, int passlen, char *obj, int seq)
+				       const char *pass, int passlen,
+				       char *obj, int seq)
 {
 	ASN1_OCTET_STRING *oct;
 	unsigned char *in, *p;
diff --git a/crypto/pkcs12/p12_key.c b/crypto/pkcs12/p12_key.c
index eb774e4..b59ac2b 100644
--- a/crypto/pkcs12/p12_key.c
+++ b/crypto/pkcs12/p12_key.c
@@ -74,7 +74,7 @@
 #define min(a,b) ((a) < (b) ? (a) : (b))
 #endif
 
-int PKCS12_key_gen_asc (unsigned char *pass, int passlen, unsigned char *salt,
+int PKCS12_key_gen_asc (const char *pass, int passlen, unsigned char *salt,
 	     int saltlen, int id, int iter, int n, unsigned char *out,
 	     const EVP_MD *md_type)
 {
diff --git a/crypto/pkcs12/p12_kiss.c b/crypto/pkcs12/p12_kiss.c
index b4e3cc8..9c40305 100644
--- a/crypto/pkcs12/p12_kiss.c
+++ b/crypto/pkcs12/p12_kiss.c
@@ -63,9 +63,9 @@
 /* Simplified PKCS#12 routines */
 
 #ifndef NOPROTO
-static int parse_pk12( PKCS12 *p12, unsigned char *pass, int passlen, EVP_PKEY **pkey, X509 **cert, STACK **ca);
-static int parse_bags( STACK *bags, unsigned char *pass, int passlen, EVP_PKEY **pkey, X509 **cert, STACK **ca, ASN1_OCTET_STRING **keyid, char *keymatch);
-static int parse_bag( PKCS12_SAFEBAG *bag, unsigned char *pass, int passlen, EVP_PKEY **pkey, X509 **cert, STACK **ca, ASN1_OCTET_STRING **keyid, char *keymatch);
+static int parse_pk12( PKCS12 *p12, const char *pass, int passlen, EVP_PKEY **pkey, X509 **cert, STACK **ca);
+static int parse_bags( STACK *bags, const char *pass, int passlen, EVP_PKEY **pkey, X509 **cert, STACK **ca, ASN1_OCTET_STRING **keyid, char *keymatch);
+static int parse_bag( PKCS12_SAFEBAG *bag, const char *pass, int passlen, EVP_PKEY **pkey, X509 **cert, STACK **ca, ASN1_OCTET_STRING **keyid, char *keymatch);
 #else
 static int parse_pk12();
 static int parse_bags();
@@ -78,7 +78,7 @@
  * passed unitialised.
  */
 
-int PKCS12_parse (PKCS12 *p12, char *pass, EVP_PKEY **pkey, X509 **cert,
+int PKCS12_parse (PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
 	     STACK **ca)
 {
 
@@ -125,7 +125,7 @@
 
 /* Parse the outer PKCS#12 structure */
 
-static int parse_pk12 (PKCS12 *p12, unsigned char *pass, int passlen,
+static int parse_pk12 (PKCS12 *p12, const char *pass, int passlen,
 	     EVP_PKEY **pkey, X509 **cert, STACK **ca)
 {
 	STACK *asafes, *bags;
@@ -160,9 +160,9 @@
 }
 
 
-static int parse_bags (STACK *bags, unsigned char *pass, int passlen,
-	     EVP_PKEY **pkey, X509 **cert, STACK **ca, ASN1_OCTET_STRING **keyid,
-	     char *keymatch)
+static int parse_bags (STACK *bags, const char *pass, int passlen,
+		       EVP_PKEY **pkey, X509 **cert, STACK **ca,
+		       ASN1_OCTET_STRING **keyid, char *keymatch)
 {
 	int i;
 	for (i = 0; i < sk_num (bags); i++) {
@@ -177,8 +177,9 @@
 #define MATCH_CERT 0x2
 #define MATCH_ALL  0x3
 
-static int parse_bag (PKCS12_SAFEBAG *bag, unsigned char *pass, int passlen,
-	     EVP_PKEY **pkey, X509 **cert, STACK **ca, ASN1_OCTET_STRING **keyid,
+static int parse_bag (PKCS12_SAFEBAG *bag, const char *pass, int passlen,
+		      EVP_PKEY **pkey, X509 **cert, STACK **ca,
+		      ASN1_OCTET_STRING **keyid,
 	     char *keymatch)
 {
 	PKCS8_PRIV_KEY_INFO *p8;
diff --git a/crypto/pkcs12/p12_mutl.c b/crypto/pkcs12/p12_mutl.c
index 2d16e61..1699619 100644
--- a/crypto/pkcs12/p12_mutl.c
+++ b/crypto/pkcs12/p12_mutl.c
@@ -63,8 +63,8 @@
 #include "pkcs12.h"
 
 /* Generate a MAC */
-int PKCS12_gen_mac (PKCS12 *p12, unsigned char *pass, int passlen,
-	     unsigned char *mac, unsigned int *maclen)
+int PKCS12_gen_mac (PKCS12 *p12, const char *pass, int passlen,
+		    unsigned char *mac, unsigned int *maclen)
 {
 	const EVP_MD *md_type;
 	HMAC_CTX hmac;
@@ -92,7 +92,7 @@
 }
 
 /* Verify the mac */
-int PKCS12_verify_mac (PKCS12 *p12, unsigned char *pass, int passlen)
+int PKCS12_verify_mac (PKCS12 *p12, const char *pass, int passlen)
 {
 	unsigned char mac[EVP_MAX_MD_SIZE];
 	unsigned int maclen;
@@ -114,11 +114,12 @@
 
 /* Set a mac */
 
-int PKCS12_set_mac (PKCS12 *p12, unsigned char *pass, int passlen,
+int PKCS12_set_mac (PKCS12 *p12, const char *pass, int passlen,
 	     unsigned char *salt, int saltlen, int iter, EVP_MD *md_type)
 {
 	unsigned char mac[EVP_MAX_MD_SIZE];
-	int maclen;
+	unsigned int maclen;
+
 	if (!md_type) md_type = EVP_sha1();
 	if (PKCS12_setup_mac (p12, iter, salt, saltlen, md_type) ==
 				 	PKCS12_ERROR) {
diff --git a/crypto/pkcs12/p12_utl.c b/crypto/pkcs12/p12_utl.c
index 1300ef0..2f89e97 100644
--- a/crypto/pkcs12/p12_utl.c
+++ b/crypto/pkcs12/p12_utl.c
@@ -62,7 +62,7 @@
 
 /* Cheap and nasty Unicode stuff */
 
-unsigned char *asc2uni (unsigned char *asc, unsigned char **uni, int *unilen)
+unsigned char *asc2uni (const char *asc, unsigned char **uni, int *unilen)
 {
 	int ulen, i;
 	unsigned char *unitmp;
diff --git a/crypto/pkcs12/pkcs12.h b/crypto/pkcs12/pkcs12.h
index 8f7a5b5..9bf211e 100644
--- a/crypto/pkcs12/pkcs12.h
+++ b/crypto/pkcs12/pkcs12.h
@@ -192,28 +192,47 @@
 #ifndef NOPROTO
 PKCS12_SAFEBAG *PKCS12_pack_safebag(char *obj, int (*i2d)(), int nid1, int nid2);
 PKCS12_SAFEBAG *PKCS12_MAKE_KEYBAG(PKCS8_PRIV_KEY_INFO *p8);
-X509_SIG *PKCS8_encrypt(int pbe_nid, unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int iter, PKCS8_PRIV_KEY_INFO *p8);
-PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int iter, PKCS8_PRIV_KEY_INFO *p8);
+X509_SIG *PKCS8_encrypt(int pbe_nid, const char *pass, int passlen,
+			unsigned char *salt, int saltlen, int iter,
+			PKCS8_PRIV_KEY_INFO *p8);
+PKCS12_SAFEBAG *PKCS12_MAKE_SHKEYBAG(int pbe_nid, const char *pass,
+				     int passlen, unsigned char *salt,
+				     int saltlen, int iter,
+				     PKCS8_PRIV_KEY_INFO *p8);
 PKCS7 *PKCS12_pack_p7data(STACK *sk);
-PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int iter, STACK *bags);
+PKCS7 *PKCS12_pack_p7encdata(int pbe_nid, const char *pass, int passlen,
+			     unsigned char *salt, int saltlen, int iter,
+			     STACK *bags);
 int PKCS12_add_localkeyid(PKCS12_SAFEBAG *bag, unsigned char *name, int namelen);
-int PKCS12_add_friendlyname_asc(PKCS12_SAFEBAG *bag, unsigned char *name, int namelen);
-int PKCS12_add_friendlyname_uni(PKCS12_SAFEBAG *bag, unsigned char *name, int namelen);
+int PKCS12_add_friendlyname_asc(PKCS12_SAFEBAG *bag, const char *name,
+				int namelen);
+int PKCS12_add_friendlyname_uni(PKCS12_SAFEBAG *bag, const unsigned char *name,
+				int namelen);
 int PKCS8_add_keyusage(PKCS8_PRIV_KEY_INFO *p8, int usage);
 ASN1_TYPE *PKCS12_get_attr_gen(STACK *attrs, int attr_nid);
 char *PKCS12_get_friendlyname(PKCS12_SAFEBAG *bag);
-unsigned char *PKCS12_pbe_crypt(X509_ALGOR *algor, unsigned char *pass, int passlen, unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de);
-char *PKCS12_decrypt_d2i(X509_ALGOR *algor, char *(*d2i)(), void (*free_func)(), unsigned char *pass, int passlen, ASN1_STRING *oct, int seq);
-ASN1_STRING *PKCS12_i2d_encrypt(X509_ALGOR *algor, int (*i2d)(), unsigned char *pass, int passlen, char *obj, int seq);
+unsigned char *PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass,
+				int passlen, unsigned char *in, int inlen,
+				unsigned char **data, int *datalen, int en_de);
+char *PKCS12_decrypt_d2i(X509_ALGOR *algor, char *(*d2i)(),
+			 void (*free_func)(), const char *pass, int passlen,
+			 ASN1_STRING *oct, int seq);
+ASN1_STRING *PKCS12_i2d_encrypt(X509_ALGOR *algor, int (*i2d)(),
+				const char *pass, int passlen, char *obj,
+				int seq);
 PKCS12 *PKCS12_init(int mode);
-int PKCS12_key_gen_asc(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type);
+int PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt,
+		       int saltlen, int id, int iter, int n,
+		       unsigned char *out, const EVP_MD *md_type);
 int PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type);
-int PKCS12_PBE_keyivgen(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int iter, EVP_CIPHER *cipher, EVP_MD *md_type, unsigned char *key, unsigned char *iv);
-int PKCS12_gen_mac(PKCS12 *p12, unsigned char *pass, int passlen, unsigned char *mac, unsigned int *maclen);
-int PKCS12_verify_mac(PKCS12 *p12, unsigned char *pass, int passlen);
-int PKCS12_set_mac(PKCS12 *p12, unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int iter, EVP_MD *md_type);
+int PKCS12_PBE_keyivgen(const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, EVP_CIPHER *cipher, EVP_MD *md_type, unsigned char *key, unsigned char *iv);
+int PKCS12_gen_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen);
+int PKCS12_verify_mac(PKCS12 *p12, const char *pass, int passlen);
+int PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen,
+		   unsigned char *salt, int saltlen, int iter,
+		   EVP_MD *md_type);
 int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, EVP_MD *md_type);
-unsigned char *asc2uni(unsigned char *asc, unsigned char **uni, int *unilen);
+unsigned char *asc2uni(const char *asc, unsigned char **uni, int *unilen);
 char *uni2asc(unsigned char *uni, int unilen);
 int i2d_PKCS12_BAGS(PKCS12_BAGS *a, unsigned char **pp);
 PKCS12_BAGS *PKCS12_BAGS_new(void);
@@ -233,7 +252,8 @@
 void PKCS12_SAFEBAG_free(PKCS12_SAFEBAG *a);
 void ERR_load_PKCS12_strings(void);
 void PKCS12_PBE_add(void);
-int PKCS12_parse(PKCS12 *p12, char *pass, EVP_PKEY **pkey, X509 **cert, STACK **ca);
+int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
+		 STACK **ca);
 PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert, STACK *ca, int nid_key, int nid_cert, int iter, int mac_iter, int keytype);
 int i2d_PKCS12_bio(BIO *bp, PKCS12 *p12);
 int i2d_PKCS12_fp(FILE *fp, PKCS12 *p12);
diff --git a/crypto/pkcs7/Makefile.ssl b/crypto/pkcs7/Makefile.ssl
index d5331ba..719b698 100644
--- a/crypto/pkcs7/Makefile.ssl
+++ b/crypto/pkcs7/Makefile.ssl
@@ -96,7 +96,7 @@
 pk7_doit.o: ../../include/ripemd.h ../../include/rsa.h
 pk7_doit.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pk7_doit.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-pk7_doit.o: ../crypto.h ../opensslv.h pkcs7.h
+pk7_doit.o: ../crypto.h ../opensslconf.h ../opensslv.h pkcs7.h
 pk7_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pk7_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 pk7_lib.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -106,7 +106,7 @@
 pk7_lib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 pk7_lib.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 pk7_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-pk7_lib.o: ../cryptlib.h ../crypto.h ../opensslv.h pkcs7.h
+pk7_lib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h pkcs7.h
 pkcs7err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 pkcs7err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
 pkcs7err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
@@ -116,4 +116,4 @@
 pkcs7err.o: ../../include/ripemd.h ../../include/rsa.h
 pkcs7err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 pkcs7err.o: ../../include/x509.h ../../include/x509_vfy.h ../crypto.h
-pkcs7err.o: ../opensslv.h pkcs7.h
+pkcs7err.o: ../opensslconf.h ../opensslv.h pkcs7.h
diff --git a/crypto/rc2/Makefile.ssl b/crypto/rc2/Makefile.ssl
index 81feadd..e229969 100644
--- a/crypto/rc2/Makefile.ssl
+++ b/crypto/rc2/Makefile.ssl
@@ -78,8 +78,8 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-rc2_cbc.o: rc2.h rc2_locl.h
-rc2_ecb.o: ../opensslv.h rc2.h rc2_locl.h
-rc2_skey.o: rc2.h rc2_locl.h
-rc2cfb64.o: rc2.h rc2_locl.h
-rc2ofb64.o: rc2.h rc2_locl.h
+rc2_cbc.o: ../opensslconf.h rc2.h rc2_locl.h
+rc2_ecb.o: ../opensslconf.h ../opensslv.h rc2.h rc2_locl.h
+rc2_skey.o: ../opensslconf.h rc2.h rc2_locl.h
+rc2cfb64.o: ../opensslconf.h rc2.h rc2_locl.h
+rc2ofb64.o: ../opensslconf.h rc2.h rc2_locl.h
diff --git a/crypto/rc4/Makefile.ssl b/crypto/rc4/Makefile.ssl
index 0e4b384..4d7ac5d 100644
--- a/crypto/rc4/Makefile.ssl
+++ b/crypto/rc4/Makefile.ssl
@@ -106,5 +106,5 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-rc4_enc.o: rc4.h rc4_locl.h
-rc4_skey.o: ../opensslv.h rc4.h rc4_locl.h
+rc4_enc.o: ../opensslconf.h rc4.h rc4_locl.h
+rc4_skey.o: ../opensslconf.h ../opensslv.h rc4.h rc4_locl.h
diff --git a/crypto/rsa/Makefile.ssl b/crypto/rsa/Makefile.ssl
index 48dcd0c..c96d9e0 100644
--- a/crypto/rsa/Makefile.ssl
+++ b/crypto/rsa/Makefile.ssl
@@ -88,25 +88,29 @@
 
 rsa_eay.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_eay.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
-rsa_eay.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h rsa.h
+rsa_eay.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_eay.o: ../opensslv.h rsa.h
 rsa_err.o: ../../include/bn.h ../../include/err.h ../../include/stack.h
-rsa_err.o: ../crypto.h ../opensslv.h rsa.h
+rsa_err.o: ../crypto.h ../opensslconf.h ../opensslv.h rsa.h
 rsa_gen.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_gen.o: ../../include/e_os.h ../../include/err.h ../../include/stack.h
-rsa_gen.o: ../cryptlib.h ../crypto.h ../opensslv.h rsa.h
+rsa_gen.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h rsa.h
 rsa_lib.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_lib.o: ../../include/e_os.h ../../include/err.h ../../include/lhash.h
-rsa_lib.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h rsa.h
+rsa_lib.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_lib.o: ../opensslv.h rsa.h
 rsa_none.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_none.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
-rsa_none.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h rsa.h
+rsa_none.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_none.o: ../opensslv.h rsa.h
 rsa_oaep.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_oaep.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
 rsa_oaep.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-rsa_oaep.o: ../opensslv.h rsa.h
+rsa_oaep.o: ../opensslconf.h ../opensslv.h rsa.h
 rsa_pk1.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_pk1.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
-rsa_pk1.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h rsa.h
+rsa_pk1.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_pk1.o: ../opensslv.h rsa.h
 rsa_saos.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 rsa_saos.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 rsa_saos.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -116,8 +120,8 @@
 rsa_saos.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 rsa_saos.o: ../../include/ripemd.h ../../include/safestack.h
 rsa_saos.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-rsa_saos.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-rsa_saos.o: rsa.h
+rsa_saos.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_saos.o: ../opensslv.h rsa.h
 rsa_sign.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 rsa_sign.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 rsa_sign.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -127,8 +131,9 @@
 rsa_sign.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 rsa_sign.o: ../../include/ripemd.h ../../include/safestack.h
 rsa_sign.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-rsa_sign.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-rsa_sign.o: rsa.h
+rsa_sign.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_sign.o: ../opensslv.h rsa.h
 rsa_ssl.o: ../../include/bio.h ../../include/bn.h ../../include/buffer.h
 rsa_ssl.o: ../../include/e_os.h ../../include/err.h ../../include/rand.h
-rsa_ssl.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h rsa.h
+rsa_ssl.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+rsa_ssl.o: ../opensslv.h rsa.h
diff --git a/crypto/x509/Makefile.ssl b/crypto/x509/Makefile.ssl
index 35f5f5d..e71c2a8 100644
--- a/crypto/x509/Makefile.ssl
+++ b/crypto/x509/Makefile.ssl
@@ -103,7 +103,8 @@
 by_dir.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
 by_dir.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 by_dir.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-by_dir.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+by_dir.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+by_dir.o: x509_vfy.h
 by_file.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 by_file.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 by_file.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -114,7 +115,7 @@
 by_file.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 by_file.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 by_file.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-by_file.o: ../opensslv.h x509.h x509_vfy.h
+by_file.o: ../opensslconf.h ../opensslv.h x509.h x509_vfy.h
 x509_cmp.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_cmp.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_cmp.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -124,7 +125,8 @@
 x509_cmp.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_cmp.o: ../../include/ripemd.h ../../include/rsa.h
 x509_cmp.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_cmp.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_cmp.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_cmp.o: x509_vfy.h
 x509_d2.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_d2.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_d2.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -134,7 +136,7 @@
 x509_d2.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_d2.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 x509_d2.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-x509_d2.o: ../opensslv.h x509.h x509_vfy.h
+x509_d2.o: ../opensslconf.h ../opensslv.h x509.h x509_vfy.h
 x509_def.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_def.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_def.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -144,7 +146,8 @@
 x509_def.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_def.o: ../../include/ripemd.h ../../include/rsa.h
 x509_def.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_def.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_def.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_def.o: x509_vfy.h
 x509_err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
 x509_err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
@@ -153,7 +156,7 @@
 x509_err.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
 x509_err.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 x509_err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_err.o: ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_err.o: ../crypto.h ../opensslconf.h ../opensslv.h x509.h x509_vfy.h
 x509_ext.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_ext.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_ext.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -163,7 +166,8 @@
 x509_ext.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_ext.o: ../../include/ripemd.h ../../include/rsa.h
 x509_ext.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_ext.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_ext.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_ext.o: x509_vfy.h
 x509_lu.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_lu.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_lu.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -173,7 +177,8 @@
 x509_lu.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
 x509_lu.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 x509_lu.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_lu.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_lu.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_lu.o: x509_vfy.h
 x509_obj.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_obj.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_obj.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -183,7 +188,8 @@
 x509_obj.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
 x509_obj.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 x509_obj.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_obj.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_obj.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_obj.o: x509_vfy.h
 x509_r2x.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_r2x.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_r2x.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -193,7 +199,8 @@
 x509_r2x.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_r2x.o: ../../include/ripemd.h ../../include/rsa.h
 x509_r2x.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_r2x.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_r2x.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_r2x.o: x509_vfy.h
 x509_req.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_req.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_req.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -203,8 +210,8 @@
 x509_req.o: ../../include/pem2.h ../../include/pkcs7.h ../../include/rc2.h
 x509_req.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 x509_req.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
-x509_req.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslv.h
-x509_req.o: x509.h x509_vfy.h
+x509_req.o: ../../include/stack.h ../cryptlib.h ../crypto.h ../opensslconf.h
+x509_req.o: ../opensslv.h x509.h x509_vfy.h
 x509_set.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_set.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_set.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -214,7 +221,8 @@
 x509_set.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_set.o: ../../include/ripemd.h ../../include/rsa.h
 x509_set.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_set.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_set.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_set.o: x509_vfy.h
 x509_txt.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_txt.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_txt.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -224,7 +232,8 @@
 x509_txt.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
 x509_txt.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 x509_txt.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_txt.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_txt.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_txt.o: x509_vfy.h
 x509_v3.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_v3.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_v3.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -234,7 +243,7 @@
 x509_v3.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509_v3.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 x509_v3.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-x509_v3.o: ../opensslv.h x509.h x509_vfy.h
+x509_v3.o: ../opensslconf.h ../opensslv.h x509.h x509_vfy.h
 x509_vfy.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509_vfy.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509_vfy.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -244,7 +253,8 @@
 x509_vfy.o: ../../include/pkcs7.h ../../include/rc2.h ../../include/rc4.h
 x509_vfy.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 x509_vfy.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509_vfy.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509_vfy.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509_vfy.o: x509_vfy.h
 x509name.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509name.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509name.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -254,7 +264,8 @@
 x509name.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509name.o: ../../include/ripemd.h ../../include/rsa.h
 x509name.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509name.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509name.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509name.o: x509_vfy.h
 x509rset.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509rset.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509rset.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -264,7 +275,8 @@
 x509rset.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509rset.o: ../../include/ripemd.h ../../include/rsa.h
 x509rset.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509rset.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509rset.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509rset.o: x509_vfy.h
 x509type.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x509type.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x509type.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -274,7 +286,8 @@
 x509type.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x509type.o: ../../include/ripemd.h ../../include/rsa.h
 x509type.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
-x509type.o: ../cryptlib.h ../crypto.h ../opensslv.h x509.h x509_vfy.h
+x509type.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509.h
+x509type.o: x509_vfy.h
 x_all.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 x_all.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 x_all.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -284,4 +297,4 @@
 x_all.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 x_all.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 x_all.o: ../../include/sha.h ../../include/stack.h ../cryptlib.h ../crypto.h
-x_all.o: ../opensslv.h x509.h x509_vfy.h
+x_all.o: ../opensslconf.h ../opensslv.h x509.h x509_vfy.h
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 6d2733c..856872e 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -885,10 +885,10 @@
 
 /* Password based encryption routines */
 
-int EVP_PBE_ALGOR_CipherInit(X509_ALGOR *algor, unsigned char *pass,
-				 int passlen, EVP_CIPHER_CTX *ctx, int en_de);
+int EVP_PBE_ALGOR_CipherInit(X509_ALGOR *algor, const char *pass,
+			     int passlen, EVP_CIPHER_CTX *ctx, int en_de);
 int EVP_PBE_alg_add(int nid, EVP_CIPHER *cipher, EVP_MD *md,
-						 EVP_PBE_KEYGEN *keygen);
+		    EVP_PBE_KEYGEN *keygen);
 void EVP_PBE_cleanup(void);
 
 #else
diff --git a/crypto/x509v3/Makefile.ssl b/crypto/x509v3/Makefile.ssl
index 4b4a11b..8294b5e 100644
--- a/crypto/x509v3/Makefile.ssl
+++ b/crypto/x509v3/Makefile.ssl
@@ -98,8 +98,8 @@
 v3_akey.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 v3_akey.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 v3_akey.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-v3_akey.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-v3_akey.o: x509v3.h
+v3_akey.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+v3_akey.o: ../opensslv.h x509v3.h
 v3_alt.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_alt.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_alt.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -110,7 +110,7 @@
 v3_alt.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_alt.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_alt.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_alt.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_alt.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_bcons.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 v3_bcons.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 v3_bcons.o: ../../include/cast.h ../../include/conf.h ../../include/des.h
@@ -122,7 +122,7 @@
 v3_bcons.o: ../../include/ripemd.h ../../include/rsa.h
 v3_bcons.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 v3_bcons.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-v3_bcons.o: ../crypto.h ../opensslv.h x509v3.h
+v3_bcons.o: ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_bitst.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_bitst.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_bitst.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -133,7 +133,7 @@
 v3_bitst.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_bitst.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_bitst.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_bitst.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_bitst.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_conf.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_conf.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_conf.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -144,7 +144,7 @@
 v3_conf.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_conf.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_conf.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_conf.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_conf.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_cpols.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 v3_cpols.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 v3_cpols.o: ../../include/cast.h ../../include/conf.h ../../include/des.h
@@ -156,7 +156,19 @@
 v3_cpols.o: ../../include/ripemd.h ../../include/rsa.h
 v3_cpols.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 v3_cpols.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-v3_cpols.o: ../crypto.h ../opensslv.h x509v3.h
+v3_cpols.o: ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
+v3_crld.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
+v3_crld.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
+v3_crld.o: ../../include/cast.h ../../include/conf.h ../../include/des.h
+v3_crld.o: ../../include/dh.h ../../include/dsa.h ../../include/e_os.h
+v3_crld.o: ../../include/err.h ../../include/evp.h ../../include/idea.h
+v3_crld.o: ../../include/lhash.h ../../include/md2.h ../../include/md5.h
+v3_crld.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
+v3_crld.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
+v3_crld.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
+v3_crld.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
+v3_crld.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+v3_crld.o: ../opensslv.h x509v3.h
 v3_enum.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_enum.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_enum.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -166,8 +178,8 @@
 v3_enum.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 v3_enum.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 v3_enum.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-v3_enum.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-v3_enum.o: x509v3.h
+v3_enum.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+v3_enum.o: ../opensslv.h x509v3.h
 v3_extku.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_extku.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_extku.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -178,7 +190,7 @@
 v3_extku.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_extku.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_extku.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_extku.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_extku.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_genn.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 v3_genn.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 v3_genn.o: ../../include/cast.h ../../include/conf.h ../../include/des.h
@@ -189,8 +201,8 @@
 v3_genn.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 v3_genn.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 v3_genn.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-v3_genn.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-v3_genn.o: x509v3.h
+v3_genn.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+v3_genn.o: ../opensslv.h x509v3.h
 v3_ia5.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_ia5.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_ia5.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -201,7 +213,7 @@
 v3_ia5.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_ia5.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_ia5.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_ia5.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_ia5.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_int.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_int.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_int.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -211,8 +223,8 @@
 v3_int.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 v3_int.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 v3_int.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-v3_int.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-v3_int.o: x509v3.h
+v3_int.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+v3_int.o: ../opensslv.h x509v3.h
 v3_lib.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_lib.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_lib.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -223,7 +235,7 @@
 v3_lib.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_lib.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_lib.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_lib.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_lib.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_pku.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 v3_pku.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 v3_pku.o: ../../include/cast.h ../../include/des.h ../../include/dh.h
@@ -234,7 +246,7 @@
 v3_pku.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 v3_pku.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 v3_pku.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-v3_pku.o: ../crypto.h ../opensslv.h x509v3.h
+v3_pku.o: ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_prn.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_prn.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_prn.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -245,7 +257,7 @@
 v3_prn.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_prn.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_prn.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_prn.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_prn.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_skey.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_skey.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_skey.o: ../../include/des.h ../../include/dh.h ../../include/dsa.h
@@ -255,8 +267,8 @@
 v3_skey.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
 v3_skey.o: ../../include/ripemd.h ../../include/rsa.h ../../include/safestack.h
 v3_skey.o: ../../include/sha.h ../../include/stack.h ../../include/x509.h
-v3_skey.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslv.h
-v3_skey.o: x509v3.h
+v3_skey.o: ../../include/x509_vfy.h ../cryptlib.h ../crypto.h ../opensslconf.h
+v3_skey.o: ../opensslv.h x509v3.h
 v3_sxnet.o: ../../include/asn1.h ../../include/asn1_mac.h ../../include/bio.h
 v3_sxnet.o: ../../include/blowfish.h ../../include/bn.h ../../include/buffer.h
 v3_sxnet.o: ../../include/cast.h ../../include/conf.h ../../include/des.h
@@ -268,7 +280,7 @@
 v3_sxnet.o: ../../include/ripemd.h ../../include/rsa.h
 v3_sxnet.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 v3_sxnet.o: ../../include/x509.h ../../include/x509_vfy.h ../cryptlib.h
-v3_sxnet.o: ../crypto.h ../opensslv.h x509v3.h
+v3_sxnet.o: ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3_utl.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3_utl.o: ../../include/bn.h ../../include/buffer.h ../../include/cast.h
 v3_utl.o: ../../include/conf.h ../../include/des.h ../../include/dh.h
@@ -279,7 +291,7 @@
 v3_utl.o: ../../include/rc4.h ../../include/rc5.h ../../include/ripemd.h
 v3_utl.o: ../../include/rsa.h ../../include/safestack.h ../../include/sha.h
 v3_utl.o: ../../include/stack.h ../../include/x509.h ../../include/x509_vfy.h
-v3_utl.o: ../cryptlib.h ../crypto.h ../opensslv.h x509v3.h
+v3_utl.o: ../cryptlib.h ../crypto.h ../opensslconf.h ../opensslv.h x509v3.h
 v3err.o: ../../include/asn1.h ../../include/bio.h ../../include/blowfish.h
 v3err.o: ../../include/bn.h ../../include/cast.h ../../include/des.h
 v3err.o: ../../include/dh.h ../../include/dsa.h ../../include/err.h
@@ -289,4 +301,4 @@
 v3err.o: ../../include/rc5.h ../../include/ripemd.h ../../include/rsa.h
 v3err.o: ../../include/safestack.h ../../include/sha.h ../../include/stack.h
 v3err.o: ../../include/x509.h ../../include/x509_vfy.h ../crypto.h
-v3err.o: ../opensslv.h x509v3.h
+v3err.o: ../opensslconf.h ../opensslv.h x509v3.h
diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c
index 3823339..e1b768f 100644
--- a/crypto/x509v3/v3_alt.c
+++ b/crypto/x509v3/v3_alt.c
@@ -127,15 +127,15 @@
 		break;
 
 		case GEN_EMAIL:
-		X509V3_add_value("email",gen->d.ia5->data, &ret);
+		X509V3_add_value_uchar("email",gen->d.ia5->data, &ret);
 		break;
 
 		case GEN_DNS:
-		X509V3_add_value("DNS",gen->d.ia5->data, &ret);
+		X509V3_add_value_uchar("DNS",gen->d.ia5->data, &ret);
 		break;
 
 		case GEN_URI:
-		X509V3_add_value("URI",gen->d.ia5->data, &ret);
+		X509V3_add_value_uchar("URI",gen->d.ia5->data, &ret);
 		break;
 
 		case GEN_DIRNAME:
diff --git a/crypto/x509v3/v3_sxnet.c b/crypto/x509v3/v3_sxnet.c
index 1e261c5..42705cb 100644
--- a/crypto/x509v3/v3_sxnet.c
+++ b/crypto/x509v3/v3_sxnet.c
@@ -238,7 +238,7 @@
 
 /* Add an id given the zone as an ASCII number */
 
-int SXNET_add_id_asc(SXNET **psx, char *zone, unsigned char *user,
+int SXNET_add_id_asc(SXNET **psx, char *zone, char *user,
 	     int userlen)
 {
 	ASN1_INTEGER *izone = NULL;
@@ -251,7 +251,7 @@
 
 /* Add an id given the zone as an unsigned long */
 
-int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, unsigned char *user,
+int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, char *user,
 	     int userlen)
 {
 	ASN1_INTEGER *izone = NULL;
@@ -269,7 +269,7 @@
  * free it up afterwards.
  */
 
-int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, unsigned char *user,
+int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, char *user,
 	     int userlen)
 {
 	SXNET *sx = NULL;
diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c
index 7c79728..6234694 100644
--- a/crypto/x509v3/v3_utl.c
+++ b/crypto/x509v3/v3_utl.c
@@ -89,6 +89,12 @@
 	return 0;
 }
 
+int X509V3_add_value_uchar(const char *name, const unsigned char *value,
+			   STACK **extlist)
+    {
+    return X509V3_add_value(name,(const char *)value,extlist);
+    }
+
 /* Free function for STACK of CONF_VALUE */
 
 void X509V3_conf_free(CONF_VALUE *conf)
diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h
index b823b36..5b19ff4 100644
--- a/crypto/x509v3/x509v3.h
+++ b/crypto/x509v3/x509v3.h
@@ -299,9 +299,9 @@
 SXNETID *SXNETID_new(void);
 void SXNETID_free(SXNETID *a);
 
-int SXNET_add_id_asc(SXNET **psx, char *zone, unsigned char *user, int userlen); 
-int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, unsigned char *user, int userlen); 
-int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *izone, unsigned char *user, int userlen); 
+int SXNET_add_id_asc(SXNET **psx, char *zone, char *user, int userlen); 
+int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, char *user, int userlen); 
+int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *izone, char *user, int userlen); 
 
 ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, char *zone);
 ASN1_OCTET_STRING *SXNET_get_id_ulong(SXNET *sx, unsigned long lzone);
@@ -395,6 +395,8 @@
 				 X509_REQ *req, X509_CRL *crl, int flags);
 
 int X509V3_add_value(const char *name, const char *value, STACK **extlist);
+int X509V3_add_value_uchar(const char *name, const unsigned char *value,
+			   STACK **extlist);
 int X509V3_add_value_bool(const char *name, int asn1_bool, STACK **extlist);
 int X509V3_add_value_int(const char *name, ASN1_INTEGER *aint, STACK **extlist);
 char * i2s_ASN1_INTEGER(X509V3_EXT_METHOD *meth, ASN1_INTEGER *aint);
diff --git a/rsaref/Makefile.ssl b/rsaref/Makefile.ssl
index 18179ea..3b93823 100644
--- a/rsaref/Makefile.ssl
+++ b/rsaref/Makefile.ssl
@@ -85,9 +85,10 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-rsar_err.o: ../crypto/crypto.h ../crypto/opensslv.h ../include/bn.h
-rsar_err.o: ../include/err.h ../include/rsa.h ../include/stack.h rsaref.h
-rsaref.o: ../crypto/cryptlib.h ../crypto/crypto.h ../crypto/opensslv.h
-rsaref.o: ../include/bio.h ../include/bn.h ../include/buffer.h
-rsaref.o: ../include/e_os.h ../include/err.h ../include/rand.h ../include/rsa.h
-rsaref.o: ../include/stack.h rsaref.h
+rsar_err.o: ../crypto/crypto.h ../crypto/opensslconf.h ../crypto/opensslv.h
+rsar_err.o: ../include/bn.h ../include/err.h ../include/rsa.h
+rsar_err.o: ../include/stack.h rsaref.h
+rsaref.o: ../crypto/cryptlib.h ../crypto/crypto.h ../crypto/opensslconf.h
+rsaref.o: ../crypto/opensslv.h ../include/bio.h ../include/bn.h
+rsaref.o: ../include/buffer.h ../include/e_os.h ../include/err.h
+rsaref.o: ../include/rand.h ../include/rsa.h ../include/stack.h rsaref.h
diff --git a/ssl/Makefile.ssl b/ssl/Makefile.ssl
index 0a499ff..882b6ed 100644
--- a/ssl/Makefile.ssl
+++ b/ssl/Makefile.ssl
@@ -100,278 +100,290 @@
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
 
-bio_ssl.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-bio_ssl.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-bio_ssl.o: ../include/crypto.h ../include/des.h ../include/dh.h
-bio_ssl.o: ../include/dsa.h ../include/err.h ../include/evp.h ../include/idea.h
-bio_ssl.o: ../include/lhash.h ../include/md2.h ../include/md5.h
-bio_ssl.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
-bio_ssl.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
-bio_ssl.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
-bio_ssl.o: ../include/safestack.h ../include/sha.h ../include/stack.h
-bio_ssl.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
-bio_ssl.o: tls1.h
-s23_clnt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s23_clnt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s23_clnt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s23_clnt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s23_clnt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s23_clnt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s23_clnt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s23_clnt.o: ../include/rand.h ../include/rc2.h ../include/rc4.h
-s23_clnt.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
-s23_clnt.o: ../include/safestack.h ../include/sha.h ../include/stack.h
-s23_clnt.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
-s23_clnt.o: ssl_locl.h tls1.h
-s23_lib.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s23_lib.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s23_lib.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s23_lib.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s23_lib.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s23_lib.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s23_lib.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s23_lib.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s23_lib.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s23_lib.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s23_lib.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s23_meth.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s23_meth.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s23_meth.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s23_meth.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s23_meth.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s23_meth.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s23_meth.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s23_meth.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s23_meth.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s23_meth.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s23_meth.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s23_pkt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s23_pkt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s23_pkt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s23_pkt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s23_pkt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s23_pkt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s23_pkt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s23_pkt.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s23_pkt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s23_pkt.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s23_pkt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s23_srvr.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s23_srvr.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s23_srvr.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s23_srvr.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s23_srvr.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s23_srvr.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s23_srvr.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s23_srvr.o: ../include/rand.h ../include/rc2.h ../include/rc4.h
-s23_srvr.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
-s23_srvr.o: ../include/safestack.h ../include/sha.h ../include/stack.h
-s23_srvr.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
-s23_srvr.o: ssl_locl.h tls1.h
-s2_clnt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s2_clnt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s2_clnt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s2_clnt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s2_clnt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s2_clnt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s2_clnt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s2_clnt.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s2_clnt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s2_clnt.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s2_clnt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s2_enc.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s2_enc.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s2_enc.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s2_enc.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s2_enc.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s2_enc.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s2_enc.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s2_enc.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+bio_ssl.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+bio_ssl.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+bio_ssl.o: ../include/cast.h ../include/crypto.h ../include/des.h
+bio_ssl.o: ../include/dh.h ../include/dsa.h ../include/err.h ../include/evp.h
+bio_ssl.o: ../include/idea.h ../include/lhash.h ../include/md2.h
+bio_ssl.o: ../include/md5.h ../include/mdc2.h ../include/objects.h
+bio_ssl.o: ../include/opensslv.h ../include/pkcs7.h ../include/rc2.h
+bio_ssl.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+bio_ssl.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+bio_ssl.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+bio_ssl.o: ssl2.h ssl23.h ssl3.h tls1.h
+s23_clnt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s23_clnt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s23_clnt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s23_clnt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s23_clnt.o: ../include/err.h ../include/evp.h ../include/idea.h
+s23_clnt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s23_clnt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s23_clnt.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s23_clnt.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s23_clnt.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s23_clnt.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s23_clnt.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+s23_lib.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s23_lib.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s23_lib.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s23_lib.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s23_lib.o: ../include/err.h ../include/evp.h ../include/idea.h
+s23_lib.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s23_lib.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s23_lib.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+s23_lib.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+s23_lib.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+s23_lib.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+s23_lib.o: ssl_locl.h tls1.h
+s23_meth.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s23_meth.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s23_meth.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s23_meth.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s23_meth.o: ../include/err.h ../include/evp.h ../include/idea.h
+s23_meth.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s23_meth.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s23_meth.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+s23_meth.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+s23_meth.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+s23_meth.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+s23_meth.o: ssl_locl.h tls1.h
+s23_pkt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s23_pkt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s23_pkt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s23_pkt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s23_pkt.o: ../include/err.h ../include/evp.h ../include/idea.h
+s23_pkt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s23_pkt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s23_pkt.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+s23_pkt.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+s23_pkt.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+s23_pkt.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+s23_pkt.o: ssl_locl.h tls1.h
+s23_srvr.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s23_srvr.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s23_srvr.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s23_srvr.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s23_srvr.o: ../include/err.h ../include/evp.h ../include/idea.h
+s23_srvr.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s23_srvr.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s23_srvr.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s23_srvr.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s23_srvr.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s23_srvr.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s23_srvr.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+s2_clnt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s2_clnt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s2_clnt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s2_clnt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s2_clnt.o: ../include/err.h ../include/evp.h ../include/idea.h
+s2_clnt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s2_clnt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s2_clnt.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s2_clnt.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s2_clnt.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s2_clnt.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s2_clnt.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+s2_enc.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s2_enc.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s2_enc.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s2_enc.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s2_enc.o: ../include/err.h ../include/evp.h ../include/idea.h
+s2_enc.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s2_enc.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s2_enc.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 s2_enc.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 s2_enc.o: ../include/sha.h ../include/stack.h ../include/x509.h
 s2_enc.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s2_lib.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s2_lib.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s2_lib.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s2_lib.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s2_lib.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s2_lib.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s2_lib.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s2_lib.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+s2_lib.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s2_lib.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s2_lib.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s2_lib.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s2_lib.o: ../include/err.h ../include/evp.h ../include/idea.h
+s2_lib.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s2_lib.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s2_lib.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 s2_lib.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 s2_lib.o: ../include/sha.h ../include/stack.h ../include/x509.h
 s2_lib.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s2_meth.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s2_meth.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s2_meth.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s2_meth.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s2_meth.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s2_meth.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s2_meth.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s2_meth.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s2_meth.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s2_meth.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s2_meth.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s2_pkt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s2_pkt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s2_pkt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s2_pkt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s2_pkt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s2_pkt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s2_pkt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s2_pkt.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+s2_meth.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s2_meth.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s2_meth.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s2_meth.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s2_meth.o: ../include/err.h ../include/evp.h ../include/idea.h
+s2_meth.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s2_meth.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s2_meth.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+s2_meth.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+s2_meth.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+s2_meth.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+s2_meth.o: ssl_locl.h tls1.h
+s2_pkt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s2_pkt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s2_pkt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s2_pkt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s2_pkt.o: ../include/err.h ../include/evp.h ../include/idea.h
+s2_pkt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s2_pkt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s2_pkt.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 s2_pkt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 s2_pkt.o: ../include/sha.h ../include/stack.h ../include/x509.h
 s2_pkt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s2_srvr.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s2_srvr.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s2_srvr.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s2_srvr.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s2_srvr.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s2_srvr.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s2_srvr.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s2_srvr.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s2_srvr.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s2_srvr.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s2_srvr.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_both.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_both.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_both.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_both.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_both.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_both.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_both.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_both.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s3_both.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s3_both.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s3_both.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_clnt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_clnt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_clnt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_clnt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_clnt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_clnt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_clnt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_clnt.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s3_clnt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s3_clnt.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s3_clnt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_enc.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_enc.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_enc.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_enc.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_enc.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_enc.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_enc.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_enc.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+s2_srvr.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s2_srvr.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s2_srvr.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s2_srvr.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s2_srvr.o: ../include/err.h ../include/evp.h ../include/idea.h
+s2_srvr.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s2_srvr.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s2_srvr.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s2_srvr.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s2_srvr.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s2_srvr.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s2_srvr.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+s3_both.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_both.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_both.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_both.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_both.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_both.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_both.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_both.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s3_both.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s3_both.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s3_both.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s3_both.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+s3_clnt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_clnt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_clnt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_clnt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_clnt.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_clnt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_clnt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_clnt.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s3_clnt.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s3_clnt.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s3_clnt.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s3_clnt.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+s3_enc.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_enc.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_enc.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_enc.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_enc.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_enc.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_enc.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_enc.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 s3_enc.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 s3_enc.o: ../include/sha.h ../include/stack.h ../include/x509.h
 s3_enc.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_lib.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_lib.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_lib.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_lib.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_lib.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_lib.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_lib.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_lib.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+s3_lib.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_lib.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_lib.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_lib.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_lib.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_lib.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_lib.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_lib.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 s3_lib.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 s3_lib.o: ../include/sha.h ../include/stack.h ../include/x509.h
 s3_lib.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_meth.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_meth.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_meth.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_meth.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_meth.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_meth.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_meth.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_meth.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s3_meth.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s3_meth.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s3_meth.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_pkt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_pkt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_pkt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_pkt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_pkt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_pkt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_pkt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_pkt.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+s3_meth.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_meth.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_meth.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_meth.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_meth.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_meth.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_meth.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_meth.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+s3_meth.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+s3_meth.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+s3_meth.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+s3_meth.o: ssl_locl.h tls1.h
+s3_pkt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_pkt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_pkt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_pkt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_pkt.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_pkt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_pkt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_pkt.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 s3_pkt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 s3_pkt.o: ../include/sha.h ../include/stack.h ../include/x509.h
 s3_pkt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-s3_srvr.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-s3_srvr.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-s3_srvr.o: ../include/comp.h ../include/crypto.h ../include/des.h
-s3_srvr.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-s3_srvr.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-s3_srvr.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-s3_srvr.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-s3_srvr.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-s3_srvr.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-s3_srvr.o: ../include/sha.h ../include/stack.h ../include/x509.h
-s3_srvr.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_algs.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_algs.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_algs.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_algs.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_algs.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_algs.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_algs.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-ssl_algs.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-ssl_algs.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-ssl_algs.o: ../include/sha.h ../include/stack.h ../include/x509.h
-ssl_algs.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_asn1.o: ../include/asn1.h ../include/asn1_mac.h ../include/bio.h
-ssl_asn1.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
-ssl_asn1.o: ../include/cast.h ../include/comp.h ../include/crypto.h
-ssl_asn1.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
-ssl_asn1.o: ../include/err.h ../include/evp.h ../include/idea.h
-ssl_asn1.o: ../include/lhash.h ../include/md2.h ../include/md5.h
-ssl_asn1.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
-ssl_asn1.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
-ssl_asn1.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
-ssl_asn1.o: ../include/safestack.h ../include/sha.h ../include/stack.h
-ssl_asn1.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
-ssl_asn1.o: ssl_locl.h tls1.h
-ssl_cert.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_cert.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_cert.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_cert.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_cert.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_cert.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_cert.o: ../include/objects.h ../include/opensslv.h ../include/pem.h
-ssl_cert.o: ../include/pem2.h ../include/pkcs7.h ../include/rc2.h
-ssl_cert.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
-ssl_cert.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
-ssl_cert.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
-ssl_cert.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_ciph.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_ciph.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_ciph.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_ciph.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_ciph.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_ciph.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_ciph.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-ssl_ciph.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-ssl_ciph.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-ssl_ciph.o: ../include/sha.h ../include/stack.h ../include/x509.h
-ssl_ciph.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_err.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_err.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_err.o: ../include/crypto.h ../include/des.h ../include/dh.h
-ssl_err.o: ../include/dsa.h ../include/err.h ../include/evp.h ../include/idea.h
-ssl_err.o: ../include/lhash.h ../include/md2.h ../include/md5.h
-ssl_err.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
-ssl_err.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
-ssl_err.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
-ssl_err.o: ../include/safestack.h ../include/sha.h ../include/stack.h
-ssl_err.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
-ssl_err.o: tls1.h
-ssl_err2.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_err2.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_err2.o: ../include/crypto.h ../include/des.h ../include/dh.h
-ssl_err2.o: ../include/dsa.h ../include/err.h ../include/evp.h
+s3_srvr.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+s3_srvr.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+s3_srvr.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+s3_srvr.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+s3_srvr.o: ../include/err.h ../include/evp.h ../include/idea.h
+s3_srvr.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+s3_srvr.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+s3_srvr.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+s3_srvr.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+s3_srvr.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+s3_srvr.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+s3_srvr.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+ssl_algs.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_algs.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_algs.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_algs.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_algs.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_algs.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_algs.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_algs.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+ssl_algs.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+ssl_algs.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+ssl_algs.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+ssl_algs.o: ssl_locl.h tls1.h
+ssl_asn1.o: ../crypto/opensslconf.h ../include/asn1.h ../include/asn1_mac.h
+ssl_asn1.o: ../include/bio.h ../include/blowfish.h ../include/bn.h
+ssl_asn1.o: ../include/buffer.h ../include/cast.h ../include/comp.h
+ssl_asn1.o: ../include/crypto.h ../include/des.h ../include/dh.h
+ssl_asn1.o: ../include/dsa.h ../include/e_os.h ../include/err.h
+ssl_asn1.o: ../include/evp.h ../include/idea.h ../include/lhash.h
+ssl_asn1.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
+ssl_asn1.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
+ssl_asn1.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+ssl_asn1.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
+ssl_asn1.o: ../include/sha.h ../include/stack.h ../include/x509.h
+ssl_asn1.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+ssl_cert.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_cert.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_cert.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_cert.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_cert.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_cert.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_cert.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_cert.o: ../include/pem.h ../include/pem2.h ../include/pkcs7.h
+ssl_cert.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+ssl_cert.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
+ssl_cert.o: ../include/sha.h ../include/stack.h ../include/x509.h
+ssl_cert.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+ssl_ciph.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_ciph.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_ciph.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_ciph.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_ciph.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_ciph.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_ciph.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_ciph.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+ssl_ciph.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+ssl_ciph.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+ssl_ciph.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+ssl_ciph.o: ssl_locl.h tls1.h
+ssl_err.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_err.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_err.o: ../include/cast.h ../include/crypto.h ../include/des.h
+ssl_err.o: ../include/dh.h ../include/dsa.h ../include/err.h ../include/evp.h
+ssl_err.o: ../include/idea.h ../include/lhash.h ../include/md2.h
+ssl_err.o: ../include/md5.h ../include/mdc2.h ../include/objects.h
+ssl_err.o: ../include/opensslv.h ../include/pkcs7.h ../include/rc2.h
+ssl_err.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+ssl_err.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+ssl_err.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+ssl_err.o: ssl2.h ssl23.h ssl3.h tls1.h
+ssl_err2.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_err2.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_err2.o: ../include/cast.h ../include/crypto.h ../include/des.h
+ssl_err2.o: ../include/dh.h ../include/dsa.h ../include/err.h ../include/evp.h
 ssl_err2.o: ../include/idea.h ../include/lhash.h ../include/md2.h
 ssl_err2.o: ../include/md5.h ../include/mdc2.h ../include/objects.h
 ssl_err2.o: ../include/opensslv.h ../include/pkcs7.h ../include/rc2.h
@@ -379,115 +391,121 @@
 ssl_err2.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
 ssl_err2.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
 ssl_err2.o: ssl2.h ssl23.h ssl3.h tls1.h
-ssl_lib.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_lib.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_lib.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_lib.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_lib.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_lib.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_lib.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-ssl_lib.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-ssl_lib.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-ssl_lib.o: ../include/sha.h ../include/stack.h ../include/x509.h
-ssl_lib.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_rsa.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_rsa.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_rsa.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_rsa.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_rsa.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_rsa.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_rsa.o: ../include/objects.h ../include/opensslv.h ../include/pem.h
-ssl_rsa.o: ../include/pem2.h ../include/pkcs7.h ../include/rc2.h
-ssl_rsa.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
-ssl_rsa.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
-ssl_rsa.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
-ssl_rsa.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_sess.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_sess.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_sess.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_sess.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_sess.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_sess.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_sess.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-ssl_sess.o: ../include/rand.h ../include/rc2.h ../include/rc4.h
-ssl_sess.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
-ssl_sess.o: ../include/safestack.h ../include/sha.h ../include/stack.h
-ssl_sess.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
-ssl_sess.o: ssl_locl.h tls1.h
-ssl_stat.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_stat.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_stat.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_stat.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_stat.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_stat.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_stat.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-ssl_stat.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-ssl_stat.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-ssl_stat.o: ../include/sha.h ../include/stack.h ../include/x509.h
-ssl_stat.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-ssl_txt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-ssl_txt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-ssl_txt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-ssl_txt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-ssl_txt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-ssl_txt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-ssl_txt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-ssl_txt.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-ssl_txt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-ssl_txt.o: ../include/sha.h ../include/stack.h ../include/x509.h
-ssl_txt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-t1_clnt.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-t1_clnt.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-t1_clnt.o: ../include/comp.h ../include/crypto.h ../include/des.h
-t1_clnt.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-t1_clnt.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-t1_clnt.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-t1_clnt.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-t1_clnt.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-t1_clnt.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-t1_clnt.o: ../include/sha.h ../include/stack.h ../include/x509.h
-t1_clnt.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-t1_enc.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-t1_enc.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-t1_enc.o: ../include/comp.h ../include/crypto.h ../include/des.h
-t1_enc.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-t1_enc.o: ../include/evp.h ../include/hmac.h ../include/idea.h
+ssl_lib.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_lib.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_lib.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_lib.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_lib.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_lib.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_lib.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_lib.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+ssl_lib.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+ssl_lib.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+ssl_lib.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+ssl_lib.o: ssl_locl.h tls1.h
+ssl_rsa.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_rsa.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_rsa.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_rsa.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_rsa.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_rsa.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_rsa.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_rsa.o: ../include/pem.h ../include/pem2.h ../include/pkcs7.h
+ssl_rsa.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+ssl_rsa.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
+ssl_rsa.o: ../include/sha.h ../include/stack.h ../include/x509.h
+ssl_rsa.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+ssl_sess.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_sess.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_sess.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_sess.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_sess.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_sess.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_sess.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_sess.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+ssl_sess.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+ssl_sess.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+ssl_sess.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+ssl_sess.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+ssl_stat.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_stat.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_stat.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_stat.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_stat.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_stat.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_stat.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_stat.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+ssl_stat.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+ssl_stat.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+ssl_stat.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+ssl_stat.o: ssl_locl.h tls1.h
+ssl_txt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+ssl_txt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+ssl_txt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+ssl_txt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+ssl_txt.o: ../include/err.h ../include/evp.h ../include/idea.h
+ssl_txt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+ssl_txt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+ssl_txt.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+ssl_txt.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+ssl_txt.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+ssl_txt.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+ssl_txt.o: ssl_locl.h tls1.h
+t1_clnt.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+t1_clnt.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+t1_clnt.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+t1_clnt.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+t1_clnt.o: ../include/err.h ../include/evp.h ../include/idea.h
+t1_clnt.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+t1_clnt.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+t1_clnt.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+t1_clnt.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+t1_clnt.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+t1_clnt.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+t1_clnt.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+t1_enc.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+t1_enc.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+t1_enc.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+t1_enc.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+t1_enc.o: ../include/err.h ../include/evp.h ../include/hmac.h ../include/idea.h
 t1_enc.o: ../include/lhash.h ../include/md2.h ../include/md5.h
 t1_enc.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
 t1_enc.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 t1_enc.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 t1_enc.o: ../include/sha.h ../include/stack.h ../include/x509.h
 t1_enc.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-t1_lib.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-t1_lib.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-t1_lib.o: ../include/comp.h ../include/crypto.h ../include/des.h
-t1_lib.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-t1_lib.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-t1_lib.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-t1_lib.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-t1_lib.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
+t1_lib.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+t1_lib.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+t1_lib.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+t1_lib.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+t1_lib.o: ../include/err.h ../include/evp.h ../include/idea.h
+t1_lib.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+t1_lib.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+t1_lib.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
 t1_lib.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
 t1_lib.o: ../include/sha.h ../include/stack.h ../include/x509.h
 t1_lib.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-t1_meth.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-t1_meth.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-t1_meth.o: ../include/comp.h ../include/crypto.h ../include/des.h
-t1_meth.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-t1_meth.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-t1_meth.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-t1_meth.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-t1_meth.o: ../include/rc2.h ../include/rc4.h ../include/rc5.h
-t1_meth.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-t1_meth.o: ../include/sha.h ../include/stack.h ../include/x509.h
-t1_meth.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
-t1_srvr.o: ../include/asn1.h ../include/bio.h ../include/blowfish.h
-t1_srvr.o: ../include/bn.h ../include/buffer.h ../include/cast.h
-t1_srvr.o: ../include/comp.h ../include/crypto.h ../include/des.h
-t1_srvr.o: ../include/dh.h ../include/dsa.h ../include/e_os.h ../include/err.h
-t1_srvr.o: ../include/evp.h ../include/idea.h ../include/lhash.h
-t1_srvr.o: ../include/md2.h ../include/md5.h ../include/mdc2.h
-t1_srvr.o: ../include/objects.h ../include/opensslv.h ../include/pkcs7.h
-t1_srvr.o: ../include/rand.h ../include/rc2.h ../include/rc4.h ../include/rc5.h
-t1_srvr.o: ../include/ripemd.h ../include/rsa.h ../include/safestack.h
-t1_srvr.o: ../include/sha.h ../include/stack.h ../include/x509.h
-t1_srvr.o: ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
+t1_meth.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+t1_meth.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+t1_meth.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+t1_meth.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+t1_meth.o: ../include/err.h ../include/evp.h ../include/idea.h
+t1_meth.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+t1_meth.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+t1_meth.o: ../include/pkcs7.h ../include/rc2.h ../include/rc4.h
+t1_meth.o: ../include/rc5.h ../include/ripemd.h ../include/rsa.h
+t1_meth.o: ../include/safestack.h ../include/sha.h ../include/stack.h
+t1_meth.o: ../include/x509.h ../include/x509_vfy.h ssl.h ssl2.h ssl23.h ssl3.h
+t1_meth.o: ssl_locl.h tls1.h
+t1_srvr.o: ../crypto/opensslconf.h ../include/asn1.h ../include/bio.h
+t1_srvr.o: ../include/blowfish.h ../include/bn.h ../include/buffer.h
+t1_srvr.o: ../include/cast.h ../include/comp.h ../include/crypto.h
+t1_srvr.o: ../include/des.h ../include/dh.h ../include/dsa.h ../include/e_os.h
+t1_srvr.o: ../include/err.h ../include/evp.h ../include/idea.h
+t1_srvr.o: ../include/lhash.h ../include/md2.h ../include/md5.h
+t1_srvr.o: ../include/mdc2.h ../include/objects.h ../include/opensslv.h
+t1_srvr.o: ../include/pkcs7.h ../include/rand.h ../include/rc2.h
+t1_srvr.o: ../include/rc4.h ../include/rc5.h ../include/ripemd.h
+t1_srvr.o: ../include/rsa.h ../include/safestack.h ../include/sha.h
+t1_srvr.o: ../include/stack.h ../include/x509.h ../include/x509_vfy.h ssl.h
+t1_srvr.o: ssl2.h ssl23.h ssl3.h ssl_locl.h tls1.h
diff --git a/ssl/s23_lib.c b/ssl/s23_lib.c
index 4d58558..c406472 100644
--- a/ssl/s23_lib.c
+++ b/ssl/s23_lib.c
@@ -63,8 +63,8 @@
 #ifndef NOPROTO
 static int ssl23_num_ciphers(void );
 static SSL_CIPHER *ssl23_get_cipher(unsigned int u);
-static int ssl23_read(SSL *s, char *buf, int len);
-static int ssl23_write(SSL *s, const char *buf, int len);
+static int ssl23_read(SSL *s, void *buf, int len);
+static int ssl23_write(SSL *s, const void *buf, int len);
 static long ssl23_default_timeout(void );
 static int ssl23_put_cipher_by_char(const SSL_CIPHER *c, unsigned char *p);
 static SSL_CIPHER *ssl23_get_cipher_by_char(const unsigned char *p);
@@ -163,7 +163,7 @@
 	return(3);
 	}
 
-static int ssl23_read(SSL *s, char *buf, int len)
+static int ssl23_read(SSL *s, void *buf, int len)
 	{
 	int n;
 
@@ -193,7 +193,7 @@
 		}
 	}
 
-static int ssl23_write(SSL *s, const char *buf, int len)
+static int ssl23_write(SSL *s, const void *buf, int len)
 	{
 	int n;
 
diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c
index 4c734c9..b058087 100644
--- a/ssl/s2_lib.c
+++ b/ssl/s2_lib.c
@@ -393,7 +393,7 @@
 
 void ssl2_write_error(SSL *s)
 	{
-	char buf[3];
+	unsigned char buf[3];
 	int i,error;
 
 	buf[0]=SSL2_MT_ERROR;
diff --git a/ssl/s2_pkt.c b/ssl/s2_pkt.c
index 61b2030..b27f81f 100644
--- a/ssl/s2_pkt.c
+++ b/ssl/s2_pkt.c
@@ -70,8 +70,8 @@
 
 #ifndef NOPROTO
 static int read_n(SSL *s,unsigned int n,unsigned int max,unsigned int extend);
-static int do_ssl_write(SSL *s, const char *buf, unsigned int len);
-static int write_pending(SSL *s, const char *buf, unsigned int len);
+static int do_ssl_write(SSL *s, const unsigned char *buf, unsigned int len);
+static int write_pending(SSL *s, const unsigned char *buf, unsigned int len);
 static int ssl_mt_error(int n);
 #else
 static int read_n();
@@ -96,7 +96,7 @@
 /* SSL_read -
  * This routine will return 0 to len bytes, decrypted etc if required.
  */
-int ssl2_read(SSL *s, char *buf, int len)
+int ssl2_read(SSL *s, void *buf, int len)
 	{
 	int n;
 	unsigned char mac[MAX_MAC_SIZE];
@@ -366,8 +366,9 @@
 	return(n);
 	}
 
-int ssl2_write(SSL *s, const char *buf, int len)
+int ssl2_write(SSL *s, const void *_buf, int len)
 	{
+	const unsigned char *buf=_buf;
 	unsigned int n,tot;
 	int i;
 
@@ -412,7 +413,7 @@
 		}
 	}
 
-static int write_pending(SSL *s, const char *buf, unsigned int len)
+static int write_pending(SSL *s, const unsigned char *buf, unsigned int len)
 	{
 	int i;
 
@@ -457,7 +458,7 @@
 		}
 	}
 
-static int do_ssl_write(SSL *s, const char *buf, unsigned int len)
+static int do_ssl_write(SSL *s, const unsigned char *buf, unsigned int len)
 	{
 	unsigned int j,k,olen,p,mac_size,bs;
 	register unsigned char *pp;
@@ -612,8 +613,7 @@
 	{
 	int ret;
 
-	ret=ssl2_write(s,(char *)&(s->init_buf->data[s->init_off]),
-		s->init_num);
+	ret=ssl2_write(s,&s->init_buf->data[s->init_off],s->init_num);
 	if (ret == s->init_num)
 		return(1);
 	if (ret < 0)
diff --git a/ssl/s3_both.c b/ssl/s3_both.c
index d5f8c46..f4478a9 100644
--- a/ssl/s3_both.c
+++ b/ssl/s3_both.c
@@ -284,9 +284,8 @@
 
 	if (s->state == st1)
 		{
-		i=ssl3_read_bytes(s,SSL3_RT_HANDSHAKE,
-			(char *)&(p[s->init_num]),
-			4-s->init_num);
+		i=ssl3_read_bytes(s,SSL3_RT_HANDSHAKE,&p[s->init_num],
+				  4-s->init_num);
 		if (i < (4-s->init_num))
 			{
 			*ok=0;
@@ -324,8 +323,7 @@
 	n=s->s3->tmp.message_size;
 	if (n > 0)
 		{
-		i=ssl3_read_bytes(s,SSL3_RT_HANDSHAKE,
-			(char *)&(p[s->init_num]),(int)n);
+		i=ssl3_read_bytes(s,SSL3_RT_HANDSHAKE,&p[s->init_num],n);
 		if (i != (int)n)
 			{
 			*ok=0;
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c
index 12f7ec6..aefb38b 100644
--- a/ssl/s3_lib.c
+++ b/ssl/s3_lib.c
@@ -992,7 +992,7 @@
 		return(0);
 	}
 
-int ssl3_write(SSL *s, const char *buf, int len)
+int ssl3_write(SSL *s, const void *buf, int len)
 	{
 	int ret,n;
 
@@ -1045,7 +1045,7 @@
 	return(ret);
 	}
 
-int ssl3_read(SSL *s, char *buf, int len)
+int ssl3_read(SSL *s, void *buf, int len)
 	{
 	int ret;
 	
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c
index 6e581e1..468831a 100644
--- a/ssl/s3_pkt.c
+++ b/ssl/s3_pkt.c
@@ -94,8 +94,9 @@
  */
 
 #ifndef NOPROTO
-static int do_ssl3_write(SSL *s, int type, const char *buf, unsigned int len);
-static int ssl3_write_pending(SSL *s, int type, const char *buf,
+static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
+			 unsigned int len);
+static int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
 			      unsigned int len);
 static int ssl3_get_record(SSL *s);
 static int do_compress(SSL *ssl);
@@ -468,8 +469,9 @@
 /* Call this to write data
  * It will return <= 0 if not all data has been sent or non-blocking IO.
  */
-int ssl3_write_bytes(SSL *s, int type, const char *buf, int len)
+int ssl3_write_bytes(SSL *s, int type, const void *_buf, int len)
 	{
+	const unsigned char *buf=_buf;
 	unsigned int tot,n,nw;
 	int i;
 
@@ -513,8 +515,8 @@
 		}
 	}
 
-static int do_ssl3_write(SSL *s, int type, const char *buf,
-	     unsigned int len)
+static int do_ssl3_write(SSL *s, int type, const unsigned char *buf,
+			 unsigned int len)
 	{
 	unsigned char *p,*plen;
 	int i,mac_size,clear=0;
@@ -628,8 +630,8 @@
 	}
 
 /* if s->s3->wbuf.left != 0, we need to call this */
-static int ssl3_write_pending(SSL *s, int type, const char *buf,
-	     unsigned int len)
+static int ssl3_write_pending(SSL *s, int type, const unsigned char *buf,
+			      unsigned int len)
 	{
 	int i;
 
@@ -669,7 +671,7 @@
 		}
 	}
 
-int ssl3_read_bytes(SSL *s, int type, char *buf, int len)
+int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len)
 	{
 	int al,i,j,n,ret;
 	SSL3_RECORD *rr;
@@ -1009,8 +1011,8 @@
 	{
 	int ret;
 
-	ret=ssl3_write_bytes(s,type,(char *)
-		&(s->init_buf->data[s->init_off]),s->init_num);
+	ret=ssl3_write_bytes(s,type,&s->init_buf->data[s->init_off],
+			     s->init_num);
 	if (ret == s->init_num)
 		return(1);
 	if (ret < 0) return(-1);
@@ -1043,7 +1045,7 @@
 	void (*cb)()=NULL;
 
 	s->s3->alert_dispatch=0;
-	i=do_ssl3_write(s,SSL3_RT_ALERT,&(s->s3->send_alert[0]),2);
+	i=do_ssl3_write(s,SSL3_RT_ALERT,&s->s3->send_alert[0],2);
 	if (i <= 0)
 		{
 		s->s3->alert_dispatch=1;
diff --git a/ssl/ssl.h b/ssl/ssl.h
index 4329d29..9605e34 100644
--- a/ssl/ssl.h
+++ b/ssl/ssl.h
@@ -183,9 +183,9 @@
 	void (*ssl_free)(SSL *s);
 	int (*ssl_accept)(SSL *s);
 	int (*ssl_connect)(SSL *s);
-	int (*ssl_read)(SSL *s,char *buf,int len);
+	int (*ssl_read)(SSL *s,void *buf,int len);
 	int (*ssl_peek)(SSL *s,char *buf,int len);
-	int (*ssl_write)(SSL *s,const char *buf,int len);
+	int (*ssl_write)(SSL *s,const void *buf,int len);
 	int (*ssl_shutdown)(SSL *s);
 	int (*ssl_renegotiate)(SSL *s);
 	int (*ssl_renegotiate_check)(SSL *s);
diff --git a/ssl/ssl2.h b/ssl/ssl2.h
index 4d75e93..d7f24ac 100644
--- a/ssl/ssl2.h
+++ b/ssl/ssl2.h
@@ -162,7 +162,7 @@
 	 * args were passwd */
 	unsigned int wnum;	/* number of bytes sent so far */
 	int wpend_tot;
-	const char *wpend_buf;
+	const unsigned char *wpend_buf;
 
 	int wpend_off;	/* offset to data to write */
 	int wpend_len; 	/* number of bytes passwd to write */
diff --git a/ssl/ssl3.h b/ssl/ssl3.h
index cf34e97..2e2ee98 100644
--- a/ssl/ssl3.h
+++ b/ssl/ssl3.h
@@ -286,7 +286,7 @@
 	int wpend_tot;		/* number bytes written */
 	int wpend_type;
 	int wpend_ret;		/* number of bytes submitted */
-	const char *wpend_buf;
+	const unsigned char *wpend_buf;
 
 	/* used during startup, digest all incoming/outgoing packets */
 	EVP_MD_CTX finish_dgst1;
@@ -301,7 +301,7 @@
 	/* we alow one fatal and one warning alert to be outstanding,
 	 * send close alert via the warning alert */
 	int alert_dispatch;
-	char send_alert[2];
+	unsigned char send_alert[2];
 
 	/* This flag is set when we should renegotiate ASAP, basically when
 	 * there is no more data in the read or write buffers */
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index b5f2558..be0c814 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -396,9 +396,9 @@
 void	ssl2_free(SSL *s);
 int	ssl2_accept(SSL *s);
 int	ssl2_connect(SSL *s);
-int	ssl2_read(SSL *s, char *buf, int len);
+int	ssl2_read(SSL *s, void *buf, int len);
 int	ssl2_peek(SSL *s, char *buf, int len);
-int	ssl2_write(SSL *s, const char *buf, int len);
+int	ssl2_write(SSL *s, const void *buf, int len);
 int	ssl2_shutdown(SSL *s);
 void	ssl2_clear(SSL *s);
 long	ssl2_ctrl(SSL *s,int cmd, long larg, char *parg);
@@ -426,9 +426,9 @@
 int ssl3_renegotiate(SSL *ssl); 
 int ssl3_renegotiate_check(SSL *ssl); 
 int ssl3_dispatch_alert(SSL *s);
-int ssl3_read_bytes(SSL *s, int type, char *buf, int len);
+int ssl3_read_bytes(SSL *s, int type, unsigned char *buf, int len);
 int ssl3_part_read(SSL *s, int i);
-int ssl3_write_bytes(SSL *s, int type, const char *buf, int len);
+int ssl3_write_bytes(SSL *s, int type, const void *buf, int len);
 int ssl3_final_finish_mac(SSL *s, EVP_MD_CTX *ctx1,EVP_MD_CTX *ctx2,
 	unsigned char *sender, int slen,unsigned char *p);
 int ssl3_cert_verify_mac(SSL *s, EVP_MD_CTX *in, unsigned char *p);
@@ -443,9 +443,9 @@
 void	ssl3_free(SSL *s);
 int	ssl3_accept(SSL *s);
 int	ssl3_connect(SSL *s);
-int	ssl3_read(SSL *s, char *buf, int len);
+int	ssl3_read(SSL *s, void *buf, int len);
 int	ssl3_peek(SSL *s,char *buf, int len);
-int	ssl3_write(SSL *s, const char *buf, int len);
+int	ssl3_write(SSL *s, const void *buf, int len);
 int	ssl3_shutdown(SSL *s);
 void	ssl3_clear(SSL *s);
 long	ssl3_ctrl(SSL *s,int cmd, long larg, char *parg);
diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c
index daa15d0..99af196 100644
--- a/ssl/t1_enc.c
+++ b/ssl/t1_enc.c
@@ -62,9 +62,9 @@
 #include "hmac.h"
 #include "ssl_locl.h"
 
-static void tls1_P_hash(const EVP_MD *md, unsigned char *sec, int sec_len,
-			unsigned char *seed, int seed_len, unsigned char *out,
-			int olen)
+static void tls1_P_hash(const EVP_MD *md, const unsigned char *sec,
+			int sec_len, unsigned char *seed, int seed_len,
+			unsigned char *out, int olen)
 	{
 	int chunk,n;
 	unsigned int j;
@@ -107,12 +107,12 @@
 	}
 
 static void tls1_PRF(const EVP_MD *md5, const EVP_MD *sha1,
-		     unsigned char *label, int label_len, unsigned char *sec,
-		     int slen, unsigned char *out1, unsigned char *out2,
-		     int olen)
+		     unsigned char *label, int label_len,
+		     const unsigned char *sec, int slen, unsigned char *out1,
+		     unsigned char *out2, int olen)
 	{
 	int len,i;
-	unsigned char *S1,*S2;
+	const unsigned char *S1,*S2;
 
 	len=slen/2;
 	S1=sec;
@@ -150,6 +150,7 @@
 
 int tls1_change_cipher_state(SSL *s, int which)
 	{
+	static const unsigned char empty[]="";
 	unsigned char *p,*key_block,*mac_secret;
 	unsigned char *exp_label,buf[TLS_MD_MAX_CONST_SIZE+
 		SSL3_RANDOM_SIZE*2];
@@ -296,8 +297,8 @@
 			p+=SSL3_RANDOM_SIZE;
 			memcpy(p,s->s3->server_random,SSL3_RANDOM_SIZE);
 			p+=SSL3_RANDOM_SIZE;
-			tls1_PRF(s->ctx->md5,s->ctx->sha1,
-				buf,(int)(p-buf),"",0,iv1,iv2,k*2);
+			tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,p-buf,empty,0,
+				 iv1,iv2,k*2);
 			if (client_write)
 				iv=iv1;
 			else