summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-04-23 17:01:15 +0200
committerBen Laurie <ben@openssl.org>1999-04-23 17:01:15 +0200
commit61f5b6f33807306d09bccbc2dcad474d1d04ca40 (patch)
tree1680fa648df5f730df11ec433a512a1fadf0facd /crypto
parentSubmitted by: (diff)
downloadopenssl-61f5b6f33807306d09bccbc2dcad474d1d04ca40.tar.xz
openssl-61f5b6f33807306d09bccbc2dcad474d1d04ca40.zip
Work with -pedantic!
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.ssl4
-rw-r--r--crypto/asn1/Makefile.ssl217
-rw-r--r--crypto/asn1/asn1.h4
-rw-r--r--crypto/asn1/asn1_lib.c15
-rw-r--r--crypto/bf/Makefile.ssl10
-rw-r--r--crypto/bio/Makefile.ssl6
-rw-r--r--crypto/bio/b_sock.c6
-rw-r--r--crypto/bio/bio.h2
-rw-r--r--crypto/bio/bio_lib.c2
-rw-r--r--crypto/bn/Makefile.ssl40
-rw-r--r--crypto/bn/bn.h2
-rw-r--r--crypto/bn/bn_lib.c2
-rw-r--r--crypto/buffer/buffer.c8
-rw-r--r--crypto/comp/Makefile.ssl8
-rw-r--r--crypto/des/Makefile.ssl52
-rw-r--r--crypto/des/des.h4
-rw-r--r--crypto/des/destest.c21
-rw-r--r--crypto/des/enc_read.c16
-rw-r--r--crypto/des/enc_writ.c8
-rw-r--r--crypto/dh/Makefile.ssl11
-rw-r--r--crypto/dsa/Makefile.ssl15
-rw-r--r--crypto/dsa/dsa.h10
-rw-r--r--crypto/dsa/dsa_sign.c4
-rw-r--r--crypto/dsa/dsa_vrf.c5
-rw-r--r--crypto/dsa/dsatest.c8
-rw-r--r--crypto/err/Makefile.ssl3
-rw-r--r--crypto/evp/Makefile.ssl128
-rw-r--r--crypto/evp/bio_ok.c3
-rw-r--r--crypto/evp/evp.h2
-rw-r--r--crypto/evp/evp_pbe.c12
-rw-r--r--crypto/hmac/Makefile.ssl2
-rw-r--r--crypto/hmac/hmac.c3
-rw-r--r--crypto/hmac/hmac.h2
-rw-r--r--crypto/idea/Makefile.ssl10
-rw-r--r--crypto/md2/Makefile.ssl4
-rw-r--r--crypto/mdc2/Makefile.ssl4
-rw-r--r--crypto/objects/Makefile.ssl10
-rw-r--r--crypto/pem/Makefile.ssl14
-rw-r--r--crypto/pem/pem_lib.c8
-rw-r--r--crypto/pkcs12/Makefile.ssl38
-rw-r--r--crypto/pkcs12/p12_add.c9
-rw-r--r--crypto/pkcs12/p12_attr.c8
-rw-r--r--crypto/pkcs12/p12_crpt.c4
-rw-r--r--crypto/pkcs12/p12_crt.c7
-rw-r--r--crypto/pkcs12/p12_decr.c9
-rw-r--r--crypto/pkcs12/p12_key.c2
-rw-r--r--crypto/pkcs12/p12_kiss.c21
-rw-r--r--crypto/pkcs12/p12_mutl.c11
-rw-r--r--crypto/pkcs12/p12_utl.c2
-rw-r--r--crypto/pkcs12/pkcs12.h50
-rw-r--r--crypto/pkcs7/Makefile.ssl6
-rw-r--r--crypto/rc2/Makefile.ssl10
-rw-r--r--crypto/rc4/Makefile.ssl4
-rw-r--r--crypto/rsa/Makefile.ssl29
-rw-r--r--crypto/x509/Makefile.ssl53
-rw-r--r--crypto/x509/x509.h6
-rw-r--r--crypto/x509v3/Makefile.ssl58
-rw-r--r--crypto/x509v3/v3_alt.c6
-rw-r--r--crypto/x509v3/v3_sxnet.c6
-rw-r--r--crypto/x509v3/v3_utl.c6
-rw-r--r--crypto/x509v3/x509v3.h8
61 files changed, 588 insertions, 450 deletions
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl
index 8cb6f2eb90..9e4df74f9e 100644
--- a/crypto/Makefile.ssl
+++ b/crypto/Makefile.ssl
@@ -39,8 +39,8 @@ LIBOBJ= cryptlib.o mem.o cversion.o ex_data.o tmdiff.o $(ERRC).o
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 7b6256e365..c6e1f2f8a4 100644
--- a/crypto/asn1/Makefile.ssl
+++ b/crypto/asn1/Makefile.ssl
@@ -122,13 +122,13 @@ $(ERRC).c: $(ERR).err
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/objects.h ../../include/pkcs7.h ../../include/rand.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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 5f113b4202..6b9062d5d0 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -471,7 +471,9 @@ void ASN1_STRING_free(ASN1_STRING *a);
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 8c5d2d80ed..f67ed0fc86 100644
--- a/crypto/asn1/asn1_lib.c
+++ b/crypto/asn1/asn1_lib.c
@@ -324,28 +324,29 @@ ASN1_STRING *ASN1_STRING_dup(ASN1_STRING *str)
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 68e0b88cd2..99e2807b25 100644
--- a/crypto/bf/Makefile.ssl
+++ b/crypto/bf/Makefile.ssl
@@ -104,8 +104,8 @@ errors:
# 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 de03f53264..fcf82783a4 100644
--- a/crypto/bio/Makefile.ssl
+++ b/crypto/bio/Makefile.ssl
@@ -106,7 +106,7 @@ bf_buff.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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 d3c1345d0b..ff1a0a7dd0 100644
--- a/crypto/bio/b_sock.c
+++ b/crypto/bio/b_sock.c
@@ -196,11 +196,11 @@ int BIO_get_port(const char *str, unsigned short *port_ptr)
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 @@ int BIO_accept(int sock, char **addr)
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 be1a243730..0b0ce795d7 100644
--- a/crypto/bio/bio.h
+++ b/crypto/bio/bio.h
@@ -499,7 +499,7 @@ BIO *BIO_new_fp();
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 9b2577d7a9..a73bca4b67 100644
--- a/crypto/bio/bio_lib.c
+++ b/crypto/bio/bio_lib.c
@@ -137,7 +137,7 @@ int BIO_free(BIO *a)
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 663aa4dd51..873b199f64 100644
--- a/crypto/bn/Makefile.ssl
+++ b/crypto/bn/Makefile.ssl
@@ -161,56 +161,58 @@ $(ERRC).c: $(ERR).err
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 bf176eb477..fe764ded39 100644
--- a/crypto/bn/bn.h
+++ b/crypto/bn/bn.h
@@ -316,7 +316,7 @@ BIGNUM *BN_new(void);
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 00693bc5c3..f866126f46 100644
--- a/crypto/bn/bn_lib.c
+++ b/crypto/bn/bn_lib.c
@@ -571,7 +571,7 @@ int BN_set_word(BIGNUM *a, BN_ULONG w)
}
/* 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 fcc153013b..da19244181 100644
--- a/crypto/buffer/buffer.c
+++ b/crypto/buffer/buffer.c
@@ -64,7 +64,7 @@ BUF_MEM *BUF_MEM_new(void)
{
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 @@ int BUF_MEM_grow(BUF_MEM *str, int len)
}
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 79970df32c..26e94b5590 100644
--- a/crypto/comp/Makefile.ssl
+++ b/crypto/comp/Makefile.ssl
@@ -95,10 +95,12 @@ $(ERRC).c: $(ERR).err
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 1626f496fa..084934793e 100644
--- a/crypto/des/Makefile.ssl
+++ b/crypto/des/Makefile.ssl
@@ -136,35 +136,35 @@ errors:
# 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 64c9613886..54f18c7091 100644
--- a/crypto/des/des.h
+++ b/crypto/des/des.h
@@ -182,9 +182,9 @@ void des_ede3_ofb64_encrypt(const unsigned char *in,unsigned char *out,
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 61e8530465..746a284d43 100644
--- a/crypto/des/destest.c
+++ b/crypto/des/destest.c
@@ -363,7 +363,7 @@ int main(int argc, char *argv[])
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 @@ int main(int argc, char *argv[])
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 @@ int main(int argc, char *argv[])
}
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 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+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 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]);
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 @@ plain[8+4], plain[8+5], plain[8+6], plain[8+7]);
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 23768daeef..5e256d03c2 100644
--- a/crypto/des/enc_read.c
+++ b/crypto/des/enc_read.c
@@ -84,8 +84,8 @@ int des_rw_mode=DES_PCBC_MODE;
*/
-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 @@ int des_enc_read(int fd, char *buf, int len, des_key_schedule sched,
* 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 @@ int des_enc_read(int fd, char *buf, int len, des_key_schedule sched,
}
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 @@ int des_enc_read(int fd, char *buf, int len, des_key_schedule sched,
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 @@ int des_enc_read(int fd, char *buf, int len, des_key_schedule sched,
/* 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 @@ int des_enc_read(int fd, char *buf, int len, des_key_schedule sched,
DES_DECRYPT);
}
}
- return((int)num);
+ return num;
}
diff --git a/crypto/des/enc_writ.c b/crypto/des/enc_writ.c
index c2b407408b..763765ec39 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 @@ int des_enc_write(int fd, const char *buf, int len, des_key_schedule sched,
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 712a39f354..20ef883a8d 100644
--- a/crypto/dh/Makefile.ssl
+++ b/crypto/dh/Makefile.ssl
@@ -86,14 +86,15 @@ $(ERRC).c: $(ERR).err
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 07620d5049..8f9dc77dea 100644
--- a/crypto/dsa/Makefile.ssl
+++ b/crypto/dsa/Makefile.ssl
@@ -94,23 +94,24 @@ dsa_asn1.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
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/rand.h ../../include/rc2.h ../../include/rc4.h
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 d531efbb04..4d8aad63cf 100644
--- a/crypto/dsa/dsa.h
+++ b/crypto/dsa/dsa.h
@@ -121,17 +121,17 @@ void DSA_SIG_free(DSA_SIG *a);
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 9ceaceb632..f823e5dee3 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 @@ err:
/* 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 24ede6762e..ca51ad2e5c 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 @@ int DSA_do_verify(unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa)
* 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 4018f81862..77b8cd800f 100644
--- a/crypto/dsa/dsatest.c
+++ b/crypto/dsa/dsatest.c
@@ -115,6 +115,8 @@ static unsigned char out_g[]={
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 @@ int main(int argc, char **argv)
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 @@ int main(int argc, char **argv)
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 9df56d49aa..03fd6af4aa 100644
--- a/crypto/err/Makefile.ssl
+++ b/crypto/err/Makefile.ssl
@@ -91,7 +91,8 @@ err_all.o: ../../include/pkcs12.h ../../include/pkcs7.h ../../include/rc2.h
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 09279490ad..0396245145 100644
--- a/crypto/evp/Makefile.ssl
+++ b/crypto/evp/Makefile.ssl
@@ -119,7 +119,7 @@ bio_b64.o: ../../include/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/objects.h ../../include/pkcs12.h ../../include/pkcs7.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/idea.h ../../include/md2.h ../../include/md5.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/md2.h ../../include/md5.h ../../include/mdc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rand.h
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/objects.h ../../include/pkcs7.h ../../include/rand.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rand.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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 fbd6d532c6..151a95c3c4 100644
--- a/crypto/evp/bio_ok.c
+++ b/crypto/evp/bio_ok.c
@@ -441,10 +441,11 @@ static long ok_ctrl(BIO *b, int cmd, long num, char *ptr)
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 21417b1dfd..b8d645e129 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -395,7 +395,7 @@ typedef struct evp_Encode_Ctx_st
} 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 1418921a04..cac4f941df 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_MD *md;
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 @@ int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, unsigned char *pass, int passlen,
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 @@ int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, unsigned char *pass, int passlen,
/* 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 52a216739f..294ff15e2e 100644
--- a/crypto/hmac/Makefile.ssl
+++ b/crypto/hmac/Makefile.ssl
@@ -85,4 +85,4 @@ hmac.o: ../../include/evp.h ../../include/idea.h ../../include/md2.h
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 64c5162130..bf293804c5 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 2a39d67bdf..2fc974417a 100644
--- a/crypto/hmac/hmac.h
+++ b/crypto/hmac/hmac.h
@@ -80,7 +80,7 @@ typedef struct hmac_ctx_st
#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 d29abbd957..8de0df0094 100644
--- a/crypto/idea/Makefile.ssl
+++ b/crypto/idea/Makefile.ssl
@@ -78,8 +78,8 @@ errors:
# 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 8f415be5d8..dae6ef8cf7 100644
--- a/crypto/md2/Makefile.ssl
+++ b/crypto/md2/Makefile.ssl
@@ -78,7 +78,7 @@ errors:
# 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 0707db3c5f..8eba164589 100644
--- a/crypto/mdc2/Makefile.ssl
+++ b/crypto/mdc2/Makefile.ssl
@@ -80,5 +80,5 @@ errors:
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 2397287f11..d520a7d249 100644
--- a/crypto/objects/Makefile.ssl
+++ b/crypto/objects/Makefile.ssl
@@ -89,15 +89,17 @@ $(ERRC).c: $(ERR).err
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 4f90ffb797..8f7b23c8a0 100644
--- a/crypto/pem/Makefile.ssl
+++ b/crypto/pem/Makefile.ssl
@@ -94,8 +94,8 @@ pem_all.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/rand.h ../../include/rc2.h ../../include/rc4.h
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/rand.h ../../include/rc2.h ../../include/rc4.h
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/rand.h ../../include/rc2.h ../../include/rc4.h
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 7d9a8de2b0..47189bdf9b 100644
--- a/crypto/pem/pem_lib.c
+++ b/crypto/pem/pem_lib.c
@@ -591,7 +591,7 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
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 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
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 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
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 @@ int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
}
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 ff016d534e..e6e06a5b46 100644
--- a/crypto/pkcs12/Makefile.ssl
+++ b/crypto/pkcs12/Makefile.ssl
@@ -99,8 +99,8 @@ p12_add.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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/pkcs7.h ../../include/rand.h ../../include/rc2.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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 58f4d1f4be..60304ed443 100644
--- a/crypto/pkcs12/p12_add.c
+++ b/crypto/pkcs12/p12_add.c
@@ -101,8 +101,9 @@ PKCS12_SAFEBAG *PKCS12_MAKE_KEYBAG (PKCS8_PRIV_KEY_INFO *p8)
/* 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 @@ PKCS7 *PKCS12_pack_p7data (STACK *sk)
/* 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 @@ PKCS7 *PKCS12_pack_p7encdata (int pbe_nid, unsigned char *pass, int passlen,
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 6247fdb766..c7d13c6219 100644
--- a/crypto/pkcs12/p12_attr.c
+++ b/crypto/pkcs12/p12_attr.c
@@ -145,8 +145,8 @@ int PKCS8_add_keyusage (PKCS8_PRIV_KEY_INFO *p8, int usage)
/* 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_asc (PKCS12_SAFEBAG *bag, unsigned char *name,
}
-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 8623cde6c4..8a6fedaeab 100644
--- a/crypto/pkcs12/p12_crpt.c
+++ b/crypto/pkcs12/p12_crpt.c
@@ -78,12 +78,12 @@ EVP_PBE_alg_add(NID_pbe_WithSHA1And40BitRC2_CBC, EVP_rc2_40_cbc(),
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 f7592a5767..86445278aa 100644
--- a/crypto/pkcs12/p12_crt.c
+++ b/crypto/pkcs12/p12_crt.c
@@ -72,7 +72,7 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
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 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
/* 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 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
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 b96f119b7a..7973a69c2c 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 @@ unsigned char * PKCS12_pbe_crypt (X509_ALGOR *algor, unsigned char *pass,
*/
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 @@ char * PKCS12_decrypt_d2i (X509_ALGOR *algor, char * (*d2i)(),
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 @@ char * PKCS12_decrypt_d2i (X509_ALGOR *algor, char * (*d2i)(),
*/
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 eb774e45f0..b59ac2b2d1 100644
--- a/crypto/pkcs12/p12_key.c
+++ b/crypto/pkcs12/p12_key.c
@@ -74,7 +74,7 @@ void h__dump (unsigned char *p, int len);
#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 b4e3cc88f7..9c40305534 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 @@ static int parse_bag();
* 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 @@ return 0;
/* 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_pk12 (PKCS12 *p12, unsigned char *pass, int passlen,
}
-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 @@ static int parse_bags (STACK *bags, unsigned char *pass, int passlen,
#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 2d16e610d2..1699619cf3 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 @@ int PKCS12_gen_mac (PKCS12 *p12, unsigned char *pass, int passlen,
}
/* 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 @@ int PKCS12_verify_mac (PKCS12 *p12, unsigned char *pass, int passlen)
/* 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 1300ef0dea..2f89e97890 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 8f7a5b5ce6..9bf211ef44 100644
--- a/crypto/pkcs12/pkcs12.h
+++ b/crypto/pkcs12/pkcs12.h
@@ -192,28 +192,47 @@ ASN1_seq_unpack((p12)->authsafes->d.data->data, \
#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 @@ PKCS12_SAFEBAG *d2i_PKCS12_SAFEBAG(PKCS12_SAFEBAG **a, unsigned char **pp, long
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 d5331bac76..719b698638 100644
--- a/crypto/pkcs7/Makefile.ssl
+++ b/crypto/pkcs7/Makefile.ssl
@@ -96,7 +96,7 @@ pk7_doit.o: ../../include/rc2.h ../../include/rc4.h ../../include/rc5.h
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/mdc2.h ../../include/objects.h ../../include/rc2.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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 81feadd52f..e229969222 100644
--- a/crypto/rc2/Makefile.ssl
+++ b/crypto/rc2/Makefile.ssl
@@ -78,8 +78,8 @@ errors:
# 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 0e4b384265..4d7ac5d5ba 100644
--- a/crypto/rc4/Makefile.ssl
+++ b/crypto/rc4/Makefile.ssl
@@ -106,5 +106,5 @@ errors:
# 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 48dcd0cea8..c96d9e0b68 100644
--- a/crypto/rsa/Makefile.ssl
+++ b/crypto/rsa/Makefile.ssl
@@ -88,25 +88,29 @@ $(ERRC).c: $(ERR).err $(ERR).h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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 35f5f5da71..e71c2a8f62 100644
--- a/crypto/x509/Makefile.ssl
+++ b/crypto/x509/Makefile.ssl
@@ -103,7 +103,8 @@ by_dir.o: ../../include/md5.h ../../include/mdc2.h ../../include/objects.h
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/pem.h ../../include/pem2.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/md5.h ../../include/mdc2.h ../../include/objects.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/md5.h ../../include/mdc2.h ../../include/objects.h
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/md5.h ../../include/mdc2.h ../../include/objects.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pem.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/md5.h ../../include/mdc2.h ../../include/objects.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/md5.h ../../include/mdc2.h ../../include/objects.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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 6d2733cccd..856872e138 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -885,10 +885,10 @@ PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8, int broken);
/* 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 4b4a11b757..8294b5e142 100644
--- a/crypto/x509v3/Makefile.ssl
+++ b/crypto/x509v3/Makefile.ssl
@@ -98,8 +98,8 @@ v3_akey.o: ../../include/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/mdc2.h ../../include/objects.h ../../include/pkcs7.h
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/rc2.h ../../include/rc4.h ../../include/rc5.h
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/objects.h ../../include/pkcs7.h ../../include/rc2.h
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/pkcs7.h ../../include/rc2.h ../../include/rc4.h
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 3823339650..e1b768fdd2 100644
--- a/crypto/x509v3/v3_alt.c
+++ b/crypto/x509v3/v3_alt.c
@@ -127,15 +127,15 @@ STACK *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method, GENERAL_NAME *gen,
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 1e261c51c0..42705cbff4 100644
--- a/crypto/x509v3/v3_sxnet.c
+++ b/crypto/x509v3/v3_sxnet.c
@@ -238,7 +238,7 @@ static SXNET * sxnet_v2i(X509V3_EXT_METHOD *method, X509V3_CTX *ctx,
/* 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 @@ int SXNET_add_id_asc(SXNET **psx, char *zone, unsigned char *user,
/* 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 @@ int SXNET_add_id_ulong(SXNET **psx, unsigned long lzone, unsigned char *user,
* 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 7c79728771..6234694f16 100644
--- a/crypto/x509v3/v3_utl.c
+++ b/crypto/x509v3/v3_utl.c
@@ -89,6 +89,12 @@ int X509V3_add_value(const char *name, const char *value, STACK **extlist)
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 b823b36264..5b19ff4e5d 100644
--- a/crypto/x509v3/x509v3.h
+++ b/crypto/x509v3/x509v3.h
@@ -299,9 +299,9 @@ SXNETID *d2i_SXNETID(SXNETID **a, unsigned char **pp, long length);
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 @@ void X509V3_set_ctx(X509V3_CTX *ctx, X509 *issuer, X509 *subject,
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);