From ec577822f95a8bca0023c5c77cef1a4916822d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Fri, 23 Apr 1999 22:13:45 +0000 Subject: [PATCH] Change #include filenames from to . Submitted by: Reviewed by: PR: --- Configure | 25 ++++++++++++++++++ Makefile.org | 4 ++- apps/apps.h | 10 +++---- apps/asn1pars.c | 8 +++--- apps/ca.c | 20 +++++++------- apps/ciphers.c | 4 +-- apps/crl.c | 10 +++---- apps/crl2p7.c | 12 ++++----- apps/dgst.c | 12 ++++----- apps/dh.c | 12 ++++----- apps/dsa.c | 12 ++++----- apps/dsaparam.c | 14 +++++----- apps/eay.c | 30 ++++++++++----------- apps/enc.c | 14 +++++----- apps/errstr.c | 8 +++--- apps/gendh.c | 14 +++++----- apps/gendsa.c | 14 +++++----- apps/genrsa.c | 16 ++++++------ apps/nseq.c | 4 +-- apps/openssl.c | 16 ++++++------ apps/pem_mail.c | 12 ++++----- apps/pkcs12.c | 6 ++--- apps/pkcs7.c | 12 ++++----- apps/req.c | 20 +++++++------- apps/rsa.c | 12 ++++----- apps/s_cb.c | 6 ++--- apps/s_client.c | 8 +++--- apps/s_server.c | 12 ++++----- apps/s_socket.c | 2 +- apps/s_time.c | 8 +++--- apps/sc.c | 8 +++--- apps/sess_id.c | 10 +++---- apps/speed.c | 38 +++++++++++++-------------- apps/verify.c | 8 +++--- apps/version.c | 4 +-- apps/x509.c | 18 ++++++------- bugs/stream.c | 4 +-- crypto/Makefile.ssl | 6 ++--- crypto/asn1/Makefile.ssl | 6 ++--- crypto/asn1/a_bitstr.c | 2 +- crypto/asn1/a_bmp.c | 2 +- crypto/asn1/a_bool.c | 2 +- crypto/asn1/a_bytes.c | 2 +- crypto/asn1/a_d2i_fp.c | 4 +-- crypto/asn1/a_digest.c | 6 ++--- crypto/asn1/a_dup.c | 2 +- crypto/asn1/a_enum.c | 2 +- crypto/asn1/a_gentm.c | 2 +- crypto/asn1/a_hdr.c | 4 +-- crypto/asn1/a_i2d_fp.c | 4 +-- crypto/asn1/a_int.c | 2 +- crypto/asn1/a_meth.c | 4 +-- crypto/asn1/a_object.c | 6 ++--- crypto/asn1/a_octet.c | 2 +- crypto/asn1/a_print.c | 2 +- crypto/asn1/a_set.c | 2 +- crypto/asn1/a_sign.c | 10 +++---- crypto/asn1/a_time.c | 2 +- crypto/asn1/a_type.c | 2 +- crypto/asn1/a_utctm.c | 2 +- crypto/asn1/a_utf8.c | 2 +- crypto/asn1/a_verify.c | 10 +++---- crypto/asn1/a_vis.c | 2 +- crypto/asn1/asn1.h | 4 +-- crypto/asn1/asn1_err.c | 4 +-- crypto/asn1/asn1_lib.c | 4 +-- crypto/asn1/asn1_mac.h | 6 ++--- crypto/asn1/asn1_par.c | 6 ++--- crypto/asn1/asn_pack.c | 2 +- crypto/asn1/d2i_dhp.c | 8 +++--- crypto/asn1/d2i_dsap.c | 8 +++--- crypto/asn1/d2i_pr.c | 8 +++--- crypto/asn1/d2i_pu.c | 8 +++--- crypto/asn1/d2i_r_pr.c | 8 +++--- crypto/asn1/d2i_r_pu.c | 8 +++--- crypto/asn1/d2i_s_pr.c | 8 +++--- crypto/asn1/d2i_s_pu.c | 8 +++--- crypto/asn1/evp_asn1.c | 4 +-- crypto/asn1/f.c | 4 +-- crypto/asn1/f_enum.c | 4 +-- crypto/asn1/f_int.c | 4 +-- crypto/asn1/f_string.c | 4 +-- crypto/asn1/i2d_dhp.c | 6 ++--- crypto/asn1/i2d_dsap.c | 6 ++--- crypto/asn1/i2d_pr.c | 6 ++--- crypto/asn1/i2d_pu.c | 6 ++--- crypto/asn1/i2d_r_pr.c | 8 +++--- crypto/asn1/i2d_r_pu.c | 8 +++--- crypto/asn1/i2d_s_pr.c | 8 +++--- crypto/asn1/i2d_s_pu.c | 8 +++--- crypto/asn1/n_pkey.c | 10 +++---- crypto/asn1/nsseq.c | 8 +++--- crypto/asn1/p5_pbe.c | 4 +-- crypto/asn1/p5_pbev2.c | 4 +-- crypto/asn1/p7_dgst.c | 4 +-- crypto/asn1/p7_enc.c | 4 +-- crypto/asn1/p7_enc_c.c | 4 +-- crypto/asn1/p7_evp.c | 4 +-- crypto/asn1/p7_i_s.c | 4 +-- crypto/asn1/p7_lib.c | 4 +-- crypto/asn1/p7_recip.c | 4 +-- crypto/asn1/p7_s_e.c | 4 +-- crypto/asn1/p7_signd.c | 4 +-- crypto/asn1/p7_signi.c | 4 +-- crypto/asn1/p8_pkey.c | 2 +- crypto/asn1/pkcs8.c | 4 +-- crypto/asn1/t_crl.c | 10 +++---- crypto/asn1/t_pkey.c | 10 +++---- crypto/asn1/t_req.c | 8 +++--- crypto/asn1/t_x509.c | 14 +++++----- crypto/asn1/x_algor.c | 2 +- crypto/asn1/x_attrib.c | 4 +-- crypto/asn1/x_cinf.c | 2 +- crypto/asn1/x_crl.c | 4 +-- crypto/asn1/x_exten.c | 4 +-- crypto/asn1/x_info.c | 6 ++--- crypto/asn1/x_name.c | 4 +-- crypto/asn1/x_pkey.c | 6 ++--- crypto/asn1/x_pubkey.c | 2 +- crypto/asn1/x_req.c | 4 +-- crypto/asn1/x_sig.c | 2 +- crypto/asn1/x_spki.c | 4 +-- crypto/asn1/x_val.c | 2 +- crypto/asn1/x_x509.c | 4 +-- crypto/bf/Makefile.ssl | 6 ++--- crypto/bf/bf_cbc.c | 2 +- crypto/bf/bf_cfb64.c | 2 +- crypto/bf/bf_ecb.c | 4 +-- crypto/bf/bf_enc.c | 2 +- crypto/bf/bf_locl.h | 2 +- crypto/bf/bf_ofb64.c | 2 +- crypto/bf/bf_opts.c | 2 +- crypto/bf/bf_skey.c | 2 +- crypto/bf/bfspeed.c | 2 +- crypto/bf/bftest.c | 2 +- crypto/bio/Makefile.ssl | 6 ++--- crypto/bio/b_dump.c | 2 +- crypto/bio/b_print.c | 2 +- crypto/bio/b_sock.c | 2 +- crypto/bio/bf_buff.c | 4 +-- crypto/bio/bf_nbio.c | 6 ++--- crypto/bio/bf_null.c | 4 +-- crypto/bio/bio.h | 2 +- crypto/bio/bio_cb.c | 4 +-- crypto/bio/bio_err.c | 4 +-- crypto/bio/bio_lib.c | 6 ++--- crypto/bio/bss_acpt.c | 2 +- crypto/bio/bss_conn.c | 2 +- crypto/bio/bss_file.c | 4 +-- crypto/bio/bss_log.c | 4 +-- crypto/bio/bss_mem.c | 2 +- crypto/bio/bss_null.c | 2 +- crypto/bio/bss_rtcp.c | 2 +- crypto/bio/bss_sock.c | 2 +- crypto/bn/Makefile.ssl | 6 ++--- crypto/bn/bn.h | 2 +- crypto/bn/bn_err.c | 4 +-- crypto/bn/bn_lcl.h | 2 +- crypto/bn/bn_m.c | 2 +- crypto/bn/bn_opts.c | 8 +++--- crypto/bn/bn_prime.c | 2 +- crypto/bn/bn_print.c | 2 +- crypto/bn/bn_rand.c | 2 +- crypto/bn/bnspeed.c | 8 +++--- crypto/bn/bntest.c | 12 ++++----- crypto/bn/d.c | 2 +- crypto/bn/exp.c | 2 +- crypto/bn/expspeed.c | 8 +++--- crypto/bn/exptest.c | 8 +++--- crypto/buffer/Makefile.ssl | 6 ++--- crypto/buffer/buf_err.c | 4 +-- crypto/buffer/buffer.c | 2 +- crypto/cast/Makefile.ssl | 6 ++--- crypto/cast/c_cfb64.c | 2 +- crypto/cast/c_ecb.c | 4 +-- crypto/cast/c_enc.c | 2 +- crypto/cast/c_ofb64.c | 2 +- crypto/cast/c_skey.c | 2 +- crypto/cast/cast_spd.c | 2 +- crypto/cast/castopts.c | 2 +- crypto/cast/casttest.c | 2 +- crypto/comp/Makefile.ssl | 6 ++--- crypto/comp/c_rle.c | 4 +-- crypto/comp/c_zlib.c | 4 +-- crypto/comp/comp.h | 2 +- crypto/comp/comp_err.c | 4 +-- crypto/comp/comp_lib.c | 4 +-- crypto/conf/Makefile.ssl | 6 ++--- crypto/conf/cnf_save.c | 2 +- crypto/conf/conf.c | 10 +++---- crypto/conf/conf.h | 4 +-- crypto/conf/conf_err.c | 4 +-- crypto/conf/test.c | 4 +-- crypto/cpt_err.c | 4 +-- crypto/cryptall.h | 52 ++++++++++++++++++------------------- crypto/cryptlib.c | 2 +- crypto/cryptlib.h | 12 ++++----- crypto/crypto.c | 30 ++++++++++----------- crypto/crypto.h | 4 +-- crypto/cversion.c | 2 +- crypto/des/Makefile.ssl | 6 ++--- crypto/des/des.c | 2 +- crypto/des/des.h | 2 +- crypto/des/des_locl.h | 4 +-- crypto/des/des_opts.c | 2 +- crypto/des/destest.c | 2 +- crypto/des/ecb_enc.c | 2 +- crypto/des/rpw.c | 2 +- crypto/des/speed.c | 2 +- crypto/dh/Makefile.ssl | 6 ++--- crypto/dh/dh.h | 2 +- crypto/dh/dh_check.c | 4 +-- crypto/dh/dh_err.c | 4 +-- crypto/dh/dh_gen.c | 4 +-- crypto/dh/dh_key.c | 6 ++--- crypto/dh/dh_lib.c | 4 +-- crypto/dh/dhtest.c | 8 +++--- crypto/dh/p1024.c | 8 +++--- crypto/dh/p192.c | 8 +++--- crypto/dh/p512.c | 8 +++--- crypto/dsa/Makefile.ssl | 6 ++--- crypto/dsa/dsa.h | 2 +- crypto/dsa/dsa_asn1.c | 6 ++--- crypto/dsa/dsa_err.c | 4 +-- crypto/dsa/dsa_gen.c | 8 +++--- crypto/dsa/dsa_key.c | 8 +++--- crypto/dsa/dsa_lib.c | 6 ++--- crypto/dsa/dsa_sign.c | 8 +++--- crypto/dsa/dsa_vrf.c | 10 +++---- crypto/dsa/dsagen.c | 2 +- crypto/dsa/dsatest.c | 10 +++---- crypto/err/Makefile.ssl | 6 ++--- crypto/err/err.c | 10 +++---- crypto/err/err_all.c | 32 +++++++++++------------ crypto/err/err_prn.c | 10 +++---- crypto/evp/Makefile.ssl | 6 ++--- crypto/evp/bio_b64.c | 4 +-- crypto/evp/bio_enc.c | 4 +-- crypto/evp/bio_md.c | 4 +-- crypto/evp/bio_ok.c | 8 +++--- crypto/evp/c_all.c | 6 ++--- crypto/evp/digest.c | 4 +-- crypto/evp/e_cbc_3d.c | 4 +-- crypto/evp/e_cbc_bf.c | 4 +-- crypto/evp/e_cbc_c.c | 4 +-- crypto/evp/e_cbc_d.c | 4 +-- crypto/evp/e_cbc_i.c | 4 +-- crypto/evp/e_cbc_r2.c | 4 +-- crypto/evp/e_cbc_r5.c | 4 +-- crypto/evp/e_cfb_3d.c | 4 +-- crypto/evp/e_cfb_bf.c | 4 +-- crypto/evp/e_cfb_c.c | 4 +-- crypto/evp/e_cfb_d.c | 4 +-- crypto/evp/e_cfb_i.c | 4 +-- crypto/evp/e_cfb_r2.c | 4 +-- crypto/evp/e_cfb_r5.c | 4 +-- crypto/evp/e_dsa.c | 6 ++--- crypto/evp/e_ecb_3d.c | 4 +-- crypto/evp/e_ecb_bf.c | 4 +-- crypto/evp/e_ecb_c.c | 4 +-- crypto/evp/e_ecb_d.c | 4 +-- crypto/evp/e_ecb_i.c | 4 +-- crypto/evp/e_ecb_r2.c | 4 +-- crypto/evp/e_ecb_r5.c | 4 +-- crypto/evp/e_null.c | 4 +-- crypto/evp/e_ofb_3d.c | 4 +-- crypto/evp/e_ofb_bf.c | 4 +-- crypto/evp/e_ofb_c.c | 4 +-- crypto/evp/e_ofb_d.c | 4 +-- crypto/evp/e_ofb_i.c | 4 +-- crypto/evp/e_ofb_r2.c | 4 +-- crypto/evp/e_ofb_r5.c | 4 +-- crypto/evp/e_rc4.c | 4 +-- crypto/evp/e_xcbc_d.c | 4 +-- crypto/evp/encode.c | 2 +- crypto/evp/evp.h | 32 +++++++++++------------ crypto/evp/evp_enc.c | 2 +- crypto/evp/evp_err.c | 4 +-- crypto/evp/evp_key.c | 6 ++--- crypto/evp/evp_lib.c | 4 +-- crypto/evp/evp_pbe.c | 4 +-- crypto/evp/evp_pkey.c | 4 +-- crypto/evp/m_dss.c | 6 ++--- crypto/evp/m_dss1.c | 6 ++--- crypto/evp/m_md2.c | 6 ++--- crypto/evp/m_md5.c | 6 ++--- crypto/evp/m_mdc2.c | 6 ++--- crypto/evp/m_null.c | 6 ++--- crypto/evp/m_ripemd.c | 6 ++--- crypto/evp/m_sha.c | 6 ++--- crypto/evp/m_sha1.c | 6 ++--- crypto/evp/names.c | 6 ++--- crypto/evp/p_dec.c | 10 +++---- crypto/evp/p_enc.c | 10 +++---- crypto/evp/p_lib.c | 8 +++--- crypto/evp/p_open.c | 6 ++--- crypto/evp/p_seal.c | 10 +++---- crypto/evp/p_sign.c | 6 ++--- crypto/evp/p_verify.c | 6 ++--- crypto/ex_data.c | 6 ++--- crypto/hmac/Makefile.ssl | 6 ++--- crypto/hmac/hmac.c | 2 +- crypto/hmac/hmac.h | 2 +- crypto/hmac/hmactest.c | 2 +- crypto/idea/Makefile.ssl | 6 ++--- crypto/idea/i_cbc.c | 2 +- crypto/idea/i_cfb64.c | 2 +- crypto/idea/i_ecb.c | 4 +-- crypto/idea/i_ofb64.c | 2 +- crypto/idea/i_skey.c | 2 +- crypto/idea/idea.h | 2 +- crypto/idea/idea_spd.c | 2 +- crypto/idea/ideatest.c | 2 +- crypto/lhash/Makefile.ssl | 6 ++--- crypto/lhash/lh_stats.c | 2 +- crypto/lhash/lh_test.c | 2 +- crypto/lhash/lhash.c | 4 +-- crypto/md2/Makefile.ssl | 6 ++--- crypto/md2/md2.c | 2 +- crypto/md2/md2.h | 2 +- crypto/md2/md2_dgst.c | 4 +-- crypto/md2/md2_one.c | 2 +- crypto/md2/md2test.c | 2 +- crypto/md5/Makefile.ssl | 6 ++--- crypto/md5/md5.c | 2 +- crypto/md5/md5_dgst.c | 2 +- crypto/md5/md5_locl.h | 2 +- crypto/md5/md5test.c | 2 +- crypto/mdc2/Makefile.ssl | 6 ++--- crypto/mdc2/mdc2.h | 2 +- crypto/mdc2/mdc2_one.c | 2 +- crypto/mdc2/mdc2dgst.c | 4 +-- crypto/mdc2/mdc2test.c | 2 +- crypto/mem.c | 6 ++--- crypto/objects/Makefile.ssl | 6 ++--- crypto/objects/o_names.c | 4 +-- crypto/objects/obj_dat.c | 6 ++--- crypto/objects/obj_err.c | 4 +-- crypto/objects/obj_lib.c | 6 ++--- crypto/objects/objects.h | 4 +-- crypto/pem/Makefile.ssl | 6 ++--- crypto/pem/pem.h | 6 ++--- crypto/pem/pem_all.c | 10 +++---- crypto/pem/pem_err.c | 4 +-- crypto/pem/pem_info.c | 10 +++---- crypto/pem/pem_lib.c | 14 +++++----- crypto/pem/pem_seal.c | 10 +++---- crypto/pem/pem_sign.c | 10 +++---- crypto/pkcs12/Makefile.ssl | 6 ++--- crypto/pkcs12/p12_add.c | 2 +- crypto/pkcs12/p12_attr.c | 2 +- crypto/pkcs12/p12_bags.c | 4 +-- crypto/pkcs12/p12_crpt.c | 2 +- crypto/pkcs12/p12_crt.c | 2 +- crypto/pkcs12/p12_decr.c | 2 +- crypto/pkcs12/p12_init.c | 2 +- crypto/pkcs12/p12_key.c | 2 +- crypto/pkcs12/p12_kiss.c | 2 +- crypto/pkcs12/p12_lib.c | 4 +-- crypto/pkcs12/p12_mac.c | 4 +-- crypto/pkcs12/p12_mutl.c | 6 ++--- crypto/pkcs12/p12_sbag.c | 4 +-- crypto/pkcs12/p12_utl.c | 2 +- crypto/pkcs12/pk12err.c | 4 +-- crypto/pkcs12/pkcs12.h | 4 +-- crypto/pkcs7/Makefile.ssl | 6 ++--- crypto/pkcs7/bio_ber.c | 4 +-- crypto/pkcs7/dec.c | 8 +++--- crypto/pkcs7/enc.c | 6 ++--- crypto/pkcs7/example.c | 2 +- crypto/pkcs7/pk7_dgst.c | 10 +++---- crypto/pkcs7/pk7_doit.c | 6 ++--- crypto/pkcs7/pk7_enc.c | 10 +++---- crypto/pkcs7/pk7_lib.c | 4 +-- crypto/pkcs7/pkcs7.h | 4 +-- crypto/pkcs7/pkcs7err.c | 4 +-- crypto/pkcs7/sign.c | 6 ++--- crypto/pkcs7/verify.c | 8 +++--- crypto/rand/Makefile.ssl | 6 ++--- crypto/rand/md_rand.c | 14 +++++----- crypto/rand/rand_lib.c | 2 +- crypto/rand/randfile.c | 4 +-- crypto/rand/randtest.c | 2 +- crypto/rc2/Makefile.ssl | 6 ++--- crypto/rc2/rc2.h | 2 +- crypto/rc2/rc2_cbc.c | 2 +- crypto/rc2/rc2_ecb.c | 4 +-- crypto/rc2/rc2_skey.c | 2 +- crypto/rc2/rc2cfb64.c | 2 +- crypto/rc2/rc2ofb64.c | 2 +- crypto/rc2/rc2speed.c | 2 +- crypto/rc2/rc2test.c | 2 +- crypto/rc4/Makefile.ssl | 6 ++--- crypto/rc4/rc4.c | 2 +- crypto/rc4/rc4.h | 2 +- crypto/rc4/rc4_enc.c | 2 +- crypto/rc4/rc4_locl.h | 2 +- crypto/rc4/rc4_skey.c | 4 +-- crypto/rc4/rc4speed.c | 2 +- crypto/rc4/rc4test.c | 2 +- crypto/rc5/Makefile.ssl | 6 ++--- crypto/rc5/rc5_ecb.c | 4 +-- crypto/rc5/rc5_enc.c | 2 +- crypto/rc5/rc5_skey.c | 2 +- crypto/rc5/rc5cfb64.c | 2 +- crypto/rc5/rc5ofb64.c | 2 +- crypto/rc5/rc5speed.c | 2 +- crypto/rc5/rc5test.c | 2 +- crypto/ripemd/Makefile.ssl | 6 ++--- crypto/ripemd/rmd160.c | 2 +- crypto/ripemd/rmd_dgst.c | 2 +- crypto/ripemd/rmd_locl.h | 2 +- crypto/ripemd/rmdtest.c | 2 +- crypto/rsa/Makefile.ssl | 6 ++--- crypto/rsa/rsa.h | 4 +-- crypto/rsa/rsa_eay.c | 6 ++--- crypto/rsa/rsa_err.c | 4 +-- crypto/rsa/rsa_gen.c | 4 +-- crypto/rsa/rsa_lib.c | 8 +++--- crypto/rsa/rsa_none.c | 6 ++--- crypto/rsa/rsa_oaep.c | 8 +++--- crypto/rsa/rsa_oaep_test.c | 6 ++--- crypto/rsa/rsa_pk1.c | 6 ++--- crypto/rsa/rsa_saos.c | 8 +++--- crypto/rsa/rsa_sign.c | 8 +++--- crypto/rsa/rsa_ssl.c | 6 ++--- crypto/sha/Makefile.ssl | 6 ++--- crypto/sha/sha.c | 2 +- crypto/sha/sha1.c | 2 +- crypto/sha/sha1_one.c | 2 +- crypto/sha/sha1dgst.c | 4 +-- crypto/sha/sha1test.c | 2 +- crypto/sha/sha_dgst.c | 4 +-- crypto/sha/sha_one.c | 2 +- crypto/sha/shatest.c | 2 +- crypto/stack/Makefile.ssl | 6 ++--- crypto/stack/safestack.h | 2 +- crypto/stack/stack.c | 2 +- crypto/threads/mttest.c | 12 ++++----- crypto/threads/th-lock.c | 14 +++++----- crypto/tmdiff.c | 2 +- crypto/txt_db/Makefile.ssl | 6 ++--- crypto/txt_db/txt_db.c | 4 +-- crypto/txt_db/txt_db.h | 4 +-- crypto/x509/Makefile.ssl | 6 ++--- crypto/x509/by_dir.c | 4 +-- crypto/x509/by_file.c | 8 +++--- crypto/x509/x509.h | 18 ++++++------- crypto/x509/x509_cmp.c | 6 ++--- crypto/x509/x509_d2.c | 4 +-- crypto/x509/x509_def.c | 4 +-- crypto/x509/x509_err.c | 4 +-- crypto/x509/x509_ext.c | 10 +++---- crypto/x509/x509_lu.c | 4 +-- crypto/x509/x509_obj.c | 8 +++--- crypto/x509/x509_r2x.c | 12 ++++----- crypto/x509/x509_req.c | 14 +++++----- crypto/x509/x509_set.c | 8 +++--- crypto/x509/x509_txt.c | 12 ++++----- crypto/x509/x509_v3.c | 10 +++---- crypto/x509/x509_vfy.c | 14 +++++----- crypto/x509/x509_vfy.h | 4 +-- crypto/x509/x509name.c | 10 +++---- crypto/x509/x509rset.c | 8 +++--- crypto/x509/x509type.c | 6 ++--- crypto/x509/x_all.c | 10 +++---- crypto/x509v3/Makefile.ssl | 6 ++--- crypto/x509v3/v3_akey.c | 8 +++--- crypto/x509v3/v3_alt.c | 4 +-- crypto/x509v3/v3_bcons.c | 8 +++--- crypto/x509v3/v3_bitst.c | 4 +-- crypto/x509v3/v3_conf.c | 6 ++--- crypto/x509v3/v3_cpols.c | 8 +++--- crypto/x509v3/v3_crld.c | 8 +++--- crypto/x509v3/v3_enum.c | 2 +- crypto/x509v3/v3_extku.c | 6 ++--- crypto/x509v3/v3_genn.c | 8 +++--- crypto/x509v3/v3_ia5.c | 6 ++--- crypto/x509v3/v3_int.c | 2 +- crypto/x509v3/v3_lib.c | 4 +-- crypto/x509v3/v3_pku.c | 6 ++--- crypto/x509v3/v3_prn.c | 4 +-- crypto/x509v3/v3_skey.c | 2 +- crypto/x509v3/v3_sxnet.c | 8 +++--- crypto/x509v3/v3_utl.c | 4 +-- crypto/x509v3/v3conf.c | 10 +++---- crypto/x509v3/v3err.c | 4 +-- crypto/x509v3/v3prin.c | 10 +++---- crypto/x509v3/x509v3.h | 4 +-- demos/b64.c | 12 ++++----- demos/bio/saccept.c | 4 +-- demos/bio/sconnect.c | 4 +-- demos/eay/base64.c | 4 +-- demos/eay/conn.c | 4 +-- demos/eay/loadrsa.c | 2 +- demos/maurice/example1.c | 14 +++++----- demos/maurice/example2.c | 14 +++++----- demos/maurice/loadkeys.c | 14 +++++----- demos/maurice/loadkeys.h | 2 +- demos/prime/prime.c | 2 +- demos/selfsign.c | 14 +++++----- demos/sign/sign.c | 14 +++++----- demos/spkigen.c | 12 ++++----- mt/mttest.c | 12 ++++----- perl/openssl.h | 16 ++++++------ rsaref/Makefile.ssl | 6 ++--- rsaref/rsar_err.c | 4 +-- rsaref/rsaref.c | 8 +++--- rsaref/rsaref.h | 2 +- ssl/Makefile.ssl | 6 ++--- ssl/bio_ssl.c | 8 +++--- ssl/s23_clnt.c | 8 +++--- ssl/s23_lib.c | 2 +- ssl/s23_meth.c | 2 +- ssl/s23_pkt.c | 4 +-- ssl/s23_srvr.c | 8 +++--- ssl/s2_clnt.c | 8 +++--- ssl/s2_lib.c | 4 +-- ssl/s2_meth.c | 2 +- ssl/s2_srvr.c | 8 +++--- ssl/s3_both.c | 10 +++---- ssl/s3_clnt.c | 8 +++--- ssl/s3_enc.c | 2 +- ssl/s3_lib.c | 2 +- ssl/s3_meth.c | 2 +- ssl/s3_pkt.c | 4 +-- ssl/s3_srvr.c | 10 +++---- ssl/ssl.c | 32 +++++++++++------------ ssl/ssl.h | 20 +++++++------- ssl/ssl3.h | 2 +- ssl/ssl_algs.c | 4 +-- ssl/ssl_asn1.c | 4 +-- ssl/ssl_cert.c | 6 ++--- ssl/ssl_ciph.c | 4 +-- ssl/ssl_err.c | 4 +-- ssl/ssl_err2.c | 4 +-- ssl/ssl_lib.c | 4 +-- ssl/ssl_locl.h | 20 +++++++------- ssl/ssl_rsa.c | 10 +++---- ssl/ssl_sess.c | 4 +-- ssl/ssl_task.c | 8 +++--- ssl/ssl_txt.c | 2 +- ssl/ssltest.c | 12 ++++----- ssl/t1_clnt.c | 8 +++--- ssl/t1_enc.c | 6 ++--- ssl/t1_lib.c | 2 +- ssl/t1_meth.c | 2 +- ssl/t1_srvr.c | 10 +++---- ssl/tls1.h | 2 +- test/methtest.c | 6 ++--- util/mk1mf.pl | 13 +++++++--- util/mklink.sh | 11 +++++++- 552 files changed, 1604 insertions(+), 1563 deletions(-) diff --git a/Configure b/Configure index abf0562c8..3085fa0f1 100755 --- a/Configure +++ b/Configure @@ -542,6 +542,31 @@ if($IsWindows) { system 'make -f Makefile.ssl links' if !$IsWindows; +my $pwd=`pwd`; +chop($pwd); +print < +should be used instead of #include . +These new file locations allow installing the OpenSSL header +files in /usr/local/include/openssl/ and should help avoid +conflicts with other libraries. + +To compile programs that use the old form , +usually an additional compiler option will suffice: E.g., add + -I/usr/local/include/openssl +or + -I$pwd/include/openssl +to the CFLAGS in the Makefile of the program that you want to compile. + +Please make sure that no old OpenSSL header files are around: +The include directory should now be empty except for the openssl +subdirectory. +EOF + exit(0); sub bad_target diff --git a/Makefile.org b/Makefile.org index 074899f30..23be9bc14 100644 --- a/Makefile.org +++ b/Makefile.org @@ -215,7 +215,8 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh include $(EXHEADER) + @-mkdir -p include/openssl 2>/dev/null + @$(TOP)/util/mklink.sh include/openssl $(EXHEADER) @for i in $(DIRS); do \ (cd $$i && echo "making links in $$i..." && \ $(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' links ) || exit 1; \ @@ -290,6 +291,7 @@ install: all @-mkdir -p $(INSTALLTOP)/bin 2>/dev/null @-mkdir -p $(INSTALLTOP)/lib 2>/dev/null @-mkdir -p $(INSTALLTOP)/include 2>/dev/null + @-mkdir -p $(INSTALLTOP)/include/openssl 2>/dev/null @-mkdir -p $(INSTALLTOP)/certs 2>/dev/null @-mkdir -p $(INSTALLTOP)/private 2>/dev/null @for i in $(DIRS) ;\ diff --git a/apps/apps.h b/apps/apps.h index 25a9262e0..3ad21bb9a 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -59,11 +59,11 @@ #ifndef HEADER_APPS_H #define HEADER_APPS_H -#include "e_os.h" +#include -#include "buffer.h" -#include "bio.h" -#include "crypto.h" +#include +#include +#include #include "progs.h" #ifdef NO_STDIO @@ -88,7 +88,7 @@ extern BIO *bio_err; #else #define MAIN(a,v) PROG(a,v) -#include "conf.h" +#include extern LHASH *config; extern char *default_config_file; extern BIO *bio_err; diff --git a/apps/asn1pars.c b/apps/asn1pars.c index 39e97887a..a5e4bfcf5 100644 --- a/apps/asn1pars.c +++ b/apps/asn1pars.c @@ -64,10 +64,10 @@ #include #include #include "apps.h" -#include "err.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include /* -inform arg - input format - default PEM (DER or PEM) * -in arg - input file - default stdin diff --git a/apps/ca.c b/apps/ca.c index 5ce0dc202..16afb8d7e 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -64,16 +64,16 @@ #include #include #include "apps.h" -#include "conf.h" -#include "bio.h" -#include "err.h" -#include "bn.h" -#include "txt_db.h" -#include "evp.h" -#include "x509.h" -#include "x509v3.h" -#include "objects.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #ifndef W_OK #include diff --git a/apps/ciphers.c b/apps/ciphers.c index b02b64b5d..3c76782b7 100644 --- a/apps/ciphers.c +++ b/apps/ciphers.c @@ -63,8 +63,8 @@ #define APPS_WIN16 #endif #include "apps.h" -#include "err.h" -#include "ssl.h" +#include +#include #undef PROG #define PROG ciphers_main diff --git a/apps/crl.c b/apps/crl.c index 0c03f5fb6..cdbee4847 100644 --- a/apps/crl.c +++ b/apps/crl.c @@ -60,11 +60,11 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "x509.h" -#include "x509v3.h" -#include "pem.h" +#include +#include +#include +#include +#include #undef PROG #define PROG crl_main diff --git a/apps/crl2p7.c b/apps/crl2p7.c index aa407b709..12e535a28 100644 --- a/apps/crl2p7.c +++ b/apps/crl2p7.c @@ -65,12 +65,12 @@ #include #include #include "apps.h" -#include "err.h" -#include "evp.h" -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" -#include "objects.h" +#include +#include +#include +#include +#include +#include #ifndef NOPROTO static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile); diff --git a/apps/dgst.c b/apps/dgst.c index 2926e5514..82bb20a8b 100644 --- a/apps/dgst.c +++ b/apps/dgst.c @@ -60,12 +60,12 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef BUFSIZE #define BUFSIZE 1024*8 diff --git a/apps/dh.c b/apps/dh.c index 0b548ef57..02742485c 100644 --- a/apps/dh.c +++ b/apps/dh.c @@ -61,12 +61,12 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "bn.h" -#include "dh.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef PROG #define PROG dh_main diff --git a/apps/dsa.c b/apps/dsa.c index 312ed3179..dc282b77d 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -61,12 +61,12 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "dsa.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef PROG #define PROG dsa_main diff --git a/apps/dsaparam.c b/apps/dsaparam.c index 085e4845c..e733b53db 100644 --- a/apps/dsaparam.c +++ b/apps/dsaparam.c @@ -61,13 +61,13 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "bn.h" -#include "rand.h" -#include "dsa.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include #undef PROG #define PROG dsaparam_main diff --git a/apps/eay.c b/apps/eay.c index 7c3bae3bf..80a141b93 100644 --- a/apps/eay.c +++ b/apps/eay.c @@ -64,27 +64,27 @@ #define USE_SOCKETS #include "../e_os.h" -#include "bio.h" -#include "stack.h" -#include "lhash.h" +#include +#include +#include -#include "err.h" +#include -#include "bn.h" +#include -#include "evp.h" +#include -#include "rand.h" -#include "conf.h" -#include "txt_db.h" +#include +#include +#include -#include "err.h" +#include -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" -#include "asn1.h" -#include "objects.h" +#include +#include +#include +#include +#include #define MONOLITH diff --git a/apps/enc.c b/apps/enc.c index b56132673..84a81ffb2 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -60,15 +60,15 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include +#include #ifdef NO_MD5 -#include "md5.h" +#include #endif -#include "pem.h" +#include #ifndef NOPROTO int set_hex(char *in,unsigned char *out,int size); diff --git a/apps/errstr.c b/apps/errstr.c index ee51abaf3..c86b5d940 100644 --- a/apps/errstr.c +++ b/apps/errstr.c @@ -60,10 +60,10 @@ #include #include #include "apps.h" -#include "bio.h" -#include "lhash.h" -#include "err.h" -#include "ssl.h" +#include +#include +#include +#include #undef PROG #define PROG errstr_main diff --git a/apps/gendh.c b/apps/gendh.c index 8900b4f1a..c69147e37 100644 --- a/apps/gendh.c +++ b/apps/gendh.c @@ -61,13 +61,13 @@ #include #include #include "apps.h" -#include "bio.h" -#include "rand.h" -#include "err.h" -#include "bn.h" -#include "dh.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include #define DEFBITS 512 #undef PROG diff --git a/apps/gendsa.c b/apps/gendsa.c index 3e198a24f..db641da50 100644 --- a/apps/gendsa.c +++ b/apps/gendsa.c @@ -61,13 +61,13 @@ #include #include #include "apps.h" -#include "bio.h" -#include "rand.h" -#include "err.h" -#include "bn.h" -#include "dsa.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include #define DEFBITS 512 #undef PROG diff --git a/apps/genrsa.c b/apps/genrsa.c index f83bafc7f..30f1618f1 100644 --- a/apps/genrsa.c +++ b/apps/genrsa.c @@ -61,14 +61,14 @@ #include #include #include "apps.h" -#include "bio.h" -#include "rand.h" -#include "err.h" -#include "bn.h" -#include "rsa.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include +#include #define DEFBITS 512 #undef PROG diff --git a/apps/nseq.c b/apps/nseq.c index a36f29f51..9c84d93b8 100644 --- a/apps/nseq.c +++ b/apps/nseq.c @@ -58,8 +58,8 @@ #include #include -#include "pem.h" -#include "err.h" +#include +#include #include "apps.h" #undef PROG diff --git a/apps/openssl.c b/apps/openssl.c index 21724201d..bae0c4f00 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -63,19 +63,19 @@ #include #include #include -#include "bio.h" -#include "crypto.h" -#include "lhash.h" -#include "conf.h" -#include "x509.h" -#include "pem.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include #define SSLEAY /* turn off a few special case MONOLITH macros */ #define USE_SOCKETS /* needed for the _O_BINARY defs in the MS world */ #define SSLEAY_SRC #include "apps.h" #include "s_apps.h" -#include "err.h" +#include /* #ifdef WINDOWS diff --git a/apps/pem_mail.c b/apps/pem_mail.c index acbf7bd9a..b60c9a392 100644 --- a/apps/pem_mail.c +++ b/apps/pem_mail.c @@ -57,12 +57,12 @@ */ #include -#include "rsa.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "err.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #include "apps.h" #undef PROG diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 97b7c88ef..79fd19a69 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -59,9 +59,9 @@ #include #include #include -#include -#include -#include "pkcs12.h" +#include +#include +#include #include "apps.h" #define PROG pkcs12_main diff --git a/apps/pkcs7.c b/apps/pkcs7.c index ece2cd7d6..24b3e5788 100644 --- a/apps/pkcs7.c +++ b/apps/pkcs7.c @@ -61,12 +61,12 @@ #include #include #include "apps.h" -#include "err.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef PROG #define PROG pkcs7_main diff --git a/apps/req.c b/apps/req.c index 69f371697..78a50a552 100644 --- a/apps/req.c +++ b/apps/req.c @@ -64,16 +64,16 @@ #define APPS_WIN16 #endif #include "apps.h" -#include "bio.h" -#include "evp.h" -#include "rand.h" -#include "conf.h" -#include "err.h" -#include "asn1.h" -#include "x509.h" -#include "x509v3.h" -#include "objects.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #define SECTION "req" diff --git a/apps/rsa.c b/apps/rsa.c index e09eeda16..1372a5fac 100644 --- a/apps/rsa.c +++ b/apps/rsa.c @@ -61,12 +61,12 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "rsa.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef PROG #define PROG rsa_main diff --git a/apps/s_cb.c b/apps/s_cb.c index ad5bc26e3..fdb11a1d1 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -63,9 +63,9 @@ #include "apps.h" #undef NON_MAIN #undef USE_SOCKETS -#include "err.h" -#include "x509.h" -#include "ssl.h" +#include +#include +#include #include "s_apps.h" int verify_depth=0; diff --git a/apps/s_client.c b/apps/s_client.c index 20e581ec2..9e90b483f 100644 --- a/apps/s_client.c +++ b/apps/s_client.c @@ -64,10 +64,10 @@ #define APPS_WIN16 #endif #include "apps.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" -#include "pem.h" +#include +#include +#include +#include #include "s_apps.h" #undef PROG diff --git a/apps/s_server.c b/apps/s_server.c index f026fa1b6..0198cb8a0 100644 --- a/apps/s_server.c +++ b/apps/s_server.c @@ -64,14 +64,14 @@ #ifdef NO_STDIO #define APPS_WIN16 #endif -#include "lhash.h" -#include "bn.h" +#include +#include #define USE_SOCKETS #include "apps.h" -#include "err.h" -#include "pem.h" -#include "x509.h" -#include "ssl.h" +#include +#include +#include +#include #include "s_apps.h" #ifndef NOPROTO diff --git a/apps/s_socket.c b/apps/s_socket.c index 2c83dbb60..9110234ed 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -67,7 +67,7 @@ #undef USE_SOCKETS #undef NON_MAIN #include "s_apps.h" -#include "ssl.h" +#include #ifndef NOPROTO static struct hostent *GetHostByName(char *name); diff --git a/apps/s_time.c b/apps/s_time.c index 1e335ef4b..187c09d12 100644 --- a/apps/s_time.c +++ b/apps/s_time.c @@ -70,13 +70,13 @@ #ifdef NO_STDIO #define APPS_WIN16 #endif -#include "x509.h" -#include "ssl.h" -#include "pem.h" +#include +#include +#include #define USE_SOCKETS #include "apps.h" #include "s_apps.h" -#include "err.h" +#include #ifdef WIN32_STUFF #include "winmain.h" #include "wintext.h" diff --git a/apps/sc.c b/apps/sc.c index 816040d28..e6da658f0 100644 --- a/apps/sc.c +++ b/apps/sc.c @@ -64,10 +64,10 @@ #define APPS_WIN16 #endif #include "apps.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" -#include "pem.h" +#include +#include +#include +#include #include "s_apps.h" #ifdef WINDOWS diff --git a/apps/sess_id.c b/apps/sess_id.c index c1b497981..11cf83726 100644 --- a/apps/sess_id.c +++ b/apps/sess_id.c @@ -60,11 +60,11 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "x509.h" -#include "pem.h" -#include "ssl.h" +#include +#include +#include +#include +#include #undef PROG #define PROG sess_id_main diff --git a/apps/speed.c b/apps/speed.c index 6c88a1c3d..d6ee53e9f 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -78,9 +78,9 @@ #ifdef NO_STDIO #define APPS_WIN16 #endif -#include "crypto.h" -#include "rand.h" -#include "err.h" +#include +#include +#include #ifndef MSDOS #define TIMES @@ -114,47 +114,47 @@ struct tms { #endif #ifndef NO_DES -#include "des.h" +#include #endif #ifndef NO_MD2 -#include "md2.h" +#include #endif #ifndef NO_MDC2 -#include "mdc2.h" +#include #endif #ifndef NO_MD5 -#include "md5.h" -#include "hmac.h" -#include "evp.h" +#include +#include +#include #endif #ifndef NO_SHA1 -#include "sha.h" +#include #endif #ifndef NO_RMD160 -#include "ripemd.h" +#include #endif #ifndef NO_RC4 -#include "rc4.h" +#include #endif #ifndef NO_RC5 -#include "rc5.h" +#include #endif #ifndef NO_RC2 -#include "rc2.h" +#include #endif #ifndef NO_IDEA -#include "idea.h" +#include #endif #ifndef NO_BLOWFISH -#include "blowfish.h" +#include #endif #ifndef NO_CAST -#include "cast.h" +#include #endif #ifndef NO_RSA -#include "rsa.h" +#include #endif -#include "x509.h" +#include #include "./testrsa.h" #ifndef NO_DSA #include "./testdsa.h" diff --git a/apps/verify.c b/apps/verify.c index 1a324c3da..aa6ee03a1 100644 --- a/apps/verify.c +++ b/apps/verify.c @@ -60,10 +60,10 @@ #include #include #include "apps.h" -#include "bio.h" -#include "err.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include #undef PROG #define PROG verify_main diff --git a/apps/version.c b/apps/version.c index fd46e1768..f249d15aa 100644 --- a/apps/version.c +++ b/apps/version.c @@ -60,8 +60,8 @@ #include #include #include "apps.h" -#include "evp.h" -#include "crypto.h" +#include +#include #undef PROG #define PROG version_main diff --git a/apps/x509.c b/apps/x509.c index f1975dca9..f336f2407 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -63,15 +63,15 @@ #define APPS_WIN16 #endif #include "apps.h" -#include "bio.h" -#include "asn1.h" -#include "err.h" -#include "bn.h" -#include "evp.h" -#include "x509.h" -#include "x509v3.h" -#include "objects.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #undef PROG #define PROG x509_main diff --git a/bugs/stream.c b/bugs/stream.c index 50a388499..d2967c837 100644 --- a/bugs/stream.c +++ b/bugs/stream.c @@ -57,11 +57,11 @@ */ #include -#include "rc4.h" +#include #ifdef NO_DES #include #else -#include "des.h" +#include #endif /* show how stream ciphers are not very good. The mac has no affect diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl index 9e4df74f9..1cef8d80e 100644 --- a/crypto/Makefile.ssl +++ b/crypto/Makefile.ssl @@ -69,7 +69,7 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../test $(TEST) @$(TOP)/util/mklink.sh ../apps $(APPS) @$(TOP)/util/point.sh Makefile.ssl Makefile @@ -100,8 +100,8 @@ tests: install: @for i in $(EXHEADER) ;\ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; @for i in $(SDIRS) ;\ do \ diff --git a/crypto/asn1/Makefile.ssl b/crypto/asn1/Makefile.ssl index c6e1f2f8a..df36d7312 100644 --- a/crypto/asn1/Makefile.ssl +++ b/crypto/asn1/Makefile.ssl @@ -83,15 +83,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/asn1/a_bitstr.c b/crypto/asn1/a_bitstr.c index cd4d83500..d1d28bd9b 100644 --- a/crypto/asn1/a_bitstr.c +++ b/crypto/asn1/a_bitstr.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_ASN1_STRING_NEW,ASN1_R_STRING_TOO_SHORT); * ASN1err(ASN1_F_D2I_ASN1_BIT_STRING,ASN1_R_EXPECTING_A_BIT_STRING); diff --git a/crypto/asn1/a_bmp.c b/crypto/asn1/a_bmp.c index 2cb322ab4..e492ab9ec 100644 --- a/crypto/asn1/a_bmp.c +++ b/crypto/asn1/a_bmp.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_BMPSTRING,ASN1_R_EXPECTING_AN_INTEGER); */ diff --git a/crypto/asn1/a_bool.c b/crypto/asn1/a_bool.c index fc55a92f4..711c57e5c 100644 --- a/crypto/asn1/a_bool.c +++ b/crypto/asn1/a_bool.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_BOOLEAN,ASN1_R_EXPECTING_A_BOOLEAN); * ASN1err(ASN1_F_D2I_ASN1_BOOLEAN,ASN1_R_BOOLEAN_IS_WRONG_LENGTH); diff --git a/crypto/asn1/a_bytes.c b/crypto/asn1/a_bytes.c index fdfe9ea8e..153be3666 100644 --- a/crypto/asn1/a_bytes.c +++ b/crypto/asn1/a_bytes.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_TYPE_BYTES,ASN1_R_WRONG_TYPE); * ASN1err(ASN1_F_ASN1_COLLATE_PRIMATIVE,ASN1_R_WRONG_TAG); diff --git a/crypto/asn1/a_d2i_fp.c b/crypto/asn1/a_d2i_fp.c index 465986eb6..a49d1cb28 100644 --- a/crypto/asn1/a_d2i_fp.c +++ b/crypto/asn1/a_d2i_fp.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "asn1_mac.h" +#include +#include #define HEADER_SIZE 8 diff --git a/crypto/asn1/a_digest.c b/crypto/asn1/a_digest.c index 20cde71f0..f3de49166 100644 --- a/crypto/asn1/a_digest.c +++ b/crypto/asn1/a_digest.c @@ -62,9 +62,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "x509.h" -#include "buffer.h" +#include +#include +#include int ASN1_digest(int (*i2d)(), EVP_MD *type, char *data, unsigned char *md, unsigned int *len) diff --git a/crypto/asn1/a_dup.c b/crypto/asn1/a_dup.c index cf5748296..c0a8709f3 100644 --- a/crypto/asn1/a_dup.c +++ b/crypto/asn1/a_dup.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include #define READ_CHUNK 2048 diff --git a/crypto/asn1/a_enum.c b/crypto/asn1/a_enum.c index 0f8ad843c..7ad863a4b 100644 --- a/crypto/asn1/a_enum.c +++ b/crypto/asn1/a_enum.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* Support for ASN1 ENUMERATED type: based on a_int.c */ diff --git a/crypto/asn1/a_gentm.c b/crypto/asn1/a_gentm.c index 7992739ca..3952eaf17 100644 --- a/crypto/asn1/a_gentm.c +++ b/crypto/asn1/a_gentm.c @@ -61,7 +61,7 @@ #include #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_ASN1_GENERALIZEDTIME_NEW,ASN1_R_GENERALIZEDTIME_TOO_LONG); * ASN1err(ASN1_F_D2I_ASN1_GENERALIZEDTIME,ASN1_R_EXPECTING_A_GENERALIZEDTIME); diff --git a/crypto/asn1/a_hdr.c b/crypto/asn1/a_hdr.c index d1bf08af4..1d44b9d5a 100644 --- a/crypto/asn1/a_hdr.c +++ b/crypto/asn1/a_hdr.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "asn1.h" +#include +#include /* * ASN1err(ASN1_F_D2I_ASN1_HEADER,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/a_i2d_fp.c b/crypto/asn1/a_i2d_fp.c index f010ec127..6bd845443 100644 --- a/crypto/asn1/a_i2d_fp.c +++ b/crypto/asn1/a_i2d_fp.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "asn1_mac.h" +#include +#include #ifndef NO_FP_API int ASN1_i2d_fp(int (*i2d)(), FILE *out, unsigned char *x) diff --git a/crypto/asn1/a_int.c b/crypto/asn1/a_int.c index acfc85526..dcae5cce3 100644 --- a/crypto/asn1/a_int.c +++ b/crypto/asn1/a_int.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_INTEGER,ASN1_R_EXPECTING_AN_INTEGER); */ diff --git a/crypto/asn1/a_meth.c b/crypto/asn1/a_meth.c index 961085578..32c869395 100644 --- a/crypto/asn1/a_meth.c +++ b/crypto/asn1/a_meth.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "x509.h" +#include +#include static ASN1_METHOD ia5string_meth={ (int (*)()) i2d_ASN1_IA5STRING, diff --git a/crypto/asn1/a_object.c b/crypto/asn1/a_object.c index ef77bb0d2..9f9b2f04f 100644 --- a/crypto/asn1/a_object.c +++ b/crypto/asn1/a_object.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "asn1.h" -#include "objects.h" +#include +#include +#include /* ASN1err(ASN1_F_ASN1_OBJECT_NEW,ASN1_R_EXPECTING_AN_OBJECT); * ASN1err(ASN1_F_D2I_ASN1_OBJECT,ASN1_R_BAD_OBJECT_HEADER); diff --git a/crypto/asn1/a_octet.c b/crypto/asn1/a_octet.c index 250917518..16cf8133a 100644 --- a/crypto/asn1/a_octet.c +++ b/crypto/asn1/a_octet.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_OCTET_STRING,ASN1_R_EXPECTING_AN_OCTET_STRING); */ diff --git a/crypto/asn1/a_print.c b/crypto/asn1/a_print.c index babb571c5..4e50f6ec8 100644 --- a/crypto/asn1/a_print.c +++ b/crypto/asn1/a_print.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_PRINT_TYPE,ASN1_R_WRONG_PRINTABLE_TYPE); * ASN1err(ASN1_F_D2I_ASN1_PRINT_TYPE,ASN1_R_TAG_VALUE_TOO_HIGH); diff --git a/crypto/asn1/a_set.c b/crypto/asn1/a_set.c index 406c68fac..17c0a5f84 100644 --- a/crypto/asn1/a_set.c +++ b/crypto/asn1/a_set.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* ASN1err(ASN1_F_ASN1_TYPE_NEW,ERR_R_MALLOC_FAILURE); */ diff --git a/crypto/asn1/a_sign.c b/crypto/asn1/a_sign.c index 7ce246c7c..57595692e 100644 --- a/crypto/asn1/a_sign.c +++ b/crypto/asn1/a_sign.c @@ -62,11 +62,11 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "x509.h" -#include "objects.h" -#include "buffer.h" +#include +#include +#include +#include +#include int ASN1_sign(int (*i2d)(), X509_ALGOR *algor1, X509_ALGOR *algor2, ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey, diff --git a/crypto/asn1/a_time.c b/crypto/asn1/a_time.c index 495f0814a..19bfdda7c 100644 --- a/crypto/asn1/a_time.c +++ b/crypto/asn1/a_time.c @@ -64,7 +64,7 @@ #include #include #include "cryptlib.h" -#include "asn1.h" +#include int i2d_ASN1_TIME(ASN1_TIME *a, unsigned char **pp) { diff --git a/crypto/asn1/a_type.c b/crypto/asn1/a_type.c index 5ccd5de00..c9b5e7d04 100644 --- a/crypto/asn1/a_type.c +++ b/crypto/asn1/a_type.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_BYTES,ASN1_R_WRONG_TAG); * ASN1err(ASN1_F_ASN1_COLLATE_PRIMATIVE,ASN1_R_WRONG_TAG); diff --git a/crypto/asn1/a_utctm.c b/crypto/asn1/a_utctm.c index 291c0fda6..5c5d8a1ca 100644 --- a/crypto/asn1/a_utctm.c +++ b/crypto/asn1/a_utctm.c @@ -59,7 +59,7 @@ #include #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_ASN1_UTCTIME_NEW,ASN1_R_UTCTIME_TOO_LONG); * ASN1err(ASN1_F_D2I_ASN1_UTCTIME,ASN1_R_EXPECTING_A_UTCTIME); diff --git a/crypto/asn1/a_utf8.c b/crypto/asn1/a_utf8.c index 2babbe712..70078b68f 100644 --- a/crypto/asn1/a_utf8.c +++ b/crypto/asn1/a_utf8.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_UTF8STRING,ERR_R_MALLOC_FAILURE); */ diff --git a/crypto/asn1/a_verify.c b/crypto/asn1/a_verify.c index fc2711058..6383d2c69 100644 --- a/crypto/asn1/a_verify.c +++ b/crypto/asn1/a_verify.c @@ -62,11 +62,11 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "x509.h" -#include "objects.h" -#include "buffer.h" -#include "evp.h" +#include +#include +#include +#include +#include int ASN1_verify(int (*i2d)(), X509_ALGOR *a, ASN1_BIT_STRING *signature, char *data, EVP_PKEY *pkey) diff --git a/crypto/asn1/a_vis.c b/crypto/asn1/a_vis.c index 2e5a70901..b47e4b304 100644 --- a/crypto/asn1/a_vis.c +++ b/crypto/asn1/a_vis.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1err(ASN1_F_D2I_ASN1_VISIBLESTRING,ERR_R_MALLOC_FAILURE); */ diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h index 6b9062d5d..4c38772ef 100644 --- a/crypto/asn1/asn1.h +++ b/crypto/asn1/asn1.h @@ -64,8 +64,8 @@ extern "C" { #endif #include -#include "bn.h" -#include "stack.h" +#include +#include #define V_ASN1_UNIVERSAL 0x00 #define V_ASN1_APPLICATION 0x40 diff --git a/crypto/asn1/asn1_err.c b/crypto/asn1/asn1_err.c index 463500b40..744135e93 100644 --- a/crypto/asn1/asn1_err.c +++ b/crypto/asn1/asn1_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "asn1.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c index f67ed0fc8..628b86401 100644 --- a/crypto/asn1/asn1_lib.c +++ b/crypto/asn1/asn1_lib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" +#include +#include #ifndef NOPROTO static int asn1_get_length(unsigned char **pp,int *inf,long *rl,int max); diff --git a/crypto/asn1/asn1_mac.h b/crypto/asn1/asn1_mac.h index b7a90f820..4d1731de7 100644 --- a/crypto/asn1/asn1_mac.h +++ b/crypto/asn1/asn1_mac.h @@ -63,9 +63,9 @@ extern "C" { #endif -#include "asn1.h" -#include "x509.h" -#include "pkcs7.h" +#include +#include +#include #ifndef ASN1_MAC_ERR_LIB #define ASN1_MAC_ERR_LIB ERR_LIB_ASN1 diff --git a/crypto/asn1/asn1_par.c b/crypto/asn1/asn1_par.c index ab5521a7b..fd36b4c13 100644 --- a/crypto/asn1/asn1_par.c +++ b/crypto/asn1/asn1_par.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include #ifndef NOPROTO static int asn1_print_info(BIO *bp, int tag, int xclass,int constructed, diff --git a/crypto/asn1/asn_pack.c b/crypto/asn1/asn_pack.c index c094d64e1..4e846285a 100644 --- a/crypto/asn1/asn_pack.c +++ b/crypto/asn1/asn_pack.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1.h" +#include /* ASN1 packing and unpacking functions */ diff --git a/crypto/asn1/d2i_dhp.c b/crypto/asn1/d2i_dhp.c index 4fea5af8e..f76a9d442 100644 --- a/crypto/asn1/d2i_dhp.c +++ b/crypto/asn1/d2i_dhp.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dh.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_DHPARAMS,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/d2i_dsap.c b/crypto/asn1/d2i_dsap.c index 2f3b6b6a5..df48eda2f 100644 --- a/crypto/asn1/d2i_dsap.c +++ b/crypto/asn1/d2i_dsap.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_DSAPARAMS,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/d2i_pr.c b/crypto/asn1/d2i_pr.c index 0fee334e7..43c7a3b91 100644 --- a/crypto/asn1/d2i_pr.c +++ b/crypto/asn1/d2i_pr.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include EVP_PKEY *d2i_PrivateKey(int type, EVP_PKEY **a, unsigned char **pp, long length) diff --git a/crypto/asn1/d2i_pu.c b/crypto/asn1/d2i_pu.c index d89c6e287..eace9e88c 100644 --- a/crypto/asn1/d2i_pu.c +++ b/crypto/asn1/d2i_pu.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, unsigned char **pp, long length) diff --git a/crypto/asn1/d2i_r_pr.c b/crypto/asn1/d2i_r_pr.c index 3a4267bf9..8e46efce8 100644 --- a/crypto/asn1/d2i_r_pr.c +++ b/crypto/asn1/d2i_r_pr.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_RSAPRIVATEKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/d2i_r_pu.c b/crypto/asn1/d2i_r_pu.c index 5a98e5593..6ccec8c9b 100644 --- a/crypto/asn1/d2i_r_pu.c +++ b/crypto/asn1/d2i_r_pu.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_RSAPUBLICKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/d2i_s_pr.c b/crypto/asn1/d2i_s_pr.c index b318b1e3b..35fb3334e 100644 --- a/crypto/asn1/d2i_s_pr.c +++ b/crypto/asn1/d2i_s_pr.c @@ -60,10 +60,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_DSAPRIVATEKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/d2i_s_pu.c b/crypto/asn1/d2i_s_pu.c index c7b7ad0a4..562acd692 100644 --- a/crypto/asn1/d2i_s_pu.c +++ b/crypto/asn1/d2i_s_pu.c @@ -60,10 +60,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_DSAPUBLICKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/evp_asn1.c b/crypto/asn1/evp_asn1.c index 8197fcd8f..7528b2d97 100644 --- a/crypto/asn1/evp_asn1.c +++ b/crypto/asn1/evp_asn1.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" +#include +#include int ASN1_TYPE_set_octetstring(ASN1_TYPE *a, unsigned char *data, int len) { diff --git a/crypto/asn1/f.c b/crypto/asn1/f.c index 2ab3a262a..82bccdfd5 100644 --- a/crypto/asn1/f.c +++ b/crypto/asn1/f.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "asn1.h" -#include "err.h" +#include +#include main() { diff --git a/crypto/asn1/f_enum.c b/crypto/asn1/f_enum.c index 392e6b018..ea460eb1d 100644 --- a/crypto/asn1/f_enum.c +++ b/crypto/asn1/f_enum.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "x509.h" +#include +#include /* Based on a_int.c: equivalent ENUMERATED functions */ diff --git a/crypto/asn1/f_int.c b/crypto/asn1/f_int.c index 85ec6cec6..4d6c9b227 100644 --- a/crypto/asn1/f_int.c +++ b/crypto/asn1/f_int.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "x509.h" +#include +#include int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) { diff --git a/crypto/asn1/f_string.c b/crypto/asn1/f_string.c index ab7a7b1f6..9bcc5a93c 100644 --- a/crypto/asn1/f_string.c +++ b/crypto/asn1/f_string.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "x509.h" +#include +#include int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) { diff --git a/crypto/asn1/i2d_dhp.c b/crypto/asn1/i2d_dhp.c index 690ba1ab8..c3763eb6a 100644 --- a/crypto/asn1/i2d_dhp.c +++ b/crypto/asn1/i2d_dhp.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "asn1_mac.h" -#include "dh.h" +#include +#include +#include /* * ASN1err(ASN1_F_D2I_DHPARAMS,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/i2d_dsap.c b/crypto/asn1/i2d_dsap.c index 402ed199d..a7d03fe6d 100644 --- a/crypto/asn1/i2d_dsap.c +++ b/crypto/asn1/i2d_dsap.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "asn1_mac.h" -#include "dsa.h" +#include +#include +#include /* * ASN1err(ASN1_F_D2I_DSAPARAMS,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/i2d_pr.c b/crypto/asn1/i2d_pr.c index f173c9a5c..71d691020 100644 --- a/crypto/asn1/i2d_pr.c +++ b/crypto/asn1/i2d_pr.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "objects.h" +#include +#include +#include int i2d_PrivateKey(EVP_PKEY *a, unsigned char **pp) { diff --git a/crypto/asn1/i2d_pu.c b/crypto/asn1/i2d_pu.c index 8139175e1..8f73d37d0 100644 --- a/crypto/asn1/i2d_pu.c +++ b/crypto/asn1/i2d_pu.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "objects.h" +#include +#include +#include int i2d_PublicKey(EVP_PKEY *a, unsigned char **pp) { diff --git a/crypto/asn1/i2d_r_pr.c b/crypto/asn1/i2d_r_pr.c index cfd1fc74f..cc61637de 100644 --- a/crypto/asn1/i2d_r_pr.c +++ b/crypto/asn1/i2d_r_pr.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_RSAPRIVATEKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/i2d_r_pu.c b/crypto/asn1/i2d_r_pu.c index 4f0a02231..eabc0ba89 100644 --- a/crypto/asn1/i2d_r_pu.c +++ b/crypto/asn1/i2d_r_pu.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_D2I_RSAPUBLICKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/i2d_s_pr.c b/crypto/asn1/i2d_s_pr.c index 7374f7e9b..afd8f5af0 100644 --- a/crypto/asn1/i2d_s_pr.c +++ b/crypto/asn1/i2d_s_pr.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_I2D_DSAPRIVATEKEY,ASN1_R_UNKNOWN_ATTRIBUTE_TYPE); diff --git a/crypto/asn1/i2d_s_pu.c b/crypto/asn1/i2d_s_pu.c index bfa40f3e6..5c2757255 100644 --- a/crypto/asn1/i2d_s_pu.c +++ b/crypto/asn1/i2d_s_pu.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_I2D_DSAPUBLICKEY,ASN1_R_UNKNOWN_ATTRIBUTE_TYPE); diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c index edab9feea..f03ecca2e 100644 --- a/crypto/asn1/n_pkey.c +++ b/crypto/asn1/n_pkey.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "rsa.h" -#include "objects.h" -#include "asn1_mac.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include +#include #ifndef NO_RC4 diff --git a/crypto/asn1/nsseq.c b/crypto/asn1/nsseq.c index ba43be59b..34b16c4c4 100644 --- a/crypto/asn1/nsseq.c +++ b/crypto/asn1/nsseq.c @@ -58,10 +58,10 @@ #include #include -#include "asn1_mac.h" -#include "err.h" -#include "x509.h" -#include "objects.h" +#include +#include +#include +#include /* Netscape certificate sequence structure */ diff --git a/crypto/asn1/p5_pbe.c b/crypto/asn1/p5_pbe.c index b0de0d843..950d5650c 100644 --- a/crypto/asn1/p5_pbe.c +++ b/crypto/asn1/p5_pbe.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "rand.h" +#include +#include /* PKCS#5 password based encryption structure */ diff --git a/crypto/asn1/p5_pbev2.c b/crypto/asn1/p5_pbev2.c index 2e496022d..327be53a7 100644 --- a/crypto/asn1/p5_pbev2.c +++ b/crypto/asn1/p5_pbev2.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "rand.h" +#include +#include /* PKCS#5 v2.0 password based encryption structures */ diff --git a/crypto/asn1/p7_dgst.c b/crypto/asn1/p7_dgst.c index 516746b10..bdec3e514 100644 --- a/crypto/asn1/p7_dgst.c +++ b/crypto/asn1/p7_dgst.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_DIGEST_NEW,ERR_R_MISSING_ASN1_EOS); diff --git a/crypto/asn1/p7_enc.c b/crypto/asn1/p7_enc.c index f5ebbf776..40357c455 100644 --- a/crypto/asn1/p7_enc.c +++ b/crypto/asn1/p7_enc.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_ENCRYPT_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_enc_c.c b/crypto/asn1/p7_enc_c.c index 8914d8740..ce8f9c155 100644 --- a/crypto/asn1/p7_enc_c.c +++ b/crypto/asn1/p7_enc_c.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_ENC_CONTENT_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_evp.c b/crypto/asn1/p7_evp.c index babb9b275..4989b9363 100644 --- a/crypto/asn1/p7_evp.c +++ b/crypto/asn1/p7_evp.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_ENVELOPE_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_i_s.c b/crypto/asn1/p7_i_s.c index 11ebfcadc..f0ba5bc98 100644 --- a/crypto/asn1/p7_i_s.c +++ b/crypto/asn1/p7_i_s.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_ISSUER_AND_SERIAL_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_lib.c b/crypto/asn1/p7_lib.c index 560f63ddb..52cfb93c7 100644 --- a/crypto/asn1/p7_lib.c +++ b/crypto/asn1/p7_lib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "objects.h" +#include +#include /* ASN1err(ASN1_F_D2I_PKCS7,ASN1_R_BAD_PKCS7_CONTENT); * ASN1err(ASN1_F_I2D_PKCS7,ASN1_R_BAD_PKCS7_TYPE); diff --git a/crypto/asn1/p7_recip.c b/crypto/asn1/p7_recip.c index f6d121731..d6e2876c8 100644 --- a/crypto/asn1/p7_recip.c +++ b/crypto/asn1/p7_recip.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_RECIP_INFO_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_s_e.c b/crypto/asn1/p7_s_e.c index c4d0eef4d..54098d234 100644 --- a/crypto/asn1/p7_s_e.c +++ b/crypto/asn1/p7_s_e.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_SIGN_ENVELOPE_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_signd.c b/crypto/asn1/p7_signd.c index c7e78cd3a..90d3dcdd7 100644 --- a/crypto/asn1/p7_signd.c +++ b/crypto/asn1/p7_signd.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_SIGNED_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p7_signi.c b/crypto/asn1/p7_signi.c index 3ca11d9fc..5a240bc59 100644 --- a/crypto/asn1/p7_signi.c +++ b/crypto/asn1/p7_signi.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_PKCS7_SIGNER_INFO_NEW,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/p8_pkey.c b/crypto/asn1/p8_pkey.c index 455ee884b..4a215abf8 100644 --- a/crypto/asn1/p8_pkey.c +++ b/crypto/asn1/p8_pkey.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* *ASN1err(ASN1_F_PKCS8_PRIV_KEY_INFO_NEW,ASN1_R_DECODE_ERROR) diff --git a/crypto/asn1/pkcs8.c b/crypto/asn1/pkcs8.c index c9e94a276..d71f8c2d8 100644 --- a/crypto/asn1/pkcs8.c +++ b/crypto/asn1/pkcs8.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "objects.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509_KEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/t_crl.c b/crypto/asn1/t_crl.c index e91989326..bdfa03aa1 100644 --- a/crypto/asn1/t_crl.c +++ b/crypto/asn1/t_crl.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "bn.h" -#include "objects.h" -#include "x509.h" -#include "x509v3.h" +#include +#include +#include +#include +#include #ifndef NOPROTO static void ext_print(BIO *out, X509_EXTENSION *ex); diff --git a/crypto/asn1/t_pkey.c b/crypto/asn1/t_pkey.c index fde4a3790..7bf470e8d 100644 --- a/crypto/asn1/t_pkey.c +++ b/crypto/asn1/t_pkey.c @@ -58,16 +58,16 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "bn.h" +#include +#include #ifndef NO_RSA -#include "rsa.h" +#include #endif #ifndef NO_DH -#include "dh.h" +#include #endif #ifndef NO_DSA -#include "dsa.h" +#include #endif /* DHerr(DH_F_DHPARAMS_PRINT,ERR_R_MALLOC_FAILURE); diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c index 1079fe643..6e04b0861 100644 --- a/crypto/asn1/t_req.c +++ b/crypto/asn1/t_req.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "bn.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include #ifndef NO_FP_API int X509_REQ_print_fp(FILE *fp, X509_REQ *x) diff --git a/crypto/asn1/t_x509.c b/crypto/asn1/t_x509.c index e804635be..517290b96 100644 --- a/crypto/asn1/t_x509.c +++ b/crypto/asn1/t_x509.c @@ -58,17 +58,17 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "bn.h" +#include +#include #ifndef NO_RSA -#include "rsa.h" +#include #endif #ifndef NO_DSA -#include "dsa.h" +#include #endif -#include "objects.h" -#include "x509.h" -#include "x509v3.h" +#include +#include +#include #ifndef NO_FP_API int X509_print_fp(FILE *fp, X509 *x) diff --git a/crypto/asn1/x_algor.c b/crypto/asn1/x_algor.c index 70b377994..2d94b047f 100644 --- a/crypto/asn1/x_algor.c +++ b/crypto/asn1/x_algor.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* * ASN1err(ASN1_F_D2I_X509_ALGOR,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_attrib.c b/crypto/asn1/x_attrib.c index ab8777a79..6b33f58f5 100644 --- a/crypto/asn1/x_attrib.c +++ b/crypto/asn1/x_attrib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509_ATTRIBUTE,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_cinf.c b/crypto/asn1/x_cinf.c index 41939334b..5ef17a932 100644 --- a/crypto/asn1/x_cinf.c +++ b/crypto/asn1/x_cinf.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* * ASN1err(ASN1_F_D2I_X509_CINF,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_crl.c b/crypto/asn1/x_crl.c index e8f8ebd76..82a2737a8 100644 --- a/crypto/asn1/x_crl.c +++ b/crypto/asn1/x_crl.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509_CRL,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_exten.c b/crypto/asn1/x_exten.c index 15c46e352..f6124bbb8 100644 --- a/crypto/asn1/x_exten.c +++ b/crypto/asn1/x_exten.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509_EXTENSION,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_info.c b/crypto/asn1/x_info.c index 03bc38cdf..0ee9eb795 100644 --- a/crypto/asn1/x_info.c +++ b/crypto/asn1/x_info.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include +#include X509_INFO *X509_INFO_new(void) { diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c index 939b1699d..15d9aa4ea 100644 --- a/crypto/asn1/x_name.c +++ b/crypto/asn1/x_name.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509_NAME,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_pkey.c b/crypto/asn1/x_pkey.c index 2e677f0b2..fc145a8ce 100644 --- a/crypto/asn1/x_pkey.c +++ b/crypto/asn1/x_pkey.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "asn1_mac.h" +#include +#include +#include /* ASN1err(ASN1_F_D2I_X509_PKEY,ASN1_R_UNSUPPORTED_CIPHER); */ /* ASN1err(ASN1_F_X509_PKEY_NEW,ASN1_R_IV_TOO_LARGE); */ diff --git a/crypto/asn1/x_pubkey.c b/crypto/asn1/x_pubkey.c index 9711f98da..90b6c908a 100644 --- a/crypto/asn1/x_pubkey.c +++ b/crypto/asn1/x_pubkey.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* * ASN1err(ASN1_F_D2I_X509_PUBKEY,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_req.c b/crypto/asn1/x_req.c index 4bb604e5a..f6b1a95b7 100644 --- a/crypto/asn1/x_req.c +++ b/crypto/asn1/x_req.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509_REQ,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_sig.c b/crypto/asn1/x_sig.c index b0675b74c..f9c2a57c0 100644 --- a/crypto/asn1/x_sig.c +++ b/crypto/asn1/x_sig.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* * ASN1err(ASN1_F_D2I_X509_SIG,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_spki.c b/crypto/asn1/x_spki.c index 8cb1aaee3..22991245a 100644 --- a/crypto/asn1/x_spki.c +++ b/crypto/asn1/x_spki.c @@ -62,8 +62,8 @@ #include #include "cryptlib.h" -#include "x509.h" -#include "asn1_mac.h" +#include +#include /* * ASN1err(ASN1_F_D2I_NETSCAPE_SPKAC,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/asn1/x_val.c b/crypto/asn1/x_val.c index 9ffa8671d..b82f913b5 100644 --- a/crypto/asn1/x_val.c +++ b/crypto/asn1/x_val.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" +#include /* ASN1err(ASN1_F_X509_VAL_NEW,ERR_R_MALLOC_FAILURE); * ASN1err(ASN1_F_X509_VAL_FREE,ERR_R_MALLOC_FAILURE); diff --git a/crypto/asn1/x_x509.c b/crypto/asn1/x_x509.c index f1459a798..d6938f7da 100644 --- a/crypto/asn1/x_x509.c +++ b/crypto/asn1/x_x509.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "asn1_mac.h" +#include +#include /* * ASN1err(ASN1_F_D2I_X509,ERR_R_ASN1_LENGTH_MISMATCH); diff --git a/crypto/bf/Makefile.ssl b/crypto/bf/Makefile.ssl index 99e2807b2..65ded36f1 100644 --- a/crypto/bf/Makefile.ssl +++ b/crypto/bf/Makefile.ssl @@ -71,15 +71,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/bf/bf_cbc.c b/crypto/bf/bf_cbc.c index 90f1ffef2..95d1cdcdf 100644 --- a/crypto/bf/bf_cbc.c +++ b/crypto/bf/bf_cbc.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "blowfish.h" +#include #include "bf_locl.h" void BF_cbc_encrypt(unsigned char *in, unsigned char *out, long length, diff --git a/crypto/bf/bf_cfb64.c b/crypto/bf/bf_cfb64.c index 308b96586..1fb8905f4 100644 --- a/crypto/bf/bf_cfb64.c +++ b/crypto/bf/bf_cfb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "blowfish.h" +#include #include "bf_locl.h" /* The input and output encrypted as though 64bit cfb mode is being diff --git a/crypto/bf/bf_ecb.c b/crypto/bf/bf_ecb.c index 7abe20979..9f8a24cdf 100644 --- a/crypto/bf/bf_ecb.c +++ b/crypto/bf/bf_ecb.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "blowfish.h" +#include #include "bf_locl.h" -#include "opensslv.h" +#include /* Blowfish as implemented from 'Blowfish: Springer-Verlag paper' * (From LECTURE NOTES IN COIMPUTER SCIENCE 809, FAST SOFTWARE ENCRYPTION, diff --git a/crypto/bf/bf_enc.c b/crypto/bf/bf_enc.c index 9ae52425a..f8a95e214 100644 --- a/crypto/bf/bf_enc.c +++ b/crypto/bf/bf_enc.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "blowfish.h" +#include #include "bf_locl.h" /* Blowfish as implemented from 'Blowfish: Springer-Verlag paper' diff --git a/crypto/bf/bf_locl.h b/crypto/bf/bf_locl.h index c2b02439e..7936e6c56 100644 --- a/crypto/bf/bf_locl.h +++ b/crypto/bf/bf_locl.h @@ -58,7 +58,7 @@ #ifndef _HEADER_BF_LOCL_H #define _HEADER_BF_LOCL_H -#include "opensslconf.h" /* BF_PTR, BF_PTR2 */ +#include /* BF_PTR, BF_PTR2 */ #undef c2l #define c2l(c,l) (l =((unsigned long)(*((c)++))) , \ diff --git a/crypto/bf/bf_ofb64.c b/crypto/bf/bf_ofb64.c index 381f6a2a9..8ceb8d9bd 100644 --- a/crypto/bf/bf_ofb64.c +++ b/crypto/bf/bf_ofb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "blowfish.h" +#include #include "bf_locl.h" /* The input and output encrypted as though 64bit ofb mode is being diff --git a/crypto/bf/bf_opts.c b/crypto/bf/bf_opts.c index e818b76e5..f63fa8e16 100644 --- a/crypto/bf/bf_opts.c +++ b/crypto/bf/bf_opts.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "blowfish.h" +#include #define BF_DEFAULT_OPTIONS diff --git a/crypto/bf/bf_skey.c b/crypto/bf/bf_skey.c index f6c45535e..eefa8e6f5 100644 --- a/crypto/bf/bf_skey.c +++ b/crypto/bf/bf_skey.c @@ -58,7 +58,7 @@ #include #include -#include "blowfish.h" +#include #include "bf_locl.h" #include "bf_pi.h" diff --git a/crypto/bf/bfspeed.c b/crypto/bf/bfspeed.c index 983eba52f..8e770a9f8 100644 --- a/crypto/bf/bfspeed.c +++ b/crypto/bf/bfspeed.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "blowfish.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/bf/bftest.c b/crypto/bf/bftest.c index 06b528f64..df4c211d9 100644 --- a/crypto/bf/bftest.c +++ b/crypto/bf/bftest.c @@ -62,7 +62,7 @@ #include #include #include -#include "blowfish.h" +#include char *bf_key[2]={ "abcdefghijklmnopqrstuvwxyz", diff --git a/crypto/bio/Makefile.ssl b/crypto/bio/Makefile.ssl index fcf82783a..c8d20e7a4 100644 --- a/crypto/bio/Makefile.ssl +++ b/crypto/bio/Makefile.ssl @@ -55,15 +55,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER); \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c index 839dfeb15..71bbce8ce 100644 --- a/crypto/bio/b_dump.c +++ b/crypto/bio/b_dump.c @@ -62,7 +62,7 @@ #include #include "cryptlib.h" -#include "bio.h" +#include #define TRUNCATE #define DUMP_WIDTH 16 diff --git a/crypto/bio/b_print.c b/crypto/bio/b_print.c index cdadeb839..5fb89d4c2 100644 --- a/crypto/bio/b_print.c +++ b/crypto/bio/b_print.c @@ -62,7 +62,7 @@ #include #include "cryptlib.h" -#include "bio.h" +#include int BIO_printf ( VAR_PLIST( BIO *, bio ) ) VAR_ALIST diff --git a/crypto/bio/b_sock.c b/crypto/bio/b_sock.c index ff1a0a7dd..328394efe 100644 --- a/crypto/bio/b_sock.c +++ b/crypto/bio/b_sock.c @@ -63,7 +63,7 @@ #include #define USE_SOCKETS #include "cryptlib.h" -#include "bio.h" +#include /* BIOerr(BIO_F_WSASTARTUP,BIO_R_WSASTARTUP ); */ diff --git a/crypto/bio/bf_buff.c b/crypto/bio/bf_buff.c index c0f591880..d239fc000 100644 --- a/crypto/bio/bf_buff.c +++ b/crypto/bio/bf_buff.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "bio.h" -#include "evp.h" +#include +#include #ifndef NOPROTO static int buffer_write(BIO *h,char *buf,int num); diff --git a/crypto/bio/bf_nbio.c b/crypto/bio/bf_nbio.c index 502973808..148699694 100644 --- a/crypto/bio/bf_nbio.c +++ b/crypto/bio/bf_nbio.c @@ -59,9 +59,9 @@ #include #include #include "cryptlib.h" -#include "rand.h" -#include "bio.h" -#include "evp.h" +#include +#include +#include /* BIO_put and BIO_get both add to the digest, * BIO_gets returns the digest */ diff --git a/crypto/bio/bf_null.c b/crypto/bio/bf_null.c index 8bbf35314..c2e782f1e 100644 --- a/crypto/bio/bf_null.c +++ b/crypto/bio/bf_null.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "bio.h" -#include "evp.h" +#include +#include /* BIO_put and BIO_get both add to the digest, * BIO_gets returns the digest */ diff --git a/crypto/bio/bio.h b/crypto/bio/bio.h index 0b0ce795d..99a3c92b7 100644 --- a/crypto/bio/bio.h +++ b/crypto/bio/bio.h @@ -63,7 +63,7 @@ extern "C" { #endif -#include "crypto.h" +#include /* These are the 'types' of BIOs */ #define BIO_TYPE_NONE 0 diff --git a/crypto/bio/bio_cb.c b/crypto/bio/bio_cb.c index a37d8b4c2..37c7c2266 100644 --- a/crypto/bio/bio_cb.c +++ b/crypto/bio/bio_cb.c @@ -60,8 +60,8 @@ #include #include #include "cryptlib.h" -#include "bio.h" -#include "err.h" +#include +#include long MS_CALLBACK BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, long argl, long ret) diff --git a/crypto/bio/bio_err.c b/crypto/bio/bio_err.c index 78c41fdbe..349325282 100644 --- a/crypto/bio/bio_err.c +++ b/crypto/bio/bio_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "bio.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/bio/bio_lib.c b/crypto/bio/bio_lib.c index a73bca4b6..c0bda7a95 100644 --- a/crypto/bio/bio_lib.c +++ b/crypto/bio/bio_lib.c @@ -58,10 +58,10 @@ #include #include -#include "crypto.h" +#include #include "cryptlib.h" -#include "bio.h" -#include "stack.h" +#include +#include static STACK *bio_meth=NULL; static int bio_meth_num=0; diff --git a/crypto/bio/bss_acpt.c b/crypto/bio/bss_acpt.c index a179dfa3d..083d1b584 100644 --- a/crypto/bio/bss_acpt.c +++ b/crypto/bio/bss_acpt.c @@ -62,7 +62,7 @@ #include #define USE_SOCKETS #include "cryptlib.h" -#include "bio.h" +#include /* BIOerr(BIO_F_WSASTARTUP,BIO_R_WSASTARTUP ); */ diff --git a/crypto/bio/bss_conn.c b/crypto/bio/bss_conn.c index 4c5c3c67a..83ba60edf 100644 --- a/crypto/bio/bss_conn.c +++ b/crypto/bio/bss_conn.c @@ -62,7 +62,7 @@ #include #define USE_SOCKETS #include "cryptlib.h" -#include "bio.h" +#include /* BIOerr(BIO_F_WSASTARTUP,BIO_R_WSASTARTUP ); */ diff --git a/crypto/bio/bss_file.c b/crypto/bio/bss_file.c index 3ed5dab90..ab73b23d0 100644 --- a/crypto/bio/bss_file.c +++ b/crypto/bio/bss_file.c @@ -68,8 +68,8 @@ #include #include #include "cryptlib.h" -#include "bio.h" -#include "err.h" +#include +#include #if !defined(NO_STDIO) diff --git a/crypto/bio/bss_log.c b/crypto/bio/bss_log.c index e434f2905..c4e991bcc 100644 --- a/crypto/bio/bss_log.c +++ b/crypto/bio/bss_log.c @@ -75,8 +75,8 @@ #endif #include "cryptlib.h" -#include "buffer.h" -#include "err.h" +#include +#include #ifndef NO_SYSLOG diff --git a/crypto/bio/bss_mem.c b/crypto/bio/bss_mem.c index 893664777..edde3b4aa 100644 --- a/crypto/bio/bss_mem.c +++ b/crypto/bio/bss_mem.c @@ -59,7 +59,7 @@ #include #include #include "cryptlib.h" -#include "bio.h" +#include #ifndef NOPROTO static int mem_write(BIO *h,char *buf,int num); diff --git a/crypto/bio/bss_null.c b/crypto/bio/bss_null.c index 52f5da8b1..b2eb9ad14 100644 --- a/crypto/bio/bss_null.c +++ b/crypto/bio/bss_null.c @@ -59,7 +59,7 @@ #include #include #include "cryptlib.h" -#include "bio.h" +#include #ifndef NOPROTO static int null_write(BIO *h,char *buf,int num); diff --git a/crypto/bio/bss_rtcp.c b/crypto/bio/bss_rtcp.c index e07958cd7..925e9c811 100644 --- a/crypto/bio/bss_rtcp.c +++ b/crypto/bio/bss_rtcp.c @@ -65,7 +65,7 @@ #include #include #include "cryptlib.h" -#include "bio.h" +#include #include /* VMS IO$_ definitions */ extern int SYS$QIOW(); diff --git a/crypto/bio/bss_sock.c b/crypto/bio/bss_sock.c index 049606ee5..89b1dcab3 100644 --- a/crypto/bio/bss_sock.c +++ b/crypto/bio/bss_sock.c @@ -62,7 +62,7 @@ #include #define USE_SOCKETS #include "cryptlib.h" -#include "bio.h" +#include #ifndef BIO_FD #ifndef NOPROTO diff --git a/crypto/bn/Makefile.ssl b/crypto/bn/Makefile.ssl index 873b199f6..22917742a 100644 --- a/crypto/bn/Makefile.ssl +++ b/crypto/bn/Makefile.ssl @@ -114,15 +114,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; exptest: diff --git a/crypto/bn/bn.h b/crypto/bn/bn.h index fe764ded3..a90fd5938 100644 --- a/crypto/bn/bn.h +++ b/crypto/bn/bn.h @@ -59,7 +59,7 @@ #ifndef HEADER_BN_H #define HEADER_BN_H -#include "opensslconf.h" +#include #ifdef __cplusplus extern "C" { diff --git a/crypto/bn/bn_err.c b/crypto/bn/bn_err.c index 2041b018e..ec11ddd77 100644 --- a/crypto/bn/bn_err.c +++ b/crypto/bn/bn_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "bn.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/bn/bn_lcl.h b/crypto/bn/bn_lcl.h index 306dd679c..afa81b427 100644 --- a/crypto/bn/bn_lcl.h +++ b/crypto/bn/bn_lcl.h @@ -59,7 +59,7 @@ #ifndef HEADER_BN_LCL_H #define HEADER_BN_LCL_H -#include "bn.h" +#include #ifdef __cplusplus extern "C" { diff --git a/crypto/bn/bn_m.c b/crypto/bn/bn_m.c index 555514074..8f9ea507e 100644 --- a/crypto/bn/bn_m.c +++ b/crypto/bn/bn_m.c @@ -59,7 +59,7 @@ #include #include "cryptlib.h" #include "bn_lcl.h" -#include "stack.h" +#include int limit=16; diff --git a/crypto/bn/bn_opts.c b/crypto/bn/bn_opts.c index 2d04184c8..381be529b 100644 --- a/crypto/bn/bn_opts.c +++ b/crypto/bn/bn_opts.c @@ -62,10 +62,10 @@ #include #include #include -#include "crypto.h" -#include "tmdiff.h" -#include "bn.h" -#include "err.h" +#include +#include +#include +#include #define DEFAULT_SIZE 512 #define DEFAULT_TIME 3 diff --git a/crypto/bn/bn_prime.c b/crypto/bn/bn_prime.c index bd9900db4..6b96e1888 100644 --- a/crypto/bn/bn_prime.c +++ b/crypto/bn/bn_prime.c @@ -60,7 +60,7 @@ #include #include "cryptlib.h" #include "bn_lcl.h" -#include "rand.h" +#include /* The quick seive algorithm approach to weeding out primes is * Philip Zimmermann's, as implemented in PGP. I have had a read of diff --git a/crypto/bn/bn_print.c b/crypto/bn/bn_print.c index 9383ab2ae..1ec49ed3c 100644 --- a/crypto/bn/bn_print.c +++ b/crypto/bn/bn_print.c @@ -59,7 +59,7 @@ #include #include #include "cryptlib.h" -#include "buffer.h" +#include #include "bn_lcl.h" const static char *Hex="0123456789ABCDEF"; diff --git a/crypto/bn/bn_rand.c b/crypto/bn/bn_rand.c index 7d6f635b7..91b8e34ae 100644 --- a/crypto/bn/bn_rand.c +++ b/crypto/bn/bn_rand.c @@ -60,7 +60,7 @@ #include #include "cryptlib.h" #include "bn_lcl.h" -#include "rand.h" +#include int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) { diff --git a/crypto/bn/bnspeed.c b/crypto/bn/bnspeed.c index af4ebe798..6018ca979 100644 --- a/crypto/bn/bnspeed.c +++ b/crypto/bn/bnspeed.c @@ -66,8 +66,8 @@ #include #include #include -#include "crypto.h" -#include "err.h" +#include +#include #ifndef MSDOS #define TIMES @@ -100,8 +100,8 @@ struct tms { #include #endif -#include "bn.h" -#include "x509.h" +#include +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/bn/bntest.c b/crypto/bn/bntest.c index ab93138de..fb9d2a99f 100644 --- a/crypto/bn/bntest.c +++ b/crypto/bn/bntest.c @@ -59,12 +59,12 @@ #include #include #include -#include "e_os.h" -#include "bio.h" -#include "bn.h" -#include "rand.h" -#include "x509.h" -#include "err.h" +#include +#include +#include +#include +#include +#include #ifdef WINDOWS #include "../bio/bss_file.c" diff --git a/crypto/bn/d.c b/crypto/bn/d.c index f738b5025..ced2291b2 100644 --- a/crypto/bn/d.c +++ b/crypto/bn/d.c @@ -1,5 +1,5 @@ #include -#include "bio.h" +#include #include "bn_lcl.h" #define SIZE_A (100*4+4) diff --git a/crypto/bn/exp.c b/crypto/bn/exp.c index dd49d967a..ec443459d 100644 --- a/crypto/bn/exp.c +++ b/crypto/bn/exp.c @@ -1,5 +1,5 @@ #include -#include "tmdiff.h" +#include #include "bn_lcl.h" #define SIZE 256 diff --git a/crypto/bn/expspeed.c b/crypto/bn/expspeed.c index 7b7652d02..07c36b2dd 100644 --- a/crypto/bn/expspeed.c +++ b/crypto/bn/expspeed.c @@ -66,8 +66,8 @@ #include #include #include -#include "crypto.h" -#include "err.h" +#include +#include #ifndef MSDOS #define TIMES @@ -100,8 +100,8 @@ struct tms { #include #endif -#include "bn.h" -#include "x509.h" +#include +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/bn/exptest.c b/crypto/bn/exptest.c index 4816344f5..08039313a 100644 --- a/crypto/bn/exptest.c +++ b/crypto/bn/exptest.c @@ -59,10 +59,10 @@ #include #include #include -#include "bio.h" -#include "bn.h" -#include "rand.h" -#include "err.h" +#include +#include +#include +#include #ifdef WINDOWS #include "../bio/bss_file.c" #endif diff --git a/crypto/buffer/Makefile.ssl b/crypto/buffer/Makefile.ssl index 8142ac2ff..63e118826 100644 --- a/crypto/buffer/Makefile.ssl +++ b/crypto/buffer/Makefile.ssl @@ -47,15 +47,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/buffer/buf_err.c b/crypto/buffer/buf_err.c index 2f74b5f65..235753a66 100644 --- a/crypto/buffer/buf_err.c +++ b/crypto/buffer/buf_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "buffer.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/buffer/buffer.c b/crypto/buffer/buffer.c index da1924418..c3a108ea5 100644 --- a/crypto/buffer/buffer.c +++ b/crypto/buffer/buffer.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "buffer.h" +#include BUF_MEM *BUF_MEM_new(void) { diff --git a/crypto/cast/Makefile.ssl b/crypto/cast/Makefile.ssl index a976ea1ff..bbb329e22 100644 --- a/crypto/cast/Makefile.ssl +++ b/crypto/cast/Makefile.ssl @@ -74,15 +74,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/cast/c_cfb64.c b/crypto/cast/c_cfb64.c index a9d32517c..50d234b46 100644 --- a/crypto/cast/c_cfb64.c +++ b/crypto/cast/c_cfb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "cast.h" +#include #include "cast_lcl.h" /* The input and output encrypted as though 64bit cfb mode is being diff --git a/crypto/cast/c_ecb.c b/crypto/cast/c_ecb.c index a407a6d11..4b523ffc7 100644 --- a/crypto/cast/c_ecb.c +++ b/crypto/cast/c_ecb.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "cast.h" +#include #include "cast_lcl.h" -#include "opensslv.h" +#include char *CAST_version="CAST" OPENSSL_VERSION_PTEXT; diff --git a/crypto/cast/c_enc.c b/crypto/cast/c_enc.c index 2a26e277c..b62b4680b 100644 --- a/crypto/cast/c_enc.c +++ b/crypto/cast/c_enc.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "cast.h" +#include #include "cast_lcl.h" void CAST_encrypt(CAST_LONG *data, CAST_KEY *key) diff --git a/crypto/cast/c_ofb64.c b/crypto/cast/c_ofb64.c index 1ccaec797..4249870d9 100644 --- a/crypto/cast/c_ofb64.c +++ b/crypto/cast/c_ofb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "cast.h" +#include #include "cast_lcl.h" /* The input and output encrypted as though 64bit ofb mode is being diff --git a/crypto/cast/c_skey.c b/crypto/cast/c_skey.c index 7611f7a1e..acf2c3eeb 100644 --- a/crypto/cast/c_skey.c +++ b/crypto/cast/c_skey.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "cast.h" +#include #include "cast_lcl.h" #include "cast_s.h" diff --git a/crypto/cast/cast_spd.c b/crypto/cast/cast_spd.c index 5e3716af8..8163709fe 100644 --- a/crypto/cast/cast_spd.c +++ b/crypto/cast/cast_spd.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "cast.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/cast/castopts.c b/crypto/cast/castopts.c index 2c9e550cb..03398af7c 100644 --- a/crypto/cast/castopts.c +++ b/crypto/cast/castopts.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "cast.h" +#include #define CAST_DEFAULT_OPTIONS diff --git a/crypto/cast/casttest.c b/crypto/cast/casttest.c index 703926680..a8a707c71 100644 --- a/crypto/cast/casttest.c +++ b/crypto/cast/casttest.c @@ -59,7 +59,7 @@ #include #include #include -#include "cast.h" +#include #define FULL_TEST diff --git a/crypto/comp/Makefile.ssl b/crypto/comp/Makefile.ssl index 26e94b559..511c955ef 100644 --- a/crypto/comp/Makefile.ssl +++ b/crypto/comp/Makefile.ssl @@ -50,15 +50,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/comp/c_rle.c b/crypto/comp/c_rle.c index 32fa05fa9..1a819e373 100644 --- a/crypto/comp/c_rle.c +++ b/crypto/comp/c_rle.c @@ -1,8 +1,8 @@ #include #include #include -#include "objects.h" -#include "comp.h" +#include +#include static int rle_compress_block(COMP_CTX *ctx, unsigned char *out, unsigned int olen, unsigned char *in, unsigned int ilen); diff --git a/crypto/comp/c_zlib.c b/crypto/comp/c_zlib.c index 49be818dc..6684ab484 100644 --- a/crypto/comp/c_zlib.c +++ b/crypto/comp/c_zlib.c @@ -1,8 +1,8 @@ #include #include #include -#include "objects.h" -#include "comp.h" +#include +#include COMP_METHOD *COMP_zlib(void ); diff --git a/crypto/comp/comp.h b/crypto/comp/comp.h index 0b8608452..7870a1e73 100644 --- a/crypto/comp/comp.h +++ b/crypto/comp/comp.h @@ -6,7 +6,7 @@ extern "C" { #endif -#include "crypto.h" +#include typedef struct comp_method_st { diff --git a/crypto/comp/comp_err.c b/crypto/comp/comp_err.c index 3202068b0..e67c91d6b 100644 --- a/crypto/comp/comp_err.c +++ b/crypto/comp/comp_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "comp.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/comp/comp_lib.c b/crypto/comp/comp_lib.c index dec3b1fc7..a67ef23bc 100644 --- a/crypto/comp/comp_lib.c +++ b/crypto/comp/comp_lib.c @@ -1,8 +1,8 @@ #include #include #include -#include "objects.h" -#include "comp.h" +#include +#include COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) { diff --git a/crypto/conf/Makefile.ssl b/crypto/conf/Makefile.ssl index 614da0a5c..3a209b562 100644 --- a/crypto/conf/Makefile.ssl +++ b/crypto/conf/Makefile.ssl @@ -48,15 +48,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/conf/cnf_save.c b/crypto/conf/cnf_save.c index 632d17e48..e907cc224 100644 --- a/crypto/conf/cnf_save.c +++ b/crypto/conf/cnf_save.c @@ -57,7 +57,7 @@ */ #include -#include "conf.h" +#include void print_conf(CONF_VALUE *cv); diff --git a/crypto/conf/conf.c b/crypto/conf/conf.c index 532cc3ddb..f2387098e 100644 --- a/crypto/conf/conf.c +++ b/crypto/conf/conf.c @@ -59,11 +59,11 @@ #include #include #include "cryptlib.h" -#include "stack.h" -#include "lhash.h" -#include "conf.h" -#include "buffer.h" -#include "err.h" +#include +#include +#include +#include +#include #include "conf_lcl.h" diff --git a/crypto/conf/conf.h b/crypto/conf/conf.h index 1446226a1..45efed198 100644 --- a/crypto/conf/conf.h +++ b/crypto/conf/conf.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "stack.h" -#include "lhash.h" +#include +#include typedef struct { diff --git a/crypto/conf/conf_err.c b/crypto/conf/conf_err.c index ec4ab140a..24d722d80 100644 --- a/crypto/conf/conf_err.c +++ b/crypto/conf/conf_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "conf.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/conf/test.c b/crypto/conf/test.c index 9df6715d5..9390a48ba 100644 --- a/crypto/conf/test.c +++ b/crypto/conf/test.c @@ -58,8 +58,8 @@ #include #include -#include "conf.h" -#include "err.h" +#include +#include main() { diff --git a/crypto/cpt_err.c b/crypto/cpt_err.c index bea3274e3..2c064c511 100644 --- a/crypto/cpt_err.c +++ b/crypto/cpt_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "crypto.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/cryptall.h b/crypto/cryptall.h index 65a46452a..0ff375e95 100644 --- a/crypto/cryptall.h +++ b/crypto/cryptall.h @@ -59,52 +59,52 @@ #ifndef HEADER_CRYPTOALL_H #define HEADER_CRYPTOALL_H -#include "buffer.h" -#include "stack.h" -#include "lhash.h" +#include +#include +#include -#include "err.h" +#include #ifdef NO_MD2 #include #else -#include "md2.h" +#include #endif #ifdef NO_MD5 #include #else -#include "md5.h" +#include #endif -#include "sha.h" +#include #ifdef NO_DES #include #else -#include "des.h" +#include #endif -#include "rc2.h" -#include "rc4.h" -#include "idea.h" +#include +#include +#include -#include "bn.h" -#include "dh.h" -#include "rsa.h" -#include "dsa.h" +#include +#include +#include +#include -#include "rand.h" -#include "conf.h" -#include "txt_db.h" +#include +#include +#include -#include "err.h" -#include "evp.h" +#include +#include #include "meth.h" -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" -#include "asn1.h" -#include "objects.h" +#include +#include +#include +#include +#include -#include "crypto.h" +#include #endif diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 3285813a1..3169b26b3 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -59,7 +59,7 @@ #include #include #include "cryptlib.h" -#include "crypto.h" +#include #include "date.h" #if defined(WIN32) || defined(WIN16) diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h index e4b8f2af2..8671bea9f 100644 --- a/crypto/cryptlib.h +++ b/crypto/cryptlib.h @@ -68,17 +68,17 @@ extern "C" { /* #ifdef FLAT_INC */ -#include "e_os.h" -#include "crypto.h" -#include "buffer.h" -#include "bio.h" -#include "err.h" +#include +#include +#include +#include +#include /* #else #include "../e_os.h" -#include "crypto.h" +#include #include "buffer/buffer.h" #include "bio/bio.h" #include "err/err.h" diff --git a/crypto/crypto.c b/crypto/crypto.c index 7f89c5a60..2011dc368 100644 --- a/crypto/crypto.c +++ b/crypto/crypto.c @@ -115,25 +115,25 @@ #define USE_SOCKETS #include "../e_os.h" -#include "buffer.h" -#include "bio.h" -#include "stack.h" -#include "lhash.h" +#include +#include +#include +#include -#include "err.h" +#include -#include "bn.h" -#include "evp.h" +#include +#include -#include "rand.h" -#include "conf.h" -#include "txt_db.h" +#include +#include +#include -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" -#include "asn1.h" -#include "objects.h" +#include +#include +#include +#include +#include #ifdef CRYPTO_LIB_SUBSET #include "cryptlib.c" diff --git a/crypto/crypto.h b/crypto/crypto.h index 44d65f5f1..1f84d062d 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "stack.h" -#include "opensslv.h" +#include +#include /* Backward compatibility to SSLeay */ /* This is more to be used to check the correct DLL is being used diff --git a/crypto/cversion.c b/crypto/cversion.c index 8d18a95df..e4e6afa69 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -59,7 +59,7 @@ #include #include #include "cryptlib.h" -#include "crypto.h" +#include #include "date.h" const char *SSLeay_version(int t) diff --git a/crypto/des/Makefile.ssl b/crypto/des/Makefile.ssl index 084934793..c7d565401 100644 --- a/crypto/des/Makefile.ssl +++ b/crypto/des/Makefile.ssl @@ -101,7 +101,7 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile @$(TOP)/util/point.sh ../../perlasm asm/perlasm - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) @@ -110,8 +110,8 @@ install: installs installs: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/des/des.c b/crypto/des/des.c index 7dc3b565b..20b27d3a7 100644 --- a/crypto/des/des.c +++ b/crypto/des/des.c @@ -80,7 +80,7 @@ #if defined(NOCONST) #define const #endif -#include "des.h" +#include #if defined(__STDC__) || defined(VMS) || defined(M_XENIX) || defined(MSDOS) #include diff --git a/crypto/des/des.h b/crypto/des/des.h index 54f18c709..fba3d81c0 100644 --- a/crypto/des/des.h +++ b/crypto/des/des.h @@ -64,7 +64,7 @@ extern "C" { #endif #include -#include "opensslconf.h" /* DES_LONG */ +#include /* DES_LONG */ typedef unsigned char des_cblock[8]; typedef unsigned char *des_cblocks; /* Unfortunately there's no way to say that diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h index f94e9ff5d..e19481744 100644 --- a/crypto/des/des_locl.h +++ b/crypto/des/des_locl.h @@ -70,9 +70,9 @@ #ifndef MSDOS #include #endif -#include "des.h" +#include -#include "opensslconf.h" +#include #ifdef MSDOS /* Visual C++ 2.1 (Windows NT/95) */ #include diff --git a/crypto/des/des_opts.c b/crypto/des/des_opts.c index 7ef05c187..4ae3dae76 100644 --- a/crypto/des/des_opts.c +++ b/crypto/des/des_opts.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "des.h" +#include #include "spr.h" #define DES_DEFAULT_OPTIONS diff --git a/crypto/des/destest.c b/crypto/des/destest.c index 746a284d4..39fc8123e 100644 --- a/crypto/des/destest.c +++ b/crypto/des/destest.c @@ -70,7 +70,7 @@ #include #endif #include -#include "des.h" +#include #if defined(PERL5) || defined(__FreeBSD__) #define crypt(c,s) (des_crypt((c),(s))) diff --git a/crypto/des/ecb_enc.c b/crypto/des/ecb_enc.c index 9de7b1d5c..d664bdeeb 100644 --- a/crypto/des/ecb_enc.c +++ b/crypto/des/ecb_enc.c @@ -58,7 +58,7 @@ #include "des_locl.h" #include "spr.h" -#include "opensslv.h" +#include const char *libdes_version="libdes v 3.24 - 20-Apr-1996 - eay"; const char *DES_version="DES" OPENSSL_VERSION_PTEXT; diff --git a/crypto/des/rpw.c b/crypto/des/rpw.c index bf9d35ca3..e0ba7a259 100644 --- a/crypto/des/rpw.c +++ b/crypto/des/rpw.c @@ -57,7 +57,7 @@ */ #include -#include "des.h" +#include int main(int argc, char *argv[]) { diff --git a/crypto/des/speed.c b/crypto/des/speed.c index 1384c9419..cfc78ab49 100644 --- a/crypto/des/speed.c +++ b/crypto/des/speed.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "des.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/dh/Makefile.ssl b/crypto/dh/Makefile.ssl index 20ef883a8..514d55284 100644 --- a/crypto/dh/Makefile.ssl +++ b/crypto/dh/Makefile.ssl @@ -47,15 +47,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/dh/dh.h b/crypto/dh/dh.h index 5431725b8..dc0df313c 100644 --- a/crypto/dh/dh.h +++ b/crypto/dh/dh.h @@ -63,7 +63,7 @@ extern "C" { #endif -#include "bn.h" +#include #define DH_FLAG_CACHE_MONT_P 0x01 diff --git a/crypto/dh/dh_check.c b/crypto/dh/dh_check.c index e631f6071..95ce9cfad 100644 --- a/crypto/dh/dh_check.c +++ b/crypto/dh/dh_check.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dh.h" +#include +#include /* Check that p is a strong prime and * if g is 2, 3 or 5, check that is is a suitable generator diff --git a/crypto/dh/dh_err.c b/crypto/dh/dh_err.c index 5c1a12941..986fe6ce7 100644 --- a/crypto/dh/dh_err.c +++ b/crypto/dh/dh_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "dh.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/dh/dh_gen.c b/crypto/dh/dh_gen.c index fc577af05..32237e8b9 100644 --- a/crypto/dh/dh_gen.c +++ b/crypto/dh/dh_gen.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dh.h" +#include +#include /* We generate DH parameters as follows * find a prime q which is prime_len/2 bits long. diff --git a/crypto/dh/dh_key.c b/crypto/dh/dh_key.c index 25cc635e6..cede53bfc 100644 --- a/crypto/dh/dh_key.c +++ b/crypto/dh/dh_key.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rand.h" -#include "dh.h" +#include +#include +#include int DH_generate_key(DH *dh) { diff --git a/crypto/dh/dh_lib.c b/crypto/dh/dh_lib.c index 12b40cd1a..61e0720e8 100644 --- a/crypto/dh/dh_lib.c +++ b/crypto/dh/dh_lib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dh.h" +#include +#include const char *DH_version="Diffie-Hellman" OPENSSL_VERSION_PTEXT; diff --git a/crypto/dh/dhtest.c b/crypto/dh/dhtest.c index 249a2ecc0..24e361c3d 100644 --- a/crypto/dh/dhtest.c +++ b/crypto/dh/dhtest.c @@ -62,10 +62,10 @@ #ifdef WINDOWS #include "../bio/bss_file.c" #endif -#include "crypto.h" -#include "bio.h" -#include "bn.h" -#include "dh.h" +#include +#include +#include +#include #ifdef WIN16 #define MS_CALLBACK _far _loadds diff --git a/crypto/dh/p1024.c b/crypto/dh/p1024.c index 0c50c24cf..368ceca4e 100644 --- a/crypto/dh/p1024.c +++ b/crypto/dh/p1024.c @@ -57,10 +57,10 @@ */ #include -#include "bn.h" -#include "asn1.h" -#include "dh.h" -#include "pem.h" +#include +#include +#include +#include unsigned char data[]={0x97,0xF6,0x42,0x61,0xCA,0xB5,0x05,0xDD, 0x28,0x28,0xE1,0x3F,0x1D,0x68,0xB6,0xD3, diff --git a/crypto/dh/p192.c b/crypto/dh/p192.c index 881908169..7bdf40410 100644 --- a/crypto/dh/p192.c +++ b/crypto/dh/p192.c @@ -57,10 +57,10 @@ */ #include -#include "bn.h" -#include "asn1.h" -#include "dh.h" -#include "pem.h" +#include +#include +#include +#include unsigned char data[]={ 0xD4,0xA0,0xBA,0x02,0x50,0xB6,0xFD,0x2E, diff --git a/crypto/dh/p512.c b/crypto/dh/p512.c index cc84e8e50..a9b6aa83f 100644 --- a/crypto/dh/p512.c +++ b/crypto/dh/p512.c @@ -57,10 +57,10 @@ */ #include -#include "bn.h" -#include "asn1.h" -#include "dh.h" -#include "pem.h" +#include +#include +#include +#include unsigned char data[]={ 0xDA,0x58,0x3C,0x16,0xD9,0x85,0x22,0x89, diff --git a/crypto/dsa/Makefile.ssl b/crypto/dsa/Makefile.ssl index 8f9dc77de..4ee5a9ed3 100644 --- a/crypto/dsa/Makefile.ssl +++ b/crypto/dsa/Makefile.ssl @@ -47,15 +47,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/dsa/dsa.h b/crypto/dsa/dsa.h index 4d8aad63c..6ae1783d6 100644 --- a/crypto/dsa/dsa.h +++ b/crypto/dsa/dsa.h @@ -69,7 +69,7 @@ extern "C" { #endif -#include "bn.h" +#include #define DSA_FLAG_CACHE_MONT_P 0x01 diff --git a/crypto/dsa/dsa_asn1.c b/crypto/dsa/dsa_asn1.c index 97c37fb59..7523b2165 100644 --- a/crypto/dsa/dsa_asn1.c +++ b/crypto/dsa/dsa_asn1.c @@ -2,9 +2,9 @@ #include #include "cryptlib.h" -#include "dsa.h" -#include "asn1.h" -#include "asn1_mac.h" +#include +#include +#include DSA_SIG *DSA_SIG_new(void) { diff --git a/crypto/dsa/dsa_err.c b/crypto/dsa/dsa_err.c index d4cbe1d74..149a9146c 100644 --- a/crypto/dsa/dsa_err.c +++ b/crypto/dsa/dsa_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "dsa.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/dsa/dsa_gen.c b/crypto/dsa/dsa_gen.c index 4f677d5b9..9ea53d442 100644 --- a/crypto/dsa/dsa_gen.c +++ b/crypto/dsa/dsa_gen.c @@ -67,10 +67,10 @@ #include #include #include "cryptlib.h" -#include "sha.h" -#include "bn.h" -#include "dsa.h" -#include "rand.h" +#include +#include +#include +#include DSA *DSA_generate_parameters(int bits, unsigned char *seed_in, int seed_len, int *counter_ret, unsigned long *h_ret, void (*callback)(), diff --git a/crypto/dsa/dsa_key.c b/crypto/dsa/dsa_key.c index 21ed0f65e..e974861c5 100644 --- a/crypto/dsa/dsa_key.c +++ b/crypto/dsa/dsa_key.c @@ -59,10 +59,10 @@ #include #include #include "cryptlib.h" -#include "sha.h" -#include "bn.h" -#include "dsa.h" -#include "rand.h" +#include +#include +#include +#include int DSA_generate_key(DSA *dsa) { diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c index 1bd89ae4c..8923fb45f 100644 --- a/crypto/dsa/dsa_lib.c +++ b/crypto/dsa/dsa_lib.c @@ -60,9 +60,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "asn1.h" +#include +#include +#include const char *DSA_version="DSA" OPENSSL_VERSION_PTEXT; diff --git a/crypto/dsa/dsa_sign.c b/crypto/dsa/dsa_sign.c index f823e5dee..709d93ee7 100644 --- a/crypto/dsa/dsa_sign.c +++ b/crypto/dsa/dsa_sign.c @@ -60,10 +60,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "rand.h" -#include "asn1.h" +#include +#include +#include +#include DSA_SIG * DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa) { diff --git a/crypto/dsa/dsa_vrf.c b/crypto/dsa/dsa_vrf.c index ca51ad2e5..ff552208a 100644 --- a/crypto/dsa/dsa_vrf.c +++ b/crypto/dsa/dsa_vrf.c @@ -60,11 +60,11 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "dsa.h" -#include "rand.h" -#include "asn1.h" -#include "asn1_mac.h" +#include +#include +#include +#include +#include int DSA_do_verify(const unsigned char *dgst, int dgst_len, DSA_SIG *sig, DSA *dsa) diff --git a/crypto/dsa/dsagen.c b/crypto/dsa/dsagen.c index ce08d1035..a0b097664 100644 --- a/crypto/dsa/dsagen.c +++ b/crypto/dsa/dsagen.c @@ -57,7 +57,7 @@ */ #include -#include "dsa.h" +#include #define TEST #define GENUINE_DSA diff --git a/crypto/dsa/dsatest.c b/crypto/dsa/dsatest.c index 77b8cd800..1613f5350 100644 --- a/crypto/dsa/dsatest.c +++ b/crypto/dsa/dsatest.c @@ -61,11 +61,11 @@ #include #include #include -#include "crypto.h" -#include "rand.h" -#include "bio.h" -#include "err.h" -#include "dsa.h" +#include +#include +#include +#include +#include #ifdef WINDOWS #include "../bio/bss_file.c" #endif diff --git a/crypto/err/Makefile.ssl b/crypto/err/Makefile.ssl index 03fd6af4a..de867c9b6 100644 --- a/crypto/err/Makefile.ssl +++ b/crypto/err/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/err/err.c b/crypto/err/err.c index db78aa787..cf31f4f51 100644 --- a/crypto/err/err.c +++ b/crypto/err/err.c @@ -57,12 +57,12 @@ */ #include -#include "lhash.h" -#include "crypto.h" +#include +#include #include "cryptlib.h" -#include "buffer.h" -#include "err.h" -#include "crypto.h" +#include +#include +#include static LHASH *error_hash=NULL; diff --git a/crypto/err/err_all.c b/crypto/err/err_all.c index 2479d6b41..ad820227d 100644 --- a/crypto/err/err_all.c +++ b/crypto/err/err_all.c @@ -57,30 +57,30 @@ */ #include -#include "asn1.h" -#include "bn.h" -#include "buffer.h" -#include "bio.h" +#include +#include +#include +#include #ifndef NO_RSA -#include "rsa.h" +#include #endif #ifdef RSAref -#include "rsaref.h" +#include #endif #ifndef NO_DH -#include "dh.h" +#include #endif #ifndef NO_DSA -#include "dsa.h" +#include #endif -#include "evp.h" -#include "objects.h" -#include "pem2.h" -#include "x509.h" -#include "x509v3.h" -#include "conf.h" -#include "pkcs12.h" -#include "err.h" +#include +#include +#include +#include +#include +#include +#include +#include void ERR_load_crypto_strings(void) { diff --git a/crypto/err/err_prn.c b/crypto/err/err_prn.c index c72713b6c..0999ff214 100644 --- a/crypto/err/err_prn.c +++ b/crypto/err/err_prn.c @@ -57,12 +57,12 @@ */ #include -#include "lhash.h" -#include "crypto.h" +#include +#include #include "cryptlib.h" -#include "buffer.h" -#include "err.h" -#include "crypto.h" +#include +#include +#include #ifndef NO_FP_API void ERR_print_errors_fp(FILE *fp) diff --git a/crypto/evp/Makefile.ssl b/crypto/evp/Makefile.ssl index 039624514..a5ece99e9 100644 --- a/crypto/evp/Makefile.ssl +++ b/crypto/evp/Makefile.ssl @@ -74,15 +74,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/evp/bio_b64.c b/crypto/evp/bio_b64.c index a68006420..f9d434b29 100644 --- a/crypto/evp/bio_b64.c +++ b/crypto/evp/bio_b64.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "buffer.h" -#include "evp.h" +#include +#include #ifndef NOPROTO static int b64_write(BIO *h,char *buf,int num); diff --git a/crypto/evp/bio_enc.c b/crypto/evp/bio_enc.c index d83e1fd13..9aaba043c 100644 --- a/crypto/evp/bio_enc.c +++ b/crypto/evp/bio_enc.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "buffer.h" -#include "evp.h" +#include +#include #ifndef NOPROTO static int enc_write(BIO *h,char *buf,int num); diff --git a/crypto/evp/bio_md.c b/crypto/evp/bio_md.c index 78c4c1f4e..05f258523 100644 --- a/crypto/evp/bio_md.c +++ b/crypto/evp/bio_md.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "buffer.h" -#include "evp.h" +#include +#include /* BIO_put and BIO_get both add to the digest, * BIO_gets returns the digest */ diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c index 151a95c3c..328bbd6c2 100644 --- a/crypto/evp/bio_ok.c +++ b/crypto/evp/bio_ok.c @@ -120,10 +120,10 @@ #include #include #include "cryptlib.h" -#include "buffer.h" -#include "bio.h" -#include "evp.h" -#include "rand.h" +#include +#include +#include +#include #ifndef NOPROTO static int ok_write(BIO *h,char *buf,int num); diff --git a/crypto/evp/c_all.c b/crypto/evp/c_all.c index edaeda859..b48563e3c 100644 --- a/crypto/evp/c_all.c +++ b/crypto/evp/c_all.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "pkcs12.h" -#include "objects.h" +#include +#include +#include void SSLeay_add_all_algorithms(void) { diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c index c2c603ea6..89575b5da 100644 --- a/crypto/evp/digest.c +++ b/crypto/evp/digest.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "objects.h" -#include "evp.h" +#include +#include void EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) { diff --git a/crypto/evp/e_cbc_3d.c b/crypto/evp/e_cbc_3d.c index f68f02b12..2e0f80b88 100644 --- a/crypto/evp/e_cbc_3d.c +++ b/crypto/evp/e_cbc_3d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_cbc_ede_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cbc_bf.c b/crypto/evp/e_cbc_bf.c index 1125ca527..86f997ca4 100644 --- a/crypto/evp/e_cbc_bf.c +++ b/crypto/evp/e_cbc_bf.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void bf_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cbc_c.c b/crypto/evp/e_cbc_c.c index 8f0eb5aed..48da3ef57 100644 --- a/crypto/evp/e_cbc_c.c +++ b/crypto/evp/e_cbc_c.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void cast_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cbc_d.c b/crypto/evp/e_cbc_d.c index eb7a24f3c..e97368142 100644 --- a/crypto/evp/e_cbc_d.c +++ b/crypto/evp/e_cbc_d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cbc_i.c b/crypto/evp/e_cbc_i.c index be7461cda..d5210ca06 100644 --- a/crypto/evp/e_cbc_i.c +++ b/crypto/evp/e_cbc_i.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void idea_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cbc_r2.c b/crypto/evp/e_cbc_r2.c index b30ff6659..695b21151 100644 --- a/crypto/evp/e_cbc_r2.c +++ b/crypto/evp/e_cbc_r2.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc2_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cbc_r5.c b/crypto/evp/e_cbc_r5.c index 93aa22e45..b9418b551 100644 --- a/crypto/evp/e_cbc_r5.c +++ b/crypto/evp/e_cbc_r5.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void r_32_12_16_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_3d.c b/crypto/evp/e_cfb_3d.c index e1fc9751e..a0321fa13 100644 --- a/crypto/evp/e_cfb_3d.c +++ b/crypto/evp/e_cfb_3d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_ede_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_bf.c b/crypto/evp/e_cfb_bf.c index ca13c8b83..1d7e8bbd7 100644 --- a/crypto/evp/e_cfb_bf.c +++ b/crypto/evp/e_cfb_bf.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void bf_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_c.c b/crypto/evp/e_cfb_c.c index 3bfdeba40..0e77e6926 100644 --- a/crypto/evp/e_cfb_c.c +++ b/crypto/evp/e_cfb_c.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void cast_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_d.c b/crypto/evp/e_cfb_d.c index 08fad964a..863edca3f 100644 --- a/crypto/evp/e_cfb_d.c +++ b/crypto/evp/e_cfb_d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_i.c b/crypto/evp/e_cfb_i.c index 85e791faf..7d9e029ad 100644 --- a/crypto/evp/e_cfb_i.c +++ b/crypto/evp/e_cfb_i.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void idea_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_r2.c b/crypto/evp/e_cfb_r2.c index 78b9f4c14..68c4eba96 100644 --- a/crypto/evp/e_cfb_r2.c +++ b/crypto/evp/e_cfb_r2.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc2_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_cfb_r5.c b/crypto/evp/e_cfb_r5.c index 6031ffc76..5eb54ba0a 100644 --- a/crypto/evp/e_cfb_r5.c +++ b/crypto/evp/e_cfb_r5.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc5_32_12_16_cfb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_dsa.c b/crypto/evp/e_dsa.c index 6715c3e95..b96f2738b 100644 --- a/crypto/evp/e_dsa.c +++ b/crypto/evp/e_dsa.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_PKEY_METHOD dss_method= { diff --git a/crypto/evp/e_ecb_3d.c b/crypto/evp/e_ecb_3d.c index bb4e1b383..93dc8874a 100644 --- a/crypto/evp/e_ecb_3d.c +++ b/crypto/evp/e_ecb_3d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_ede_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ecb_bf.c b/crypto/evp/e_ecb_bf.c index 09c8a8ba4..e6d31898e 100644 --- a/crypto/evp/e_ecb_bf.c +++ b/crypto/evp/e_ecb_bf.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void bf_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ecb_c.c b/crypto/evp/e_ecb_c.c index bd408ce53..f45b7e086 100644 --- a/crypto/evp/e_ecb_c.c +++ b/crypto/evp/e_ecb_c.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void cast_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ecb_d.c b/crypto/evp/e_ecb_d.c index 930bad5c8..a9edc530d 100644 --- a/crypto/evp/e_ecb_d.c +++ b/crypto/evp/e_ecb_d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ecb_i.c b/crypto/evp/e_ecb_i.c index 28934917e..a9948ce49 100644 --- a/crypto/evp/e_ecb_i.c +++ b/crypto/evp/e_ecb_i.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void idea_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ecb_r2.c b/crypto/evp/e_ecb_r2.c index f052b181d..1c7a396e5 100644 --- a/crypto/evp/e_ecb_r2.c +++ b/crypto/evp/e_ecb_r2.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc2_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ecb_r5.c b/crypto/evp/e_ecb_r5.c index 2c3203d43..decd79f44 100644 --- a/crypto/evp/e_ecb_r5.c +++ b/crypto/evp/e_ecb_r5.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc5_32_12_16_ecb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_null.c b/crypto/evp/e_null.c index 374b01c88..db31fb9f0 100644 --- a/crypto/evp/e_null.c +++ b/crypto/evp/e_null.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void null_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_3d.c b/crypto/evp/e_ofb_3d.c index 8d42f1671..84b478daf 100644 --- a/crypto/evp/e_ofb_3d.c +++ b/crypto/evp/e_ofb_3d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_ede_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_bf.c b/crypto/evp/e_ofb_bf.c index b1753e60c..87f117778 100644 --- a/crypto/evp/e_ofb_bf.c +++ b/crypto/evp/e_ofb_bf.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void bf_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_c.c b/crypto/evp/e_ofb_c.c index fb7b501fb..120e99239 100644 --- a/crypto/evp/e_ofb_c.c +++ b/crypto/evp/e_ofb_c.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void cast_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_d.c b/crypto/evp/e_ofb_d.c index ae0c793e5..abb832e08 100644 --- a/crypto/evp/e_ofb_d.c +++ b/crypto/evp/e_ofb_d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void des_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_i.c b/crypto/evp/e_ofb_i.c index 7d6866618..0af2b9e35 100644 --- a/crypto/evp/e_ofb_i.c +++ b/crypto/evp/e_ofb_i.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void idea_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_r2.c b/crypto/evp/e_ofb_r2.c index 73590a296..09821fcf0 100644 --- a/crypto/evp/e_ofb_r2.c +++ b/crypto/evp/e_ofb_r2.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc2_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_ofb_r5.c b/crypto/evp/e_ofb_r5.c index 8cf021988..324065d85 100644 --- a/crypto/evp/e_ofb_r5.c +++ b/crypto/evp/e_ofb_r5.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc5_32_12_16_ofb_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_rc4.c b/crypto/evp/e_rc4.c index 1552379a4..2e96bffdf 100644 --- a/crypto/evp/e_rc4.c +++ b/crypto/evp/e_rc4.c @@ -60,8 +60,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void rc4_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/e_xcbc_d.c b/crypto/evp/e_xcbc_d.c index e697db73e..001a77f1d 100644 --- a/crypto/evp/e_xcbc_d.c +++ b/crypto/evp/e_xcbc_d.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include #ifndef NOPROTO static void desx_cbc_init_key(EVP_CIPHER_CTX *ctx, unsigned char *key, diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c index 0fd73f745..20d6ec6dd 100644 --- a/crypto/evp/encode.c +++ b/crypto/evp/encode.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "evp.h" +#include #define conv_bin2ascii(a) (data_bin2ascii[(a)&0x3f]) #define conv_ascii2bin(a) (data_ascii2bin[(a)&0x7f]) diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index b8d645e12..bf320a6b3 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -64,40 +64,40 @@ extern "C" { #endif #ifndef NO_MD2 -#include "md2.h" +#include #endif #ifndef NO_MD5 -#include "md5.h" +#include #endif #if !defined(NO_SHA) || !defined(NO_SHA1) -#include "sha.h" +#include #endif #ifndef NO_RMD160 -#include "ripemd.h" +#include #endif #ifndef NO_DES -#include "des.h" +#include #endif #ifndef NO_RC4 -#include "rc4.h" +#include #endif #ifndef NO_RC2 -#include "rc2.h" +#include #endif #ifndef NO_RC5 -#include "rc5.h" +#include #endif #ifndef NO_BLOWFISH -#include "blowfish.h" +#include #endif #ifndef NO_CAST -#include "cast.h" +#include #endif #ifndef NO_IDEA -#include "idea.h" +#include #endif #ifndef NO_MDC2 -#include "mdc2.h" +#include #endif #define EVP_RC2_KEY_SIZE 16 @@ -110,24 +110,24 @@ extern "C" { #define EVP_MAX_IV_LENGTH 8 #ifndef NO_RSA -#include "rsa.h" +#include #else #define RSA long #endif #ifndef NO_DSA -#include "dsa.h" +#include #else #define DSA long #endif #ifndef NO_DH -#include "dh.h" +#include #else #define DH long #endif -#include "objects.h" +#include #define EVP_PK_RSA 0x0001 #define EVP_PK_DSA 0x0002 diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c index cc7a38120..5299a65b6 100644 --- a/crypto/evp/evp_enc.c +++ b/crypto/evp/evp_enc.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "evp.h" +#include const char *EVP_version="EVP" OPENSSL_VERSION_PTEXT; diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index 04a60881c..d0d3d7251 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "evp.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/evp/evp_key.c b/crypto/evp/evp_key.c index fd3a3d12a..28398bcba 100644 --- a/crypto/evp/evp_key.c +++ b/crypto/evp/evp_key.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "x509.h" -#include "objects.h" -#include "evp.h" +#include +#include +#include /* should be init to zeros. */ static char prompt_string[80]; diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index 22ae261c8..6b677fdf6 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" +#include +#include int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type) { diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c index ee4f21fb9..02ae151cf 100644 --- a/crypto/evp/evp_pbe.c +++ b/crypto/evp/evp_pbe.c @@ -57,8 +57,8 @@ */ #include -#include "evp.h" -#include "x509.h" +#include +#include #include "cryptlib.h" /* Password based encryption (PBE) functions */ diff --git a/crypto/evp/evp_pkey.c b/crypto/evp/evp_pkey.c index 7ca816823..8bea61ebb 100644 --- a/crypto/evp/evp_pkey.c +++ b/crypto/evp/evp_pkey.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "x509.h" -#include "rand.h" +#include +#include /* Extract a private key from a PKCS8 structure */ diff --git a/crypto/evp/m_dss.c b/crypto/evp/m_dss.c index 80b4eca13..356b936a1 100644 --- a/crypto/evp/m_dss.c +++ b/crypto/evp/m_dss.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD dsa_md= { diff --git a/crypto/evp/m_dss1.c b/crypto/evp/m_dss1.c index 2af70fdb6..4315086ab 100644 --- a/crypto/evp/m_dss1.c +++ b/crypto/evp/m_dss1.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD dss1_md= { diff --git a/crypto/evp/m_md2.c b/crypto/evp/m_md2.c index fcd3d32de..4b8423828 100644 --- a/crypto/evp/m_md2.c +++ b/crypto/evp/m_md2.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD md2_md= { diff --git a/crypto/evp/m_md5.c b/crypto/evp/m_md5.c index df3360897..18531b67a 100644 --- a/crypto/evp/m_md5.c +++ b/crypto/evp/m_md5.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD md5_md= { diff --git a/crypto/evp/m_mdc2.c b/crypto/evp/m_mdc2.c index 94abbd4ef..2e5962860 100644 --- a/crypto/evp/m_mdc2.c +++ b/crypto/evp/m_mdc2.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD mdc2_md= { diff --git a/crypto/evp/m_null.c b/crypto/evp/m_null.c index d95367285..e2dadf3da 100644 --- a/crypto/evp/m_null.c +++ b/crypto/evp/m_null.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static void function(void) { diff --git a/crypto/evp/m_ripemd.c b/crypto/evp/m_ripemd.c index c3d7492aa..87619ed8c 100644 --- a/crypto/evp/m_ripemd.c +++ b/crypto/evp/m_ripemd.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD ripemd160_md= { diff --git a/crypto/evp/m_sha.c b/crypto/evp/m_sha.c index 2b5da3411..8213c3648 100644 --- a/crypto/evp/m_sha.c +++ b/crypto/evp/m_sha.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD sha_md= { diff --git a/crypto/evp/m_sha1.c b/crypto/evp/m_sha1.c index 6c4b6aa48..5d5480659 100644 --- a/crypto/evp/m_sha1.c +++ b/crypto/evp/m_sha1.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static EVP_MD sha1_md= { diff --git a/crypto/evp/names.c b/crypto/evp/names.c index 250356c84..3e8f46032 100644 --- a/crypto/evp/names.c +++ b/crypto/evp/names.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int EVP_add_cipher(EVP_CIPHER *c) { diff --git a/crypto/evp/p_dec.c b/crypto/evp/p_dec.c index 0533a8490..57b5daa45 100644 --- a/crypto/evp/p_dec.c +++ b/crypto/evp/p_dec.c @@ -58,13 +58,13 @@ #include #include "cryptlib.h" -#include "rand.h" +#include #ifndef NO_RSA -#include "rsa.h" +#include #endif -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int EVP_PKEY_decrypt(unsigned char *key, unsigned char *ek, int ekl, EVP_PKEY *priv) diff --git a/crypto/evp/p_enc.c b/crypto/evp/p_enc.c index 8d54f1a2f..4cf6acaf5 100644 --- a/crypto/evp/p_enc.c +++ b/crypto/evp/p_enc.c @@ -58,13 +58,13 @@ #include #include "cryptlib.h" -#include "rand.h" +#include #ifndef NO_RSA -#include "rsa.h" +#include #endif -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int EVP_PKEY_encrypt(unsigned char *ek, unsigned char *key, int key_len, EVP_PKEY *pubk) diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 238dacccd..d4aac4243 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "objects.h" -#include "evp.h" -#include "asn1_mac.h" -#include "x509.h" +#include +#include +#include +#include /* EVPerr(EVP_F_D2I_PKEY,EVP_R_UNSUPPORTED_CIPHER); */ /* EVPerr(EVP_F_D2I_PKEY,EVP_R_IV_TOO_LARGE); */ diff --git a/crypto/evp/p_open.c b/crypto/evp/p_open.c index e6af915c0..6b532949a 100644 --- a/crypto/evp/p_open.c +++ b/crypto/evp/p_open.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int EVP_OpenInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char *ek, int ekl, unsigned char *iv, EVP_PKEY *priv) diff --git a/crypto/evp/p_seal.c b/crypto/evp/p_seal.c index 618bdc10b..cd2927677 100644 --- a/crypto/evp/p_seal.c +++ b/crypto/evp/p_seal.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "rand.h" -#include "rsa.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include +#include int EVP_SealInit(EVP_CIPHER_CTX *ctx, EVP_CIPHER *type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, int npubk) diff --git a/crypto/evp/p_sign.c b/crypto/evp/p_sign.c index 2eeb4107d..1fa32ac17 100644 --- a/crypto/evp/p_sign.c +++ b/crypto/evp/p_sign.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include #ifdef undef void EVP_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) diff --git a/crypto/evp/p_verify.c b/crypto/evp/p_verify.c index 0142ecbf0..dcb54f3ab 100644 --- a/crypto/evp/p_verify.c +++ b/crypto/evp/p_verify.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int EVP_VerifyFinal(EVP_MD_CTX *ctx, unsigned char *sigbuf, unsigned int siglen, EVP_PKEY *pkey) diff --git a/crypto/ex_data.c b/crypto/ex_data.c index 01d1e5169..a60d58e81 100644 --- a/crypto/ex_data.c +++ b/crypto/ex_data.c @@ -58,9 +58,9 @@ #include #include -#include "buffer.h" -#include "bio.h" -#include "lhash.h" +#include +#include +#include #include "cryptlib.h" int CRYPTO_get_ex_new_index(int idx, STACK **skp, long argl, char *argp, diff --git a/crypto/hmac/Makefile.ssl b/crypto/hmac/Makefile.ssl index 294ff15e2..2853525e2 100644 --- a/crypto/hmac/Makefile.ssl +++ b/crypto/hmac/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/hmac/hmac.c b/crypto/hmac/hmac.c index bf293804c..d31e880e6 100644 --- a/crypto/hmac/hmac.c +++ b/crypto/hmac/hmac.c @@ -58,7 +58,7 @@ #include #include #include -#include "hmac.h" +#include void HMAC_Init(HMAC_CTX *ctx, const unsigned char *key, int len, const EVP_MD *md) diff --git a/crypto/hmac/hmac.h b/crypto/hmac/hmac.h index 2fc974417..c2fe29f55 100644 --- a/crypto/hmac/hmac.h +++ b/crypto/hmac/hmac.h @@ -62,7 +62,7 @@ extern "C" { #endif -#include "evp.h" +#include #define HMAC_MAX_MD_CBLOCK 64 diff --git a/crypto/hmac/hmactest.c b/crypto/hmac/hmactest.c index 13b394634..40344e995 100644 --- a/crypto/hmac/hmactest.c +++ b/crypto/hmac/hmactest.c @@ -59,7 +59,7 @@ #include #include #include -#include "hmac.h" +#include struct test_st { diff --git a/crypto/idea/Makefile.ssl b/crypto/idea/Makefile.ssl index 8de0df009..8492b842a 100644 --- a/crypto/idea/Makefile.ssl +++ b/crypto/idea/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/idea/i_cbc.c b/crypto/idea/i_cbc.c index 13b255e94..891a46532 100644 --- a/crypto/idea/i_cbc.c +++ b/crypto/idea/i_cbc.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" void idea_cbc_encrypt(unsigned char *in, unsigned char *out, long length, diff --git a/crypto/idea/i_cfb64.c b/crypto/idea/i_cfb64.c index 8dda0fbe7..dacf3f1be 100644 --- a/crypto/idea/i_cfb64.c +++ b/crypto/idea/i_cfb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" /* The input and output encrypted as though 64bit cfb mode is being diff --git a/crypto/idea/i_ecb.c b/crypto/idea/i_ecb.c index 9ebaf4091..93937d206 100644 --- a/crypto/idea/i_ecb.c +++ b/crypto/idea/i_ecb.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" -#include "opensslv.h" +#include const char *IDEA_version="IDEA" OPENSSL_VERSION_PTEXT; diff --git a/crypto/idea/i_ofb64.c b/crypto/idea/i_ofb64.c index cf60ff98e..afcbed2d1 100644 --- a/crypto/idea/i_ofb64.c +++ b/crypto/idea/i_ofb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" /* The input and output encrypted as though 64bit ofb mode is being diff --git a/crypto/idea/i_skey.c b/crypto/idea/i_skey.c index 3733be0b6..87c63759a 100644 --- a/crypto/idea/i_skey.c +++ b/crypto/idea/i_skey.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "idea.h" +#include #include "idea_lcl.h" #ifndef NOPROTO diff --git a/crypto/idea/idea.h b/crypto/idea/idea.h index 41ace440d..c2f44d3c6 100644 --- a/crypto/idea/idea.h +++ b/crypto/idea/idea.h @@ -66,7 +66,7 @@ extern "C" { #define IDEA_ENCRYPT 1 #define IDEA_DECRYPT 0 -#include "opensslconf.h" /* IDEA_INT */ +#include /* IDEA_INT */ #define IDEA_BLOCK 8 #define IDEA_KEY_LENGTH 16 diff --git a/crypto/idea/idea_spd.c b/crypto/idea/idea_spd.c index 704538d41..fb0bee51c 100644 --- a/crypto/idea/idea_spd.c +++ b/crypto/idea/idea_spd.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "idea.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/idea/ideatest.c b/crypto/idea/ideatest.c index 542ece4aa..220b422aa 100644 --- a/crypto/idea/ideatest.c +++ b/crypto/idea/ideatest.c @@ -59,7 +59,7 @@ #include #include #include -#include "idea.h" +#include unsigned char k[16]={ 0x00,0x01,0x00,0x02,0x00,0x03,0x00,0x04, diff --git a/crypto/lhash/Makefile.ssl b/crypto/lhash/Makefile.ssl index f30a7efe1..779d25420 100644 --- a/crypto/lhash/Makefile.ssl +++ b/crypto/lhash/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/lhash/lh_stats.c b/crypto/lhash/lh_stats.c index 44ddff56c..80b931c12 100644 --- a/crypto/lhash/lh_stats.c +++ b/crypto/lhash/lh_stats.c @@ -63,7 +63,7 @@ * and things should work as expected */ #include "cryptlib.h" -#include "lhash.h" +#include #ifndef HEADER_BIO_H diff --git a/crypto/lhash/lh_test.c b/crypto/lhash/lh_test.c index 294b42bc8..08138b52c 100644 --- a/crypto/lhash/lh_test.c +++ b/crypto/lhash/lh_test.c @@ -59,7 +59,7 @@ #include #include #include -#include "lhash.h" +#include main() { diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index 29e091525..8c649ad25 100644 --- a/crypto/lhash/lhash.c +++ b/crypto/lhash/lhash.c @@ -97,8 +97,8 @@ #include #include #include -#include "crypto.h" -#include "lhash.h" +#include +#include const char *lh_version="lhash" OPENSSL_VERSION_PTEXT; diff --git a/crypto/md2/Makefile.ssl b/crypto/md2/Makefile.ssl index dae6ef8cf..5110f43c0 100644 --- a/crypto/md2/Makefile.ssl +++ b/crypto/md2/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/md2/md2.c b/crypto/md2/md2.c index 8b34e1def..ba7b46ad6 100644 --- a/crypto/md2/md2.c +++ b/crypto/md2/md2.c @@ -58,7 +58,7 @@ #include #include -#include "md2.h" +#include #define BUFSIZE 1024*16 diff --git a/crypto/md2/md2.h b/crypto/md2/md2.h index 122e276d5..f49388fcc 100644 --- a/crypto/md2/md2.h +++ b/crypto/md2/md2.h @@ -65,7 +65,7 @@ extern "C" { #define MD2_DIGEST_LENGTH 16 #define MD2_BLOCK 16 -#include "opensslconf.h" /* MD2_INT */ +#include /* MD2_INT */ typedef struct MD2state_st { diff --git a/crypto/md2/md2_dgst.c b/crypto/md2/md2_dgst.c index c1a0b5e68..20d1bf4fb 100644 --- a/crypto/md2/md2_dgst.c +++ b/crypto/md2/md2_dgst.c @@ -59,8 +59,8 @@ #include #include #include -#include "md2.h" -#include "opensslv.h" +#include +#include const char *MD2_version="MD2" OPENSSL_VERSION_PTEXT; diff --git a/crypto/md2/md2_one.c b/crypto/md2/md2_one.c index 389c1f79f..17b288bad 100644 --- a/crypto/md2/md2_one.c +++ b/crypto/md2/md2_one.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "md2.h" +#include /* This is a separate file so that #defines in cryptlib.h can * map my MD functions to different names */ diff --git a/crypto/md2/md2test.c b/crypto/md2/md2test.c index 688815dcf..83725fe32 100644 --- a/crypto/md2/md2test.c +++ b/crypto/md2/md2test.c @@ -59,7 +59,7 @@ #include #include #include -#include "md2.h" +#include char *test[]={ "", diff --git a/crypto/md5/Makefile.ssl b/crypto/md5/Makefile.ssl index 3a7b00997..d3277d4f0 100644 --- a/crypto/md5/Makefile.ssl +++ b/crypto/md5/Makefile.ssl @@ -69,15 +69,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/md5/md5.c b/crypto/md5/md5.c index d37db034a..1ca642f32 100644 --- a/crypto/md5/md5.c +++ b/crypto/md5/md5.c @@ -58,7 +58,7 @@ #include #include -#include "md5.h" +#include #define BUFSIZE 1024*16 diff --git a/crypto/md5/md5_dgst.c b/crypto/md5/md5_dgst.c index 104918909..fd65c5503 100644 --- a/crypto/md5/md5_dgst.c +++ b/crypto/md5/md5_dgst.c @@ -58,7 +58,7 @@ #include #include "md5_locl.h" -#include "opensslv.h" +#include char *MD5_version="MD5" OPENSSL_VERSION_PTEXT; diff --git a/crypto/md5/md5_locl.h b/crypto/md5/md5_locl.h index dbbe1b71c..2962e773e 100644 --- a/crypto/md5/md5_locl.h +++ b/crypto/md5/md5_locl.h @@ -63,7 +63,7 @@ #include #include -#include "md5.h" +#include #define ULONG unsigned long #define UCHAR unsigned char diff --git a/crypto/md5/md5test.c b/crypto/md5/md5test.c index 33b204f8e..cb9e74be9 100644 --- a/crypto/md5/md5test.c +++ b/crypto/md5/md5test.c @@ -59,7 +59,7 @@ #include #include #include -#include "md5.h" +#include char *test[]={ "", diff --git a/crypto/mdc2/Makefile.ssl b/crypto/mdc2/Makefile.ssl index 8eba16458..ef930acea 100644 --- a/crypto/mdc2/Makefile.ssl +++ b/crypto/mdc2/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/mdc2/mdc2.h b/crypto/mdc2/mdc2.h index 0b104be18..f6157a51f 100644 --- a/crypto/mdc2/mdc2.h +++ b/crypto/mdc2/mdc2.h @@ -63,7 +63,7 @@ extern "C" { #endif -#include "des.h" +#include #define MDC2_BLOCK 8 #define MDC2_DIGEST_LENGTH 16 diff --git a/crypto/mdc2/mdc2_one.c b/crypto/mdc2/mdc2_one.c index 0cfc9c669..1c3a093c3 100644 --- a/crypto/mdc2/mdc2_one.c +++ b/crypto/mdc2/mdc2_one.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "mdc2.h" +#include unsigned char *MDC2(unsigned char *d, unsigned long n, unsigned char *md) { diff --git a/crypto/mdc2/mdc2dgst.c b/crypto/mdc2/mdc2dgst.c index 193c1445b..49b0c8ca9 100644 --- a/crypto/mdc2/mdc2dgst.c +++ b/crypto/mdc2/mdc2dgst.c @@ -59,8 +59,8 @@ #include #include #include -#include "des.h" -#include "mdc2.h" +#include +#include #undef c2l #define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \ diff --git a/crypto/mdc2/mdc2test.c b/crypto/mdc2/mdc2test.c index 0d42d1424..f62716298 100644 --- a/crypto/mdc2/mdc2test.c +++ b/crypto/mdc2/mdc2test.c @@ -59,7 +59,7 @@ #include #include #include -#include "mdc2.h" +#include static unsigned char pad1[16]={ 0x42,0xE5,0x0C,0xD2,0x24,0xBA,0xCE,0xBA, diff --git a/crypto/mem.c b/crypto/mem.c index 83085fea0..d9d1c7a25 100644 --- a/crypto/mem.c +++ b/crypto/mem.c @@ -58,9 +58,9 @@ #include #include -#include "buffer.h" -#include "bio.h" -#include "lhash.h" +#include +#include +#include #include "cryptlib.h" #ifdef CRYPTO_MDEBUG diff --git a/crypto/objects/Makefile.ssl b/crypto/objects/Makefile.ssl index d520a7d24..670e6d5f1 100644 --- a/crypto/objects/Makefile.ssl +++ b/crypto/objects/Makefile.ssl @@ -50,15 +50,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/objects/o_names.c b/crypto/objects/o_names.c index 8e5c2af96..22edb0e68 100644 --- a/crypto/objects/o_names.c +++ b/crypto/objects/o_names.c @@ -2,8 +2,8 @@ #include #include -#include "lhash.h" -#include "objects.h" +#include +#include /* I use the ex_data stuff to manage the identifiers for the obj_name_types * that applications may define. I only really use the free function field. diff --git a/crypto/objects/obj_dat.c b/crypto/objects/obj_dat.c index f42c462ac..43b5c4a10 100644 --- a/crypto/objects/obj_dat.c +++ b/crypto/objects/obj_dat.c @@ -59,9 +59,9 @@ #include #include #include "cryptlib.h" -#include "lhash.h" -#include "asn1.h" -#include "objects.h" +#include +#include +#include /* obj_dat.h is generated from objects.h by obj_dat.pl */ #ifndef NO_OBJECT diff --git a/crypto/objects/obj_err.c b/crypto/objects/obj_err.c index 50d52060b..05c33bdc3 100644 --- a/crypto/objects/obj_err.c +++ b/crypto/objects/obj_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "objects.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/objects/obj_lib.c b/crypto/objects/obj_lib.c index 1f0b90604..1a1ba0fc0 100644 --- a/crypto/objects/obj_lib.c +++ b/crypto/objects/obj_lib.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "lhash.h" -#include "objects.h" -#include "buffer.h" +#include +#include +#include ASN1_OBJECT *OBJ_dup(ASN1_OBJECT *o) { diff --git a/crypto/objects/objects.h b/crypto/objects/objects.h index 6669f1f54..d636df147 100644 --- a/crypto/objects/objects.h +++ b/crypto/objects/objects.h @@ -866,8 +866,8 @@ extern "C" { #define NID_id_qt_unotice 165 #define OBJ_id_qt_unotice OBJ_id_pkix,2L,2L -#include "bio.h" -#include "asn1.h" +#include +#include #define OBJ_NAME_TYPE_UNDEF 0x00 #define OBJ_NAME_TYPE_MD_METH 0x01 diff --git a/crypto/pem/Makefile.ssl b/crypto/pem/Makefile.ssl index 8f7b23c8a..b6375b915 100644 --- a/crypto/pem/Makefile.ssl +++ b/crypto/pem/Makefile.ssl @@ -48,15 +48,15 @@ files: links: $(EXHEADER) @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/pem/pem.h b/crypto/pem/pem.h index 2c279c60b..42be3c017 100644 --- a/crypto/pem/pem.h +++ b/crypto/pem/pem.h @@ -63,9 +63,9 @@ extern "C" { #endif -#include "evp.h" -#include "x509.h" -#include "pem2.h" +#include +#include +#include #define PEM_OBJ_UNDEF 0 #define PEM_OBJ_X509 1 diff --git a/crypto/pem/pem_all.c b/crypto/pem/pem_all.c index c2bf6eb90..740f6b572 100644 --- a/crypto/pem/pem_all.c +++ b/crypto/pem/pem_all.c @@ -59,11 +59,11 @@ #include #undef SSLEAY_MACROS #include "cryptlib.h" -#include "bio.h" -#include "evp.h" -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" +#include +#include +#include +#include +#include #ifndef NO_FP_API /* The X509 functions */ diff --git a/crypto/pem/pem_err.c b/crypto/pem/pem_err.c index bffc99f58..ec138f05e 100644 --- a/crypto/pem/pem_err.c +++ b/crypto/pem/pem_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "pem.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/pem/pem_info.c b/crypto/pem/pem_info.c index 7051c099f..83bdcf492 100644 --- a/crypto/pem/pem_info.c +++ b/crypto/pem/pem_info.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include #ifndef NO_FP_API STACK *PEM_X509_INFO_read(FILE *fp, STACK *sk, int (*cb)()) diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c index 47189bdf9..9e646023e 100644 --- a/crypto/pem/pem_lib.c +++ b/crypto/pem/pem_lib.c @@ -58,14 +58,14 @@ #include #include "cryptlib.h" -#include "buffer.h" -#include "objects.h" -#include "evp.h" -#include "rand.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #ifndef NO_DES -#include "des.h" +#include #endif const char *PEM_version="PEM" OPENSSL_VERSION_PTEXT; diff --git a/crypto/pem/pem_seal.c b/crypto/pem/pem_seal.c index fd493e525..5f5d2c0e4 100644 --- a/crypto/pem/pem_seal.c +++ b/crypto/pem/pem_seal.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "rand.h" -#include "objects.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, unsigned char **ek, int *ekl, unsigned char *iv, EVP_PKEY **pubk, diff --git a/crypto/pem/pem_sign.c b/crypto/pem/pem_sign.c index e37075857..aabafb702 100644 --- a/crypto/pem/pem_sign.c +++ b/crypto/pem/pem_sign.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "rand.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include void PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type) { diff --git a/crypto/pkcs12/Makefile.ssl b/crypto/pkcs12/Makefile.ssl index e6e06a5b4..98c9b751d 100644 --- a/crypto/pkcs12/Makefile.ssl +++ b/crypto/pkcs12/Makefile.ssl @@ -53,15 +53,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/pkcs12/p12_add.c b/crypto/pkcs12/p12_add.c index de394454c..3e203a103 100644 --- a/crypto/pkcs12/p12_add.c +++ b/crypto/pkcs12/p12_add.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Pack an object into an OCTET STRING and turn into a safebag */ diff --git a/crypto/pkcs12/p12_attr.c b/crypto/pkcs12/p12_attr.c index c7d13c621..220d7a67e 100644 --- a/crypto/pkcs12/p12_attr.c +++ b/crypto/pkcs12/p12_attr.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Add a local keyid to a safebag */ diff --git a/crypto/pkcs12/p12_bags.c b/crypto/pkcs12/p12_bags.c index 9a31502e3..5d65f6d11 100644 --- a/crypto/pkcs12/p12_bags.c +++ b/crypto/pkcs12/p12_bags.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "pkcs12.h" +#include +#include /* *ASN1err(ASN1_F_PKCS12_BAGS_NEW,ASN1_R_DECODE_ERROR) diff --git a/crypto/pkcs12/p12_crpt.c b/crypto/pkcs12/p12_crpt.c index 8a6fedaea..137d7cd36 100644 --- a/crypto/pkcs12/p12_crpt.c +++ b/crypto/pkcs12/p12_crpt.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* PKCS#12 specific PBE functions */ diff --git a/crypto/pkcs12/p12_crt.c b/crypto/pkcs12/p12_crt.c index 86445278a..cf630765b 100644 --- a/crypto/pkcs12/p12_crt.c +++ b/crypto/pkcs12/p12_crt.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include 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, diff --git a/crypto/pkcs12/p12_decr.c b/crypto/pkcs12/p12_decr.c index 7973a69c2..53fb8aad0 100644 --- a/crypto/pkcs12/p12_decr.c +++ b/crypto/pkcs12/p12_decr.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Define this to dump decrypted output to files called DERnnn */ /*#define DEBUG_DECRYPT*/ diff --git a/crypto/pkcs12/p12_init.c b/crypto/pkcs12/p12_init.c index 5301bd63f..dc6ab41db 100644 --- a/crypto/pkcs12/p12_init.c +++ b/crypto/pkcs12/p12_init.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Initialise a PKCS12 structure to take data */ diff --git a/crypto/pkcs12/p12_key.c b/crypto/pkcs12/p12_key.c index b59ac2b2d..ff41f12aa 100644 --- a/crypto/pkcs12/p12_key.c +++ b/crypto/pkcs12/p12_key.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Uncomment out this line to get debugging info about key generation */ diff --git a/crypto/pkcs12/p12_kiss.c b/crypto/pkcs12/p12_kiss.c index 9c4030553..63e554346 100644 --- a/crypto/pkcs12/p12_kiss.c +++ b/crypto/pkcs12/p12_kiss.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Simplified PKCS#12 routines */ diff --git a/crypto/pkcs12/p12_lib.c b/crypto/pkcs12/p12_lib.c index bb8e67169..84228b8bd 100644 --- a/crypto/pkcs12/p12_lib.c +++ b/crypto/pkcs12/p12_lib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "pkcs12.h" +#include +#include /* *ASN1err(ASN1_F_PKCS12_NEW,ASN1_R_DECODE_ERROR) diff --git a/crypto/pkcs12/p12_mac.c b/crypto/pkcs12/p12_mac.c index 22497b9c9..20e79bd78 100644 --- a/crypto/pkcs12/p12_mac.c +++ b/crypto/pkcs12/p12_mac.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "pkcs12.h" +#include +#include /* *ASN1err(ASN1_F_PKCS12_MAC_DATA_NEW,ASN1_R_DECODE_ERROR) *ASN1err(ASN1_F_D2I_PKCS12_MAC_DATA,ASN1_R_DECODE_ERROR) diff --git a/crypto/pkcs12/p12_mutl.c b/crypto/pkcs12/p12_mutl.c index 1699619cf..2e9c31d97 100644 --- a/crypto/pkcs12/p12_mutl.c +++ b/crypto/pkcs12/p12_mutl.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "hmac.h" -#include "rand.h" -#include "pkcs12.h" +#include +#include +#include /* Generate a MAC */ int PKCS12_gen_mac (PKCS12 *p12, const char *pass, int passlen, diff --git a/crypto/pkcs12/p12_sbag.c b/crypto/pkcs12/p12_sbag.c index 4a2a32c72..ab8575a42 100644 --- a/crypto/pkcs12/p12_sbag.c +++ b/crypto/pkcs12/p12_sbag.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "asn1_mac.h" -#include "pkcs12.h" +#include +#include /* *ASN1err(ASN1_F_PKCS12_SAFEBAG_NEW,ASN1_R_DECODE_ERROR) diff --git a/crypto/pkcs12/p12_utl.c b/crypto/pkcs12/p12_utl.c index 2f89e9789..8dccd9e97 100644 --- a/crypto/pkcs12/p12_utl.c +++ b/crypto/pkcs12/p12_utl.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "pkcs12.h" +#include /* Cheap and nasty Unicode stuff */ diff --git a/crypto/pkcs12/pk12err.c b/crypto/pkcs12/pk12err.c index 336ed2ceb..7fd239087 100644 --- a/crypto/pkcs12/pk12err.c +++ b/crypto/pkcs12/pk12err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "pkcs12.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/pkcs12/pkcs12.h b/crypto/pkcs12/pkcs12.h index 9bf211ef4..64f644998 100644 --- a/crypto/pkcs12/pkcs12.h +++ b/crypto/pkcs12/pkcs12.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "bio.h" -#include "x509.h" +#include +#include #define PKCS12_KEY_ID 1 #define PKCS12_IV_ID 2 diff --git a/crypto/pkcs7/Makefile.ssl b/crypto/pkcs7/Makefile.ssl index 719b69863..c05f381ff 100644 --- a/crypto/pkcs7/Makefile.ssl +++ b/crypto/pkcs7/Makefile.ssl @@ -49,15 +49,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/pkcs7/bio_ber.c b/crypto/pkcs7/bio_ber.c index c765469ee..e4b9db03c 100644 --- a/crypto/pkcs7/bio_ber.c +++ b/crypto/pkcs7/bio_ber.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "buffer.h" -#include "evp.h" +#include +#include #ifndef NOPROTO static int ber_write(BIO *h,char *buf,int num); diff --git a/crypto/pkcs7/dec.c b/crypto/pkcs7/dec.c index e02a8059c..c485d39d1 100644 --- a/crypto/pkcs7/dec.c +++ b/crypto/pkcs7/dec.c @@ -56,10 +56,10 @@ * [including the GNU Public Licence.] */ #include -#include "asn1.h" -#include "bio.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include int verify_callback(int ok, X509_STORE_CTX *ctx); diff --git a/crypto/pkcs7/enc.c b/crypto/pkcs7/enc.c index 8c3f937cf..6c59f7e15 100644 --- a/crypto/pkcs7/enc.c +++ b/crypto/pkcs7/enc.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ #include -#include "bio.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include main(argc,argv) int argc; diff --git a/crypto/pkcs7/example.c b/crypto/pkcs7/example.c index 70e6b6a02..fad5c4920 100644 --- a/crypto/pkcs7/example.c +++ b/crypto/pkcs7/example.c @@ -1,7 +1,7 @@ #include #include #include -#include "pkcs7.h" +#include int add_signed_time(PKCS7_SIGNER_INFO *si) { diff --git a/crypto/pkcs7/pk7_dgst.c b/crypto/pkcs7/pk7_dgst.c index 7769abeb1..90edfa500 100644 --- a/crypto/pkcs7/pk7_dgst.c +++ b/crypto/pkcs7/pk7_dgst.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "rand.h" -#include "objects.h" -#include "x509.h" -#include "pkcs7.h" +#include +#include +#include +#include +#include diff --git a/crypto/pkcs7/pk7_doit.c b/crypto/pkcs7/pk7_doit.c index 61fd889bd..cb0bd95f9 100644 --- a/crypto/pkcs7/pk7_doit.c +++ b/crypto/pkcs7/pk7_doit.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "rand.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include static int add_attribute(STACK **sk, int nid, int atrtype, char *value); static ASN1_TYPE *get_attribute(STACK *sk, int nid); diff --git a/crypto/pkcs7/pk7_enc.c b/crypto/pkcs7/pk7_enc.c index a5b6dc463..acbb189c5 100644 --- a/crypto/pkcs7/pk7_enc.c +++ b/crypto/pkcs7/pk7_enc.c @@ -58,11 +58,11 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "rand.h" -#include "objects.h" -#include "x509.h" -#include "pkcs7.h" +#include +#include +#include +#include +#include PKCS7_in_bio(PKCS7 *p7,BIO *in); PKCS7_out_bio(PKCS7 *p7,BIO *out); diff --git a/crypto/pkcs7/pk7_lib.c b/crypto/pkcs7/pk7_lib.c index a3f554f7c..e8c279dc9 100644 --- a/crypto/pkcs7/pk7_lib.c +++ b/crypto/pkcs7/pk7_lib.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "objects.h" -#include "x509.h" +#include +#include long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg) { diff --git a/crypto/pkcs7/pkcs7.h b/crypto/pkcs7/pkcs7.h index 6038aacd6..4c6a5eb9c 100644 --- a/crypto/pkcs7/pkcs7.h +++ b/crypto/pkcs7/pkcs7.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "bio.h" -#include "x509.h" +#include +#include /* Encryption_ID DES-CBC diff --git a/crypto/pkcs7/pkcs7err.c b/crypto/pkcs7/pkcs7err.c index 7982b5f06..bf749f5b4 100644 --- a/crypto/pkcs7/pkcs7err.c +++ b/crypto/pkcs7/pkcs7err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "pkcs7.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/pkcs7/sign.c b/crypto/pkcs7/sign.c index 772863be0..ccdd6737d 100644 --- a/crypto/pkcs7/sign.c +++ b/crypto/pkcs7/sign.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ #include -#include "bio.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include main(argc,argv) int argc; diff --git a/crypto/pkcs7/verify.c b/crypto/pkcs7/verify.c index d2d46d4aa..71a67df3d 100644 --- a/crypto/pkcs7/verify.c +++ b/crypto/pkcs7/verify.c @@ -56,10 +56,10 @@ * [including the GNU Public Licence.] */ #include -#include "asn1.h" -#include "bio.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include int verify_callback(int ok, X509_STORE_CTX *ctx); diff --git a/crypto/rand/Makefile.ssl b/crypto/rand/Makefile.ssl index 671e4891c..ea1176b49 100644 --- a/crypto/rand/Makefile.ssl +++ b/crypto/rand/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rand/md_rand.c b/crypto/rand/md_rand.c index 5b2db35aa..f476e1ed5 100644 --- a/crypto/rand/md_rand.c +++ b/crypto/rand/md_rand.c @@ -60,8 +60,8 @@ #include #include #include -#include "e_os.h" -#include "crypto.h" +#include +#include #if !defined(USE_MD5_RAND) && !defined(USE_SHA1_RAND) && !defined(USE_MDC2_RAND) && !defined(USE_MD2_RAND) #ifndef NO_MD5 @@ -84,7 +84,7 @@ We need a message digest of some type */ #if defined(USE_MD5_RAND) -#include "md5.h" +#include #define MD_DIGEST_LENGTH MD5_DIGEST_LENGTH #define MD_CTX MD5_CTX #define MD_Init(a) MD5_Init(a) @@ -92,7 +92,7 @@ We need a message digest of some type #define MD_Final(a,b) MD5_Final(a,b) #define MD(a,b,c) MD5(a,b,c) #elif defined(USE_SHA1_RAND) -#include "sha.h" +#include #define MD_DIGEST_LENGTH SHA_DIGEST_LENGTH #define MD_CTX SHA_CTX #define MD_Init(a) SHA1_Init(a) @@ -100,7 +100,7 @@ We need a message digest of some type #define MD_Final(a,b) SHA1_Final(a,b) #define MD(a,b,c) SHA1(a,b,c) #elif defined(USE_MDC2_RAND) -#include "mdc2.h" +#include #define MD_DIGEST_LENGTH MDC2_DIGEST_LENGTH #define MD_CTX MDC2_CTX #define MD_Init(a) MDC2_Init(a) @@ -108,7 +108,7 @@ We need a message digest of some type #define MD_Final(a,b) MDC2_Final(a,b) #define MD(a,b,c) MDC2(a,b,c) #elif defined(USE_MD2_RAND) -#include "md2.h" +#include #define MD_DIGEST_LENGTH MD2_DIGEST_LENGTH #define MD_CTX MD2_CTX #define MD_Init(a) MD2_Init(a) @@ -117,7 +117,7 @@ We need a message digest of some type #define MD(a,b,c) MD2(a,b,c) #endif -#include "rand.h" +#include /* #define NORAND 1 */ /* #define PREDICT 1 */ diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index 2eb5e1218..34c6d5b96 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -59,7 +59,7 @@ #include #include #include -#include "rand.h" +#include #ifdef NO_RAND static RAND_METHOD *rand_meth=NULL; diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index 1cea7696f..4c7648728 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -62,8 +62,8 @@ #include #include #include -#include "e_os.h" -#include "rand.h" +#include +#include #undef BUFSIZE #define BUFSIZE 1024 diff --git a/crypto/rand/randtest.c b/crypto/rand/randtest.c index e0ba61e12..5722bf746 100644 --- a/crypto/rand/randtest.c +++ b/crypto/rand/randtest.c @@ -58,7 +58,7 @@ #include #include -#include "rand.h" +#include /* some FIPS 140-1 random number test */ /* some simple tests */ diff --git a/crypto/rc2/Makefile.ssl b/crypto/rc2/Makefile.ssl index e22996922..8870d3e1e 100644 --- a/crypto/rc2/Makefile.ssl +++ b/crypto/rc2/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rc2/rc2.h b/crypto/rc2/rc2.h index 2fc48f11f..11fced6e1 100644 --- a/crypto/rc2/rc2.h +++ b/crypto/rc2/rc2.h @@ -66,7 +66,7 @@ extern "C" { #define RC2_ENCRYPT 1 #define RC2_DECRYPT 0 -#include "opensslconf.h" /* RC2_INT */ +#include /* RC2_INT */ #define RC2_BLOCK 8 #define RC2_KEY_LENGTH 16 diff --git a/crypto/rc2/rc2_cbc.c b/crypto/rc2/rc2_cbc.c index a141975ba..1202184e8 100644 --- a/crypto/rc2/rc2_cbc.c +++ b/crypto/rc2/rc2_cbc.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc2.h" +#include #include "rc2_locl.h" void RC2_cbc_encrypt(unsigned char *in, unsigned char *out, long length, diff --git a/crypto/rc2/rc2_ecb.c b/crypto/rc2/rc2_ecb.c index 3ac3a0f6a..7d77b9186 100644 --- a/crypto/rc2/rc2_ecb.c +++ b/crypto/rc2/rc2_ecb.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "rc2.h" +#include #include "rc2_locl.h" -#include "opensslv.h" +#include const char *RC2_version="RC2" OPENSSL_VERSION_PTEXT; diff --git a/crypto/rc2/rc2_skey.c b/crypto/rc2/rc2_skey.c index 729387301..7143c4e59 100644 --- a/crypto/rc2/rc2_skey.c +++ b/crypto/rc2/rc2_skey.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc2.h" +#include #include "rc2_locl.h" static unsigned char key_table[256]={ diff --git a/crypto/rc2/rc2cfb64.c b/crypto/rc2/rc2cfb64.c index 4c6a49ea1..5e3fa07d9 100644 --- a/crypto/rc2/rc2cfb64.c +++ b/crypto/rc2/rc2cfb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc2.h" +#include #include "rc2_locl.h" /* The input and output encrypted as though 64bit cfb mode is being diff --git a/crypto/rc2/rc2ofb64.c b/crypto/rc2/rc2ofb64.c index ef0e62fa1..42cdd40cd 100644 --- a/crypto/rc2/rc2ofb64.c +++ b/crypto/rc2/rc2ofb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc2.h" +#include #include "rc2_locl.h" /* The input and output encrypted as though 64bit ofb mode is being diff --git a/crypto/rc2/rc2speed.c b/crypto/rc2/rc2speed.c index 0d2048039..47dc9b72b 100644 --- a/crypto/rc2/rc2speed.c +++ b/crypto/rc2/rc2speed.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "rc2.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/rc2/rc2test.c b/crypto/rc2/rc2test.c index a24399807..a56584795 100644 --- a/crypto/rc2/rc2test.c +++ b/crypto/rc2/rc2test.c @@ -62,7 +62,7 @@ #include #include #include -#include "rc2.h" +#include unsigned char RC2key[4][16]={ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/crypto/rc4/Makefile.ssl b/crypto/rc4/Makefile.ssl index 4d7ac5d5b..12b45bfe4 100644 --- a/crypto/rc4/Makefile.ssl +++ b/crypto/rc4/Makefile.ssl @@ -73,15 +73,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rc4/rc4.c b/crypto/rc4/rc4.c index a1a66acf0..709b7aff3 100644 --- a/crypto/rc4/rc4.c +++ b/crypto/rc4/rc4.c @@ -59,7 +59,7 @@ #include #include #include -#include "rc4.h" +#include char *usage[]={ "usage: rc4 args\n", diff --git a/crypto/rc4/rc4.h b/crypto/rc4/rc4.h index a77898c1c..ea66f1ce8 100644 --- a/crypto/rc4/rc4.h +++ b/crypto/rc4/rc4.h @@ -63,7 +63,7 @@ extern "C" { #endif -#include "opensslconf.h" /* RC4_INT */ +#include /* RC4_INT */ typedef struct rc4_key_st { diff --git a/crypto/rc4/rc4_enc.c b/crypto/rc4/rc4_enc.c index 589bf4508..3256bea8c 100644 --- a/crypto/rc4/rc4_enc.c +++ b/crypto/rc4/rc4_enc.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc4.h" +#include #include "rc4_locl.h" /* RC4 as implemented from a posting from diff --git a/crypto/rc4/rc4_locl.h b/crypto/rc4/rc4_locl.h index ecce6b91d..0448b06f2 100644 --- a/crypto/rc4/rc4_locl.h +++ b/crypto/rc4/rc4_locl.h @@ -1,4 +1,4 @@ #ifndef _HEADER_RC4_LOCL_H #define _HEADER_RC4_LOCL_H -#include "opensslconf.h" +#include #endif diff --git a/crypto/rc4/rc4_skey.c b/crypto/rc4/rc4_skey.c index ebdf4649e..c67a445f1 100644 --- a/crypto/rc4/rc4_skey.c +++ b/crypto/rc4/rc4_skey.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "rc4.h" +#include #include "rc4_locl.h" -#include "opensslv.h" +#include const char *RC4_version="RC4" OPENSSL_VERSION_PTEXT; diff --git a/crypto/rc4/rc4speed.c b/crypto/rc4/rc4speed.c index 892c53c98..f76262dd7 100644 --- a/crypto/rc4/rc4speed.c +++ b/crypto/rc4/rc4speed.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "rc4.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/rc4/rc4test.c b/crypto/rc4/rc4test.c index 147d0f0a8..1410b7295 100644 --- a/crypto/rc4/rc4test.c +++ b/crypto/rc4/rc4test.c @@ -59,7 +59,7 @@ #include #include #include -#include "rc4.h" +#include unsigned char keys[7][30]={ {8,0x01,0x23,0x45,0x67,0x89,0xab,0xcd,0xef}, diff --git a/crypto/rc5/Makefile.ssl b/crypto/rc5/Makefile.ssl index 68794f505..45234e204 100644 --- a/crypto/rc5/Makefile.ssl +++ b/crypto/rc5/Makefile.ssl @@ -71,15 +71,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rc5/rc5_ecb.c b/crypto/rc5/rc5_ecb.c index 2305dd081..17e877a14 100644 --- a/crypto/rc5/rc5_ecb.c +++ b/crypto/rc5/rc5_ecb.c @@ -56,9 +56,9 @@ * [including the GNU Public Licence.] */ -#include "rc5.h" +#include #include "rc5_locl.h" -#include "opensslv.h" +#include char *RC5_version="RC5" OPENSSL_VERSION_PTEXT; diff --git a/crypto/rc5/rc5_enc.c b/crypto/rc5/rc5_enc.c index ba79dd456..1124fd22e 100644 --- a/crypto/rc5/rc5_enc.c +++ b/crypto/rc5/rc5_enc.c @@ -57,7 +57,7 @@ */ #include -#include "rc5.h" +#include #include "rc5_locl.h" void RC5_32_cbc_encrypt(unsigned char *in, unsigned char *out, long length, diff --git a/crypto/rc5/rc5_skey.c b/crypto/rc5/rc5_skey.c index 2f36531ff..64e13487b 100644 --- a/crypto/rc5/rc5_skey.c +++ b/crypto/rc5/rc5_skey.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc5.h" +#include #include "rc5_locl.h" void RC5_32_set_key(RC5_32_KEY *key, int len, unsigned char *data, diff --git a/crypto/rc5/rc5cfb64.c b/crypto/rc5/rc5cfb64.c index dbc7ae105..55e03087e 100644 --- a/crypto/rc5/rc5cfb64.c +++ b/crypto/rc5/rc5cfb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc5.h" +#include #include "rc5_locl.h" /* The input and output encrypted as though 64bit cfb mode is being diff --git a/crypto/rc5/rc5ofb64.c b/crypto/rc5/rc5ofb64.c index b52e14513..fd2ecddf6 100644 --- a/crypto/rc5/rc5ofb64.c +++ b/crypto/rc5/rc5ofb64.c @@ -56,7 +56,7 @@ * [including the GNU Public Licence.] */ -#include "rc5.h" +#include #include "rc5_locl.h" /* The input and output encrypted as though 64bit ofb mode is being diff --git a/crypto/rc5/rc5speed.c b/crypto/rc5/rc5speed.c index 54163b85e..f7e23b703 100644 --- a/crypto/rc5/rc5speed.c +++ b/crypto/rc5/rc5speed.c @@ -98,7 +98,7 @@ struct tms { #include #endif -#include "rc5.h" +#include /* The following if from times(3) man page. It may need to be changed */ #ifndef HZ diff --git a/crypto/rc5/rc5test.c b/crypto/rc5/rc5test.c index 5ca519505..d24da3c38 100644 --- a/crypto/rc5/rc5test.c +++ b/crypto/rc5/rc5test.c @@ -62,7 +62,7 @@ #include #include #include -#include "rc5.h" +#include unsigned char RC5key[5][16]={ {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, diff --git a/crypto/ripemd/Makefile.ssl b/crypto/ripemd/Makefile.ssl index 221572aef..37fc3875f 100644 --- a/crypto/ripemd/Makefile.ssl +++ b/crypto/ripemd/Makefile.ssl @@ -69,15 +69,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/ripemd/rmd160.c b/crypto/ripemd/rmd160.c index bee04ce69..d73a9a622 100644 --- a/crypto/ripemd/rmd160.c +++ b/crypto/ripemd/rmd160.c @@ -58,7 +58,7 @@ #include #include -#include "ripemd.h" +#include #define BUFSIZE 1024*16 diff --git a/crypto/ripemd/rmd_dgst.c b/crypto/ripemd/rmd_dgst.c index 659828e5b..ea3c5c5d3 100644 --- a/crypto/ripemd/rmd_dgst.c +++ b/crypto/ripemd/rmd_dgst.c @@ -58,7 +58,7 @@ #include #include "rmd_locl.h" -#include "opensslv.h" +#include char *RMD160_version="RIPE-MD160" OPENSSL_VERSION_PTEXT; diff --git a/crypto/ripemd/rmd_locl.h b/crypto/ripemd/rmd_locl.h index a1feccf7c..9539f58ad 100644 --- a/crypto/ripemd/rmd_locl.h +++ b/crypto/ripemd/rmd_locl.h @@ -58,7 +58,7 @@ #include #include -#include "ripemd.h" +#include #define ULONG unsigned long #define UCHAR unsigned char diff --git a/crypto/ripemd/rmdtest.c b/crypto/ripemd/rmdtest.c index 4e5d87fea..da07a0272 100644 --- a/crypto/ripemd/rmdtest.c +++ b/crypto/ripemd/rmdtest.c @@ -59,7 +59,7 @@ #include #include #include -#include "ripemd.h" +#include char *test[]={ "", diff --git a/crypto/rsa/Makefile.ssl b/crypto/rsa/Makefile.ssl index c96d9e0b6..f9ca0bc68 100644 --- a/crypto/rsa/Makefile.ssl +++ b/crypto/rsa/Makefile.ssl @@ -49,15 +49,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index 6083a6cb2..488fc5fb5 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "bn.h" -#include "crypto.h" +#include +#include typedef struct rsa_st RSA; diff --git a/crypto/rsa/rsa_eay.c b/crypto/rsa/rsa_eay.c index c882738bf..bdb533c9d 100644 --- a/crypto/rsa/rsa_eay.c +++ b/crypto/rsa/rsa_eay.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include +#include +#include #ifndef NOPROTO static int RSA_eay_public_encrypt(int flen, unsigned char *from, diff --git a/crypto/rsa/rsa_err.c b/crypto/rsa/rsa_err.c index 0d7e65670..197173340 100644 --- a/crypto/rsa/rsa_err.c +++ b/crypto/rsa/rsa_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "rsa.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/rsa/rsa_gen.c b/crypto/rsa/rsa_gen.c index b2569e508..f5d7ad255 100644 --- a/crypto/rsa/rsa_gen.c +++ b/crypto/rsa/rsa_gen.c @@ -59,8 +59,8 @@ #include #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" +#include +#include RSA *RSA_generate_key(int bits, unsigned long e_value, void (*callback)(P_I_I_P), char *cb_arg) diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c index 6732e9832..1ac1331fa 100644 --- a/crypto/rsa/rsa_lib.c +++ b/crypto/rsa/rsa_lib.c @@ -57,11 +57,11 @@ */ #include -#include "crypto.h" +#include #include "cryptlib.h" -#include "lhash.h" -#include "bn.h" -#include "rsa.h" +#include +#include +#include const char *RSA_version="RSA" OPENSSL_VERSION_PTEXT; diff --git a/crypto/rsa/rsa_none.c b/crypto/rsa/rsa_none.c index 6d43677a1..f22fce501 100644 --- a/crypto/rsa/rsa_none.c +++ b/crypto/rsa/rsa_none.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include +#include +#include int RSA_padding_add_none(unsigned char *to, int tlen, unsigned char *from, int flen) diff --git a/crypto/rsa/rsa_oaep.c b/crypto/rsa/rsa_oaep.c index 44732460b..1b7001122 100644 --- a/crypto/rsa/rsa_oaep.c +++ b/crypto/rsa/rsa_oaep.c @@ -6,10 +6,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "sha.h" -#include "rand.h" +#include +#include +#include +#include int MGF1(unsigned char *mask, long len, unsigned char *seed, long seedlen); diff --git a/crypto/rsa/rsa_oaep_test.c b/crypto/rsa/rsa_oaep_test.c index c4b454a71..4005aa5ed 100644 --- a/crypto/rsa/rsa_oaep_test.c +++ b/crypto/rsa/rsa_oaep_test.c @@ -2,9 +2,9 @@ #include #include -#include "e_os.h" -#include "rsa.h" -#include "err.h" +#include +#include +#include #define SetKey \ key->n = BN_bin2bn(n, sizeof(n)-1, key->n); \ diff --git a/crypto/rsa/rsa_pk1.c b/crypto/rsa/rsa_pk1.c index 7648b763a..165d31a4d 100644 --- a/crypto/rsa/rsa_pk1.c +++ b/crypto/rsa/rsa_pk1.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include +#include +#include #ifndef NOPROTO int RSA_padding_add_PKCS1_type_1(); diff --git a/crypto/rsa/rsa_saos.c b/crypto/rsa/rsa_saos.c index d73beb049..73b8b0c7a 100644 --- a/crypto/rsa/rsa_saos.c +++ b/crypto/rsa/rsa_saos.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include int RSA_sign_ASN1_OCTET_STRING(int type, unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa) diff --git a/crypto/rsa/rsa_sign.c b/crypto/rsa/rsa_sign.c index 31cdb4a81..1740494a4 100644 --- a/crypto/rsa/rsa_sign.c +++ b/crypto/rsa/rsa_sign.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include +#include int RSA_sign(int type, unsigned char *m, unsigned int m_len, unsigned char *sigret, unsigned int *siglen, RSA *rsa) diff --git a/crypto/rsa/rsa_ssl.c b/crypto/rsa/rsa_ssl.c index e1bbbe794..1050844f8 100644 --- a/crypto/rsa/rsa_ssl.c +++ b/crypto/rsa/rsa_ssl.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rand.h" +#include +#include +#include int RSA_padding_add_SSLv23(unsigned char *to, int tlen, unsigned char *from, int flen) diff --git a/crypto/sha/Makefile.ssl b/crypto/sha/Makefile.ssl index 19986707e..69b16ab23 100644 --- a/crypto/sha/Makefile.ssl +++ b/crypto/sha/Makefile.ssl @@ -68,15 +68,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/sha/sha.c b/crypto/sha/sha.c index 486819d6f..3d339819c 100644 --- a/crypto/sha/sha.c +++ b/crypto/sha/sha.c @@ -58,7 +58,7 @@ #include #include -#include "sha.h" +#include #define BUFSIZE 1024*16 diff --git a/crypto/sha/sha1.c b/crypto/sha/sha1.c index b708dec06..317e9ac25 100644 --- a/crypto/sha/sha1.c +++ b/crypto/sha/sha1.c @@ -58,7 +58,7 @@ #include #include -#include "sha.h" +#include #define BUFSIZE 1024*16 diff --git a/crypto/sha/sha1_one.c b/crypto/sha/sha1_one.c index 07af9bf4d..b5a93d96e 100644 --- a/crypto/sha/sha1_one.c +++ b/crypto/sha/sha1_one.c @@ -58,7 +58,7 @@ #include #include -#include "sha.h" +#include unsigned char *SHA1(unsigned char *d, unsigned long n, unsigned char *md) { diff --git a/crypto/sha/sha1dgst.c b/crypto/sha/sha1dgst.c index c7d52ee73..53b8d8cc3 100644 --- a/crypto/sha/sha1dgst.c +++ b/crypto/sha/sha1dgst.c @@ -60,9 +60,9 @@ #include #undef SHA_0 #define SHA_1 -#include "sha.h" +#include #include "sha_locl.h" -#include "opensslv.h" +#include char *SHA1_version="SHA1" OPENSSL_VERSION_PTEXT; diff --git a/crypto/sha/sha1test.c b/crypto/sha/sha1test.c index 78c94f1ac..831a3441a 100644 --- a/crypto/sha/sha1test.c +++ b/crypto/sha/sha1test.c @@ -59,7 +59,7 @@ #include #include #include -#include "sha.h" +#include #undef SHA_0 /* FIPS 180 */ #define SHA_1 /* FIPS 180-1 */ diff --git a/crypto/sha/sha_dgst.c b/crypto/sha/sha_dgst.c index 4b90479e8..ebfbb53ae 100644 --- a/crypto/sha/sha_dgst.c +++ b/crypto/sha/sha_dgst.c @@ -60,9 +60,9 @@ #include #define SHA_0 #undef SHA_1 -#include "sha.h" +#include #include "sha_locl.h" -#include "opensslv.h" +#include char *SHA_version="SHA" OPENSSL_VERSION_PTEXT; diff --git a/crypto/sha/sha_one.c b/crypto/sha/sha_one.c index 3e2751ec8..80b069738 100644 --- a/crypto/sha/sha_one.c +++ b/crypto/sha/sha_one.c @@ -58,7 +58,7 @@ #include #include -#include "sha.h" +#include unsigned char *SHA(unsigned char *d, unsigned long n, unsigned char *md) { diff --git a/crypto/sha/shatest.c b/crypto/sha/shatest.c index 5a1a99880..9224e88dd 100644 --- a/crypto/sha/shatest.c +++ b/crypto/sha/shatest.c @@ -59,7 +59,7 @@ #include #include #include -#include "sha.h" +#include #define SHA_0 /* FIPS 180 */ #undef SHA_1 /* FIPS 180-1 */ diff --git a/crypto/stack/Makefile.ssl b/crypto/stack/Makefile.ssl index 0189704d0..310b19ce2 100644 --- a/crypto/stack/Makefile.ssl +++ b/crypto/stack/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/stack/safestack.h b/crypto/stack/safestack.h index 4ba9dab91..3fed5f173 100644 --- a/crypto/stack/safestack.h +++ b/crypto/stack/safestack.h @@ -55,7 +55,7 @@ #ifndef HEADER_SAFESTACK_H #define HEADER_SAFESTACK_H -#include "stack.h" +#include #define STACK_OF(type) STACK_##type diff --git a/crypto/stack/stack.c b/crypto/stack/stack.c index f0e592181..5cd28e1f1 100644 --- a/crypto/stack/stack.c +++ b/crypto/stack/stack.c @@ -67,7 +67,7 @@ */ #include #include "cryptlib.h" -#include "stack.h" +#include #undef MIN_NODES #define MIN_NODES 4 diff --git a/crypto/threads/mttest.c b/crypto/threads/mttest.c index 97f705dbc..ff380908c 100644 --- a/crypto/threads/mttest.c +++ b/crypto/threads/mttest.c @@ -74,13 +74,13 @@ #include #include #endif -#include "lhash.h" -#include "crypto.h" -#include "buffer.h" +#include +#include +#include #include "../e_os.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include #ifdef NO_FP_API #define APPS_WIN16 diff --git a/crypto/threads/th-lock.c b/crypto/threads/th-lock.c index 21293f20f..28721eacc 100644 --- a/crypto/threads/th-lock.c +++ b/crypto/threads/th-lock.c @@ -74,13 +74,13 @@ #include #include #endif -#include "lhash.h" -#include "crypto.h" -#include "buffer.h" -#include "e_os.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include +#include +#include +#include +#include #ifndef NOPROTO int CRYPTO_thread_setup(void); diff --git a/crypto/tmdiff.c b/crypto/tmdiff.c index 9d625689e..593a21d3e 100644 --- a/crypto/tmdiff.c +++ b/crypto/tmdiff.c @@ -58,7 +58,7 @@ #include #include #include "cryptlib.h" -#include "tmdiff.h" +#include #ifdef TIMEB #undef WIN32 diff --git a/crypto/txt_db/Makefile.ssl b/crypto/txt_db/Makefile.ssl index 736eabb9a..8d5c0fead 100644 --- a/crypto/txt_db/Makefile.ssl +++ b/crypto/txt_db/Makefile.ssl @@ -45,15 +45,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/txt_db/txt_db.c b/crypto/txt_db/txt_db.c index 9e7813b69..9a9fa5ce5 100644 --- a/crypto/txt_db/txt_db.c +++ b/crypto/txt_db/txt_db.c @@ -60,8 +60,8 @@ #include #include #include "cryptlib.h" -#include "buffer.h" -#include "txt_db.h" +#include +#include #undef BUFSIZE #define BUFSIZE 512 diff --git a/crypto/txt_db/txt_db.h b/crypto/txt_db/txt_db.h index aca6dae39..54234e3c4 100644 --- a/crypto/txt_db/txt_db.h +++ b/crypto/txt_db/txt_db.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "stack.h" -#include "lhash.h" +#include +#include #define DB_ERROR_OK 0 #define DB_ERROR_MALLOC 1 diff --git a/crypto/x509/Makefile.ssl b/crypto/x509/Makefile.ssl index e71c2a8f6..9b5334faf 100644 --- a/crypto/x509/Makefile.ssl +++ b/crypto/x509/Makefile.ssl @@ -57,15 +57,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c index 95c7aa92b..0c7269c85 100644 --- a/crypto/x509/by_dir.c +++ b/crypto/x509/by_dir.c @@ -63,8 +63,8 @@ #include #include "cryptlib.h" -#include "lhash.h" -#include "x509.h" +#include +#include typedef struct lookup_dir_st { diff --git a/crypto/x509/by_file.c b/crypto/x509/by_file.c index 95d57df3c..5eb6cf205 100644 --- a/crypto/x509/by_file.c +++ b/crypto/x509/by_file.c @@ -63,10 +63,10 @@ #include #include "cryptlib.h" -#include "lhash.h" -#include "buffer.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include #ifndef NO_STDIO diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 856872e13..59c4fee7d 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -64,29 +64,29 @@ extern "C" { #endif -#include "stack.h" -#include "asn1.h" -#include "safestack.h" +#include +#include +#include #ifndef NO_RSA -#include "rsa.h" +#include #else #define RSA long #endif #ifndef NO_DSA -#include "dsa.h" +#include #else #define DSA long #endif #ifndef NO_DH -#include "dh.h" +#include #else #define DH long #endif -#include "evp.h" +#include #define X509_FILETYPE_PEM 1 #define X509_FILETYPE_ASN1 2 @@ -362,8 +362,8 @@ typedef struct pkcs8_priv_key_info_st STACK *attributes; } PKCS8_PRIV_KEY_INFO; -#include "x509_vfy.h" -#include "pkcs7.h" +#include +#include #ifdef SSLEAY_MACROS #define X509_verify(a,r) ASN1_verify((int (*)())i2d_X509_CINF,a->sig_alg,\ diff --git a/crypto/x509/x509_cmp.c b/crypto/x509/x509_cmp.c index 899b00eb1..bc645d1a8 100644 --- a/crypto/x509/x509_cmp.c +++ b/crypto/x509/x509_cmp.c @@ -60,9 +60,9 @@ #include #include #include "cryptlib.h" -#include "asn1.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int X509_issuer_and_serial_cmp(X509 *a, X509 *b) { diff --git a/crypto/x509/x509_d2.c b/crypto/x509/x509_d2.c index 35c715730..f8f1aa6b7 100644 --- a/crypto/x509/x509_d2.c +++ b/crypto/x509/x509_d2.c @@ -60,8 +60,8 @@ #include #include #include "cryptlib.h" -#include "crypto.h" -#include "x509.h" +#include +#include #ifndef NO_STDIO int X509_STORE_set_default_paths(X509_STORE *ctx) diff --git a/crypto/x509/x509_def.c b/crypto/x509/x509_def.c index e3126bf88..c4bee7156 100644 --- a/crypto/x509/x509_def.c +++ b/crypto/x509/x509_def.c @@ -60,8 +60,8 @@ #include #include #include "cryptlib.h" -#include "crypto.h" -#include "x509.h" +#include +#include const char *X509_get_default_private_dir(void) { return(X509_PRIVATE_DIR); } diff --git a/crypto/x509/x509_err.c b/crypto/x509/x509_err.c index 0b5ca5922..75cc8df0e 100644 --- a/crypto/x509/x509_err.c +++ b/crypto/x509/x509_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "x509.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/x509/x509_ext.c b/crypto/x509/x509_ext.c index 723b1d4d5..6fbab00ec 100644 --- a/crypto/x509/x509_ext.c +++ b/crypto/x509/x509_ext.c @@ -57,12 +57,12 @@ */ #include -#include "stack.h" +#include #include "cryptlib.h" -#include "asn1.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include int X509_CRL_get_ext_count(X509_CRL *x) { diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c index 65b6bcd0d..2bdf613d4 100644 --- a/crypto/x509/x509_lu.c +++ b/crypto/x509/x509_lu.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "lhash.h" -#include "x509.h" +#include +#include static STACK *x509_store_meth=NULL; static STACK *x509_store_ctx_meth=NULL; diff --git a/crypto/x509/x509_obj.c b/crypto/x509/x509_obj.c index dd6fdbb7f..188457872 100644 --- a/crypto/x509/x509_obj.c +++ b/crypto/x509/x509_obj.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "lhash.h" -#include "objects.h" -#include "x509.h" -#include "buffer.h" +#include +#include +#include +#include char *X509_NAME_oneline(X509_NAME *a, char *buf, int len) { diff --git a/crypto/x509/x509_r2x.c b/crypto/x509/x509_r2x.c index f9c498a55..ec92d2f8a 100644 --- a/crypto/x509/x509_r2x.c +++ b/crypto/x509/x509_r2x.c @@ -58,12 +58,12 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "asn1.h" -#include "x509.h" -#include "objects.h" -#include "buffer.h" +#include +#include +#include +#include +#include +#include X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey) { diff --git a/crypto/x509/x509_req.c b/crypto/x509/x509_req.c index 1f9e232c6..2ef94decd 100644 --- a/crypto/x509/x509_req.c +++ b/crypto/x509/x509_req.c @@ -58,13 +58,13 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "evp.h" -#include "asn1.h" -#include "x509.h" -#include "objects.h" -#include "buffer.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, EVP_MD *md) { diff --git a/crypto/x509/x509_set.c b/crypto/x509/x509_set.c index da5299dcd..5a6f7b414 100644 --- a/crypto/x509/x509_set.c +++ b/crypto/x509/x509_set.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include int X509_set_version(X509 *x, long version) { diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c index 06f284b0a..11a3d2012 100644 --- a/crypto/x509/x509_txt.c +++ b/crypto/x509/x509_txt.c @@ -62,12 +62,12 @@ #include #include "cryptlib.h" -#include "lhash.h" -#include "buffer.h" -#include "evp.h" -#include "asn1.h" -#include "x509.h" -#include "objects.h" +#include +#include +#include +#include +#include +#include const char *X509_verify_cert_error_string(long n) { diff --git a/crypto/x509/x509_v3.c b/crypto/x509/x509_v3.c index 83988cf19..18193c33f 100644 --- a/crypto/x509/x509_v3.c +++ b/crypto/x509/x509_v3.c @@ -57,12 +57,12 @@ */ #include -#include "stack.h" +#include #include "cryptlib.h" -#include "asn1.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include int X509v3_get_ext_count(STACK *x) { diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 26ca42144..cd0a57996 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -62,14 +62,14 @@ #include #include -#include "crypto.h" +#include #include "cryptlib.h" -#include "lhash.h" -#include "buffer.h" -#include "evp.h" -#include "asn1.h" -#include "x509.h" -#include "objects.h" +#include +#include +#include +#include +#include +#include #ifndef NOPROTO static int null_callback(int ok,X509_STORE_CTX *e); diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h index fd70b7496..41f65f727 100644 --- a/crypto/x509/x509_vfy.h +++ b/crypto/x509/x509_vfy.h @@ -63,8 +63,8 @@ extern "C" { #endif -#include "bio.h" -#include "crypto.h" +#include +#include /* Outer object */ typedef struct x509_hash_dir_st diff --git a/crypto/x509/x509name.c b/crypto/x509/x509name.c index 2bc5f29d0..d5172a9b0 100644 --- a/crypto/x509/x509name.c +++ b/crypto/x509/x509name.c @@ -57,12 +57,12 @@ */ #include -#include "stack.h" +#include #include "cryptlib.h" -#include "asn1.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include int X509_NAME_get_text_by_NID(X509_NAME *name, int nid, char *buf, int len) { diff --git a/crypto/x509/x509rset.c b/crypto/x509/x509rset.c index 9f8032da0..d9f6b5737 100644 --- a/crypto/x509/x509rset.c +++ b/crypto/x509/x509rset.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include int X509_REQ_set_version(X509_REQ *x, long version) { diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 992cd483b..8e78b3445 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" +#include +#include +#include int X509_certificate_type(X509 *x, EVP_PKEY *pkey) { diff --git a/crypto/x509/x_all.c b/crypto/x509/x_all.c index 0e4302f64..e7aee87db 100644 --- a/crypto/x509/x_all.c +++ b/crypto/x509/x_all.c @@ -58,12 +58,12 @@ #include #undef SSLEAY_MACROS -#include "stack.h" +#include #include "cryptlib.h" -#include "buffer.h" -#include "asn1.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include int X509_verify(X509 *a, EVP_PKEY *r) { diff --git a/crypto/x509v3/Makefile.ssl b/crypto/x509v3/Makefile.ssl index 8294b5e14..181bd9c1b 100644 --- a/crypto/x509v3/Makefile.ssl +++ b/crypto/x509v3/Makefile.ssl @@ -51,15 +51,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../../test $(TEST) @$(TOP)/util/mklink.sh ../../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/x509v3/v3_akey.c b/crypto/x509v3/v3_akey.c index 3bb31869a..d17e3de65 100644 --- a/crypto/x509v3/v3_akey.c +++ b/crypto/x509v3/v3_akey.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "x509v3.h" +#include +#include +#include +#include #ifndef NOPROTO static STACK *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method, AUTHORITY_KEYID *akeyid, STACK *extlist); diff --git a/crypto/x509v3/v3_alt.c b/crypto/x509v3/v3_alt.c index e1b768fdd..efe9e5ee3 100644 --- a/crypto/x509v3/v3_alt.c +++ b/crypto/x509v3/v3_alt.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "x509v3.h" +#include +#include #ifndef NOPROTO static STACK_OF(GENERAL_NAME) *v2i_subject_alt(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval); diff --git a/crypto/x509v3/v3_bcons.c b/crypto/x509v3/v3_bcons.c index 6e2231f15..457ee16ed 100644 --- a/crypto/x509v3/v3_bcons.c +++ b/crypto/x509v3/v3_bcons.c @@ -59,10 +59,10 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "conf.h" -#include "x509v3.h" +#include +#include +#include +#include #ifndef NOPROTO static STACK *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method, BASIC_CONSTRAINTS *bcons, STACK *extlist); diff --git a/crypto/x509v3/v3_bitst.c b/crypto/x509v3/v3_bitst.c index b3b6c49af..35cbc821a 100644 --- a/crypto/x509v3/v3_bitst.c +++ b/crypto/x509v3/v3_bitst.c @@ -58,8 +58,8 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "x509v3.h" +#include +#include #ifndef NOPROTO static ASN1_BIT_STRING *asn1_bit_string_new(void); diff --git a/crypto/x509v3/v3_conf.c b/crypto/x509v3/v3_conf.c index 8e42bd8ac..29982e68c 100644 --- a/crypto/x509v3/v3_conf.c +++ b/crypto/x509v3/v3_conf.c @@ -62,9 +62,9 @@ #include #include #include "cryptlib.h" -#include "conf.h" -#include "x509.h" -#include "x509v3.h" +#include +#include +#include #ifndef NOPROTO static int v3_check_critical(char **value); diff --git a/crypto/x509v3/v3_cpols.c b/crypto/x509v3/v3_cpols.c index 95033f265..328c3c54b 100644 --- a/crypto/x509v3/v3_cpols.c +++ b/crypto/x509v3/v3_cpols.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "x509v3.h" +#include +#include +#include +#include /* Certificate policies extension support: this one is a bit complex... */ diff --git a/crypto/x509v3/v3_crld.c b/crypto/x509v3/v3_crld.c index c0b63ee23..93c798c23 100644 --- a/crypto/x509v3/v3_crld.c +++ b/crypto/x509v3/v3_crld.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "x509v3.h" +#include +#include +#include +#include static STACK *i2v_crld(X509V3_EXT_METHOD *method, STACK_OF(DIST_POINT) *crld, STACK *extlist); diff --git a/crypto/x509v3/v3_enum.c b/crypto/x509v3/v3_enum.c index eb9f7163c..e68e04f40 100644 --- a/crypto/x509v3/v3_enum.c +++ b/crypto/x509v3/v3_enum.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "x509v3.h" +#include static ASN1_ENUMERATED *asn1_enumerated_new(); diff --git a/crypto/x509v3/v3_extku.c b/crypto/x509v3/v3_extku.c index b01359d39..73c7f391b 100644 --- a/crypto/x509v3/v3_extku.c +++ b/crypto/x509v3/v3_extku.c @@ -59,9 +59,9 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "conf.h" -#include "x509v3.h" +#include +#include +#include #ifndef NOPROTO static STACK *v2i_ext_ku(X509V3_EXT_METHOD *method, X509V3_CTX *ctx, STACK *nval); diff --git a/crypto/x509v3/v3_genn.c b/crypto/x509v3/v3_genn.c index fb0d47280..1a58f73ab 100644 --- a/crypto/x509v3/v3_genn.c +++ b/crypto/x509v3/v3_genn.c @@ -59,10 +59,10 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "conf.h" -#include "x509v3.h" +#include +#include +#include +#include /* * ASN1err(ASN1_F_GENERAL_NAME_NEW,ERR_R_MALLOC_FAILURE); diff --git a/crypto/x509v3/v3_ia5.c b/crypto/x509v3/v3_ia5.c index d590bef0a..81cc9baef 100644 --- a/crypto/x509v3/v3_ia5.c +++ b/crypto/x509v3/v3_ia5.c @@ -59,9 +59,9 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "conf.h" -#include "x509v3.h" +#include +#include +#include #ifndef NOPROTO static ASN1_IA5STRING *ia5string_new(void); diff --git a/crypto/x509v3/v3_int.c b/crypto/x509v3/v3_int.c index 7c69dd074..33239dd6c 100644 --- a/crypto/x509v3/v3_int.c +++ b/crypto/x509v3/v3_int.c @@ -58,7 +58,7 @@ #include #include "cryptlib.h" -#include "x509v3.h" +#include static ASN1_INTEGER *asn1_integer_new(); diff --git a/crypto/x509v3/v3_lib.c b/crypto/x509v3/v3_lib.c index f71e65604..6d5e499a3 100644 --- a/crypto/x509v3/v3_lib.c +++ b/crypto/x509v3/v3_lib.c @@ -59,8 +59,8 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "x509v3.h" +#include +#include static STACK *ext_list = NULL; diff --git a/crypto/x509v3/v3_pku.c b/crypto/x509v3/v3_pku.c index 54ae80df1..2637ff10a 100644 --- a/crypto/x509v3/v3_pku.c +++ b/crypto/x509v3/v3_pku.c @@ -58,9 +58,9 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "x509v3.h" +#include +#include +#include #ifndef NOPROTO static int i2r_PKEY_USAGE_PERIOD(X509V3_EXT_METHOD *method, PKEY_USAGE_PERIOD *usage, BIO *out, int indent); diff --git a/crypto/x509v3/v3_prn.c b/crypto/x509v3/v3_prn.c index 8ddc16b7c..06a4f6964 100644 --- a/crypto/x509v3/v3_prn.c +++ b/crypto/x509v3/v3_prn.c @@ -59,8 +59,8 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "x509v3.h" +#include +#include /* Extension printing routines */ diff --git a/crypto/x509v3/v3_skey.c b/crypto/x509v3/v3_skey.c index 49f151e9c..b83aef693 100644 --- a/crypto/x509v3/v3_skey.c +++ b/crypto/x509v3/v3_skey.c @@ -59,7 +59,7 @@ #include #include "cryptlib.h" -#include "x509v3.h" +#include #ifndef NOPROTO static ASN1_OCTET_STRING *octet_string_new(void); diff --git a/crypto/x509v3/v3_sxnet.c b/crypto/x509v3/v3_sxnet.c index 42705cbff..cd193d8d8 100644 --- a/crypto/x509v3/v3_sxnet.c +++ b/crypto/x509v3/v3_sxnet.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "conf.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "x509v3.h" +#include +#include +#include +#include /* Support for Thawte strong extranet extension */ diff --git a/crypto/x509v3/v3_utl.c b/crypto/x509v3/v3_utl.c index 6234694f1..c1ea05c1e 100644 --- a/crypto/x509v3/v3_utl.c +++ b/crypto/x509v3/v3_utl.c @@ -61,8 +61,8 @@ #include #include #include "cryptlib.h" -#include "conf.h" -#include "x509v3.h" +#include +#include static char *strip_spaces(char *name); diff --git a/crypto/x509v3/v3conf.c b/crypto/x509v3/v3conf.c index aca90b6d7..21cf746f4 100644 --- a/crypto/x509v3/v3conf.c +++ b/crypto/x509v3/v3conf.c @@ -59,11 +59,11 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "conf.h" -#include "x509.h" -#include "x509v3.h" +#include +#include +#include +#include +#include /* Test application to add extensions from a config file */ diff --git a/crypto/x509v3/v3err.c b/crypto/x509v3/v3err.c index a00dda754..34a1300d6 100644 --- a/crypto/x509v3/v3err.c +++ b/crypto/x509v3/v3err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "x509v3.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/crypto/x509v3/v3prin.c b/crypto/x509v3/v3prin.c index 2f80a8e24..ee798859f 100644 --- a/crypto/x509v3/v3prin.c +++ b/crypto/x509v3/v3prin.c @@ -60,11 +60,11 @@ #include #include "cryptlib.h" -#include "asn1.h" -#include "asn1_mac.h" -#include "conf.h" -#include "x509.h" -#include "x509v3.h" +#include +#include +#include +#include +#include int main(int argc, char **argv) { diff --git a/crypto/x509v3/x509v3.h b/crypto/x509v3/x509v3.h index 5b19ff4e5..518b41e2c 100644 --- a/crypto/x509v3/x509v3.h +++ b/crypto/x509v3/x509v3.h @@ -62,8 +62,8 @@ extern "C" { #endif -#include "bio.h" -#include "x509.h" +#include +#include /* Forward reference */ struct v3_ext_method; diff --git a/demos/b64.c b/demos/b64.c index 42abc42d3..725c78db2 100644 --- a/demos/b64.c +++ b/demos/b64.c @@ -60,12 +60,12 @@ #include #include #include "apps.h" -#include "buffer.h" -#include "err.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include #undef SIZE #undef BSIZE diff --git a/demos/bio/saccept.c b/demos/bio/saccept.c index 920eab397..2f2dc985f 100644 --- a/demos/bio/saccept.c +++ b/demos/bio/saccept.c @@ -12,8 +12,8 @@ #include #include -#include "err.h" -#include "ssl.h" +#include +#include #define CERT_FILE "server.pem" diff --git a/demos/bio/sconnect.c b/demos/bio/sconnect.c index 68296da80..8fb6302b9 100644 --- a/demos/bio/sconnect.c +++ b/demos/bio/sconnect.c @@ -9,8 +9,8 @@ */ #include #include -#include "err.h" -#include "ssl.h" +#include +#include extern int errno; diff --git a/demos/eay/base64.c b/demos/eay/base64.c index de080f617..4b8b0627d 100644 --- a/demos/eay/base64.c +++ b/demos/eay/base64.c @@ -2,8 +2,8 @@ * getting the data. */ #include -#include "bio.h" -#include "evp.h" +#include +#include main() { diff --git a/demos/eay/conn.c b/demos/eay/conn.c index f44fc7f53..ac121db27 100644 --- a/demos/eay/conn.c +++ b/demos/eay/conn.c @@ -7,8 +7,8 @@ */ #include #include -#include "err.h" -#include "bio.h" +#include +#include #include "proxy.h" extern int errno; diff --git a/demos/eay/loadrsa.c b/demos/eay/loadrsa.c index 91e62d74f..79f1885ca 100644 --- a/demos/eay/loadrsa.c +++ b/demos/eay/loadrsa.c @@ -1,5 +1,5 @@ #include -#include "rsa.h" +#include /* This is a simple program to generate an RSA private key. It then * saves both the public and private key into a char array, then diff --git a/demos/maurice/example1.c b/demos/maurice/example1.c index 77730d323..0e70523a3 100644 --- a/demos/maurice/example1.c +++ b/demos/maurice/example1.c @@ -13,13 +13,13 @@ #include #include -#include "rsa.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "err.h" -#include "pem.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include #include "loadkeys.h" diff --git a/demos/maurice/example2.c b/demos/maurice/example2.c index 99f7b2244..06c325832 100644 --- a/demos/maurice/example2.c +++ b/demos/maurice/example2.c @@ -10,13 +10,13 @@ #include #include -#include "rsa.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "err.h" -#include "pem.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include #include "loadkeys.h" diff --git a/demos/maurice/loadkeys.c b/demos/maurice/loadkeys.c index 7c89f071f..0f3464753 100644 --- a/demos/maurice/loadkeys.c +++ b/demos/maurice/loadkeys.c @@ -14,13 +14,13 @@ #include #include -#include "rsa.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "err.h" -#include "pem.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include EVP_PKEY * ReadPublicKey(const char *certfile) { diff --git a/demos/maurice/loadkeys.h b/demos/maurice/loadkeys.h index e42c6f8dc..d8fde86eb 100644 --- a/demos/maurice/loadkeys.h +++ b/demos/maurice/loadkeys.h @@ -10,7 +10,7 @@ #ifndef LOADKEYS_H_SEEN #define LOADKEYS_H_SEEN -#include "evp.h" +#include EVP_PKEY * ReadPublicKey(const char *certfile); EVP_PKEY *ReadPrivateKey(const char *keyfile); diff --git a/demos/prime/prime.c b/demos/prime/prime.c index e4a17765b..a1bf507b7 100644 --- a/demos/prime/prime.c +++ b/demos/prime/prime.c @@ -57,7 +57,7 @@ */ #include -#include "bn.h" +#include void callback(type,num) int type,num; diff --git a/demos/selfsign.c b/demos/selfsign.c index 72146fc06..07711343a 100644 --- a/demos/selfsign.c +++ b/demos/selfsign.c @@ -4,13 +4,13 @@ #include #include -#include "buffer.h" -#include "crypto.h" -#include "objects.h" -#include "asn1.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include +#include int mkit(X509 **x509p, EVP_PKEY **pkeyp, int bits, int serial, int days); diff --git a/demos/sign/sign.c b/demos/sign/sign.c index 5cbce3cdc..946c29c45 100644 --- a/demos/sign/sign.c +++ b/demos/sign/sign.c @@ -62,13 +62,13 @@ /* converted to C - eay :-) */ #include -#include "rsa.h" -#include "evp.h" -#include "objects.h" -#include "x509.h" -#include "err.h" -#include "pem.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include void main () { diff --git a/demos/spkigen.c b/demos/spkigen.c index 01fe6254f..d87881197 100644 --- a/demos/spkigen.c +++ b/demos/spkigen.c @@ -6,12 +6,12 @@ */ #include #include -#include "err.h" -#include "asn1.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include +#include /* The following two don't exist in SSLeay but they are in here as * examples */ diff --git a/mt/mttest.c b/mt/mttest.c index 8651a1131..13b955016 100644 --- a/mt/mttest.c +++ b/mt/mttest.c @@ -74,13 +74,13 @@ #include #include #endif -#include "lhash.h" -#include "crypto.h" -#include "buffer.h" +#include +#include +#include #include "../e_os.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include #ifdef NO_FP_API #define APPS_WIN16 diff --git a/perl/openssl.h b/perl/openssl.h index d1b6489ea..52e6cfc89 100644 --- a/perl/openssl.h +++ b/perl/openssl.h @@ -60,7 +60,7 @@ extern "C" { #endif #include "EXTERN.h" -#include "perl.h" +#include #include "XSUB.h" #ifdef __cplusplus @@ -72,13 +72,13 @@ typedef struct datum_st { int dsize; } datum; -#include "crypto.h" -#include "buffer.h" -#include "bio.h" -#include "evp.h" -#include "err.h" -#include "x509.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include #ifdef DEBUG #define pr_name(name) printf("%s\n",name) diff --git a/rsaref/Makefile.ssl b/rsaref/Makefile.ssl index 3b93823e9..45bd0a007 100644 --- a/rsaref/Makefile.ssl +++ b/rsaref/Makefile.ssl @@ -47,7 +47,7 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../test $(TEST) @$(TOP)/util/mklink.sh ../apps $(APPS) @@ -55,8 +55,8 @@ install: # @for i in $(EXHEADER) ; \ # do \ -# (cp $$i $(INSTALLTOP)/include/$$i; \ -# chmod 644 $(INSTALLTOP)/include/$$i ); \ +# (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ +# chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ # done; tags: diff --git a/rsaref/rsar_err.c b/rsaref/rsar_err.c index f8714e1f7..a512ba481 100644 --- a/rsaref/rsar_err.c +++ b/rsaref/rsar_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "rsaref.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/rsaref/rsaref.c b/rsaref/rsaref.c index c72b5fc19..99839d21e 100644 --- a/rsaref/rsaref.c +++ b/rsaref/rsaref.c @@ -58,10 +58,10 @@ #include #include "cryptlib.h" -#include "bn.h" -#include "rsa.h" -#include "rsaref.h" -#include "rand.h" +#include +#include +#include +#include /* * RSAREFerr(RSAREF_F_RSA_REF_BN2BIN,RSAREF_R_CONTENT_ENCODING); diff --git a/rsaref/rsaref.h b/rsaref/rsaref.h index c264e288c..8e9102784 100644 --- a/rsaref/rsaref.h +++ b/rsaref/rsaref.h @@ -59,7 +59,7 @@ #ifndef HEADER_RSAREF_H #define HEADER_RSAREF_H -#include "rsa.h" +#include /* RSAeuro */ /*#define RSAref_MAX_BITS 2048*/ diff --git a/ssl/Makefile.ssl b/ssl/Makefile.ssl index 882b6ed8b..5eb6bdc3a 100644 --- a/ssl/Makefile.ssl +++ b/ssl/Makefile.ssl @@ -63,15 +63,15 @@ files: links: @$(TOP)/util/point.sh Makefile.ssl Makefile - @$(TOP)/util/mklink.sh ../include $(EXHEADER) + @$(TOP)/util/mklink.sh ../include/openssl $(EXHEADER) @$(TOP)/util/mklink.sh ../test $(TEST) @$(TOP)/util/mklink.sh ../apps $(APPS) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/$$i; \ - chmod 644 $(INSTALLTOP)/include/$$i ); \ + (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/ssl/bio_ssl.c b/ssl/bio_ssl.c index ed0832722..689f3a4fd 100644 --- a/ssl/bio_ssl.c +++ b/ssl/bio_ssl.c @@ -60,10 +60,10 @@ #include #include #include -#include "crypto.h" -#include "bio.h" -#include "err.h" -#include "ssl.h" +#include +#include +#include +#include #ifndef NOPROTO static int ssl_write(BIO *h,char *buf,int num); diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c index c7f85a621..5cbd99d56 100644 --- a/ssl/s23_clnt.c +++ b/ssl/s23_clnt.c @@ -57,10 +57,10 @@ */ #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" +#include +#include +#include +#include #include "ssl_locl.h" #define BREAK break diff --git a/ssl/s23_lib.c b/ssl/s23_lib.c index c4064726f..80b21404e 100644 --- a/ssl/s23_lib.c +++ b/ssl/s23_lib.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/s23_meth.c b/ssl/s23_meth.c index f1f81325b..fc9eae21a 100644 --- a/ssl/s23_meth.c +++ b/ssl/s23_meth.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/s23_pkt.c b/ssl/s23_pkt.c index 64acf2ce7..8370ea508 100644 --- a/ssl/s23_pkt.c +++ b/ssl/s23_pkt.c @@ -59,8 +59,8 @@ #include #include #define USE_SOCKETS -#include "evp.h" -#include "buffer.h" +#include +#include #include "ssl_locl.h" int ssl23_write_bytes(SSL *s) diff --git a/ssl/s23_srvr.c b/ssl/s23_srvr.c index f626c9cb0..e5b127fef 100644 --- a/ssl/s23_srvr.c +++ b/ssl/s23_srvr.c @@ -57,10 +57,10 @@ */ #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" +#include +#include +#include +#include #include "ssl_locl.h" #define BREAK break diff --git a/ssl/s2_clnt.c b/ssl/s2_clnt.c index 3a79fd741..049ec6c8e 100644 --- a/ssl/s2_clnt.c +++ b/ssl/s2_clnt.c @@ -57,11 +57,11 @@ */ #include -#include "rand.h" -#include "buffer.h" -#include "objects.h" +#include +#include +#include #include "ssl_locl.h" -#include "evp.h" +#include #ifndef NOPROTO static SSL_METHOD *ssl2_get_client_method(int ver); diff --git a/ssl/s2_lib.c b/ssl/s2_lib.c index b05808700..3551fb9e8 100644 --- a/ssl/s2_lib.c +++ b/ssl/s2_lib.c @@ -57,8 +57,8 @@ */ #include -#include "rsa.h" -#include "objects.h" +#include +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/s2_meth.c b/ssl/s2_meth.c index 96ac159ce..d1940388e 100644 --- a/ssl/s2_meth.c +++ b/ssl/s2_meth.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/s2_srvr.c b/ssl/s2_srvr.c index d472d5d5a..5271546df 100644 --- a/ssl/s2_srvr.c +++ b/ssl/s2_srvr.c @@ -57,11 +57,11 @@ */ #include -#include "bio.h" -#include "rand.h" -#include "objects.h" +#include +#include +#include #include "ssl_locl.h" -#include "evp.h" +#include #ifndef NOPROTO static SSL_METHOD *ssl2_get_server_method(int ver); diff --git a/ssl/s3_both.c b/ssl/s3_both.c index f4478a915..fdffe7524 100644 --- a/ssl/s3_both.c +++ b/ssl/s3_both.c @@ -57,11 +57,11 @@ */ #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include +#include #include "ssl_locl.h" #define BREAK break diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c index 6c8eefbdc..c2d33fef0 100644 --- a/ssl/s3_clnt.c +++ b/ssl/s3_clnt.c @@ -57,10 +57,10 @@ */ #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" +#include +#include +#include +#include #include "ssl_locl.h" #define BREAK break diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index dfddb51d1..2113ff325 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -57,7 +57,7 @@ */ #include -#include "evp.h" +#include #include "ssl_locl.h" static unsigned char ssl3_pad_1[48]={ diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index aefb38bbe..14f6ac4fa 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" const char *ssl3_version_str="SSLv3" OPENSSL_VERSION_PTEXT; diff --git a/ssl/s3_meth.c b/ssl/s3_meth.c index d70165cb4..01147023a 100644 --- a/ssl/s3_meth.c +++ b/ssl/s3_meth.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index 468831ae8..ebb3b6f9f 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -59,8 +59,8 @@ #include #include #define USE_SOCKETS -#include "evp.h" -#include "buffer.h" +#include +#include #include "ssl_locl.h" /* SSLerr(SSL_F_GET_SERVER_HELLO,SSL_R_SSLV3_ALERT_PEER_ERROR_NO_CIPHER); diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index d3c2680e5..60bdf262f 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -59,11 +59,11 @@ #define REUSE_CIPHER_BUG #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include +#include #include "ssl_locl.h" #define BREAK break diff --git a/ssl/ssl.c b/ssl/ssl.c index 1f769a18f..f3e8cd4d4 100644 --- a/ssl/ssl.c +++ b/ssl/ssl.c @@ -63,27 +63,27 @@ #define USE_SOCKETS #include "../e_os.h" -#include "buffer.h" -#include "stack.h" -#include "lhash.h" +#include +#include +#include -#include "bio.h" -#include "err.h" +#include +#include -#include "bn.h" +#include -#include "rand.h" -#include "conf.h" -#include "txt_db.h" +#include +#include +#include -#include "err.h" -#include "evp.h" +#include +#include -#include "x509.h" -#include "pkcs7.h" -#include "pem.h" -#include "asn1.h" -#include "objects.h" +#include +#include +#include +#include +#include #include "ssl_locl.h" diff --git a/ssl/ssl.h b/ssl/ssl.h index 9605e343d..1f4234827 100644 --- a/ssl/ssl.h +++ b/ssl/ssl.h @@ -63,7 +63,7 @@ extern "C" { #endif -#include "safestack.h" +#include /* SSLeay version number for ASN.1 encoding of the session information */ /* Version 0 - initial version @@ -144,11 +144,11 @@ extern "C" { #define SSL_SENT_SHUTDOWN 1 #define SSL_RECEIVED_SHUTDOWN 2 -#include "crypto.h" -#include "lhash.h" -#include "buffer.h" -#include "bio.h" -#include "x509.h" +#include +#include +#include +#include +#include #define SSL_FILETYPE_ASN1 X509_FILETYPE_ASN1 #define SSL_FILETYPE_PEM X509_FILETYPE_PEM @@ -603,10 +603,10 @@ struct ssl_st * SSLv3/TLS rolback check */ }; -#include "ssl2.h" -#include "ssl3.h" -#include "tls1.h" /* This is mostly sslv3 with a few tweaks */ -#include "ssl23.h" +#include +#include +#include /* This is mostly sslv3 with a few tweaks */ +#include /* compatablity */ #define SSL_set_app_data(s,arg) (SSL_set_ex_data(s,0,(char *)arg)) diff --git a/ssl/ssl3.h b/ssl/ssl3.h index 2e2ee9892..23375f16e 100644 --- a/ssl/ssl3.h +++ b/ssl/ssl3.h @@ -59,7 +59,7 @@ #ifndef HEADER_SSL3_H #define HEADER_SSL3_H -#include "buffer.h" +#include #ifdef __cplusplus extern "C" { diff --git a/ssl/ssl_algs.c b/ssl/ssl_algs.c index 0c0e8da48..6e198ecac 100644 --- a/ssl/ssl_algs.c +++ b/ssl/ssl_algs.c @@ -57,8 +57,8 @@ */ #include -#include "objects.h" -#include "lhash.h" +#include +#include #include "ssl_locl.h" int SSL_library_init(void) diff --git a/ssl/ssl_asn1.c b/ssl/ssl_asn1.c index 7454ba39a..b8ae9d681 100644 --- a/ssl/ssl_asn1.c +++ b/ssl/ssl_asn1.c @@ -58,8 +58,8 @@ #include #include -#include "asn1_mac.h" -#include "objects.h" +#include +#include #include "ssl_locl.h" typedef struct ssl_session_asn1_st diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c index 90eb769ea..88cc5fc21 100644 --- a/ssl/ssl_cert.c +++ b/ssl/ssl_cert.c @@ -61,9 +61,9 @@ #ifndef WIN32 #include #endif -#include "objects.h" -#include "bio.h" -#include "pem.h" +#include +#include +#include #include "ssl_locl.h" int SSL_get_ex_data_X509_STORE_CTX_idx(void) diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index b5d6f0996..d684758a8 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -57,8 +57,8 @@ */ #include -#include "objects.h" -#include "comp.h" +#include +#include #include "ssl_locl.h" #define SSL_ENC_DES_IDX 0 diff --git a/ssl/ssl_err.c b/ssl/ssl_err.c index a9c2b6f66..cfffe63ff 100644 --- a/ssl/ssl_err.c +++ b/ssl/ssl_err.c @@ -56,8 +56,8 @@ * [including the GNU Public Licence.] */ #include -#include "err.h" -#include "ssl.h" +#include +#include /* BEGIN ERROR CODES */ #ifndef NO_ERR diff --git a/ssl/ssl_err2.c b/ssl/ssl_err2.c index dc8d03887..cc089a612 100644 --- a/ssl/ssl_err2.c +++ b/ssl/ssl_err2.c @@ -57,8 +57,8 @@ */ #include -#include "err.h" -#include "ssl.h" +#include +#include void SSL_load_error_strings(void) { diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index 6479e3895..3560c7c18 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -59,8 +59,8 @@ */ #include -#include "objects.h" -#include "lhash.h" +#include +#include #include "ssl_locl.h" char *SSL_version_str=OPENSSL_VERSION_TEXT; diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index be0c814ed..7b270c63d 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -63,17 +63,17 @@ #include #include -#include "e_os.h" +#include -#include "buffer.h" -#include "comp.h" -#include "bio.h" -#include "crypto.h" -#include "evp.h" -#include "stack.h" -#include "x509.h" -#include "err.h" -#include "ssl.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include #define PKCS1_CHECK diff --git a/ssl/ssl_rsa.c b/ssl/ssl_rsa.c index 9d10831ca..fde484ba2 100644 --- a/ssl/ssl_rsa.c +++ b/ssl/ssl_rsa.c @@ -57,11 +57,11 @@ */ #include -#include "bio.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" -#include "pem.h" +#include +#include +#include +#include +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c index 3422099ac..26a80d666 100644 --- a/ssl/ssl_sess.c +++ b/ssl/ssl_sess.c @@ -57,8 +57,8 @@ */ #include -#include "lhash.h" -#include "rand.h" +#include +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/ssl_task.c b/ssl/ssl_task.c index ab7216666..05f932590 100644 --- a/ssl/ssl_task.c +++ b/ssl/ssl_task.c @@ -123,11 +123,11 @@ int LIB$INIT_TIMER(), LIB$SHOW_TIMER(); #include /* from ssltest.c */ #include -#include "buffer.h" +#include #include "../e_os.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include int MS_CALLBACK verify_callback(int ok, X509 *xs, X509 *xi, int depth, int error); diff --git a/ssl/ssl_txt.c b/ssl/ssl_txt.c index c1b2a8652..df0af0975 100644 --- a/ssl/ssl_txt.c +++ b/ssl/ssl_txt.c @@ -57,7 +57,7 @@ */ #include -#include "buffer.h" +#include #include "ssl_locl.h" #ifndef NO_FP_API diff --git a/ssl/ssltest.c b/ssl/ssltest.c index ef80d4299..b6425c221 100644 --- a/ssl/ssltest.c +++ b/ssl/ssltest.c @@ -60,12 +60,12 @@ #include #include #include -#include "e_os.h" -#include "bio.h" -#include "crypto.h" -#include "x509.h" -#include "ssl.h" -#include "err.h" +#include +#include +#include +#include +#include +#include #ifdef WINDOWS #include "../crypto/bio/bss_file.c" #endif diff --git a/ssl/t1_clnt.c b/ssl/t1_clnt.c index 429ad0eca..0e068c381 100644 --- a/ssl/t1_clnt.c +++ b/ssl/t1_clnt.c @@ -57,10 +57,10 @@ */ #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" +#include +#include +#include +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/t1_enc.c b/ssl/t1_enc.c index 99af1966e..05a3382af 100644 --- a/ssl/t1_enc.c +++ b/ssl/t1_enc.c @@ -57,9 +57,9 @@ */ #include -#include "comp.h" -#include "evp.h" -#include "hmac.h" +#include +#include +#include #include "ssl_locl.h" static void tls1_P_hash(const EVP_MD *md, const unsigned char *sec, diff --git a/ssl/t1_lib.c b/ssl/t1_lib.c index 746ef7edf..ddf5c1579 100644 --- a/ssl/t1_lib.c +++ b/ssl/t1_lib.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" char *tls1_version_str="TLSv1" OPENSSL_VERSION_PTEXT; diff --git a/ssl/t1_meth.c b/ssl/t1_meth.c index 888ea3e6a..263277389 100644 --- a/ssl/t1_meth.c +++ b/ssl/t1_meth.c @@ -57,7 +57,7 @@ */ #include -#include "objects.h" +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/t1_srvr.c b/ssl/t1_srvr.c index 7e65f263f..d2655d52c 100644 --- a/ssl/t1_srvr.c +++ b/ssl/t1_srvr.c @@ -57,11 +57,11 @@ */ #include -#include "buffer.h" -#include "rand.h" -#include "objects.h" -#include "evp.h" -#include "x509.h" +#include +#include +#include +#include +#include #include "ssl_locl.h" #ifndef NOPROTO diff --git a/ssl/tls1.h b/ssl/tls1.h index e956761fe..07dfe2b13 100644 --- a/ssl/tls1.h +++ b/ssl/tls1.h @@ -59,7 +59,7 @@ #ifndef HEADER_TLS1_H #define HEADER_TLS1_H -#include "buffer.h" +#include #ifdef __cplusplus extern "C" { diff --git a/test/methtest.c b/test/methtest.c index 630d29dc9..06ccb3b31 100644 --- a/test/methtest.c +++ b/test/methtest.c @@ -58,10 +58,10 @@ #include #include -#include "rsa.h" -#include "x509.h" +#include +#include #include "meth.h" -#include "err.h" +#include int main(argc,argv) int argc; diff --git a/util/mk1mf.pl b/util/mk1mf.pl index 2bf9584ce..c936d785c 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -307,6 +307,7 @@ OUT_D=$out_dir TMP_D=$tmp_dir # The output directory for the header files INC_D=$inc_dir +INCO_D=$inc_dir${o}openssl CP=$cp RM=$rm @@ -365,7 +366,7 @@ LIBS_DEP=\$(O_CRYPTO) \$(O_RSAGLUE) \$(O_SSL) EOF $rules=<<"EOF"; -all: banner \$(TMP_D) \$(BIN_D) \$(TEST_D) \$(LIB_D) \$(INC_D) headers lib exe +all: banner \$(TMP_D) \$(BIN_D) \$(TEST_D) \$(LIB_D) \$(INCO_D) headers lib exe banner: $banner @@ -382,6 +383,9 @@ $banner \$(LIB_D): \$(MKDIR) \$(LIB_D) +\$(INCO_D): \$(INC_D) + \$(MKDIR) \$(INC_D)${o}openssl + \$(INC_D): \$(MKDIR) \$(INC_D) @@ -395,8 +399,9 @@ install: \$(MKDIR) \$(INSTALLTOP) \$(MKDIR) \$(INSTALLTOP)${o}bin \$(MKDIR) \$(INSTALLTOP)${o}include + \$(MKDIR) \$(INSTALLTOP)${o}include${o}openssl \$(MKDIR) \$(INSTALLTOP)${o}lib - \$(CP) \$(INC_D)${o}*.\[ch\] \$(INSTALLTOP)${o}include + \$(CP) \$(INCO_D)${o}*.\[ch\] \$(INSTALLTOP)${o}include${o}openssl \$(CP) \$(BIN_D)$o\$(E_EXE)$exep \$(INSTALLTOP)${o}bin \$(CP) \$(O_SSL) \$(INSTALLTOP)${o}lib \$(CP) \$(O_CRYPTO) \$(INSTALLTOP)${o}lib @@ -476,8 +481,8 @@ chop($h); $header=$h; $defs.=&do_defs("HEADER",$header,"\$(INCL_D)",".h"); $rules.=&do_copy_rule("\$(INCL_D)",$header,".h"); -$defs.=&do_defs("EXHEADER",$exheader,"\$(INC_D)",".h"); -$rules.=&do_copy_rule("\$(INC_D)",$exheader,".h"); +$defs.=&do_defs("EXHEADER",$exheader,"\$(INCO_D)",".h"); +$rules.=&do_copy_rule("\$(INCO_D)",$exheader,".h"); $defs.=&do_defs("T_OBJ",$test,"\$(OBJ_D)",$obj); $rules.=&do_compile_rule("\$(OBJ_D)",$test,"\$(APP_CFLAGS)"); diff --git a/util/mklink.sh b/util/mklink.sh index 015586a9c..3eeba67b2 100755 --- a/util/mklink.sh +++ b/util/mklink.sh @@ -12,6 +12,15 @@ shift here=`pwd` tmp=`dirname $from` +prefix='..' + +while [ `basename $tmp`x != ..x -a `basename $tmp`x != .x ] +do + prefix=../$prefix + tmp=`dirname $tmp` +done + +to='' while [ "$tmp"x != "x" -a "$tmp"x != ".x" ] do t=`basename $here` @@ -19,7 +28,7 @@ do to="/$t$to" tmp=`dirname $tmp` done -to=..$to +to=$prefix$to if [ "$*"x != "x" ]; then for i in $*