Merge lp:~nvalcarcel/ubuntu/lucid/openssl/openssl-merge into lp:ubuntu/lucid/openssl
- Lucid (10.04)
- openssl-merge
- Merge into lucid
Status: | Merged |
---|---|
Merge reported by: | James Westby |
Merged at revision: | not available |
Proposed branch: | lp:~nvalcarcel/ubuntu/lucid/openssl/openssl-merge |
Merge into: | lp:ubuntu/lucid/openssl |
Diff against target: |
106376 lines (+74833/-13178) 755 files modified
.pc/.version (+1/-0) CHANGES (+282/-0) ChangeLog.0_9_7-stable_not-in-head (+0/-163) ChangeLog.0_9_7-stable_not-in-head_FIPS (+0/-1494) Configure (+275/-141) FAQ (+65/-9) INSTALL (+2/-2) INSTALL.NW (+72/-62) LICENSE (+1/-1) MacOS/GetHTTPS.src/ErrorHandling.hpp (+1/-1) Makefile (+154/-16) Makefile.org (+155/-21) Makefile.shared (+11/-11) NEWS (+18/-0) Netware/build.bat (+26/-7) Netware/cpy_tests.bat (+1/-0) Netware/do_tests.pl (+101/-71) Netware/set_env.bat (+49/-27) README (+3/-3) apps/CA.pl.in (+0/-2) apps/CA.sh (+0/-1) apps/Makefile (+317/-232) apps/apps.c (+235/-1) apps/apps.h (+22/-0) apps/asn1pars.c (+1/-1) apps/ca.c (+10/-1) apps/cms.c (+1347/-0) apps/crl.c (+19/-2) apps/dgst.c (+49/-8) apps/dsa.c (+14/-26) apps/ec.c (+1/-1) apps/enc.c (+14/-2) apps/engine.c (+3/-3) apps/genpkey.c (+440/-0) apps/genrsa.c (+14/-1) apps/nseq.c (+1/-1) apps/ocsp.c (+163/-51) apps/openssl.c (+14/-0) apps/pkcs12.c (+18/-4) apps/pkcs8.c (+1/-1) apps/pkey.c (+284/-0) apps/pkeyparam.c (+201/-0) apps/pkeyutl.c (+570/-0) apps/progs.h (+4/-0) apps/progs.pl (+2/-0) apps/rand.c (+24/-3) apps/req.c (+1/-2) apps/rsautl.c (+25/-13) apps/s_client.c (+130/-5) apps/s_server.c (+205/-4) apps/s_time.c (+0/-1) apps/smime.c (+1/-1) apps/speed.c (+2/-0) apps/spkac.c (+1/-1) apps/ts.c (+1144/-0) apps/tsget (+195/-0) apps/version.c (+1/-1) apps/x509.c (+9/-2) certs/README.RootCerts (+4/-0) certs/RegTP-5R.pem (+0/-19) certs/RegTP-6R.pem (+0/-19) certs/aol1.pem (+0/-22) certs/aol2.pem (+0/-33) certs/aoltw1.pem (+0/-23) certs/aoltw2.pem (+0/-34) certs/argena.pem (+0/-39) certs/argeng.pem (+0/-23) certs/demo/nortelCA.pem (+0/-16) certs/demo/timCA.pem (+0/-16) certs/demo/tjhCA.pem (+0/-15) certs/demo/vsigntca.pem (+0/-18) certs/eng1.pem (+0/-23) certs/eng2.pem (+0/-23) certs/eng3.pem (+0/-34) certs/eng4.pem (+0/-23) certs/eng5.pem (+0/-23) certs/expired/ICE-CA.pem (+0/-59) certs/expired/ICE-root.pem (+0/-48) certs/expired/ICE-user.pem (+0/-63) certs/expired/RegTP-4R.pem (+0/-19) certs/expired/factory.pem (+0/-15) certs/expired/rsa-cca.pem (+0/-19) certs/expired/rsa-ssca.pem (+0/-19) certs/expired/vsign2.pem (+0/-18) certs/expired/vsign3.pem (+0/-18) certs/thawteCb.pem (+0/-19) certs/thawteCp.pem (+0/-19) certs/vsign1.pem (+0/-17) certs/vsign3.pem (+0/-17) certs/vsignss.pem (+0/-17) certs/wellsfgo.pem (+0/-23) config (+14/-8) crypto/Makefile (+27/-7) crypto/aes/Makefile (+16/-4) crypto/aes/aes.h (+10/-0) crypto/aes/aes_cbc.c (+2/-0) crypto/aes/aes_core.c (+8/-0) crypto/aes/aes_wrap.c (+259/-0) crypto/aes/aes_x86core.c (+1063/-0) crypto/aes/asm/aes-586.pl (+5/-11) crypto/aes/asm/aes-armv4.pl (+1030/-0) crypto/aes/asm/aes-ppc.pl (+1176/-0) crypto/aes/asm/aes-s390x.pl (+1333/-0) crypto/aes/asm/aes-sparcv9.pl (+1181/-0) crypto/aes/asm/aes-x86_64.pl (+1579/-0) crypto/asn1/Makefile (+265/-231) crypto/asn1/a_bytes.c (+1/-1) crypto/asn1/a_mbstr.c (+1/-1) crypto/asn1/a_object.c (+1/-0) crypto/asn1/a_sign.c (+6/-1) crypto/asn1/a_strex.c (+1/-1) crypto/asn1/a_strnid.c (+1/-1) crypto/asn1/a_type.c (+26/-0) crypto/asn1/a_verify.c (+6/-1) crypto/asn1/ameth_lib.c (+446/-0) crypto/asn1/asn1.h (+52/-3) crypto/asn1/asn1_err.c (+18/-1) crypto/asn1/asn1_gen.c (+1/-1) crypto/asn1/asn1_lib.c (+8/-0) crypto/asn1/asn1_locl.h (+134/-0) crypto/asn1/asn1_par.c (+2/-0) crypto/asn1/asn1t.h (+8/-1) crypto/asn1/asn_mime.c (+874/-0) crypto/asn1/asn_moid.c (+1/-1) crypto/asn1/asn_pack.c (+1/-1) crypto/asn1/bio_asn1.c (+495/-0) crypto/asn1/bio_ndef.c (+246/-0) crypto/asn1/nsseq.c (+1/-1) crypto/asn1/p5_pbe.c (+1/-1) crypto/asn1/p5_pbev2.c (+1/-1) crypto/asn1/p8_pkey.c (+1/-1) crypto/asn1/t_bitst.c (+1/-1) crypto/asn1/t_crl.c (+1/-1) crypto/asn1/t_spki.c (+1/-1) crypto/asn1/t_x509.c (+11/-11) crypto/asn1/t_x509a.c (+1/-1) crypto/asn1/tasn_dec.c (+24/-14) crypto/asn1/tasn_enc.c (+2/-2) crypto/asn1/tasn_fre.c (+2/-4) crypto/asn1/tasn_new.c (+1/-1) crypto/asn1/tasn_prn.c (+1/-1) crypto/asn1/tasn_typ.c (+1/-1) crypto/asn1/tasn_utl.c (+1/-1) crypto/asn1/x_algor.c (+58/-1) crypto/asn1/x_bignum.c (+1/-1) crypto/asn1/x_exten.c (+6/-1) crypto/asn1/x_long.c (+1/-1) crypto/asn1/x_nx509.c (+72/-0) crypto/asn1/x_x509a.c (+1/-1) crypto/bf/Makefile (+7/-3) crypto/bf/bf_skey.c (+6/-1) crypto/bf/blowfish.h (+3/-1) crypto/bio/Makefile (+1/-1) crypto/bio/b_sock.c (+15/-7) crypto/bio/bio.h (+1/-0) crypto/bio/bss_bio.c (+1/-1) crypto/bio/bss_dgram.c (+67/-3) crypto/bio/bss_file.c (+7/-3) crypto/bio/bss_mem.c (+13/-11) crypto/bio/bss_sock.c (+5/-0) crypto/bn/Makefile (+22/-3) crypto/bn/asm/alpha-mont.pl (+317/-0) crypto/bn/asm/armv4-mont.pl (+200/-0) crypto/bn/asm/mips3-mont.pl (+327/-0) crypto/bn/asm/mo-586.pl (+603/-0) crypto/bn/asm/ppc-mont.pl (+323/-0) crypto/bn/asm/ppc64-mont.pl (+918/-0) crypto/bn/asm/s390x-mont.pl (+225/-0) crypto/bn/asm/s390x.S (+678/-0) crypto/bn/asm/sparcv9-mont.pl (+606/-0) crypto/bn/asm/sparcv9a-mont.pl (+882/-0) crypto/bn/asm/via-mont.pl (+242/-0) crypto/bn/asm/x86-mont.pl (+591/-0) crypto/bn/asm/x86_64-mont.pl (+214/-0) crypto/bn/bn.h (+18/-2) crypto/bn/bn_div.c (+13/-2) crypto/bn/bn_gf2m.c (+5/-1) crypto/bn/bn_lcl.h (+1/-0) crypto/bn/bn_lib.c (+0/-19) crypto/bn/bn_mont.c (+241/-0) crypto/bn/bn_mul.c (+16/-11) crypto/bn/bn_nist.c (+480/-419) crypto/bn/bn_opt.c (+87/-0) crypto/bn/bn_rand.c (+3/-3) crypto/bn/bn_shift.c (+1/-1) crypto/bn/bn_x931p.c (+272/-0) crypto/bn/bntest.c (+2/-2) crypto/buffer/Makefile (+10/-3) crypto/buffer/buf_str.c (+116/-0) crypto/buffer/buffer.c (+0/-58) crypto/camellia/Makefile (+1/-1) crypto/camellia/asm/cmll-x86.pl (+1138/-0) crypto/camellia/asm/cmll-x86_64.pl (+1080/-0) crypto/camellia/camellia.h (+5/-0) crypto/camellia/cmll_misc.c (+13/-0) crypto/cast/Makefile (+6/-3) crypto/cast/c_skey.c (+6/-1) crypto/cast/cast.h (+3/-1) crypto/cms/Makefile (+183/-0) crypto/cms/cms.h (+473/-0) crypto/cms/cms_asn1.c (+346/-0) crypto/cms/cms_att.c (+195/-0) crypto/cms/cms_cd.c (+134/-0) crypto/cms/cms_dd.c (+148/-0) crypto/cms/cms_enc.c (+262/-0) crypto/cms/cms_env.c (+825/-0) crypto/cms/cms_err.c (+236/-0) crypto/cms/cms_ess.c (+420/-0) crypto/cms/cms_io.c (+140/-0) crypto/cms/cms_lcl.h (+460/-0) crypto/cms/cms_lib.c (+623/-0) crypto/cms/cms_sd.c (+1014/-0) crypto/cms/cms_smime.c (+811/-0) crypto/comp/Makefile (+1/-1) crypto/comp/c_zlib.c (+390/-1) crypto/comp/comp.h (+14/-0) crypto/comp/comp_err.c (+8/-1) crypto/conf/Makefile (+9/-8) crypto/conf/conf_mall.c (+3/-1) crypto/conf/conf_mod.c (+1/-1) crypto/conf/conf_sap.c (+1/-1) crypto/cryptlib.c (+69/-282) crypto/cryptlib.h (+0/-1) crypto/crypto-lib.com (+18/-14) crypto/crypto.h (+77/-8) crypto/des/Makefile (+19/-14) crypto/des/asm/des_enc.m4 (+231/-114) crypto/des/asm/desboth.pl (+3/-14) crypto/des/des.h (+2/-1) crypto/des/des_enc.c (+4/-0) crypto/des/des_lib.c (+106/-0) crypto/des/des_old.c (+2/-0) crypto/des/des_old.h (+2/-1) crypto/des/ecb_enc.c (+0/-47) crypto/des/enc_read.c (+4/-0) crypto/des/enc_writ.c (+4/-0) crypto/des/set_key.c (+9/-0) crypto/des/times/usparc.cc (+1/-1) crypto/des/xcbc_enc.c (+3/-1) crypto/dh/Makefile (+13/-7) crypto/dh/dh.h (+11/-0) crypto/dh/dh_asn1.c (+1/-1) crypto/dh/dh_check.c (+4/-0) crypto/dh/dh_err.c (+5/-1) crypto/dh/dh_gen.c (+4/-0) crypto/dh/dh_key.c (+4/-0) crypto/dsa/Makefile (+50/-27) crypto/dsa/dsa.h (+39/-0) crypto/dsa/dsa_asn1.c (+80/-2) crypto/dsa/dsa_err.c (+9/-1) crypto/dsa/dsa_gen.c (+3/-0) crypto/dsa/dsa_key.c (+4/-0) crypto/dsa/dsa_lib.c (+27/-22) crypto/dsa/dsa_ossl.c (+3/-0) crypto/dsa/dsa_sign.c (+18/-15) crypto/dsa/dsa_utl.c (+95/-0) crypto/dsa/dsa_vrf.c (+11/-21) crypto/dso/Makefile (+1/-1) crypto/dyn_lck.c (+428/-0) crypto/ec/Makefile (+1/-1) crypto/ec/ec_key.c (+4/-12) crypto/ecdh/Makefile (+23/-12) crypto/ecdsa/Makefile (+33/-16) crypto/ecdsa/ecs_ossl.c (+24/-1) crypto/engine/Makefile (+260/-135) crypto/engine/eng_all.c (+3/-0) crypto/engine/eng_cnf.c (+10/-1) crypto/engine/eng_err.c (+2/-1) crypto/engine/eng_int.h (+2/-0) crypto/engine/eng_padlock.c (+5/-2) crypto/engine/eng_pkey.c (+42/-0) crypto/engine/engine.h (+16/-0) crypto/engine/enginetest.c (+1/-1) crypto/err/Makefile (+35/-14) crypto/err/err.c (+34/-746) crypto/err/err.h (+12/-0) crypto/err/err_all.c (+19/-0) crypto/err/err_bio.c (+75/-0) crypto/err/err_def.c (+665/-0) crypto/err/err_prn.c (+62/-16) crypto/err/err_str.c (+295/-0) crypto/err/openssl.ec (+4/-0) crypto/evp/Makefile (+379/-298) crypto/evp/bio_md.c (+2/-7) crypto/evp/c_alld.c (+3/-0) crypto/evp/dig_eng.c (+180/-0) crypto/evp/digest.c (+132/-26) crypto/evp/e_aes.c (+19/-22) crypto/evp/e_camellia.c (+1/-1) crypto/evp/e_des.c (+6/-3) crypto/evp/e_des3.c (+14/-15) crypto/evp/e_null.c (+1/-1) crypto/evp/e_rc4.c (+1/-0) crypto/evp/enc_min.c (+390/-0) crypto/evp/evp.h (+80/-0) crypto/evp/evp_acnf.c (+1/-1) crypto/evp/evp_cnf.c (+125/-0) crypto/evp/evp_enc.c (+72/-195) crypto/evp/evp_err.c (+15/-1) crypto/evp/evp_lib.c (+19/-20) crypto/evp/evp_locl.h (+23/-7) crypto/evp/evp_pbe.c (+1/-1) crypto/evp/evp_pkey.c (+1/-1) crypto/evp/evp_test.c (+5/-5) crypto/evp/m_dss.c (+1/-1) crypto/evp/m_dss1.c (+3/-0) crypto/evp/m_md2.c (+1/-0) crypto/evp/m_md4.c (+1/-0) crypto/evp/m_md5.c (+1/-0) crypto/evp/m_mdc2.c (+1/-0) crypto/evp/m_sha.c (+1/-0) crypto/evp/m_sha1.c (+6/-1) crypto/evp/names.c (+7/-0) crypto/evp/p5_crpt.c (+1/-1) crypto/evp/p5_crpt2.c (+1/-1) crypto/evp/p_sign.c (+18/-6) crypto/evp/p_verify.c (+21/-9) crypto/fips_err.c (+7/-0) crypto/fips_err.h (+137/-0) crypto/hmac/Makefile (+8/-7) crypto/hmac/hmac.c (+10/-0) crypto/hmac/hmac.h (+1/-0) crypto/idea/Makefile (+6/-2) crypto/idea/i_skey.c (+18/-1) crypto/idea/idea.h (+3/-0) crypto/install.com (+5/-4) crypto/jpake/Makefile (+64/-0) crypto/jpake/jpake.c (+483/-0) crypto/jpake/jpake.h (+129/-0) crypto/jpake/jpake_err.c (+105/-0) crypto/jpake/jpaketest.c (+192/-0) crypto/krb5/Makefile (+1/-1) crypto/lhash/Makefile (+1/-1) crypto/md2/Makefile (+4/-2) crypto/md2/md2.h (+3/-0) crypto/md2/md2_dgst.c (+6/-1) crypto/md32_common.h (+80/-295) crypto/md4/Makefile (+8/-4) crypto/md4/md4.h (+3/-0) crypto/md4/md4_dgst.c (+6/-90) crypto/md4/md4_locl.h (+0/-44) crypto/md5/Makefile (+8/-22) crypto/md5/asm/md5-586.pl (+1/-1) crypto/md5/asm/md5-sparcv9.S (+0/-1031) crypto/md5/asm/md5-x86_64.pl (+4/-4) crypto/md5/md5.h (+3/-0) crypto/md5/md5_dgst.c (+6/-107) crypto/md5/md5_locl.h (+3/-51) crypto/mdc2/Makefile (+1/-1) crypto/mdc2/mdc2.h (+3/-1) crypto/mdc2/mdc2dgst.c (+6/-1) crypto/mem.c (+46/-1) crypto/mem_dbg.c (+25/-3) crypto/o_init.c (+86/-0) crypto/o_str.c (+4/-0) crypto/objects/Makefile (+9/-9) crypto/objects/obj_dat.c (+1/-0) crypto/objects/obj_dat.h (+1759/-1271) crypto/objects/obj_dat.pl (+3/-1) crypto/objects/obj_mac.h (+343/-1) crypto/objects/obj_mac.num (+79/-0) crypto/objects/objects.txt (+124/-2) crypto/ocsp/Makefile (+43/-38) crypto/ocsp/ocsp.h (+13/-4) crypto/ocsp/ocsp_asn.c (+1/-1) crypto/ocsp/ocsp_err.c (+2/-1) crypto/ocsp/ocsp_ht.c (+393/-94) crypto/ocsp/ocsp_srv.c (+1/-1) crypto/ocsp/ocsp_vfy.c (+1/-1) crypto/opensslconf.h (+35/-6) crypto/opensslconf.h.in (+15/-0) crypto/opensslv.h (+3/-3) crypto/ossl_typ.h (+9/-0) crypto/pem/Makefile (+69/-65) crypto/pem/pem.h (+6/-0) crypto/pem/pem_all.c (+174/-0) crypto/pem/pem_info.c (+1/-1) crypto/pem/pem_lib.c (+3/-0) crypto/pem/pem_x509.c (+1/-1) crypto/pem/pem_xaux.c (+1/-1) crypto/perlasm/cbc.pl (+4/-20) crypto/perlasm/x86_64-xlate.pl (+65/-17) crypto/perlasm/x86ms.pl (+12/-2) crypto/perlasm/x86nasm.pl (+4/-0) crypto/perlasm/x86unix.pl (+3/-72) crypto/pkcs12/Makefile (+92/-85) crypto/pkcs12/p12_add.c (+1/-1) crypto/pkcs12/p12_asn.c (+1/-1) crypto/pkcs12/p12_attr.c (+1/-1) crypto/pkcs12/p12_crpt.c (+1/-1) crypto/pkcs12/p12_crt.c (+32/-10) crypto/pkcs12/p12_decr.c (+1/-1) crypto/pkcs12/p12_init.c (+1/-1) crypto/pkcs12/p12_key.c (+1/-1) crypto/pkcs12/p12_kiss.c (+1/-1) crypto/pkcs12/p12_mutl.c (+1/-1) crypto/pkcs12/p12_npas.c (+1/-1) crypto/pkcs12/p12_p8d.c (+1/-1) crypto/pkcs12/p12_p8e.c (+1/-1) crypto/pkcs12/p12_utl.c (+1/-1) crypto/pkcs12/pkcs12.h (+1/-1) crypto/pkcs7/Makefile (+23/-20) crypto/pkcs7/pk7_asn1.c (+1/-1) crypto/pkcs7/pk7_attr.c (+1/-1) crypto/pkcs7/pk7_mime.c (+2/-53) crypto/pkcs7/pk7_smime.c (+3/-3) crypto/ppccpuid.pl (+94/-0) crypto/pqueue/Makefile (+1/-1) crypto/pqueue/pq_compat.h (+5/-0) crypto/pqueue/pqueue.c (+0/-14) crypto/pqueue/pqueue.h (+0/-1) crypto/rand/Makefile (+57/-29) crypto/rand/md_rand.c (+12/-2) crypto/rand/rand.h (+28/-1) crypto/rand/rand_eng.c (+152/-0) crypto/rand/rand_err.c (+19/-1) crypto/rand/rand_lcl.h (+11/-0) crypto/rand/rand_lib.c (+70/-1) crypto/rand/rand_nw.c (+9/-2) crypto/rand/rand_unix.c (+1/-1) crypto/rand/randfile.c (+50/-20) crypto/rc2/Makefile (+6/-2) crypto/rc2/rc2.h (+3/-1) crypto/rc2/rc2_skey.c (+18/-1) crypto/rc4/Makefile (+15/-5) crypto/rc4/asm/rc4-586.pl (+2/-2) crypto/rc4/asm/rc4-x86_64.pl (+129/-3) crypto/rc4/rc4.h (+3/-0) crypto/rc4/rc4_fblk.c (+75/-0) crypto/rc4/rc4_skey.c (+18/-3) crypto/rc5/Makefile (+1/-1) crypto/rc5/rc5.h (+4/-1) crypto/rc5/rc5_skey.c (+19/-2) crypto/ripemd/Makefile (+8/-3) crypto/ripemd/README (+1/-1) crypto/ripemd/asm/rmd-586.pl (+2/-2) crypto/ripemd/ripemd.h (+3/-1) crypto/ripemd/rmd_dgst.c (+6/-202) crypto/ripemd/rmd_locl.h (+1/-15) crypto/rsa/Makefile (+54/-23) crypto/rsa/rsa.h (+41/-0) crypto/rsa/rsa_asn1.c (+1/-1) crypto/rsa/rsa_eay.c (+50/-43) crypto/rsa/rsa_eng.c (+348/-0) crypto/rsa/rsa_err.c (+9/-1) crypto/rsa/rsa_gen.c (+3/-0) crypto/rsa/rsa_lib.c (+16/-256) crypto/rsa/rsa_null.c (+1/-1) crypto/rsa/rsa_oaep.c (+16/-9) crypto/rsa/rsa_pss.c (+3/-3) crypto/rsa/rsa_sign.c (+22/-2) crypto/rsa/rsa_ssl.c (+1/-1) crypto/rsa/rsa_x931.c (+1/-1) crypto/rsa/rsa_x931g.c (+255/-0) crypto/s390xcpuid.S (+90/-0) crypto/seed/Makefile (+1/-1) crypto/sha/Makefile (+26/-14) crypto/sha/asm/sha1-586.pl (+115/-326) crypto/sha/asm/sha1-ia64.pl (+56/-295) crypto/sha/asm/sha1-x86_64.pl (+242/-0) crypto/sha/asm/sha512-ia64.pl (+331/-90) crypto/sha/asm/sha512-x86_64.pl (+344/-0) crypto/sha/sha.h (+3/-1) crypto/sha/sha1_one.c (+1/-1) crypto/sha/sha1dgst.c (+4/-0) crypto/sha/sha256.c (+33/-60) crypto/sha/sha512.c (+83/-32) crypto/sha/sha_dgst.c (+6/-0) crypto/sha/sha_locl.h (+64/-223) crypto/sha/shatest.c (+3/-3) crypto/sparcv9cap.c (+154/-0) crypto/stack/Makefile (+1/-1) crypto/stack/safestack.h (+177/-1) crypto/store/Makefile (+9/-9) crypto/symhacks.h (+26/-0) crypto/txt_db/Makefile (+1/-1) crypto/ui/Makefile (+1/-1) crypto/ui/ui_lib.c (+1/-0) crypto/ui/ui_openssl.c (+2/-0) crypto/x509/Makefile (+105/-94) crypto/x509/by_dir.c (+4/-0) crypto/x509/x509.h (+12/-1) crypto/x509/x509_att.c (+35/-8) crypto/x509/x509_cmp.c (+9/-2) crypto/x509/x509_trs.c (+1/-1) crypto/x509/x509_vfy.c (+16/-9) crypto/x509/x509_vpm.c (+14/-4) crypto/x509/x509cset.c (+1/-1) crypto/x509/x509spki.c (+1/-1) crypto/x509v3/Makefile (+238/-219) crypto/x509v3/ext_dat.h (+1/-1) crypto/x509v3/pcy_cache.c (+1/-1) crypto/x509v3/pcy_data.c (+9/-1) crypto/x509v3/pcy_int.h (+1/-1) crypto/x509v3/pcy_lib.c (+1/-1) crypto/x509v3/pcy_map.c (+1/-1) crypto/x509v3/pcy_node.c (+1/-1) crypto/x509v3/pcy_tree.c (+11/-9) crypto/x509v3/tabtest.c (+1/-1) crypto/x509v3/v3_addr.c (+26/-20) crypto/x509v3/v3_akey.c (+1/-1) crypto/x509v3/v3_akeya.c (+1/-1) crypto/x509v3/v3_alt.c (+3/-2) crypto/x509v3/v3_asid.c (+1/-1) crypto/x509v3/v3_bcons.c (+1/-1) crypto/x509v3/v3_bitst.c (+1/-1) crypto/x509v3/v3_conf.c (+1/-1) crypto/x509v3/v3_cpols.c (+7/-2) crypto/x509v3/v3_crld.c (+1/-1) crypto/x509v3/v3_enum.c (+1/-1) crypto/x509v3/v3_extku.c (+1/-1) crypto/x509v3/v3_genn.c (+1/-1) crypto/x509v3/v3_ia5.c (+1/-1) crypto/x509v3/v3_info.c (+1/-1) crypto/x509v3/v3_int.c (+1/-1) crypto/x509v3/v3_lib.c (+1/-1) crypto/x509v3/v3_ncons.c (+1/-1) crypto/x509v3/v3_ocsp.c (+1/-1) crypto/x509v3/v3_pcons.c (+1/-1) crypto/x509v3/v3_pku.c (+1/-1) crypto/x509v3/v3_pmaps.c (+1/-1) crypto/x509v3/v3_prn.c (+1/-1) crypto/x509v3/v3_purp.c (+5/-3) crypto/x509v3/v3_skey.c (+1/-1) crypto/x509v3/v3_sxnet.c (+1/-1) crypto/x509v3/v3_utl.c (+26/-2) crypto/x509v3/v3conf.c (+1/-1) crypto/x509v3/v3prin.c (+1/-1) crypto/x509v3/x509v3.h (+5/-2) crypto/x86_64cpuid.S (+0/-74) crypto/x86_64cpuid.pl (+61/-44) crypto/x86cpuid.pl (+30/-2) debian/changelog (+96/-0) debian/control (+2/-2) debian/patches/Bsymbolic-functions.patch (+63/-0) debian/patches/CVE-2009-1377.patch (+48/-0) debian/patches/CVE-2009-1378.patch (+22/-0) debian/patches/CVE-2009-1379.patch (+20/-0) debian/patches/CVE-2009-1387.patch (+51/-0) debian/patches/CVE-2009-2409.patch (+33/-0) debian/patches/CVE-2009-3555.patch (+118/-0) debian/patches/ca.patch (+32/-0) debian/patches/config-hurd.patch (+15/-0) debian/patches/debian-targets.patch (+53/-0) debian/patches/disable-sslv2.patch (+48/-0) debian/patches/engines-path.patch (+47/-0) debian/patches/kfreebsd-pipe.patch (+13/-0) debian/patches/make-targets.patch (+13/-0) debian/patches/man-dir.patch (+13/-0) debian/patches/man-section.patch (+32/-0) debian/patches/no-rpath.patch (+13/-0) debian/patches/no-symbolic.patch (+13/-0) debian/patches/no_check_self_signed.patch (+39/-0) debian/patches/pic.patch (+330/-0) debian/patches/pk7_mime_free.patch (+20/-0) debian/patches/pkg-config.patch (+34/-0) debian/patches/rc4-amd64.patch (+14/-0) debian/patches/rehash-crt.patch (+33/-0) debian/patches/rehash_pod.patch (+60/-0) debian/patches/series (+30/-0) debian/patches/shared-lib-ext.patch (+14/-0) debian/patches/stddef.patch (+12/-0) debian/patches/tls_ext_v3.patch (+31/-0) debian/patches/valgrind.patch (+15/-0) debian/patches/version-script.patch (+33/-0) debian/rules (+15/-4) demos/asn1/ocsp.c (+1/-1) demos/engines/cluster_labs/hw_cluster_labs_err.h (+4/-0) demos/engines/ibmca/hw_ibmca_err.h (+4/-0) demos/engines/zencod/hw_zencod_err.h (+4/-0) demos/jpake/Makefile (+7/-0) demos/jpake/jpakedemo.c (+469/-0) doc/Makefile (+0/-40) doc/apps/c_rehash.pod (+0/-55) doc/apps/dgst.pod (+5/-0) doc/apps/ocsp.pod (+4/-4) doc/apps/rand.pod (+5/-0) doc/apps/s_server.pod (+8/-0) doc/apps/verify.pod (+1/-1) doc/apps/x509.pod (+1/-1) doc/c-indentation.el (+1/-0) doc/crypto/ASN1_generate_nconf.pod (+24/-15) doc/crypto/DH_set_method.pod (+1/-1) doc/crypto/DSA_set_method.pod (+1/-1) doc/crypto/OPENSSL_ia32cap.pod (+22/-14) doc/crypto/RAND_egd.pod (+5/-2) doc/crypto/RAND_set_rand_method.pod (+1/-1) doc/crypto/RSA_set_method.pod (+1/-1) doc/crypto/engine.pod (+3/-3) doc/ssl/SSL_CIPHER_get_name.pod (+1/-1) doc/ssl/SSL_CTX_set_verify.pod (+1/-1) doc/ssl/SSL_SESSION_free.pod (+1/-1) doc/ssl/SSL_free.pod (+1/-1) doc/ssl/SSL_read.pod (+6/-0) doc/ssleay.txt (+2/-2) e_os.h (+57/-11) engines/Makefile (+128/-76) engines/e_4758cca_err.h (+4/-0) engines/e_aep.c (+10/-3) engines/e_aep_err.h (+4/-0) engines/e_atalla_err.h (+4/-0) engines/e_capi.c (+1781/-0) engines/e_capi.ec (+1/-0) engines/e_capi_err.c (+183/-0) engines/e_capi_err.h (+123/-0) engines/e_chil.c (+3/-9) engines/e_chil_err.c (+0/-1) engines/e_chil_err.h (+4/-1) engines/e_cswift_err.h (+4/-0) engines/e_gmp.c (+64/-23) engines/e_gmp_err.h (+4/-0) engines/e_nuron_err.h (+4/-0) engines/e_sureware_err.h (+4/-0) engines/e_ubsec_err.h (+4/-0) engines/makeengines.com (+2/-1) engines/openssl.ld (+0/-5) fips/Makefile (+226/-0) fips/aes/Makefile (+111/-0) fips/aes/fips_aes_selftest.c (+101/-0) fips/aes/fips_aesavs.c (+939/-0) fips/des/Makefile (+111/-0) fips/des/fips_des_selftest.c (+137/-0) fips/des/fips_desmovs.c (+705/-0) fips/dh/Makefile (+115/-0) fips/dh/dh_gen.c (+179/-0) fips/dh/fips_dh_check.c (+147/-0) fips/dh/fips_dh_gen.c (+192/-0) fips/dh/fips_dh_key.c (+276/-0) fips/dh/fips_dh_lib.c (+95/-0) fips/dsa/Makefile (+191/-0) fips/dsa/fips_dsa_gen.c (+339/-0) fips/dsa/fips_dsa_key.c (+169/-0) fips/dsa/fips_dsa_lib.c (+95/-0) fips/dsa/fips_dsa_ossl.c (+435/-0) fips/dsa/fips_dsa_selftest.c (+180/-0) fips/dsa/fips_dsa_sign.c (+256/-0) fips/dsa/fips_dsatest.c (+271/-0) fips/dsa/fips_dssvs.c (+542/-0) fips/fips-lib.com (+1196/-0) fips/fips-nodiff.txt (+7/-0) fips/fips.c (+519/-0) fips/fips.h (+163/-0) fips/fips_canister.c (+186/-0) fips/fips_locl.h (+73/-0) fips/fips_premain.c (+176/-0) fips/fips_premain.c.sha1 (+1/-0) fips/fips_test_suite.c (+588/-0) fips/fips_utl.h (+343/-0) fips/fipsalgtest.pl (+848/-0) fips/fipsld (+170/-0) fips/fipstests.bat (+229/-0) fips/fipstests.sh (+400/-0) fips/hmac/Makefile (+123/-0) fips/hmac/fips_hmac.c (+191/-0) fips/hmac/fips_hmac_selftest.c (+135/-0) fips/hmac/fips_hmactest.c (+328/-0) fips/install.com (+57/-0) fips/mkfipsscr.pl (+632/-0) fips/openssl_fips_fingerprint (+31/-0) fips/rand/Makefile (+149/-0) fips/rand/fips_rand.c (+410/-0) fips/rand/fips_rand.h (+77/-0) fips/rand/fips_rand_selftest.c (+371/-0) fips/rand/fips_randtest.c (+248/-0) fips/rand/fips_rngvs.c (+230/-0) fips/rsa/Makefile (+215/-0) fips/rsa/fips_rsa_eay.c (+934/-0) fips/rsa/fips_rsa_gen.c (+310/-0) fips/rsa/fips_rsa_lib.c (+101/-0) fips/rsa/fips_rsa_selftest.c (+432/-0) fips/rsa/fips_rsa_sign.c (+554/-0) fips/rsa/fips_rsa_x931g.c (+280/-0) fips/rsa/fips_rsagtest.c (+390/-0) fips/rsa/fips_rsastest.c (+370/-0) fips/rsa/fips_rsavtest.c (+377/-0) fips/sha/Makefile (+158/-0) fips/sha/fips_sha1_selftest.c (+97/-0) fips/sha/fips_shatest.c (+388/-0) fips/sha/fips_standalone_sha1.c (+173/-0) makevms.com (+6/-4) ms/do_fips.bat (+204/-0) ms/do_masm.bat (+67/-70) ms/do_nasm.bat (+1/-0) ms/segrenam.pl (+65/-0) ms/test.bat (+190/-195) openssl.ld (+0/-5) openssl.spec (+1/-1) ssl/Makefile (+146/-100) ssl/d1_both.c (+21/-33) ssl/d1_clnt.c (+1/-2) ssl/d1_enc.c (+12/-7) ssl/d1_lib.c (+1/-0) ssl/d1_pkt.c (+18/-8) ssl/d1_srvr.c (+3/-3) ssl/dtls1.h (+7/-0) ssl/kssl.c (+2/-2) ssl/s23_clnt.c (+18/-0) ssl/s23_srvr.c (+9/-0) ssl/s2_srvr.c (+1/-1) ssl/s3_clnt.c (+135/-11) ssl/s3_enc.c (+4/-0) ssl/s3_lib.c (+76/-20) ssl/s3_pkt.c (+8/-1) ssl/s3_srvr.c (+123/-29) ssl/ssl.h (+52/-4) ssl/ssl3.h (+5/-0) ssl/ssl_algs.c (+3/-0) ssl/ssl_asn1.c (+10/-7) ssl/ssl_ciph.c (+14/-1) ssl/ssl_err.c (+6/-1) ssl/ssl_lib.c (+55/-0) ssl/ssl_locl.h (+9/-1) ssl/ssl_rsa.c (+2/-0) ssl/ssl_sess.c (+22/-0) ssl/ssl_stat.c (+4/-0) ssl/ssltest.c (+31/-10) ssl/t1_enc.c (+27/-15) ssl/t1_lib.c (+272/-34) ssl/tls1.h (+36/-3) test/CAss.cnf (+1/-1) test/Makefile (+397/-79) test/SHAmix.r (+99/-0) test/SHAmix.x (+129/-0) test/Uss.cnf (+1/-1) test/cms-examples.pl (+409/-0) test/cms-test.pl (+453/-0) test/igetest.c (+2/-2) test/smcont.txt (+1/-0) test/smime-certs/smdsa1.pem (+34/-0) test/smime-certs/smdsa2.pem (+34/-0) test/smime-certs/smdsa3.pem (+34/-0) test/smime-certs/smdsap.pem (+9/-0) test/smime-certs/smroot.pem (+30/-0) test/smime-certs/smrsa1.pem (+31/-0) test/smime-certs/smrsa2.pem (+31/-0) test/smime-certs/smrsa3.pem (+31/-0) test/testfipsssl (+113/-0) test/tests.com (+11/-1) test/times (+1/-1) tools/c_rehash.in (+3/-9) util/arx.pl (+15/-0) util/copy.pl (+11/-0) util/domd (+1/-1) util/fipslink.pl (+78/-0) util/libeay.num (+244/-40) util/mk1mf.pl (+393/-70) util/mkdef.pl (+28/-2) util/mkerr.pl (+4/-3) util/mkfiles.pl (+11/-0) util/mklink.pl (+10/-2) util/mksdef.pl (+87/-0) util/opensslwrap.sh (+4/-0) util/pl/VC-32.pl (+182/-26) util/pl/netware.pl (+283/-98) util/ssleay.num (+1/-0) |
To merge this branch: | bzr merge lp:~nvalcarcel/ubuntu/lucid/openssl/openssl-merge |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Registry Administrators | Pending | ||
Review via email: mp+15720@code.launchpad.net |
Commit message
Description of the change
Nicolas Valcarcel (nvalcarcel) wrote : | # |
- 36. By Nicolas Valcarcel
-
* Disable CVE-2009-3555.patch
* Bump the shlibs to require 0.9.8k-1. The following symbols
to added between g and k: AES_wrap_key, AES_unwrap_key,
ASN1_TYPE_set1, ASN1_STRING_set0, asn1_output_data_fn,
SMIME_read_ASN1, BN_X931_generate_ Xpq, BN_X931_ derive_ prime_ex,
BN_X931_generate_ prime_ex, COMP_zlib_cleanup, CRYPTO_ malloc_ debug_init,
int_CRYPTO_set_do_ dynlock_ callback, CRYPTO_ set_mem_ info_functions,
CRYPTO_strdup, CRYPTO_dbg_push_ info, CRYPTO_ dbg_pop_ info,
CRYPTO_dbg_remove_ all_info, OPENSSL_isservice, OPENSSL_init,
ENGINE_set_load_ ssl_client_ cert_function,
ENGINE_get_ssl_ client_ cert_function, ENGINE_ load_ssl_ client_ cert,
EVP_CIPHER_CTX_set_ flags, EVP_CIPHER_ CTX_clear_ flags,
EVP_CIPHER_CTX_test_ flags, HMAC_CTX_set_flags, OCSP_sendreq_new
OCSP_sendreq_ nbio, OCSP_REQ_CTX_free, RSA_X931_derive_ex,
RSA_X931_generate_ key_ex, X509_ALGOR_set0, X509_ALGOR_get0,
X509at_get0_data_ by_OBJ, X509_get1_ocsp - 37. By Nicolas Valcarcel
-
Fix version
- 38. By Nicolas Valcarcel
-
add disable-sslv2.patch and Bsymbolic-
functions. patch - 39. By Nicolas Valcarcel
-
Move runtime libraries to /lib, for the benefit of wpasupplicant
James Westby (james-w) wrote : | # |
Marking as merged as 0.9.8k is in lucid.
Thanks,
James
Preview Diff
1 | === added directory '.pc' | |||
2 | === added file '.pc/.version' | |||
3 | --- .pc/.version 1970-01-01 00:00:00 +0000 | |||
4 | +++ .pc/.version 2009-12-07 19:46:11 +0000 | |||
5 | @@ -0,0 +1,1 @@ | |||
6 | 1 | 2 | ||
7 | 0 | 2 | ||
8 | === modified file 'CHANGES' | |||
9 | --- CHANGES 2007-12-05 00:13:39 +0000 | |||
10 | +++ CHANGES 2009-12-07 19:46:11 +0000 | |||
11 | @@ -2,6 +2,284 @@ | |||
12 | 2 | OpenSSL CHANGES | 2 | OpenSSL CHANGES |
13 | 3 | _______________ | 3 | _______________ |
14 | 4 | 4 | ||
15 | 5 | Changes between 0.9.8j and 0.9.8k [25 Mar 2009] | ||
16 | 6 | |||
17 | 7 | *) Don't set val to NULL when freeing up structures, it is freed up by | ||
18 | 8 | underlying code. If sizeof(void *) > sizeof(long) this can result in | ||
19 | 9 | zeroing past the valid field. (CVE-2009-0789) | ||
20 | 10 | [Paolo Ganci <Paolo.Ganci@AdNovum.CH>] | ||
21 | 11 | |||
22 | 12 | *) Fix bug where return value of CMS_SignerInfo_verify_content() was not | ||
23 | 13 | checked correctly. This would allow some invalid signed attributes to | ||
24 | 14 | appear to verify correctly. (CVE-2009-0591) | ||
25 | 15 | [Ivan Nestlerode <inestlerode@us.ibm.com>] | ||
26 | 16 | |||
27 | 17 | *) Reject UniversalString and BMPString types with invalid lengths. This | ||
28 | 18 | prevents a crash in ASN1_STRING_print_ex() which assumes the strings have | ||
29 | 19 | a legal length. (CVE-2009-0590) | ||
30 | 20 | [Steve Henson] | ||
31 | 21 | |||
32 | 22 | *) Set S/MIME signing as the default purpose rather than setting it | ||
33 | 23 | unconditionally. This allows applications to override it at the store | ||
34 | 24 | level. | ||
35 | 25 | [Steve Henson] | ||
36 | 26 | |||
37 | 27 | *) Permit restricted recursion of ASN1 strings. This is needed in practice | ||
38 | 28 | to handle some structures. | ||
39 | 29 | [Steve Henson] | ||
40 | 30 | |||
41 | 31 | *) Improve efficiency of mem_gets: don't search whole buffer each time | ||
42 | 32 | for a '\n' | ||
43 | 33 | [Jeremy Shapiro <jnshapir@us.ibm.com>] | ||
44 | 34 | |||
45 | 35 | *) New -hex option for openssl rand. | ||
46 | 36 | [Matthieu Herrb] | ||
47 | 37 | |||
48 | 38 | *) Print out UTF8String and NumericString when parsing ASN1. | ||
49 | 39 | [Steve Henson] | ||
50 | 40 | |||
51 | 41 | *) Support NumericString type for name components. | ||
52 | 42 | [Steve Henson] | ||
53 | 43 | |||
54 | 44 | *) Allow CC in the environment to override the automatically chosen | ||
55 | 45 | compiler. Note that nothing is done to ensure flags work with the | ||
56 | 46 | chosen compiler. | ||
57 | 47 | [Ben Laurie] | ||
58 | 48 | |||
59 | 49 | Changes between 0.9.8i and 0.9.8j [07 Jan 2009] | ||
60 | 50 | |||
61 | 51 | *) Properly check EVP_VerifyFinal() and similar return values | ||
62 | 52 | (CVE-2008-5077). | ||
63 | 53 | [Ben Laurie, Bodo Moeller, Google Security Team] | ||
64 | 54 | |||
65 | 55 | *) Enable TLS extensions by default. | ||
66 | 56 | [Ben Laurie] | ||
67 | 57 | |||
68 | 58 | *) Allow the CHIL engine to be loaded, whether the application is | ||
69 | 59 | multithreaded or not. (This does not release the developer from the | ||
70 | 60 | obligation to set up the dynamic locking callbacks.) | ||
71 | 61 | [Sander Temme <sander@temme.net>] | ||
72 | 62 | |||
73 | 63 | *) Use correct exit code if there is an error in dgst command. | ||
74 | 64 | [Steve Henson; problem pointed out by Roland Dirlewanger] | ||
75 | 65 | |||
76 | 66 | *) Tweak Configure so that you need to say "experimental-jpake" to enable | ||
77 | 67 | JPAKE, and need to use -DOPENSSL_EXPERIMENTAL_JPAKE in applications. | ||
78 | 68 | [Bodo Moeller] | ||
79 | 69 | |||
80 | 70 | *) Add experimental JPAKE support, including demo authentication in | ||
81 | 71 | s_client and s_server. | ||
82 | 72 | [Ben Laurie] | ||
83 | 73 | |||
84 | 74 | *) Set the comparison function in v3_addr_canonize(). | ||
85 | 75 | [Rob Austein <sra@hactrn.net>] | ||
86 | 76 | |||
87 | 77 | *) Add support for XMPP STARTTLS in s_client. | ||
88 | 78 | [Philip Paeps <philip@freebsd.org>] | ||
89 | 79 | |||
90 | 80 | *) Change the server-side SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG behavior | ||
91 | 81 | to ensure that even with this option, only ciphersuites in the | ||
92 | 82 | server's preference list will be accepted. (Note that the option | ||
93 | 83 | applies only when resuming a session, so the earlier behavior was | ||
94 | 84 | just about the algorithm choice for symmetric cryptography.) | ||
95 | 85 | [Bodo Moeller] | ||
96 | 86 | |||
97 | 87 | Changes between 0.9.8h and 0.9.8i [15 Sep 2008] | ||
98 | 88 | |||
99 | 89 | *) Fix a state transitition in s3_srvr.c and d1_srvr.c | ||
100 | 90 | (was using SSL3_ST_CW_CLNT_HELLO_B, should be ..._ST_SW_SRVR_...). | ||
101 | 91 | [Nagendra Modadugu] | ||
102 | 92 | |||
103 | 93 | *) The fix in 0.9.8c that supposedly got rid of unsafe | ||
104 | 94 | double-checked locking was incomplete for RSA blinding, | ||
105 | 95 | addressing just one layer of what turns out to have been | ||
106 | 96 | doubly unsafe triple-checked locking. | ||
107 | 97 | |||
108 | 98 | So now fix this for real by retiring the MONT_HELPER macro | ||
109 | 99 | in crypto/rsa/rsa_eay.c. | ||
110 | 100 | |||
111 | 101 | [Bodo Moeller; problem pointed out by Marius Schilder] | ||
112 | 102 | |||
113 | 103 | *) Various precautionary measures: | ||
114 | 104 | |||
115 | 105 | - Avoid size_t integer overflow in HASH_UPDATE (md32_common.h). | ||
116 | 106 | |||
117 | 107 | - Avoid a buffer overflow in d2i_SSL_SESSION() (ssl_asn1.c). | ||
118 | 108 | (NB: This would require knowledge of the secret session ticket key | ||
119 | 109 | to exploit, in which case you'd be SOL either way.) | ||
120 | 110 | |||
121 | 111 | - Change bn_nist.c so that it will properly handle input BIGNUMs | ||
122 | 112 | outside the expected range. | ||
123 | 113 | |||
124 | 114 | - Enforce the 'num' check in BN_div() (bn_div.c) for non-BN_DEBUG | ||
125 | 115 | builds. | ||
126 | 116 | |||
127 | 117 | [Neel Mehta, Bodo Moeller] | ||
128 | 118 | |||
129 | 119 | *) Allow engines to be "soft loaded" - i.e. optionally don't die if | ||
130 | 120 | the load fails. Useful for distros. | ||
131 | 121 | [Ben Laurie and the FreeBSD team] | ||
132 | 122 | |||
133 | 123 | *) Add support for Local Machine Keyset attribute in PKCS#12 files. | ||
134 | 124 | [Steve Henson] | ||
135 | 125 | |||
136 | 126 | *) Fix BN_GF2m_mod_arr() top-bit cleanup code. | ||
137 | 127 | [Huang Ying] | ||
138 | 128 | |||
139 | 129 | *) Expand ENGINE to support engine supplied SSL client certificate functions. | ||
140 | 130 | |||
141 | 131 | This work was sponsored by Logica. | ||
142 | 132 | [Steve Henson] | ||
143 | 133 | |||
144 | 134 | *) Add CryptoAPI ENGINE to support use of RSA and DSA keys held in Windows | ||
145 | 135 | keystores. Support for SSL/TLS client authentication too. | ||
146 | 136 | Not compiled unless enable-capieng specified to Configure. | ||
147 | 137 | |||
148 | 138 | This work was sponsored by Logica. | ||
149 | 139 | [Steve Henson] | ||
150 | 140 | |||
151 | 141 | *) Fix bug in X509_ATTRIBUTE creation: dont set attribute using | ||
152 | 142 | ASN1_TYPE_set1 if MBSTRING flag set. This bug would crash certain | ||
153 | 143 | attribute creation routines such as certifcate requests and PKCS#12 | ||
154 | 144 | files. | ||
155 | 145 | [Steve Henson] | ||
156 | 146 | |||
157 | 147 | Changes between 0.9.8g and 0.9.8h [28 May 2008] | ||
158 | 148 | |||
159 | 149 | *) Fix flaw if 'Server Key exchange message' is omitted from a TLS | ||
160 | 150 | handshake which could lead to a cilent crash as found using the | ||
161 | 151 | Codenomicon TLS test suite (CVE-2008-1672) | ||
162 | 152 | [Steve Henson, Mark Cox] | ||
163 | 153 | |||
164 | 154 | *) Fix double free in TLS server name extensions which could lead to | ||
165 | 155 | a remote crash found by Codenomicon TLS test suite (CVE-2008-0891) | ||
166 | 156 | [Joe Orton] | ||
167 | 157 | |||
168 | 158 | *) Clear error queue in SSL_CTX_use_certificate_chain_file() | ||
169 | 159 | |||
170 | 160 | Clear the error queue to ensure that error entries left from | ||
171 | 161 | older function calls do not interfere with the correct operation. | ||
172 | 162 | [Lutz Jaenicke, Erik de Castro Lopo] | ||
173 | 163 | |||
174 | 164 | *) Remove root CA certificates of commercial CAs: | ||
175 | 165 | |||
176 | 166 | The OpenSSL project does not recommend any specific CA and does not | ||
177 | 167 | have any policy with respect to including or excluding any CA. | ||
178 | 168 | Therefore it does not make any sense to ship an arbitrary selection | ||
179 | 169 | of root CA certificates with the OpenSSL software. | ||
180 | 170 | [Lutz Jaenicke] | ||
181 | 171 | |||
182 | 172 | *) RSA OAEP patches to fix two separate invalid memory reads. | ||
183 | 173 | The first one involves inputs when 'lzero' is greater than | ||
184 | 174 | 'SHA_DIGEST_LENGTH' (it would read about SHA_DIGEST_LENGTH bytes | ||
185 | 175 | before the beginning of from). The second one involves inputs where | ||
186 | 176 | the 'db' section contains nothing but zeroes (there is a one-byte | ||
187 | 177 | invalid read after the end of 'db'). | ||
188 | 178 | [Ivan Nestlerode <inestlerode@us.ibm.com>] | ||
189 | 179 | |||
190 | 180 | *) Partial backport from 0.9.9-dev: | ||
191 | 181 | |||
192 | 182 | Introduce bn_mul_mont (dedicated Montgomery multiplication | ||
193 | 183 | procedure) as a candidate for BIGNUM assembler implementation. | ||
194 | 184 | While 0.9.9-dev uses assembler for various architectures, only | ||
195 | 185 | x86_64 is available by default here in the 0.9.8 branch, and | ||
196 | 186 | 32-bit x86 is available through a compile-time setting. | ||
197 | 187 | |||
198 | 188 | To try the 32-bit x86 assembler implementation, use Configure | ||
199 | 189 | option "enable-montasm" (which exists only for this backport). | ||
200 | 190 | |||
201 | 191 | As "enable-montasm" for 32-bit x86 disclaims code stability | ||
202 | 192 | anyway, in this constellation we activate additional code | ||
203 | 193 | backported from 0.9.9-dev for further performance improvements, | ||
204 | 194 | namely BN_from_montgomery_word. (To enable this otherwise, | ||
205 | 195 | e.g. x86_64, try "-DMONT_FROM_WORD___NON_DEFAULT_0_9_8_BUILD".) | ||
206 | 196 | |||
207 | 197 | [Andy Polyakov (backport partially by Bodo Moeller)] | ||
208 | 198 | |||
209 | 199 | *) Add TLS session ticket callback. This allows an application to set | ||
210 | 200 | TLS ticket cipher and HMAC keys rather than relying on hardcoded fixed | ||
211 | 201 | values. This is useful for key rollover for example where several key | ||
212 | 202 | sets may exist with different names. | ||
213 | 203 | [Steve Henson] | ||
214 | 204 | |||
215 | 205 | *) Reverse ENGINE-internal logic for caching default ENGINE handles. | ||
216 | 206 | This was broken until now in 0.9.8 releases, such that the only way | ||
217 | 207 | a registered ENGINE could be used (assuming it initialises | ||
218 | 208 | successfully on the host) was to explicitly set it as the default | ||
219 | 209 | for the relevant algorithms. This is in contradiction with 0.9.7 | ||
220 | 210 | behaviour and the documentation. With this fix, when an ENGINE is | ||
221 | 211 | registered into a given algorithm's table of implementations, the | ||
222 | 212 | 'uptodate' flag is reset so that auto-discovery will be used next | ||
223 | 213 | time a new context for that algorithm attempts to select an | ||
224 | 214 | implementation. | ||
225 | 215 | [Ian Lister (tweaked by Geoff Thorpe)] | ||
226 | 216 | |||
227 | 217 | *) Backport of CMS code to OpenSSL 0.9.8. This differs from the 0.9.9 | ||
228 | 218 | implemention in the following ways: | ||
229 | 219 | |||
230 | 220 | Lack of EVP_PKEY_ASN1_METHOD means algorithm parameters have to be | ||
231 | 221 | hard coded. | ||
232 | 222 | |||
233 | 223 | Lack of BER streaming support means one pass streaming processing is | ||
234 | 224 | only supported if data is detached: setting the streaming flag is | ||
235 | 225 | ignored for embedded content. | ||
236 | 226 | |||
237 | 227 | CMS support is disabled by default and must be explicitly enabled | ||
238 | 228 | with the enable-cms configuration option. | ||
239 | 229 | [Steve Henson] | ||
240 | 230 | |||
241 | 231 | *) Update the GMP engine glue to do direct copies between BIGNUM and | ||
242 | 232 | mpz_t when openssl and GMP use the same limb size. Otherwise the | ||
243 | 233 | existing "conversion via a text string export" trick is still used. | ||
244 | 234 | [Paul Sheer <paulsheer@gmail.com>] | ||
245 | 235 | |||
246 | 236 | *) Zlib compression BIO. This is a filter BIO which compressed and | ||
247 | 237 | uncompresses any data passed through it. | ||
248 | 238 | [Steve Henson] | ||
249 | 239 | |||
250 | 240 | *) Add AES_wrap_key() and AES_unwrap_key() functions to implement | ||
251 | 241 | RFC3394 compatible AES key wrapping. | ||
252 | 242 | [Steve Henson] | ||
253 | 243 | |||
254 | 244 | *) Add utility functions to handle ASN1 structures. ASN1_STRING_set0(): | ||
255 | 245 | sets string data without copying. X509_ALGOR_set0() and | ||
256 | 246 | X509_ALGOR_get0(): set and retrieve X509_ALGOR (AlgorithmIdentifier) | ||
257 | 247 | data. Attribute function X509at_get0_data_by_OBJ(): retrieves data | ||
258 | 248 | from an X509_ATTRIBUTE structure optionally checking it occurs only | ||
259 | 249 | once. ASN1_TYPE_set1(): set and ASN1_TYPE structure copying supplied | ||
260 | 250 | data. | ||
261 | 251 | [Steve Henson] | ||
262 | 252 | |||
263 | 253 | *) Fix BN flag handling in RSA_eay_mod_exp() and BN_MONT_CTX_set() | ||
264 | 254 | to get the expected BN_FLG_CONSTTIME behavior. | ||
265 | 255 | [Bodo Moeller (Google)] | ||
266 | 256 | |||
267 | 257 | *) Netware support: | ||
268 | 258 | |||
269 | 259 | - fixed wrong usage of ioctlsocket() when build for LIBC BSD sockets | ||
270 | 260 | - fixed do_tests.pl to run the test suite with CLIB builds too (CLIB_OPT) | ||
271 | 261 | - added some more tests to do_tests.pl | ||
272 | 262 | - fixed RunningProcess usage so that it works with newer LIBC NDKs too | ||
273 | 263 | - removed usage of BN_LLONG for CLIB builds to avoid runtime dependency | ||
274 | 264 | - added new Configure targets netware-clib-bsdsock, netware-clib-gcc, | ||
275 | 265 | netware-clib-bsdsock-gcc, netware-libc-bsdsock-gcc | ||
276 | 266 | - various changes to netware.pl to enable gcc-cross builds on Win32 | ||
277 | 267 | platform | ||
278 | 268 | - changed crypto/bio/b_sock.c to work with macro functions (CLIB BSD) | ||
279 | 269 | - various changes to fix missing prototype warnings | ||
280 | 270 | - fixed x86nasm.pl to create correct asm files for NASM COFF output | ||
281 | 271 | - added AES, WHIRLPOOL and CPUID assembler code to build files | ||
282 | 272 | - added missing AES assembler make rules to mk1mf.pl | ||
283 | 273 | - fixed order of includes in apps/ocsp.c so that e_os.h settings apply | ||
284 | 274 | [Guenter Knauf <eflash@gmx.net>] | ||
285 | 275 | |||
286 | 276 | *) Implement certificate status request TLS extension defined in RFC3546. | ||
287 | 277 | A client can set the appropriate parameters and receive the encoded | ||
288 | 278 | OCSP response via a callback. A server can query the supplied parameters | ||
289 | 279 | and set the encoded OCSP response in the callback. Add simplified examples | ||
290 | 280 | to s_client and s_server. | ||
291 | 281 | [Steve Henson] | ||
292 | 282 | |||
293 | 5 | Changes between 0.9.8f and 0.9.8g [19 Oct 2007] | 283 | Changes between 0.9.8f and 0.9.8g [19 Oct 2007] |
294 | 6 | 284 | ||
295 | 7 | *) Fix various bugs: | 285 | *) Fix various bugs: |
296 | @@ -167,6 +445,10 @@ | |||
297 | 167 | authentication-only ciphersuites. | 445 | authentication-only ciphersuites. |
298 | 168 | [Bodo Moeller] | 446 | [Bodo Moeller] |
299 | 169 | 447 | ||
300 | 448 | *) Update the SSL_get_shared_ciphers() fix CVE-2006-3738 which was | ||
301 | 449 | not complete and could lead to a possible single byte overflow | ||
302 | 450 | (CVE-2007-5135) [Ben Laurie] | ||
303 | 451 | |||
304 | 170 | Changes between 0.9.8d and 0.9.8e [23 Feb 2007] | 452 | Changes between 0.9.8d and 0.9.8e [23 Feb 2007] |
305 | 171 | 453 | ||
306 | 172 | *) Since AES128 and AES256 (and similarly Camellia128 and | 454 | *) Since AES128 and AES256 (and similarly Camellia128 and |
307 | 173 | 455 | ||
308 | === removed file 'ChangeLog.0_9_7-stable_not-in-head' | |||
309 | --- ChangeLog.0_9_7-stable_not-in-head 2005-12-13 21:37:42 +0000 | |||
310 | +++ ChangeLog.0_9_7-stable_not-in-head 1970-01-01 00:00:00 +0000 | |||
311 | @@ -1,163 +0,0 @@ | |||
312 | 1 | This file, together with ChangeLog.0_9_7-stable_not-in-head_FIPS, | ||
313 | 2 | provides a collection of those CVS change log entries for the | ||
314 | 3 | 0.9.7 branch (OpenSSL_0_9_7-stable) that do not appear similarly in | ||
315 | 4 | 0.9.8-dev (CVS head). | ||
316 | 5 | |||
317 | 6 | ChangeLog.0_9_7-stable_not-in-head_FIPS - "FIPS" related changes | ||
318 | 7 | ChangeLog.0_9_7-stable_not-in-head - everything else | ||
319 | 8 | |||
320 | 9 | Some obvious false positives have been eliminated: e.g., we do not | ||
321 | 10 | care about a simple "make update"; and we don't care about changes | ||
322 | 11 | identified to the 0.9.7 branch that were explicitly identified as | ||
323 | 12 | backports from head. | ||
324 | 13 | |||
325 | 14 | Eliminating all other entries (and finally this file and its | ||
326 | 15 | compantion), either as false positives or as things that should go | ||
327 | 16 | into 0.9.8, remains to be done. Any additional changes to 0.9.7 that | ||
328 | 17 | are not immediately put into 0.9.8, but belong there as well, should | ||
329 | 18 | be added to the end of this file. | ||
330 | 19 | |||
331 | 20 | |||
332 | 21 | 2002-11-04 17:33 levitte | ||
333 | 22 | |||
334 | 23 | Changed: | ||
335 | 24 | Configure (1.314.2.38), "Exp", lines: +4 -2 | ||
336 | 25 | |||
337 | 26 | Return my normal debug targets to something not so extreme, and | ||
338 | 27 | make the extreme ones special (or 'extreme', if you will :-)). | ||
339 | 28 | |||
340 | 29 | 2002-12-16 19:17 appro | ||
341 | 30 | |||
342 | 31 | Changed: | ||
343 | 32 | crypto/bn/bn_lcl.h (1.23.2.3), "Exp", lines: +3 -0 | ||
344 | 33 | crypto/bn/bn_mul.c (1.28.2.4), "Exp", lines: +84 -445 | ||
345 | 34 | |||
346 | 35 | This is rollback to 0.9.6h bn_mul.c to address problem reported in | ||
347 | 36 | RT#272. | ||
348 | 37 | |||
349 | 38 | 2003-07-27 15:46 ben | ||
350 | 39 | |||
351 | 40 | Changed: | ||
352 | 41 | crypto/aes/aes.h (1.1.2.5), "Exp", lines: +3 -0 | ||
353 | 42 | crypto/aes/aes_cfb.c (1.1.2.4), "Exp", lines: +57 -0 | ||
354 | 43 | |||
355 | 44 | Add untested CFB-r mode. Will be tested soon. | ||
356 | 45 | |||
357 | 46 | 2003-07-28 17:07 ben | ||
358 | 47 | |||
359 | 48 | Changed: | ||
360 | 49 | Makefile.org (1.154.2.69), "Exp", lines: +5 -1 | ||
361 | 50 | crypto/aes/aes.h (1.1.2.6), "Exp", lines: +3 -0 | ||
362 | 51 | crypto/aes/aes_cfb.c (1.1.2.5), "Exp", lines: +19 -0 | ||
363 | 52 | crypto/dsa/Makefile.ssl (1.49.2.6), "Exp", lines: +3 -2 | ||
364 | 53 | crypto/err/Makefile.ssl (1.48.2.4), "Exp", lines: +17 -16 | ||
365 | 54 | crypto/evp/e_aes.c (1.6.2.5), "Exp", lines: +8 -0 | ||
366 | 55 | crypto/evp/e_des.c (1.5.2.2), "Exp", lines: +1 -1 | ||
367 | 56 | crypto/evp/e_des3.c (1.8.2.3), "Exp", lines: +2 -2 | ||
368 | 57 | crypto/evp/evp.h (1.86.2.11), "Exp", lines: +28 -11 | ||
369 | 58 | crypto/evp/evp_locl.h (1.7.2.3), "Exp", lines: +2 -2 | ||
370 | 59 | crypto/objects/obj_dat.h (1.49.2.13), "Exp", lines: +10 -5 | ||
371 | 60 | crypto/objects/obj_mac.h (1.19.2.13), "Exp", lines: +5 -0 | ||
372 | 61 | crypto/objects/obj_mac.num (1.15.2.9), "Exp", lines: +1 -0 | ||
373 | 62 | crypto/objects/objects.txt (1.20.2.14), "Exp", lines: +4 -0 | ||
374 | 63 | fips/Makefile.ssl (1.1.2.3), "Exp", lines: +7 -0 | ||
375 | 64 | fips/aes/Makefile.ssl (1.1.2.2), "Exp", lines: +23 -1 | ||
376 | 65 | fips/aes/fips_aesavs.c (1.1.2.3), "Exp", lines: +9 -1 | ||
377 | 66 | test/Makefile.ssl (1.84.2.30), "Exp", lines: +101 -43 | ||
378 | 67 | |||
379 | 68 | Add support for partial CFB modes, make tests work, update | ||
380 | 69 | dependencies. | ||
381 | 70 | |||
382 | 71 | 2003-07-29 12:56 ben | ||
383 | 72 | |||
384 | 73 | Changed: | ||
385 | 74 | crypto/aes/aes_cfb.c (1.1.2.6), "Exp", lines: +9 -6 | ||
386 | 75 | crypto/evp/c_allc.c (1.8.2.3), "Exp", lines: +1 -0 | ||
387 | 76 | crypto/evp/evp_test.c (1.14.2.11), "Exp", lines: +17 -8 | ||
388 | 77 | crypto/evp/evptests.txt (1.9.2.2), "Exp", lines: +48 -1 | ||
389 | 78 | |||
390 | 79 | Working CFB1 and test vectors. | ||
391 | 80 | |||
392 | 81 | 2003-07-29 15:24 ben | ||
393 | 82 | |||
394 | 83 | Changed: | ||
395 | 84 | crypto/evp/e_aes.c (1.6.2.6), "Exp", lines: +14 -0 | ||
396 | 85 | crypto/objects/obj_dat.h (1.49.2.14), "Exp", lines: +15 -5 | ||
397 | 86 | crypto/objects/obj_mac.h (1.19.2.14), "Exp", lines: +10 -0 | ||
398 | 87 | crypto/objects/obj_mac.num (1.15.2.10), "Exp", lines: +2 -0 | ||
399 | 88 | crypto/objects/objects.txt (1.20.2.15), "Exp", lines: +2 -0 | ||
400 | 89 | fips/aes/Makefile.ssl (1.1.2.3), "Exp", lines: +1 -1 | ||
401 | 90 | fips/aes/fips_aesavs.c (1.1.2.4), "Exp", lines: +34 -19 | ||
402 | 91 | |||
403 | 92 | The rest of the keysizes for CFB1, working AES AVS test for CFB1. | ||
404 | 93 | |||
405 | 94 | 2003-07-29 19:05 ben | ||
406 | 95 | |||
407 | 96 | Changed: | ||
408 | 97 | crypto/aes/aes.h (1.1.2.7), "Exp", lines: +3 -0 | ||
409 | 98 | crypto/aes/aes_cfb.c (1.1.2.7), "Exp", lines: +14 -0 | ||
410 | 99 | crypto/evp/c_allc.c (1.8.2.4), "Exp", lines: +1 -0 | ||
411 | 100 | crypto/evp/e_aes.c (1.6.2.7), "Exp", lines: +4 -9 | ||
412 | 101 | crypto/evp/evptests.txt (1.9.2.3), "Exp", lines: +48 -0 | ||
413 | 102 | crypto/objects/obj_dat.h (1.49.2.15), "Exp", lines: +20 -5 | ||
414 | 103 | crypto/objects/obj_mac.h (1.19.2.15), "Exp", lines: +15 -0 | ||
415 | 104 | crypto/objects/obj_mac.num (1.15.2.11), "Exp", lines: +3 -0 | ||
416 | 105 | crypto/objects/objects.txt (1.20.2.16), "Exp", lines: +3 -0 | ||
417 | 106 | fips/aes/fips_aesavs.c (1.1.2.7), "Exp", lines: +11 -0 | ||
418 | 107 | |||
419 | 108 | AES CFB8. | ||
420 | 109 | |||
421 | 110 | 2003-07-30 20:30 ben | ||
422 | 111 | |||
423 | 112 | Changed: | ||
424 | 113 | Makefile.org (1.154.2.70), "Exp", lines: +16 -5 | ||
425 | 114 | crypto/des/cfb_enc.c (1.7.2.1), "Exp", lines: +2 -1 | ||
426 | 115 | crypto/des/des_enc.c (1.11.2.2), "Exp", lines: +4 -0 | ||
427 | 116 | crypto/evp/e_aes.c (1.6.2.8), "Exp", lines: +7 -14 | ||
428 | 117 | crypto/evp/e_des.c (1.5.2.3), "Exp", lines: +37 -1 | ||
429 | 118 | crypto/evp/evp.h (1.86.2.12), "Exp", lines: +6 -0 | ||
430 | 119 | crypto/evp/evp_locl.h (1.7.2.4), "Exp", lines: +9 -0 | ||
431 | 120 | crypto/objects/obj_dat.h (1.49.2.16), "Exp", lines: +48 -23 | ||
432 | 121 | crypto/objects/obj_mac.h (1.19.2.16), "Exp", lines: +31 -6 | ||
433 | 122 | crypto/objects/obj_mac.num (1.15.2.12), "Exp", lines: +5 -0 | ||
434 | 123 | crypto/objects/objects.txt (1.20.2.17), "Exp", lines: +12 -6 | ||
435 | 124 | fips/Makefile.ssl (1.1.2.4), "Exp", lines: +8 -1 | ||
436 | 125 | fips/fips_make_sha1 (1.1.2.3), "Exp", lines: +3 -0 | ||
437 | 126 | fips/aes/Makefile.ssl (1.1.2.4), "Exp", lines: +1 -1 | ||
438 | 127 | fips/des/.cvsignore (1.1.2.1), "Exp", lines: +3 -0 | ||
439 | 128 | fips/des/Makefile.ssl (1.1.2.1), "Exp", lines: +96 -0 | ||
440 | 129 | fips/des/fingerprint.sha1 (1.1.2.1), "Exp", lines: +2 -0 | ||
441 | 130 | fips/des/fips_des_enc.c (1.1.2.1), "Exp", lines: +288 -0 | ||
442 | 131 | fips/des/fips_des_locl.h (1.1.2.1), "Exp", lines: +428 -0 | ||
443 | 132 | fips/des/fips_desmovs.c (1.1.2.1), "Exp", lines: +659 -0 | ||
444 | 133 | |||
445 | 134 | Whoops, forgot FIPS DES, also add EVPs for DES CFB1 and 8. | ||
446 | 135 | |||
447 | 136 | 2003-08-01 12:25 ben | ||
448 | 137 | |||
449 | 138 | Changed: | ||
450 | 139 | crypto/des/cfb_enc.c (1.7.2.2), "Exp", lines: +45 -36 | ||
451 | 140 | crypto/evp/c_allc.c (1.8.2.5), "Exp", lines: +2 -0 | ||
452 | 141 | crypto/evp/e_des.c (1.5.2.4), "Exp", lines: +8 -3 | ||
453 | 142 | crypto/evp/evptests.txt (1.9.2.4), "Exp", lines: +6 -0 | ||
454 | 143 | |||
455 | 144 | Fix DES CFB-r. | ||
456 | 145 | |||
457 | 146 | 2003-08-01 12:31 ben | ||
458 | 147 | |||
459 | 148 | Changed: | ||
460 | 149 | crypto/evp/evptests.txt (1.9.2.5), "Exp", lines: +4 -0 | ||
461 | 150 | |||
462 | 151 | DES CFB8 test. | ||
463 | 152 | |||
464 | 153 | 2005-04-19 16:21 appro | ||
465 | 154 | |||
466 | 155 | Changed: | ||
467 | 156 | Configure (1.314.2.117), "Exp", lines: +24 -21 | ||
468 | 157 | Makefile.org (1.154.2.100), "Exp", lines: +1 -11 | ||
469 | 158 | TABLE (1.99.2.52), "Exp", lines: +20 -20 | ||
470 | 159 | apps/Makefile (1.1.4.15), "Exp", lines: +1 -1 | ||
471 | 160 | test/Makefile (1.1.4.12), "Exp", lines: +1 -1 | ||
472 | 161 | |||
473 | 162 | Enable shared link on HP-UX. | ||
474 | 163 | |||
475 | 164 | 0 | ||
476 | === removed file 'ChangeLog.0_9_7-stable_not-in-head_FIPS' | |||
477 | --- ChangeLog.0_9_7-stable_not-in-head_FIPS 2005-12-13 21:37:42 +0000 | |||
478 | +++ ChangeLog.0_9_7-stable_not-in-head_FIPS 1970-01-01 00:00:00 +0000 | |||
479 | @@ -1,1494 +0,0 @@ | |||
480 | 1 | See file ChangeLog.0_9_7-stable_not-in-head for explanations. | ||
481 | 2 | This is the "FIPS"-related part. | ||
482 | 3 | |||
483 | 4 | |||
484 | 5 | |||
485 | 6 | 2003-07-27 19:00 ben | ||
486 | 7 | |||
487 | 8 | Changed: | ||
488 | 9 | Configure (1.314.2.85), "Exp", lines: +2 -0 | ||
489 | 10 | Makefile.org (1.154.2.67), "Exp", lines: +12 -3 | ||
490 | 11 | crypto/cryptlib.c (1.32.2.9), "Exp", lines: +5 -0 | ||
491 | 12 | crypto/md32_common.h (1.22.2.4), "Exp", lines: +11 -0 | ||
492 | 13 | crypto/aes/Makefile.ssl (1.4.2.6), "Exp", lines: +2 -1 | ||
493 | 14 | crypto/aes/aes_core.c (1.1.2.4), "Exp", lines: +4 -0 | ||
494 | 15 | crypto/des/des.h (1.40.2.4), "Exp", lines: +1 -1 | ||
495 | 16 | crypto/des/des_old.c (1.11.2.4), "Exp", lines: +1 -1 | ||
496 | 17 | crypto/des/destest.c (1.30.2.6), "Exp", lines: +2 -2 | ||
497 | 18 | crypto/des/ecb3_enc.c (1.8.2.1), "Exp", lines: +1 -3 | ||
498 | 19 | crypto/dsa/Makefile.ssl (1.49.2.5), "Exp", lines: +7 -4 | ||
499 | 20 | crypto/dsa/dsa_ossl.c (1.12.2.4), "Exp", lines: +2 -0 | ||
500 | 21 | crypto/dsa/dsa_sign.c (1.10.2.3), "Exp", lines: +12 -0 | ||
501 | 22 | crypto/dsa/dsa_vrf.c (1.10.2.3), "Exp", lines: +8 -0 | ||
502 | 23 | crypto/engine/engine.h (1.36.2.6), "Exp", lines: +4 -0 | ||
503 | 24 | crypto/err/err.h (1.35.2.3), "Exp", lines: +2 -0 | ||
504 | 25 | crypto/err/err_all.c (1.17.2.2), "Exp", lines: +4 -0 | ||
505 | 26 | crypto/err/openssl.ec (1.11.2.1), "Exp", lines: +1 -0 | ||
506 | 27 | crypto/evp/Makefile.ssl (1.64.2.8), "Exp", lines: +8 -7 | ||
507 | 28 | crypto/evp/c_all.c (1.7.8.7), "Exp", lines: +1 -0 | ||
508 | 29 | crypto/evp/e_aes.c (1.6.2.4), "Exp", lines: +12 -4 | ||
509 | 30 | crypto/evp/e_des3.c (1.8.2.2), "Exp", lines: +1 -1 | ||
510 | 31 | crypto/evp/evp.h (1.86.2.10), "Exp", lines: +2 -0 | ||
511 | 32 | crypto/evp/evp_err.c (1.23.2.1), "Exp", lines: +3 -1 | ||
512 | 33 | crypto/md4/Makefile.ssl (1.6.2.4), "Exp", lines: +7 -4 | ||
513 | 34 | crypto/md5/Makefile.ssl (1.33.2.7), "Exp", lines: +7 -4 | ||
514 | 35 | crypto/rand/Makefile.ssl (1.56.2.4), "Exp", lines: +17 -15 | ||
515 | 36 | crypto/rand/md_rand.c (1.69.2.2), "Exp", lines: +9 -0 | ||
516 | 37 | crypto/rand/rand.h (1.26.2.5), "Exp", lines: +2 -0 | ||
517 | 38 | crypto/rand/rand_err.c (1.6.2.1), "Exp", lines: +3 -1 | ||
518 | 39 | crypto/rand/rand_lib.c (1.15.2.2), "Exp", lines: +11 -0 | ||
519 | 40 | crypto/ripemd/Makefile.ssl (1.25.2.5), "Exp", lines: +7 -2 | ||
520 | 41 | crypto/sha/Makefile.ssl (1.26.2.5), "Exp", lines: +16 -6 | ||
521 | 42 | fips/.cvsignore (1.1.2.1), "Exp", lines: +1 -0 | ||
522 | 43 | fips/Makefile.ssl (1.1.2.1), "Exp", lines: +155 -0 | ||
523 | 44 | fips/fingerprint.sha1 (1.1.2.1), "Exp", lines: +3 -0 | ||
524 | 45 | fips/fips.c (1.1.2.1), "Exp", lines: +74 -0 | ||
525 | 46 | fips/fips.h (1.1.2.1), "Exp", lines: +85 -0 | ||
526 | 47 | fips/fips_check_sha1 (1.1.2.1), "Exp", lines: +7 -0 | ||
527 | 48 | fips/fips_err.c (1.1.2.1), "Exp", lines: +96 -0 | ||
528 | 49 | fips/fips_make_sha1 (1.1.2.1), "Exp", lines: +21 -0 | ||
529 | 50 | fips/lib (1.1.2.1), "Exp", lines: +0 -0 | ||
530 | 51 | fips/aes/.cvsignore (1.1.2.1), "Exp", lines: +4 -0 | ||
531 | 52 | fips/aes/Makefile.ssl (1.1.2.1), "Exp", lines: +95 -0 | ||
532 | 53 | fips/aes/fingerprint.sha1 (1.1.2.1), "Exp", lines: +2 -0 | ||
533 | 54 | fips/aes/fips_aes_core.c (1.1.2.1), "Exp", lines: +1260 -0 | ||
534 | 55 | fips/aes/fips_aes_locl.h (1.1.2.1), "Exp", lines: +85 -0 | ||
535 | 56 | fips/aes/fips_aesavs.c (1.1.2.1), "Exp", lines: +896 -0 | ||
536 | 57 | fips/dsa/.cvsignore (1.1.2.1), "Exp", lines: +2 -0 | ||
537 | 58 | fips/dsa/Makefile.ssl (1.1.2.1), "Exp", lines: +95 -0 | ||
538 | 59 | fips/dsa/fingerprint.sha1 (1.1.2.1), "Exp", lines: +1 -0 | ||
539 | 60 | fips/dsa/fips_dsa_ossl.c (1.1.2.1), "Exp", lines: +366 -0 | ||
540 | 61 | fips/dsa/fips_dsatest.c (1.1.2.1), "Exp", lines: +252 -0 | ||
541 | 62 | fips/rand/.cvsignore (1.1.2.1), "Exp", lines: +2 -0 | ||
542 | 63 | fips/rand/Makefile.ssl (1.1.2.1), "Exp", lines: +94 -0 | ||
543 | 64 | fips/rand/fingerprint.sha1 (1.1.2.1), "Exp", lines: +2 -0 | ||
544 | 65 | fips/rand/fips_rand.c (1.1.2.1), "Exp", lines: +236 -0 | ||
545 | 66 | fips/rand/fips_rand.h (1.1.2.1), "Exp", lines: +55 -0 | ||
546 | 67 | fips/rand/fips_randtest.c (1.1.2.1), "Exp", lines: +348 -0 | ||
547 | 68 | fips/sha1/.cvsignore (1.1.2.1), "Exp", lines: +3 -0 | ||
548 | 69 | fips/sha1/Makefile.ssl (1.1.2.1), "Exp", lines: +94 -0 | ||
549 | 70 | fips/sha1/fingerprint.sha1 (1.1.2.1), "Exp", lines: +3 -0 | ||
550 | 71 | fips/sha1/fips_md32_common.h (1.1.2.1), "Exp", lines: +637 -0 | ||
551 | 72 | fips/sha1/fips_sha1dgst.c (1.1.2.1), "Exp", lines: +76 -0 | ||
552 | 73 | fips/sha1/fips_sha1test.c (1.1.2.1), "Exp", lines: +128 -0 | ||
553 | 74 | fips/sha1/fips_sha_locl.h (1.1.2.1), "Exp", lines: +472 -0 | ||
554 | 75 | fips/sha1/fips_standalone_sha1.c (1.1.2.1), "Exp", lines: +101 -0 | ||
555 | 76 | fips/sha1/standalone.sha1 (1.1.2.1), "Exp", lines: +4 -0 | ||
556 | 77 | test/Makefile.ssl (1.84.2.29), "Exp", lines: +81 -13 | ||
557 | 78 | util/mkerr.pl (1.18.2.4), "Exp", lines: +2 -1 | ||
558 | 79 | |||
559 | 80 | Unfinished FIPS stuff for review/improvement. | ||
560 | 81 | |||
561 | 82 | 2003-07-27 19:19 ben | ||
562 | 83 | |||
563 | 84 | Changed: | ||
564 | 85 | fips/fips_check_sha1 (1.1.2.2), "Exp", lines: +1 -1 | ||
565 | 86 | |||
566 | 87 | Use unified diff. | ||
567 | 88 | |||
568 | 89 | 2003-07-27 19:23 ben | ||
569 | 90 | |||
570 | 91 | Changed: | ||
571 | 92 | fips/Makefile.ssl (1.1.2.2), "Exp", lines: +3 -3 | ||
572 | 93 | fips/fingerprint.sha1 (1.1.2.2), "Exp", lines: +2 -1 | ||
573 | 94 | fips/fips_make_sha1 (1.1.2.2), "Exp", lines: +1 -1 | ||
574 | 95 | |||
575 | 96 | Build in non-FIPS mode. | ||
576 | 97 | |||
577 | 98 | 2003-07-27 23:13 ben | ||
578 | 99 | |||
579 | 100 | Changed: | ||
580 | 101 | Makefile.org (1.154.2.68), "Exp", lines: +1 -1 | ||
581 | 102 | fips/fips_check_sha1 (1.1.2.3), "Exp", lines: +2 -1 | ||
582 | 103 | fips/aes/fips_aesavs.c (1.1.2.2), "Exp", lines: +2 -0 | ||
583 | 104 | fips/dsa/fips_dsa_ossl.c (1.1.2.2), "Exp", lines: +8 -0 | ||
584 | 105 | fips/dsa/fips_dsatest.c (1.1.2.2), "Exp", lines: +2 -1 | ||
585 | 106 | fips/sha1/fingerprint.sha1 (1.1.2.2), "Exp", lines: +1 -1 | ||
586 | 107 | fips/sha1/fips_sha1dgst.c (1.1.2.2), "Exp", lines: +5 -1 | ||
587 | 108 | fips/sha1/fips_standalone_sha1.c (1.1.2.2), "Exp", lines: +2 -0 | ||
588 | 109 | fips/sha1/standalone.sha1 (1.1.2.2), "Exp", lines: +1 -1 | ||
589 | 110 | |||
590 | 111 | Build when not FIPS. | ||
591 | 112 | |||
592 | 113 | 2003-07-28 11:56 ben | ||
593 | 114 | |||
594 | 115 | Changed: | ||
595 | 116 | fips/dsa/fingerprint.sha1 (1.1.2.2), "Exp", lines: +1 -1 | ||
596 | 117 | fips/sha1/standalone.sha1 (1.1.2.3), "Exp", lines: +1 -1 | ||
597 | 118 | |||
598 | 119 | New fingerprints. | ||
599 | 120 | |||
600 | 121 | 2003-07-29 16:06 ben | ||
601 | 122 | |||
602 | 123 | Changed: | ||
603 | 124 | fips/aes/fips_aesavs.c (1.1.2.5), "Exp", lines: +295 -303 | ||
604 | 125 | |||
605 | 126 | Reformat. | ||
606 | 127 | |||
607 | 128 | 2003-07-29 16:34 ben | ||
608 | 129 | |||
609 | 130 | Changed: | ||
610 | 131 | fips/aes/fips_aesavs.c (1.1.2.6), "Exp", lines: +43 -17 | ||
611 | 132 | |||
612 | 133 | MMT for CFB1 | ||
613 | 134 | |||
614 | 135 | 2003-07-29 17:17 ben | ||
615 | 136 | |||
616 | 137 | Changed: | ||
617 | 138 | fips/fips_err_wrapper.c (1.1.2.1), "Exp", lines: +5 -0 | ||
618 | 139 | fips/sha1/sha1hashes.txt (1.1.2.1), "Exp", lines: +342 -0 | ||
619 | 140 | fips/sha1/sha1vectors.txt (1.1.2.1), "Exp", lines: +2293 -0 | ||
620 | 141 | |||
621 | 142 | Missing files. | ||
622 | 143 | |||
623 | 144 | 2003-07-31 23:30 levitte | ||
624 | 145 | |||
625 | 146 | Changed: | ||
626 | 147 | Makefile.org (1.154.2.71), "Exp", lines: +2 -0 | ||
627 | 148 | |||
628 | 149 | If FDIRS is to be treated like SDIRS, let's not forget to | ||
629 | 150 | initialize it in Makefile.org. | ||
630 | 151 | |||
631 | 152 | 2003-07-31 23:41 levitte | ||
632 | 153 | |||
633 | 154 | Changed: | ||
634 | 155 | fips/sha1/fips_sha1test.c (1.1.2.2), "Exp", lines: +3 -3 | ||
635 | 156 | |||
636 | 157 | No C++ comments in C programs! | ||
637 | 158 | |||
638 | 159 | 2003-08-01 15:07 steve | ||
639 | 160 | |||
640 | 161 | Changed: | ||
641 | 162 | fips/aes/fips_aesavs.c (1.1.2.8), "Exp", lines: +3 -3 | ||
642 | 163 | |||
643 | 164 | Replace C++ style comments. | ||
644 | 165 | |||
645 | 166 | 2003-08-03 14:22 ben | ||
646 | 167 | |||
647 | 168 | Changed: | ||
648 | 169 | fips/des/fips_desmovs.c (1.1.2.2), "Exp", lines: +55 -37 | ||
649 | 170 | |||
650 | 171 | Make tests work (CFB1 still doesn't produce the right answers, | ||
651 | 172 | strangely). | ||
652 | 173 | |||
653 | 174 | 2003-08-08 12:08 levitte | ||
654 | 175 | |||
655 | 176 | Changed: | ||
656 | 177 | fips/des/fips_des_enc.c (1.1.2.2), "Exp", lines: +9 -0 | ||
657 | 178 | |||
658 | 179 | Avoid clashing with the regular DES functions when not compiling | ||
659 | 180 | with -DFIPS. This is basically only visible when building with | ||
660 | 181 | shared library supoort... | ||
661 | 182 | |||
662 | 183 | 2003-08-11 11:36 levitte | ||
663 | 184 | |||
664 | 185 | Deleted: | ||
665 | 186 | fips/sha1/.cvsignore (1.1.2.2) | ||
666 | 187 | fips/sha1/Makefile.ssl (1.1.2.3) | ||
667 | 188 | fips/sha1/fingerprint.sha1 (1.1.2.3) | ||
668 | 189 | fips/sha1/fips_md32_common.h (1.1.2.2) | ||
669 | 190 | fips/sha1/fips_sha1dgst.c (1.1.2.3) | ||
670 | 191 | fips/sha1/fips_sha1test.c (1.1.2.3) | ||
671 | 192 | fips/sha1/fips_sha_locl.h (1.1.2.2) | ||
672 | 193 | fips/sha1/fips_standalone_sha1.c (1.1.2.3) | ||
673 | 194 | fips/sha1/sha1hashes.txt (1.1.2.2) | ||
674 | 195 | fips/sha1/sha1vectors.txt (1.1.2.2) | ||
675 | 196 | fips/sha1/standalone.sha1 (1.1.2.4) | ||
676 | 197 | fips/dsa/.cvsignore (1.1.2.2) | ||
677 | 198 | fips/dsa/Makefile.ssl (1.1.2.2) | ||
678 | 199 | fips/dsa/fingerprint.sha1 (1.1.2.3) | ||
679 | 200 | fips/dsa/fips_dsa_ossl.c (1.1.2.3) | ||
680 | 201 | fips/dsa/fips_dsatest.c (1.1.2.3) | ||
681 | 202 | fips/rand/.cvsignore (1.1.2.2) | ||
682 | 203 | fips/rand/Makefile.ssl (1.1.2.2) | ||
683 | 204 | fips/rand/fingerprint.sha1 (1.1.2.2) | ||
684 | 205 | fips/rand/fips_rand.c (1.1.2.2) | ||
685 | 206 | fips/rand/fips_rand.h (1.1.2.2) | ||
686 | 207 | fips/rand/fips_randtest.c (1.1.2.2) | ||
687 | 208 | fips/des/.cvsignore (1.1.2.2) | ||
688 | 209 | fips/des/Makefile.ssl (1.1.2.3) | ||
689 | 210 | fips/des/fingerprint.sha1 (1.1.2.2) | ||
690 | 211 | fips/des/fips_des_enc.c (1.1.2.3) | ||
691 | 212 | fips/des/fips_des_locl.h (1.1.2.2) | ||
692 | 213 | fips/des/fips_desmovs.c (1.1.2.3) | ||
693 | 214 | fips/aes/.cvsignore (1.1.2.2) | ||
694 | 215 | fips/aes/Makefile.ssl (1.1.2.5) | ||
695 | 216 | fips/aes/fingerprint.sha1 (1.1.2.2) | ||
696 | 217 | fips/aes/fips_aes_core.c (1.1.2.2) | ||
697 | 218 | fips/aes/fips_aes_locl.h (1.1.2.2) | ||
698 | 219 | fips/aes/fips_aesavs.c (1.1.2.9) | ||
699 | 220 | fips/.cvsignore (1.1.2.2) | ||
700 | 221 | fips/Makefile.ssl (1.1.2.6) | ||
701 | 222 | fips/fingerprint.sha1 (1.1.2.3) | ||
702 | 223 | fips/fips.c (1.1.2.2) | ||
703 | 224 | fips/fips.h (1.1.2.2) | ||
704 | 225 | fips/fips_check_sha1 (1.1.2.4) | ||
705 | 226 | fips/fips_err.c (1.1.2.2) | ||
706 | 227 | fips/fips_err_wrapper.c (1.1.2.2) | ||
707 | 228 | fips/fips_make_sha1 (1.1.2.4) | ||
708 | 229 | fips/lib (1.1.2.2) | ||
709 | 230 | Changed: | ||
710 | 231 | util/libeay.num (1.173.2.16), "Exp", lines: +11 -38 | ||
711 | 232 | util/mkerr.pl (1.18.2.5), "Exp", lines: +1 -2 | ||
712 | 233 | test/Makefile.ssl (1.84.2.31), "Exp", lines: +54 -180 | ||
713 | 234 | crypto/ripemd/Makefile.ssl (1.25.2.6), "Exp", lines: +2 -7 | ||
714 | 235 | crypto/sha/Makefile.ssl (1.26.2.6), "Exp", lines: +6 -16 | ||
715 | 236 | crypto/rand/Makefile.ssl (1.56.2.5), "Exp", lines: +15 -17 | ||
716 | 237 | crypto/rand/md_rand.c (1.69.2.3), "Exp", lines: +0 -9 | ||
717 | 238 | crypto/rand/rand.h (1.26.2.6), "Exp", lines: +0 -2 | ||
718 | 239 | crypto/rand/rand_err.c (1.6.2.2), "Exp", lines: +1 -3 | ||
719 | 240 | crypto/rand/rand_lib.c (1.15.2.3), "Exp", lines: +0 -11 | ||
720 | 241 | crypto/objects/obj_dat.h (1.49.2.18), "Exp", lines: +3 -27 | ||
721 | 242 | crypto/objects/obj_mac.h (1.19.2.18), "Exp", lines: +0 -32 | ||
722 | 243 | crypto/objects/obj_mac.num (1.15.2.14), "Exp", lines: +0 -8 | ||
723 | 244 | crypto/objects/objects.txt (1.20.2.19), "Exp", lines: +0 -11 | ||
724 | 245 | crypto/md4/Makefile.ssl (1.6.2.5), "Exp", lines: +4 -7 | ||
725 | 246 | crypto/md5/Makefile.ssl (1.33.2.8), "Exp", lines: +4 -7 | ||
726 | 247 | crypto/evp/Makefile.ssl (1.64.2.9), "Exp", lines: +7 -8 | ||
727 | 248 | crypto/evp/c_allc.c (1.8.2.6), "Exp", lines: +0 -4 | ||
728 | 249 | crypto/evp/e_aes.c (1.6.2.9), "Exp", lines: +4 -22 | ||
729 | 250 | crypto/evp/e_des.c (1.5.2.5), "Exp", lines: +2 -43 | ||
730 | 251 | crypto/evp/e_des3.c (1.8.2.4), "Exp", lines: +3 -3 | ||
731 | 252 | crypto/evp/evp.h (1.86.2.13), "Exp", lines: +11 -36 | ||
732 | 253 | crypto/evp/evp_err.c (1.23.2.2), "Exp", lines: +1 -3 | ||
733 | 254 | crypto/evp/evp_lib.c (1.6.8.3), "Exp", lines: +0 -24 | ||
734 | 255 | crypto/evp/evp_locl.h (1.7.2.5), "Exp", lines: +2 -11 | ||
735 | 256 | crypto/evp/evp_test.c (1.14.2.12), "Exp", lines: +8 -17 | ||
736 | 257 | crypto/evp/evptests.txt (1.9.2.6), "Exp", lines: +1 -106 | ||
737 | 258 | crypto/dsa/Makefile.ssl (1.49.2.7), "Exp", lines: +6 -10 | ||
738 | 259 | crypto/dsa/dsa_ossl.c (1.12.2.5), "Exp", lines: +0 -2 | ||
739 | 260 | crypto/dsa/dsa_sign.c (1.10.2.4), "Exp", lines: +0 -12 | ||
740 | 261 | crypto/dsa/dsa_vrf.c (1.10.2.4), "Exp", lines: +0 -8 | ||
741 | 262 | crypto/err/Makefile.ssl (1.48.2.5), "Exp", lines: +16 -17 | ||
742 | 263 | crypto/err/err.h (1.35.2.4), "Exp", lines: +0 -2 | ||
743 | 264 | crypto/err/err_all.c (1.17.2.3), "Exp", lines: +0 -4 | ||
744 | 265 | crypto/err/openssl.ec (1.11.2.2), "Exp", lines: +0 -1 | ||
745 | 266 | crypto/des/des.h (1.40.2.5), "Exp", lines: +1 -1 | ||
746 | 267 | crypto/des/des_enc.c (1.11.2.3), "Exp", lines: +0 -4 | ||
747 | 268 | crypto/des/des_old.c (1.11.2.5), "Exp", lines: +1 -1 | ||
748 | 269 | crypto/des/destest.c (1.30.2.7), "Exp", lines: +2 -2 | ||
749 | 270 | crypto/des/ecb3_enc.c (1.8.2.2), "Exp", lines: +3 -1 | ||
750 | 271 | crypto/aes/Makefile.ssl (1.4.2.7), "Exp", lines: +1 -2 | ||
751 | 272 | crypto/aes/aes.h (1.1.2.8), "Exp", lines: +0 -9 | ||
752 | 273 | crypto/aes/aes_cfb.c (1.1.2.8), "Exp", lines: +0 -93 | ||
753 | 274 | crypto/aes/aes_core.c (1.1.2.5), "Exp", lines: +0 -4 | ||
754 | 275 | crypto/cryptlib.c (1.32.2.10), "Exp", lines: +0 -5 | ||
755 | 276 | crypto/md32_common.h (1.22.2.5), "Exp", lines: +0 -11 | ||
756 | 277 | Configure (1.314.2.86), "Exp", lines: +0 -2 | ||
757 | 278 | Makefile.org (1.154.2.72), "Exp", lines: +8 -34 | ||
758 | 279 | TABLE (1.99.2.30), "Exp", lines: +0 -50 | ||
759 | 280 | |||
760 | 281 | A new branch for FIPS-related changes has been created with the | ||
761 | 282 | name OpenSSL-fips-0_9_7-stable. | ||
762 | 283 | |||
763 | 284 | Since the 0.9.7-stable branch is supposed to be in freeze | ||
764 | 285 | and should only contain bug corrections, this change removes the | ||
765 | 286 | FIPS changes from that branch. | ||
766 | 287 | |||
767 | 288 | 2004-05-11 14:44 ben | ||
768 | 289 | |||
769 | 290 | Deleted: | ||
770 | 291 | apps/Makefile.ssl (1.100.2.27) | ||
771 | 292 | crypto/Makefile.ssl (1.84.2.12) | ||
772 | 293 | crypto/aes/Makefile.ssl (1.4.2.9) | ||
773 | 294 | crypto/asn1/Makefile.ssl (1.77.2.7) | ||
774 | 295 | crypto/bf/Makefile.ssl (1.25.2.6) | ||
775 | 296 | crypto/bio/Makefile.ssl (1.52.2.4) | ||
776 | 297 | crypto/bn/Makefile.ssl (1.65.2.9) | ||
777 | 298 | crypto/buffer/Makefile.ssl (1.32.2.4) | ||
778 | 299 | crypto/cast/Makefile.ssl (1.31.2.6) | ||
779 | 300 | crypto/comp/Makefile.ssl (1.32.2.4) | ||
780 | 301 | crypto/conf/Makefile.ssl (1.38.2.8) | ||
781 | 302 | crypto/des/Makefile.ssl (1.61.2.13) | ||
782 | 303 | crypto/dh/Makefile.ssl (1.43.2.5) | ||
783 | 304 | crypto/dsa/Makefile.ssl (1.49.2.9) | ||
784 | 305 | crypto/dso/Makefile.ssl (1.11.2.4) | ||
785 | 306 | crypto/ec/Makefile.ssl (1.7.2.4) | ||
786 | 307 | crypto/engine/Makefile.ssl (1.30.2.13) | ||
787 | 308 | crypto/err/Makefile.ssl (1.48.2.7) | ||
788 | 309 | crypto/evp/Makefile.ssl (1.64.2.12) | ||
789 | 310 | crypto/hmac/Makefile.ssl (1.33.2.6) | ||
790 | 311 | crypto/idea/Makefile.ssl (1.20.2.4) | ||
791 | 312 | crypto/krb5/Makefile.ssl (1.5.2.6) | ||
792 | 313 | crypto/lhash/Makefile.ssl (1.28.2.4) | ||
793 | 314 | crypto/md2/Makefile.ssl (1.29.2.5) | ||
794 | 315 | crypto/md4/Makefile.ssl (1.6.2.7) | ||
795 | 316 | crypto/md5/Makefile.ssl (1.33.2.10) | ||
796 | 317 | crypto/mdc2/Makefile.ssl (1.30.2.4) | ||
797 | 318 | crypto/objects/Makefile.ssl (1.46.2.6) | ||
798 | 319 | crypto/ocsp/Makefile.ssl (1.19.2.7) | ||
799 | 320 | crypto/pem/Makefile.ssl (1.51.2.5) | ||
800 | 321 | crypto/pkcs12/Makefile.ssl (1.37.2.5) | ||
801 | 322 | crypto/pkcs7/Makefile.ssl (1.47.2.5) | ||
802 | 323 | crypto/rand/Makefile.ssl (1.56.2.8) | ||
803 | 324 | crypto/rc2/Makefile.ssl (1.20.2.4) | ||
804 | 325 | crypto/rc4/Makefile.ssl (1.25.2.6) | ||
805 | 326 | crypto/rc5/Makefile.ssl (1.22.2.6) | ||
806 | 327 | crypto/ripemd/Makefile.ssl (1.25.2.9) | ||
807 | 328 | crypto/rsa/Makefile.ssl (1.53.2.6) | ||
808 | 329 | crypto/sha/Makefile.ssl (1.26.2.9) | ||
809 | 330 | crypto/stack/Makefile.ssl (1.28.2.4) | ||
810 | 331 | crypto/txt_db/Makefile.ssl (1.26.2.4) | ||
811 | 332 | crypto/ui/Makefile.ssl (1.10.2.6) | ||
812 | 333 | crypto/x509/Makefile.ssl (1.56.2.5) | ||
813 | 334 | crypto/x509v3/Makefile.ssl (1.62.2.5) | ||
814 | 335 | ssl/Makefile.ssl (1.53.2.11) | ||
815 | 336 | test/Makefile.ssl (1.84.2.36) | ||
816 | 337 | tools/Makefile.ssl (1.9.2.4) | ||
817 | 338 | Changed: | ||
818 | 339 | .cvsignore (1.7.6.2), "Exp", lines: +2 -1 | ||
819 | 340 | Configure (1.314.2.92), "Exp", lines: +38 -8 | ||
820 | 341 | FAQ (1.61.2.31), "Exp", lines: +1 -1 | ||
821 | 342 | INSTALL (1.45.2.9), "Exp", lines: +2 -2 | ||
822 | 343 | INSTALL.W32 (1.30.2.14), "Exp", lines: +9 -4 | ||
823 | 344 | Makefile.org (1.154.2.78), "Exp", lines: +51 -19 | ||
824 | 345 | PROBLEMS (1.4.2.10), "Exp", lines: +2 -2 | ||
825 | 346 | e_os.h (1.56.2.17), "Exp", lines: +20 -1 | ||
826 | 347 | apps/.cvsignore (1.5.8.1), "Exp", lines: +1 -0 | ||
827 | 348 | apps/Makefile (1.1.4.1), "Exp", lines: +1147 -0 | ||
828 | 349 | apps/apps.c (1.49.2.27), "Exp", lines: +0 -10 | ||
829 | 350 | apps/ca.c (1.102.2.31), "Exp", lines: +0 -10 | ||
830 | 351 | apps/dgst.c (1.23.2.10), "Exp", lines: +39 -11 | ||
831 | 352 | apps/openssl.c (1.48.2.9), "Exp", lines: +19 -0 | ||
832 | 353 | crypto/Makefile (1.1.4.1), "Exp", lines: +217 -0 | ||
833 | 354 | crypto/cryptlib.c (1.32.2.11), "Exp", lines: +5 -0 | ||
834 | 355 | crypto/crypto-lib.com (1.53.2.12), "Exp", lines: +1 -1 | ||
835 | 356 | crypto/md32_common.h (1.22.2.6), "Exp", lines: +12 -0 | ||
836 | 357 | crypto/aes/Makefile (1.1.4.1), "Exp", lines: +102 -0 | ||
837 | 358 | crypto/aes/aes.h (1.1.2.9), "Exp", lines: +9 -0 | ||
838 | 359 | crypto/aes/aes_cfb.c (1.1.2.9), "Exp", lines: +93 -0 | ||
839 | 360 | crypto/aes/aes_core.c (1.1.2.6), "Exp", lines: +4 -0 | ||
840 | 361 | crypto/asn1/Makefile (1.1.4.1), "Exp", lines: +1150 -0 | ||
841 | 362 | crypto/bf/Makefile (1.1.4.1), "Exp", lines: +113 -0 | ||
842 | 363 | crypto/bio/Makefile (1.1.4.1), "Exp", lines: +214 -0 | ||
843 | 364 | crypto/bio/bio.h (1.56.2.6), "Exp", lines: +1 -0 | ||
844 | 365 | crypto/bn/Makefile (1.1.4.1), "Exp", lines: +324 -0 | ||
845 | 366 | crypto/bn/bntest.c (1.55.2.4), "Exp", lines: +1 -1 | ||
846 | 367 | crypto/buffer/Makefile (1.1.4.1), "Exp", lines: +92 -0 | ||
847 | 368 | crypto/cast/Makefile (1.1.4.1), "Exp", lines: +118 -0 | ||
848 | 369 | crypto/cast/asm/.cvsignore (1.2.8.1), "Exp", lines: +1 -0 | ||
849 | 370 | crypto/comp/Makefile (1.1.4.1), "Exp", lines: +112 -0 | ||
850 | 371 | crypto/conf/Makefile (1.1.4.1), "Exp", lines: +181 -0 | ||
851 | 372 | crypto/des/Makefile (1.1.4.1), "Exp", lines: +314 -0 | ||
852 | 373 | crypto/des/cfb64ede.c (1.6.2.4), "Exp", lines: +111 -0 | ||
853 | 374 | crypto/des/des.h (1.40.2.6), "Exp", lines: +5 -1 | ||
854 | 375 | crypto/des/des_enc.c (1.11.2.4), "Exp", lines: +8 -0 | ||
855 | 376 | crypto/des/des_old.c (1.11.2.6), "Exp", lines: +1 -1 | ||
856 | 377 | crypto/des/destest.c (1.30.2.8), "Exp", lines: +2 -2 | ||
857 | 378 | crypto/des/ecb3_enc.c (1.8.2.3), "Exp", lines: +1 -3 | ||
858 | 379 | crypto/des/set_key.c (1.18.2.2), "Exp", lines: +4 -0 | ||
859 | 380 | crypto/dh/Makefile (1.1.4.1), "Exp", lines: +131 -0 | ||
860 | 381 | crypto/dsa/Makefile (1.1.4.1), "Exp", lines: +173 -0 | ||
861 | 382 | crypto/dsa/dsa_gen.c (1.19.2.1), "Exp", lines: +4 -1 | ||
862 | 383 | crypto/dsa/dsa_key.c (1.9.2.1), "Exp", lines: +2 -0 | ||
863 | 384 | crypto/dsa/dsa_ossl.c (1.12.2.6), "Exp", lines: +2 -0 | ||
864 | 385 | crypto/dsa/dsa_sign.c (1.10.2.5), "Exp", lines: +12 -0 | ||
865 | 386 | crypto/dsa/dsa_vrf.c (1.10.2.5), "Exp", lines: +8 -0 | ||
866 | 387 | crypto/dso/Makefile (1.1.4.1), "Exp", lines: +140 -0 | ||
867 | 388 | crypto/ec/Makefile (1.1.4.1), "Exp", lines: +126 -0 | ||
868 | 389 | crypto/engine/Makefile (1.1.4.1), "Exp", lines: +536 -0 | ||
869 | 390 | crypto/engine/hw_cryptodev.c (1.1.2.6), "Exp", lines: +6 -2 | ||
870 | 391 | crypto/err/Makefile (1.1.4.1), "Exp", lines: +118 -0 | ||
871 | 392 | crypto/err/err.h (1.35.2.6), "Exp", lines: +2 -0 | ||
872 | 393 | crypto/err/err_all.c (1.17.2.4), "Exp", lines: +4 -0 | ||
873 | 394 | crypto/err/openssl.ec (1.11.2.3), "Exp", lines: +1 -0 | ||
874 | 395 | crypto/evp/Makefile (1.1.4.1), "Exp", lines: +1057 -0 | ||
875 | 396 | crypto/evp/bio_md.c (1.11.2.1), "Exp", lines: +6 -0 | ||
876 | 397 | crypto/evp/c_allc.c (1.8.2.7), "Exp", lines: +8 -0 | ||
877 | 398 | crypto/evp/e_aes.c (1.6.2.10), "Exp", lines: +22 -4 | ||
878 | 399 | crypto/evp/e_des.c (1.5.2.8), "Exp", lines: +36 -3 | ||
879 | 400 | crypto/evp/e_des3.c (1.8.2.7), "Exp", lines: +43 -4 | ||
880 | 401 | crypto/evp/evp.h (1.86.2.15), "Exp", lines: +39 -11 | ||
881 | 402 | crypto/evp/evp_err.c (1.23.2.3), "Exp", lines: +3 -1 | ||
882 | 403 | crypto/evp/evp_lib.c (1.6.8.4), "Exp", lines: +24 -0 | ||
883 | 404 | crypto/evp/evp_locl.h (1.7.2.6), "Exp", lines: +11 -2 | ||
884 | 405 | crypto/evp/evp_test.c (1.14.2.13), "Exp", lines: +17 -8 | ||
885 | 406 | crypto/evp/evptests.txt (1.9.2.7), "Exp", lines: +106 -1 | ||
886 | 407 | crypto/hmac/Makefile (1.1.4.1), "Exp", lines: +99 -0 | ||
887 | 408 | crypto/idea/Makefile (1.1.4.1), "Exp", lines: +89 -0 | ||
888 | 409 | crypto/krb5/Makefile (1.1.4.1), "Exp", lines: +88 -0 | ||
889 | 410 | crypto/lhash/Makefile (1.1.4.1), "Exp", lines: +91 -0 | ||
890 | 411 | crypto/md2/Makefile (1.1.4.1), "Exp", lines: +91 -0 | ||
891 | 412 | crypto/md4/Makefile (1.1.4.1), "Exp", lines: +93 -0 | ||
892 | 413 | crypto/md5/Makefile (1.1.4.1), "Exp", lines: +129 -0 | ||
893 | 414 | crypto/mdc2/Makefile (1.1.4.1), "Exp", lines: +96 -0 | ||
894 | 415 | crypto/objects/Makefile (1.1.4.1), "Exp", lines: +121 -0 | ||
895 | 416 | crypto/objects/obj_dat.h (1.49.2.19), "Exp", lines: +33 -3 | ||
896 | 417 | crypto/objects/obj_mac.h (1.19.2.19), "Exp", lines: +40 -0 | ||
897 | 418 | crypto/objects/obj_mac.num (1.15.2.15), "Exp", lines: +10 -0 | ||
898 | 419 | crypto/objects/objects.txt (1.20.2.20), "Exp", lines: +13 -0 | ||
899 | 420 | crypto/ocsp/Makefile (1.1.4.1), "Exp", lines: +291 -0 | ||
900 | 421 | crypto/pem/Makefile (1.1.4.1), "Exp", lines: +334 -0 | ||
901 | 422 | crypto/pkcs12/Makefile (1.1.4.1), "Exp", lines: +415 -0 | ||
902 | 423 | crypto/pkcs7/Makefile (1.1.4.1), "Exp", lines: +241 -0 | ||
903 | 424 | crypto/rand/Makefile (1.1.4.1), "Exp", lines: +196 -0 | ||
904 | 425 | crypto/rand/md_rand.c (1.69.2.4), "Exp", lines: +9 -0 | ||
905 | 426 | crypto/rand/rand.h (1.26.2.7), "Exp", lines: +3 -0 | ||
906 | 427 | crypto/rand/rand_err.c (1.6.2.3), "Exp", lines: +4 -1 | ||
907 | 428 | crypto/rand/rand_lib.c (1.15.2.4), "Exp", lines: +11 -0 | ||
908 | 429 | crypto/rc2/Makefile (1.1.4.1), "Exp", lines: +89 -0 | ||
909 | 430 | crypto/rc4/Makefile (1.1.4.1), "Exp", lines: +108 -0 | ||
910 | 431 | crypto/rc5/Makefile (1.1.4.1), "Exp", lines: +106 -0 | ||
911 | 432 | crypto/ripemd/Makefile (1.1.4.1), "Exp", lines: +111 -0 | ||
912 | 433 | crypto/rsa/Makefile (1.1.4.1), "Exp", lines: +239 -0 | ||
913 | 434 | crypto/rsa/rsa_eay.c (1.28.2.9), "Exp", lines: +1 -1 | ||
914 | 435 | crypto/rsa/rsa_gen.c (1.8.6.1), "Exp", lines: +3 -0 | ||
915 | 436 | crypto/sha/Makefile (1.1.4.1), "Exp", lines: +118 -0 | ||
916 | 437 | crypto/sha/sha1dgst.c (1.21.2.1), "Exp", lines: +8 -0 | ||
917 | 438 | crypto/stack/Makefile (1.1.4.1), "Exp", lines: +86 -0 | ||
918 | 439 | crypto/txt_db/Makefile (1.1.4.1), "Exp", lines: +86 -0 | ||
919 | 440 | crypto/ui/Makefile (1.1.4.1), "Exp", lines: +115 -0 | ||
920 | 441 | crypto/x509/Makefile (1.1.4.1), "Exp", lines: +592 -0 | ||
921 | 442 | crypto/x509v3/Makefile (1.1.4.1), "Exp", lines: +601 -0 | ||
922 | 443 | fips/Makefile (1.1.4.1), "Exp", lines: +202 -0 | ||
923 | 444 | fips/fingerprint.sha1 (1.1.2.4), "Exp", lines: +4 -4 | ||
924 | 445 | fips/fips.c (1.1.2.3), "Exp", lines: +120 -5 | ||
925 | 446 | fips/fips.h (1.1.2.3), "Exp", lines: +42 -2 | ||
926 | 447 | fips/fips_check_sha1 (1.1.2.5), "Exp", lines: +2 -2 | ||
927 | 448 | fips/fips_err.h (1.1.4.1), "Exp", lines: +117 -0 | ||
928 | 449 | fips/fips_err_wrapper.c (1.1.2.3), "Exp", lines: +4 -2 | ||
929 | 450 | fips/fips_locl.h (1.1.4.1), "Exp", lines: +62 -0 | ||
930 | 451 | fips/fips_make_sha1 (1.1.2.5), "Exp", lines: +9 -6 | ||
931 | 452 | fips/fips_test_suite.c (1.1.4.1), "Exp", lines: +302 -0 | ||
932 | 453 | fips/openssl_fips_fingerprint (1.1.4.1), "Exp", lines: +25 -0 | ||
933 | 454 | fips/aes/Makefile (1.1.4.1), "Exp", lines: +131 -0 | ||
934 | 455 | fips/aes/fingerprint.sha1 (1.1.2.3), "Exp", lines: +3 -2 | ||
935 | 456 | fips/aes/fips_aes_core.c (1.1.2.3), "Exp", lines: +5 -2 | ||
936 | 457 | fips/aes/fips_aes_locl.h (1.1.2.3), "Exp", lines: +0 -0 | ||
937 | 458 | fips/aes/fips_aes_selftest.c (1.1.4.1), "Exp", lines: +112 -0 | ||
938 | 459 | fips/aes/fips_aesavs.c (1.1.2.10), "Exp", lines: +12 -6 | ||
939 | 460 | fips/des/Makefile (1.1.4.1), "Exp", lines: +155 -0 | ||
940 | 461 | fips/des/fingerprint.sha1 (1.1.2.3), "Exp", lines: +5 -2 | ||
941 | 462 | fips/des/fips_des_enc.c (1.1.2.4), "Exp", lines: +16 -3 | ||
942 | 463 | fips/des/fips_des_locl.h (1.1.2.3), "Exp", lines: +1 -1 | ||
943 | 464 | fips/des/fips_des_selftest.c (1.1.4.1), "Exp", lines: +200 -0 | ||
944 | 465 | fips/des/fips_desmovs.c (1.1.2.4), "Exp", lines: +186 -79 | ||
945 | 466 | fips/des/fips_set_key.c (1.1.4.1), "Exp", lines: +415 -0 | ||
946 | 467 | fips/des/asm/fips-dx86-elf.s (1.1.4.1), "Exp", lines: +2697 -0 | ||
947 | 468 | fips/dsa/Makefile (1.1.4.1), "Exp", lines: +159 -0 | ||
948 | 469 | fips/dsa/fingerprint.sha1 (1.1.2.4), "Exp", lines: +3 -1 | ||
949 | 470 | fips/dsa/fips_dsa_gen.c (1.1.4.1), "Exp", lines: +373 -0 | ||
950 | 471 | fips/dsa/fips_dsa_ossl.c (1.1.2.4), "Exp", lines: +16 -3 | ||
951 | 472 | fips/dsa/fips_dsa_selftest.c (1.1.4.1), "Exp", lines: +168 -0 | ||
952 | 473 | fips/dsa/fips_dsatest.c (1.1.2.4), "Exp", lines: +10 -6 | ||
953 | 474 | fips/dsa/fips_dssvs.c (1.1.4.1), "Exp", lines: +306 -0 | ||
954 | 475 | fips/rand/Makefile (1.1.4.1), "Exp", lines: +104 -0 | ||
955 | 476 | fips/rand/fingerprint.sha1 (1.1.2.3), "Exp", lines: +2 -2 | ||
956 | 477 | fips/rand/fips_rand.c (1.1.2.3), "Exp", lines: +60 -10 | ||
957 | 478 | fips/rand/fips_rand.h (1.1.2.3), "Exp", lines: +19 -1 | ||
958 | 479 | fips/rand/fips_randtest.c (1.1.2.3), "Exp", lines: +31 -10 | ||
959 | 480 | fips/rsa/Makefile (1.1.4.1), "Exp", lines: +112 -0 | ||
960 | 481 | fips/rsa/fingerprint.sha1 (1.1.4.1), "Exp", lines: +3 -0 | ||
961 | 482 | fips/rsa/fips_rsa_eay.c (1.1.4.1), "Exp", lines: +735 -0 | ||
962 | 483 | fips/rsa/fips_rsa_gen.c (1.1.4.1), "Exp", lines: +249 -0 | ||
963 | 484 | fips/rsa/fips_rsa_selftest.c (1.1.4.1), "Exp", lines: +207 -0 | ||
964 | 485 | fips/sha1/.cvsignore (1.1.2.3), "Exp", lines: +1 -2 | ||
965 | 486 | fips/sha1/Makefile (1.1.4.1), "Exp", lines: +158 -0 | ||
966 | 487 | fips/sha1/fingerprint.sha1 (1.1.2.4), "Exp", lines: +5 -3 | ||
967 | 488 | fips/sha1/fips_md32_common.h (1.1.2.3), "Exp", lines: +0 -0 | ||
968 | 489 | fips/sha1/fips_sha1_selftest.c (1.1.4.1), "Exp", lines: +97 -0 | ||
969 | 490 | fips/sha1/fips_sha1dgst.c (1.1.2.4), "Exp", lines: +4 -4 | ||
970 | 491 | fips/sha1/fips_sha1test.c (1.1.2.4), "Exp", lines: +17 -0 | ||
971 | 492 | fips/sha1/fips_sha_locl.h (1.1.2.3), "Exp", lines: +7 -0 | ||
972 | 493 | fips/sha1/fips_standalone_sha1.c (1.1.2.4), "Exp", lines: +60 -7 | ||
973 | 494 | fips/sha1/sha1hashes.txt (1.1.2.3), "Exp", lines: +0 -0 | ||
974 | 495 | fips/sha1/sha1vectors.txt (1.1.2.3), "Exp", lines: +0 -0 | ||
975 | 496 | fips/sha1/standalone.sha1 (1.1.2.5), "Exp", lines: +6 -4 | ||
976 | 497 | fips/sha1/asm/sx86-elf.s (1.1.4.1), "Exp", lines: +1568 -0 | ||
977 | 498 | ms/do_masm.bat (1.1.8.2), "Exp", lines: +12 -10 | ||
978 | 499 | ms/do_ms.bat (1.4.8.2), "Exp", lines: +11 -11 | ||
979 | 500 | ms/do_nasm.bat (1.1.8.2), "Exp", lines: +12 -11 | ||
980 | 501 | ms/do_nt.bat (1.2.8.1), "Exp", lines: +4 -4 | ||
981 | 502 | shlib/hpux10-cc.sh (1.3.2.2), "Exp", lines: +3 -3 | ||
982 | 503 | ssl/Makefile (1.1.4.1), "Exp", lines: +1019 -0 | ||
983 | 504 | ssl/s3_clnt.c (1.53.2.16), "Exp", lines: +10 -0 | ||
984 | 505 | ssl/s3_srvr.c (1.85.2.21), "Exp", lines: +9 -0 | ||
985 | 506 | ssl/ssl_cert.c (1.48.2.7), "Exp", lines: +9 -0 | ||
986 | 507 | ssl/ssl_lib.c (1.110.2.12), "Exp", lines: +13 -1 | ||
987 | 508 | ssl/ssltest.c (1.53.2.23), "Exp", lines: +33 -1 | ||
988 | 509 | ssl/t1_enc.c (1.27.2.8), "Exp", lines: +19 -1 | ||
989 | 510 | test/.cvsignore (1.4.8.1), "Exp", lines: +4 -0 | ||
990 | 511 | test/Makefile (1.1.4.1), "Exp", lines: +941 -0 | ||
991 | 512 | test/bctest (1.14.2.1), "Exp", lines: +1 -1 | ||
992 | 513 | test/testenc (1.3.8.1), "Exp", lines: +1 -1 | ||
993 | 514 | test/testfipsssl (1.1.4.1), "Exp", lines: +113 -0 | ||
994 | 515 | tools/Makefile (1.1.4.1), "Exp", lines: +61 -0 | ||
995 | 516 | util/cygwin.sh (1.1.2.5), "Exp", lines: +3 -3 | ||
996 | 517 | util/domd (1.6.2.3), "Exp", lines: +5 -5 | ||
997 | 518 | util/fixNT.sh (1.1.1.2.8.1), "Exp", lines: +3 -3 | ||
998 | 519 | util/libeay.num (1.173.2.19), "Exp", lines: +55 -11 | ||
999 | 520 | util/mk1mf.pl (1.41.2.10), "Exp", lines: +6 -4 | ||
1000 | 521 | util/mkdef.pl (1.67.2.7), "Exp", lines: +11 -4 | ||
1001 | 522 | util/mkerr.pl (1.18.2.6), "Exp", lines: +2 -1 | ||
1002 | 523 | util/mkfiles.pl (1.12.2.1), "Exp", lines: +8 -1 | ||
1003 | 524 | util/pod2mantest (1.1.2.7), "Exp", lines: +1 -1 | ||
1004 | 525 | util/selftest.pl (1.18.2.1), "Exp", lines: +2 -2 | ||
1005 | 526 | util/pl/BC-16.pl (1.2.2.1), "Exp", lines: +1 -1 | ||
1006 | 527 | util/pl/BC-32.pl (1.11.2.4), "Exp", lines: +1 -1 | ||
1007 | 528 | util/pl/Mingw32.pl (1.12.6.5), "Exp", lines: +1 -1 | ||
1008 | 529 | util/pl/OS2-EMX.pl (1.1.2.3), "Exp", lines: +1 -1 | ||
1009 | 530 | util/pl/VC-16.pl (1.3.2.1), "Exp", lines: +2 -2 | ||
1010 | 531 | util/pl/VC-32.pl (1.11.2.3), "Exp", lines: +2 -2 | ||
1011 | 532 | util/pl/VC-CE.pl (1.1.2.5), "Exp", lines: +1 -1 | ||
1012 | 533 | util/pl/ultrix.pl (1.2.8.1), "Exp", lines: +1 -1 | ||
1013 | 534 | |||
1014 | 535 | Pull FIPS back into stable. | ||
1015 | 536 | |||
1016 | 537 | 2004-05-12 10:27 levitte | ||
1017 | 538 | |||
1018 | 539 | Changed: | ||
1019 | 540 | apps/Makefile (1.1.4.2), "Exp", lines: +3 -1 | ||
1020 | 541 | |||
1021 | 542 | Only check for FIPS signatures when FIPS is enabled. | ||
1022 | 543 | |||
1023 | 544 | 2004-05-12 10:28 levitte | ||
1024 | 545 | |||
1025 | 546 | Changed: | ||
1026 | 547 | crypto/des/FILES0 (1.1.4.2), "Exp", lines: +1 -1 | ||
1027 | 548 | |||
1028 | 549 | Makefile.ssl changed name to Makefile. | ||
1029 | 550 | |||
1030 | 551 | 2004-05-12 10:28 levitte | ||
1031 | 552 | |||
1032 | 553 | Changed: | ||
1033 | 554 | fips/rand/fips_rand.c (1.1.2.4), "Exp", lines: +5 -1 | ||
1034 | 555 | |||
1035 | 556 | Only really build this file when OPENSSL_FIPS is defined. And oh, | ||
1036 | 557 | let's keep internal variables static. | ||
1037 | 558 | |||
1038 | 559 | 2004-05-12 10:42 levitte | ||
1039 | 560 | |||
1040 | 561 | Changed: | ||
1041 | 562 | fips/rand/fingerprint.sha1 (1.1.2.4), "Exp", lines: +1 -1 | ||
1042 | 563 | |||
1043 | 564 | I forgot to modify the signature for fips_rand.c... | ||
1044 | 565 | |||
1045 | 566 | 2004-05-12 10:46 levitte | ||
1046 | 567 | |||
1047 | 568 | Changed: | ||
1048 | 569 | fips/rsa/.cvsignore (1.1.4.1), "Exp", lines: +1 -0 | ||
1049 | 570 | fips/.cvsignore (1.1.2.3), "Exp", lines: +1 -1 | ||
1050 | 571 | fips/aes/.cvsignore (1.1.2.3), "Exp", lines: +0 -3 | ||
1051 | 572 | fips/des/.cvsignore (1.1.2.3), "Exp", lines: +0 -2 | ||
1052 | 573 | fips/dsa/.cvsignore (1.1.2.3), "Exp", lines: +0 -1 | ||
1053 | 574 | fips/rand/.cvsignore (1.1.2.3), "Exp", lines: +0 -1 | ||
1054 | 575 | |||
1055 | 576 | Ignore the 'lib' timestamp file. | ||
1056 | 577 | |||
1057 | 578 | 2004-05-12 12:07 levitte | ||
1058 | 579 | |||
1059 | 580 | Changed: | ||
1060 | 581 | fips/.cvsignore (1.1.2.4), "Exp", lines: +1 -0 | ||
1061 | 582 | fips/aes/.cvsignore (1.1.2.4), "Exp", lines: +1 -0 | ||
1062 | 583 | fips/des/.cvsignore (1.1.2.4), "Exp", lines: +1 -0 | ||
1063 | 584 | fips/dsa/.cvsignore (1.1.2.4), "Exp", lines: +1 -0 | ||
1064 | 585 | fips/rand/.cvsignore (1.1.2.4), "Exp", lines: +1 -0 | ||
1065 | 586 | fips/rsa/.cvsignore (1.1.4.2), "Exp", lines: +1 -0 | ||
1066 | 587 | fips/sha1/.cvsignore (1.1.2.4), "Exp", lines: +1 -0 | ||
1067 | 588 | |||
1068 | 589 | Ignore 'Makefile.save' | ||
1069 | 590 | |||
1070 | 591 | 2004-05-12 16:11 ben | ||
1071 | 592 | |||
1072 | 593 | Changed: | ||
1073 | 594 | crypto/rand/rand.h (1.26.2.8), "Exp", lines: +2 -0 | ||
1074 | 595 | crypto/rand/rand_err.c (1.6.2.4), "Exp", lines: +2 -0 | ||
1075 | 596 | fips/fingerprint.sha1 (1.1.2.5), "Exp", lines: +1 -1 | ||
1076 | 597 | fips/fips.c (1.1.2.4), "Exp", lines: +5 -1 | ||
1077 | 598 | fips/rand/fingerprint.sha1 (1.1.2.5), "Exp", lines: +1 -1 | ||
1078 | 599 | fips/rand/fips_rand.c (1.1.2.5), "Exp", lines: +29 -0 | ||
1079 | 600 | |||
1080 | 601 | Blow up in people's faces if they don't reseed. | ||
1081 | 602 | |||
1082 | 603 | 2004-05-15 19:51 ben | ||
1083 | 604 | |||
1084 | 605 | Changed: | ||
1085 | 606 | crypto/dh/dh.h (1.23.2.6), "Exp", lines: +1 -0 | ||
1086 | 607 | crypto/dh/dh_err.c (1.6.2.3), "Exp", lines: +2 -1 | ||
1087 | 608 | crypto/dh/dh_gen.c (1.8.8.2), "Exp", lines: +9 -0 | ||
1088 | 609 | fips/fips_test_suite.c (1.1.4.2), "Exp", lines: +4 -3 | ||
1089 | 610 | fips/aes/fips_aesavs.c (1.1.2.11), "Exp", lines: +49 -1 | ||
1090 | 611 | fips/des/fingerprint.sha1 (1.1.2.4), "Exp", lines: +1 -1 | ||
1091 | 612 | fips/des/fips_desmovs.c (1.1.2.5), "Exp", lines: +49 -1 | ||
1092 | 613 | fips/des/fips_set_key.c (1.1.4.2), "Exp", lines: +2 -0 | ||
1093 | 614 | fips/sha1/fingerprint.sha1 (1.1.2.5), "Exp", lines: +1 -1 | ||
1094 | 615 | fips/sha1/fips_md32_common.h (1.1.2.4), "Exp", lines: +3 -0 | ||
1095 | 616 | fips/sha1/standalone.sha1 (1.1.2.6), "Exp", lines: +1 -1 | ||
1096 | 617 | |||
1097 | 618 | Fix self-tests, ban some things in FIPS mode, fix copyrights. | ||
1098 | 619 | |||
1099 | 620 | 2004-05-17 06:28 levitte | ||
1100 | 621 | |||
1101 | 622 | Changed: | ||
1102 | 623 | util/mk1mf.pl (1.41.2.11), "Exp", lines: +8 -2 | ||
1103 | 624 | util/pl/BC-16.pl (1.2.2.2), "Exp", lines: +9 -4 | ||
1104 | 625 | util/pl/BC-32.pl (1.11.2.5), "Exp", lines: +8 -3 | ||
1105 | 626 | util/pl/Mingw32.pl (1.12.6.6), "Exp", lines: +7 -2 | ||
1106 | 627 | util/pl/OS2-EMX.pl (1.1.2.4), "Exp", lines: +7 -2 | ||
1107 | 628 | util/pl/VC-16.pl (1.3.2.2), "Exp", lines: +7 -2 | ||
1108 | 629 | util/pl/VC-32.pl (1.11.2.4), "Exp", lines: +7 -2 | ||
1109 | 630 | util/pl/VC-CE.pl (1.1.2.6), "Exp", lines: +7 -2 | ||
1110 | 631 | util/pl/linux.pl (1.3.6.1), "Exp", lines: +7 -2 | ||
1111 | 632 | util/pl/ultrix.pl (1.2.8.2), "Exp", lines: +7 -2 | ||
1112 | 633 | util/pl/unix.pl (1.2.8.1), "Exp", lines: +7 -2 | ||
1113 | 634 | |||
1114 | 635 | Generate SHA1 files on Windows and other platforms supported by | ||
1115 | 636 | mk1mf.pl, when building in FIPS mode. | ||
1116 | 637 | |||
1117 | 638 | Note: UNTESTED! | ||
1118 | 639 | |||
1119 | 640 | 2004-05-17 06:30 levitte | ||
1120 | 641 | |||
1121 | 642 | Changed: | ||
1122 | 643 | apps/apps.h (1.44.2.14), "Exp", lines: +3 -0 | ||
1123 | 644 | apps/openssl.c (1.48.2.10), "Exp", lines: +9 -5 | ||
1124 | 645 | |||
1125 | 646 | Make sure the applications know when we are running in FIPS mode. | ||
1126 | 647 | We can't use the variable in libcrypto, since it's supposedly | ||
1127 | 648 | unknown. | ||
1128 | 649 | |||
1129 | 650 | Note: currently only supported in MONOLITH mode. | ||
1130 | 651 | |||
1131 | 652 | 2004-05-17 06:31 levitte | ||
1132 | 653 | |||
1133 | 654 | Changed: | ||
1134 | 655 | apps/enc.c (1.35.2.9), "Exp", lines: +10 -1 | ||
1135 | 656 | |||
1136 | 657 | When in FIPS mode, use SHA1 to digest the key, rather than MD5, as | ||
1137 | 658 | MD5 isn't a FIPS-approved algorithm. | ||
1138 | 659 | |||
1139 | 660 | Note: this means the user needs to keep track of this, and | ||
1140 | 661 | we need to add support for that... | ||
1141 | 662 | |||
1142 | 663 | 2004-05-19 16:16 levitte | ||
1143 | 664 | |||
1144 | 665 | Changed: | ||
1145 | 666 | fips/rsa/fingerprint.sha1 (1.1.4.2), "Exp", lines: +2 -2 | ||
1146 | 667 | fips/rsa/fips_rsa_eay.c (1.1.4.2), "Exp", lines: +8 -8 | ||
1147 | 668 | fips/rsa/fips_rsa_gen.c (1.1.4.2), "Exp", lines: +1 -1 | ||
1148 | 669 | fips/dsa/fingerprint.sha1 (1.1.2.5), "Exp", lines: +2 -2 | ||
1149 | 670 | fips/dsa/fips_dsa_gen.c (1.1.4.2), "Exp", lines: +2 -2 | ||
1150 | 671 | fips/dsa/fips_dsa_ossl.c (1.1.2.5), "Exp", lines: +4 -4 | ||
1151 | 672 | fips/aes/fingerprint.sha1 (1.1.2.4), "Exp", lines: +1 -1 | ||
1152 | 673 | fips/aes/fips_aes_core.c (1.1.2.4), "Exp", lines: +5 -5 | ||
1153 | 674 | crypto/rsa/rsa.h (1.36.2.11), "Exp", lines: +4 -0 | ||
1154 | 675 | crypto/aes/aes.h (1.1.2.10), "Exp", lines: +6 -0 | ||
1155 | 676 | crypto/dsa/dsa.h (1.26.2.5), "Exp", lines: +4 -0 | ||
1156 | 677 | |||
1157 | 678 | Define FIPS_*_SIZE_T for AES, DSA and RSA as well, in preparation | ||
1158 | 679 | for size_t-ification of those algorithms in future version of | ||
1159 | 680 | OpenSSL... | ||
1160 | 681 | |||
1161 | 682 | 2004-05-27 11:33 levitte | ||
1162 | 683 | |||
1163 | 684 | Changed: | ||
1164 | 685 | makevms.com (1.35.2.3), "Exp", lines: +27 -0 | ||
1165 | 686 | |||
1166 | 687 | Copy the FIPS files to the temporary openssl include directory. | ||
1167 | 688 | |||
1168 | 689 | 2004-05-27 12:04 levitte | ||
1169 | 690 | |||
1170 | 691 | Changed: | ||
1171 | 692 | fips/fips-lib.com (1.1.2.1), "Exp", lines: +1179 -0 | ||
1172 | 693 | makevms.com (1.35.2.4), "Exp", lines: +8 -0 | ||
1173 | 694 | |||
1174 | 695 | Compile the FIPS directory on VMS as well. fips-lib.com is | ||
1175 | 696 | essentially a copy of crypto-lib.com, with just a few edits. | ||
1176 | 697 | |||
1177 | 698 | 2004-05-27 12:07 levitte | ||
1178 | 699 | |||
1179 | 700 | Changed: | ||
1180 | 701 | fips/install.com (1.1.2.1), "Exp", lines: +55 -0 | ||
1181 | 702 | install.com (1.4.2.2), "Exp", lines: +6 -6 | ||
1182 | 703 | |||
1183 | 704 | Run an installation of FIPS stuff as well. | ||
1184 | 705 | |||
1185 | 706 | 2004-05-27 12:19 levitte | ||
1186 | 707 | |||
1187 | 708 | Changed: | ||
1188 | 709 | test/maketests.com (1.13.2.5), "Exp", lines: +3 -3 | ||
1189 | 710 | apps/makeapps.com (1.18.2.5), "Exp", lines: +3 -3 | ||
1190 | 711 | |||
1191 | 712 | Make sure o_str.h is reachable. | ||
1192 | 713 | |||
1193 | 714 | 2004-06-19 15:15 ben | ||
1194 | 715 | |||
1195 | 716 | Changed: | ||
1196 | 717 | Makefile.org (1.154.2.80), "Exp", lines: +1 -1 | ||
1197 | 718 | crypto/dh/dh.h (1.23.2.7), "Exp", lines: +0 -1 | ||
1198 | 719 | crypto/dh/dh_check.c (1.6.2.1), "Exp", lines: +4 -0 | ||
1199 | 720 | crypto/dh/dh_err.c (1.6.2.4), "Exp", lines: +0 -1 | ||
1200 | 721 | crypto/dh/dh_gen.c (1.8.8.3), "Exp", lines: +5 -9 | ||
1201 | 722 | crypto/dh/dh_key.c (1.16.2.3), "Exp", lines: +4 -0 | ||
1202 | 723 | fips/Makefile (1.1.4.2), "Exp", lines: +13 -14 | ||
1203 | 724 | fips/fingerprint.sha1 (1.1.2.6), "Exp", lines: +2 -2 | ||
1204 | 725 | fips/fips.h (1.1.2.4), "Exp", lines: +1 -0 | ||
1205 | 726 | fips/fips_err.h (1.1.4.2), "Exp", lines: +1 -0 | ||
1206 | 727 | fips/fips_make_sha1 (1.1.2.6), "Exp", lines: +3 -0 | ||
1207 | 728 | fips/fips_test_suite.c (1.1.4.3), "Exp", lines: +13 -9 | ||
1208 | 729 | fips/openssl_fips_fingerprint (1.1.4.2), "Exp", lines: +1 -2 | ||
1209 | 730 | |||
1210 | 731 | The version that was actually submitted for FIPS testing. | ||
1211 | 732 | |||
1212 | 733 | 2004-06-19 15:16 ben | ||
1213 | 734 | |||
1214 | 735 | Changed: | ||
1215 | 736 | fips/dh/Makefile (1.1.2.1), "Exp", lines: +92 -0 | ||
1216 | 737 | fips/dh/fingerprint.sha1 (1.1.2.1), "Exp", lines: +3 -0 | ||
1217 | 738 | fips/dh/fips_dh_check.c (1.1.2.1), "Exp", lines: +119 -0 | ||
1218 | 739 | fips/dh/fips_dh_gen.c (1.1.2.1), "Exp", lines: +182 -0 | ||
1219 | 740 | fips/dh/fips_dh_key.c (1.1.2.1), "Exp", lines: +222 -0 | ||
1220 | 741 | |||
1221 | 742 | Add Diffie-Hellman to FIPS. | ||
1222 | 743 | |||
1223 | 744 | 2004-06-19 15:18 ben | ||
1224 | 745 | |||
1225 | 746 | Changed: | ||
1226 | 747 | fips/.cvsignore (1.1.2.5), "Exp", lines: +2 -0 | ||
1227 | 748 | fips/dh/.cvsignore (1.1.2.1), "Exp", lines: +1 -0 | ||
1228 | 749 | |||
1229 | 750 | Update ignores. | ||
1230 | 751 | |||
1231 | 752 | 2004-06-21 11:07 levitte | ||
1232 | 753 | |||
1233 | 754 | Changed: | ||
1234 | 755 | fips/aes/Makefile (1.1.4.2), "Exp", lines: +7 -5 | ||
1235 | 756 | fips/des/Makefile (1.1.4.2), "Exp", lines: +7 -5 | ||
1236 | 757 | fips/dh/Makefile (1.1.2.2), "Exp", lines: +7 -6 | ||
1237 | 758 | fips/dsa/Makefile (1.1.4.2), "Exp", lines: +7 -6 | ||
1238 | 759 | fips/rsa/Makefile (1.1.4.2), "Exp", lines: +7 -6 | ||
1239 | 760 | fips/sha1/Makefile (1.1.4.2), "Exp", lines: +7 -5 | ||
1240 | 761 | |||
1241 | 762 | Make sure we don't try to loop over an empty EXHEADER. In the | ||
1242 | 763 | Makefiles where this was fixed by commenting away code, change it | ||
1243 | 764 | to check for an empty EXHEADER instead, so we have less hassle in a | ||
1244 | 765 | future where EXHEADER changes. | ||
1245 | 766 | |||
1246 | 767 | PR: 900 | ||
1247 | 768 | |||
1248 | 769 | 2004-06-21 20:05 levitte | ||
1249 | 770 | |||
1250 | 771 | Changed: | ||
1251 | 772 | Makefile.org (1.154.2.82), "Exp", lines: +3 -1 | ||
1252 | 773 | |||
1253 | 774 | Standard sh doesn't tolerate ! as part of the conditional command. | ||
1254 | 775 | |||
1255 | 776 | PR: 900 | ||
1256 | 777 | |||
1257 | 778 | 2004-06-28 22:33 levitte | ||
1258 | 779 | |||
1259 | 780 | Changed: | ||
1260 | 781 | fips/dh/fips_dh_check.c (1.1.2.2), "Exp", lines: +6 -0 | ||
1261 | 782 | fips/dh/fips_dh_gen.c (1.1.2.2), "Exp", lines: +6 -2 | ||
1262 | 783 | fips/dh/fips_dh_key.c (1.1.2.2), "Exp", lines: +8 -0 | ||
1263 | 784 | |||
1264 | 785 | Make sure the FIPS stuff is only really compiled when in FIPS mode. | ||
1265 | 786 | |||
1266 | 787 | 2004-07-12 19:59 ben | ||
1267 | 788 | |||
1268 | 789 | Changed: | ||
1269 | 790 | fips/fips_test_suite.c (1.1.4.4), "Exp", lines: +39 -6 | ||
1270 | 791 | fips/dh/fingerprint.sha1 (1.1.2.2), "Exp", lines: +3 -3 | ||
1271 | 792 | |||
1272 | 793 | Corrected test program. | ||
1273 | 794 | |||
1274 | 795 | 2004-07-17 14:48 appro | ||
1275 | 796 | |||
1276 | 797 | Changed: | ||
1277 | 798 | fips/des/Makefile (1.1.4.3), "Exp", lines: +1 -1 | ||
1278 | 799 | |||
1279 | 800 | Eliminate enforced -g from CFLAGS. It switches off optimization | ||
1280 | 801 | with some compilers, e.g. DEC C. | ||
1281 | 802 | |||
1282 | 803 | 2004-07-21 19:41 steve | ||
1283 | 804 | |||
1284 | 805 | Changed: | ||
1285 | 806 | crypto/pem/pem_all.c (1.20.2.1), "Exp", lines: +119 -0 | ||
1286 | 807 | |||
1287 | 808 | When in FIPS mode write private keys in PKCS#8 and PBES2 format to | ||
1288 | 809 | avoid use of prohibited MD5 algorithm. | ||
1289 | 810 | |||
1290 | 811 | 2004-07-23 15:20 ben | ||
1291 | 812 | |||
1292 | 813 | Changed: | ||
1293 | 814 | fips/rand/fingerprint.sha1 (1.1.2.7), "Exp", lines: +1 -1 | ||
1294 | 815 | fips/rand/fips_rand.c (1.1.2.7), "Exp", lines: +22 -7 | ||
1295 | 816 | fips/rand/fips_randtest.c (1.1.2.5), "Exp", lines: +2 -2 | ||
1296 | 817 | |||
1297 | 818 | Convert to X9.31. | ||
1298 | 819 | |||
1299 | 820 | 2004-07-21 19:35 steve | ||
1300 | 821 | |||
1301 | 822 | Changed: | ||
1302 | 823 | fips/fingerprint.sha1 (1.1.2.7), "Exp", lines: +1 -1 | ||
1303 | 824 | fips/fips.c (1.1.2.5), "Exp", lines: +3 -3 | ||
1304 | 825 | fips/rsa/fingerprint.sha1 (1.1.4.3), "Exp", lines: +1 -1 | ||
1305 | 826 | fips/rsa/fips_rsa_selftest.c (1.1.4.2), "Exp", lines: +8 -8 | ||
1306 | 827 | |||
1307 | 828 | Avoid compiler warnings. | ||
1308 | 829 | |||
1309 | 830 | 2004-07-27 02:17 steve | ||
1310 | 831 | |||
1311 | 832 | Changed: | ||
1312 | 833 | fips/fips_test_suite.c (1.1.4.5), "Exp", lines: +9 -8 | ||
1313 | 834 | |||
1314 | 835 | Stop compiler warnings. | ||
1315 | 836 | |||
1316 | 837 | 2004-07-27 02:20 steve | ||
1317 | 838 | |||
1318 | 839 | Changed: | ||
1319 | 840 | crypto/err/err.c (1.51.2.6), "Exp", lines: +1 -0 | ||
1320 | 841 | |||
1321 | 842 | Add FIPS name to error library. | ||
1322 | 843 | |||
1323 | 844 | 2004-07-27 14:22 steve | ||
1324 | 845 | |||
1325 | 846 | Changed: | ||
1326 | 847 | Makefile.org (1.154.2.84), "Exp", lines: +3 -3 | ||
1327 | 848 | fips/fips_check_sha1 (1.1.2.6), "Exp", lines: +1 -1 | ||
1328 | 849 | fips/openssl_fips_fingerprint (1.1.4.3), "Exp", lines: +1 -1 | ||
1329 | 850 | |||
1330 | 851 | Rename libcrypto.sha1 to libcrypto.a.sha1 | ||
1331 | 852 | |||
1332 | 853 | 2004-07-27 20:28 steve | ||
1333 | 854 | |||
1334 | 855 | Changed: | ||
1335 | 856 | ssl/s3_lib.c (1.57.2.11), "Exp", lines: +33 -33 | ||
1336 | 857 | ssl/ssl.h (1.126.2.20), "Exp", lines: +1 -0 | ||
1337 | 858 | ssl/ssl_ciph.c (1.33.2.9), "Exp", lines: +11 -0 | ||
1338 | 859 | ssl/ssl_locl.h (1.47.2.3), "Exp", lines: +2 -1 | ||
1339 | 860 | |||
1340 | 861 | New cipher "strength" FIPS which specifies that a cipher suite is | ||
1341 | 862 | FIPS compatible. | ||
1342 | 863 | |||
1343 | 864 | New cipherstring "FIPS" is all FIPS compatible ciphersuites | ||
1344 | 865 | except eNULL. | ||
1345 | 866 | |||
1346 | 867 | Only allow FIPS ciphersuites in FIPS mode. | ||
1347 | 868 | |||
1348 | 869 | 2004-07-28 04:24 levitte | ||
1349 | 870 | |||
1350 | 871 | Changed: | ||
1351 | 872 | makevms.com (1.35.2.6), "Exp", lines: +2 -2 | ||
1352 | 873 | |||
1353 | 874 | From the FIPS directory, darnit! | ||
1354 | 875 | |||
1355 | 876 | 2004-07-28 15:47 levitte | ||
1356 | 877 | |||
1357 | 878 | Changed: | ||
1358 | 879 | makevms.com (1.35.2.7), "Exp", lines: +5 -1 | ||
1359 | 880 | |||
1360 | 881 | Define OPENSSL_FIPS in opensslconf.h if a logical name with the | ||
1361 | 882 | same name is defined. | ||
1362 | 883 | |||
1363 | 884 | Go up one directory level before dealing with FIPS stuff. | ||
1364 | 885 | |||
1365 | 886 | 2004-07-30 00:26 levitte | ||
1366 | 887 | |||
1367 | 888 | Changed: | ||
1368 | 889 | fips/fips-lib.com (1.1.2.2), "Exp", lines: +3 -3 | ||
1369 | 890 | |||
1370 | 891 | We're building crypto stuff, not ssl stuff. Additionally, we're in | ||
1371 | 892 | the fips subdirectory, not the crypto one... | ||
1372 | 893 | |||
1373 | 894 | 2004-07-30 16:37 levitte | ||
1374 | 895 | |||
1375 | 896 | Changed: | ||
1376 | 897 | fips/sha1/fingerprint.sha1 (1.1.2.7), "Exp", lines: +2 -2 | ||
1377 | 898 | fips/sha1/fips_md32_common.h (1.1.2.6), "Exp", lines: +1 -1 | ||
1378 | 899 | fips/sha1/fips_sha_locl.h (1.1.2.5), "Exp", lines: +2 -2 | ||
1379 | 900 | fips/sha1/fips_standalone_sha1.c (1.1.2.5), "Exp", lines: +1 -1 | ||
1380 | 901 | fips/sha1/standalone.sha1 (1.1.2.8), "Exp", lines: +3 -3 | ||
1381 | 902 | ssl/ssl_ciph.c (1.33.2.10), "Exp", lines: +2 -2 | ||
1382 | 903 | fips/rsa/fingerprint.sha1 (1.1.4.4), "Exp", lines: +2 -2 | ||
1383 | 904 | fips/rsa/fips_rsa_eay.c (1.1.4.3), "Exp", lines: +1 -1 | ||
1384 | 905 | fips/rsa/fips_rsa_gen.c (1.1.4.3), "Exp", lines: +1 -1 | ||
1385 | 906 | fips/dh/fingerprint.sha1 (1.1.2.3), "Exp", lines: +1 -1 | ||
1386 | 907 | fips/dh/fips_dh_gen.c (1.1.2.3), "Exp", lines: +1 -1 | ||
1387 | 908 | fips/dsa/fingerprint.sha1 (1.1.2.6), "Exp", lines: +2 -2 | ||
1388 | 909 | fips/dsa/fips_dsa_gen.c (1.1.4.3), "Exp", lines: +4 -3 | ||
1389 | 910 | fips/dsa/fips_dsa_ossl.c (1.1.2.6), "Exp", lines: +2 -2 | ||
1390 | 911 | fips/des/fingerprint.sha1 (1.1.2.5), "Exp", lines: +2 -2 | ||
1391 | 912 | fips/des/fips_des_enc.c (1.1.2.5), "Exp", lines: +2 -2 | ||
1392 | 913 | fips/des/fips_set_key.c (1.1.4.3), "Exp", lines: +3 -3 | ||
1393 | 914 | fips/fingerprint.sha1 (1.1.2.8), "Exp", lines: +2 -2 | ||
1394 | 915 | fips/fips.c (1.1.2.6), "Exp", lines: +76 -23 | ||
1395 | 916 | fips/fips.h (1.1.2.5), "Exp", lines: +2 -3 | ||
1396 | 917 | fips/fips_locl.h (1.1.4.2), "Exp", lines: +7 -2 | ||
1397 | 918 | fips/aes/fingerprint.sha1 (1.1.2.5), "Exp", lines: +1 -1 | ||
1398 | 919 | fips/aes/fips_aes_core.c (1.1.2.5), "Exp", lines: +1 -1 | ||
1399 | 920 | crypto/rand/md_rand.c (1.69.2.5), "Exp", lines: +1 -1 | ||
1400 | 921 | crypto/rand/rand_lib.c (1.15.2.5), "Exp", lines: +2 -1 | ||
1401 | 922 | crypto/dsa/dsa_sign.c (1.10.2.6), "Exp", lines: +2 -2 | ||
1402 | 923 | crypto/dsa/dsa_vrf.c (1.10.2.6), "Exp", lines: +1 -1 | ||
1403 | 924 | crypto/pem/pem_all.c (1.20.2.2), "Exp", lines: +2 -2 | ||
1404 | 925 | crypto/cryptlib.c (1.32.2.12), "Exp", lines: +122 -6 | ||
1405 | 926 | crypto/crypto.h (1.62.2.8), "Exp", lines: +8 -1 | ||
1406 | 927 | crypto/md32_common.h (1.22.2.7), "Exp", lines: +2 -2 | ||
1407 | 928 | |||
1408 | 929 | To protect FIPS-related global variables, add locking mechanisms | ||
1409 | 930 | around them. | ||
1410 | 931 | |||
1411 | 932 | NOTE: because two new locks are added, this adds potential | ||
1412 | 933 | binary incompatibility with earlier versions in the 0.9.7 series. | ||
1413 | 934 | However, those locks will only ever be touched when FIPS_mode_set() | ||
1414 | 935 | is called and after, thanks to a variable that's only changed from | ||
1415 | 936 | 0 to 1 once (when FIPS_mode_set() is called). So basically, as | ||
1416 | 937 | long as FIPS mode hasn't been engaged explicitely by the calling | ||
1417 | 938 | application, the new locks are treated as if they didn't exist at | ||
1418 | 939 | all, thus not becoming a problem. Applications that are built or | ||
1419 | 940 | rebuilt to use FIPS functionality will need to be recompiled in any | ||
1420 | 941 | case, thus not being a problem either. | ||
1421 | 942 | |||
1422 | 943 | 2004-08-02 16:15 levitte | ||
1423 | 944 | |||
1424 | 945 | Changed: | ||
1425 | 946 | crypto/cryptlib.c (1.32.2.13), "Exp", lines: +4 -4 | ||
1426 | 947 | |||
1427 | 948 | Let's lock a write lock when changing values, shall we? | ||
1428 | 949 | |||
1429 | 950 | Thanks to Dr Stephen Henson <shenson@drh-consultancy.co.uk> | ||
1430 | 951 | for making me aware of this error. | ||
1431 | 952 | |||
1432 | 953 | 2004-08-05 20:11 steve | ||
1433 | 954 | |||
1434 | 955 | Changed: | ||
1435 | 956 | fips/fingerprint.sha1 (1.1.2.9), "Exp", lines: +1 -1 | ||
1436 | 957 | fips/fips.c (1.1.2.7), "Exp", lines: +1 -1 | ||
1437 | 958 | |||
1438 | 959 | Stop compiler giving bogus shadow warning. | ||
1439 | 960 | |||
1440 | 961 | 2004-08-09 14:13 levitte | ||
1441 | 962 | |||
1442 | 963 | Changed: | ||
1443 | 964 | makevms.com (1.35.2.8), "Exp", lines: +1 -1 | ||
1444 | 965 | |||
1445 | 966 | In the fips directory, we use FIPS-LIB.COM, not CRYPTO-LIB.COM... | ||
1446 | 967 | |||
1447 | 968 | 2004-08-09 14:14 levitte | ||
1448 | 969 | |||
1449 | 970 | Changed: | ||
1450 | 971 | fips/fips-lib.com (1.1.2.3), "Exp", lines: +4 -4 | ||
1451 | 972 | |||
1452 | 973 | Correct typos and include directory specifications. | ||
1453 | 974 | |||
1454 | 975 | 2004-08-10 11:11 levitte | ||
1455 | 976 | |||
1456 | 977 | Changed: | ||
1457 | 978 | fips/fips-lib.com (1.1.2.4), "Exp", lines: +2 -1 | ||
1458 | 979 | |||
1459 | 980 | Update the VMS fips library builder with the DH library. | ||
1460 | 981 | |||
1461 | 982 | 2004-08-10 12:04 levitte | ||
1462 | 983 | |||
1463 | 984 | Changed: | ||
1464 | 985 | fips/rand/fingerprint.sha1 (1.1.2.8), "Exp", lines: +1 -1 | ||
1465 | 986 | fips/rand/fips_rand.c (1.1.2.8), "Exp", lines: +7 -1 | ||
1466 | 987 | |||
1467 | 988 | With DEC C in ANSI C mode, we need to define _XOPEN_SOURCE_EXTENDED | ||
1468 | 989 | to get struct timeval and gettimeofday(). | ||
1469 | 990 | |||
1470 | 991 | 2004-09-06 16:19 levitte | ||
1471 | 992 | |||
1472 | 993 | Changed: | ||
1473 | 994 | fips/fips.c (1.1.2.8), "Exp", lines: +5 -4 | ||
1474 | 995 | |||
1475 | 996 | Replace the bogus checks of n with proper uses of feof(), ferror() | ||
1476 | 997 | and clearerr(). | ||
1477 | 998 | |||
1478 | 999 | 2004-09-06 16:21 levitte | ||
1479 | 1000 | |||
1480 | 1001 | Changed: | ||
1481 | 1002 | fips/sha1/fips_sha_locl.h (1.1.2.6), "Exp", lines: +2 -2 | ||
1482 | 1003 | |||
1483 | 1004 | num is an unsigned long, but since it was transfered from | ||
1484 | 1005 | crypto/sha/sha_locl.h, where it is in fact an int, we need to check | ||
1485 | 1006 | for less-than-zero as if it was an int... | ||
1486 | 1007 | |||
1487 | 1008 | 2004-10-08 12:03 ben | ||
1488 | 1009 | |||
1489 | 1010 | Changed: | ||
1490 | 1011 | fips/fingerprint.sha1 (1.1.2.10), "Exp", lines: +1 -1 | ||
1491 | 1012 | fips/sha1/fingerprint.sha1 (1.1.2.8), "Exp", lines: +1 -1 | ||
1492 | 1013 | fips/sha1/standalone.sha1 (1.1.2.9), "Exp", lines: +1 -1 | ||
1493 | 1014 | |||
1494 | 1015 | Update fingerprints. | ||
1495 | 1016 | |||
1496 | 1017 | 2004-10-14 07:51 levitte | ||
1497 | 1018 | |||
1498 | 1019 | Changed: | ||
1499 | 1020 | VMS/mkshared.com (1.3.2.1), "Exp", lines: +8 -0 | ||
1500 | 1021 | |||
1501 | 1022 | We need to check for OPENSSL_FIPS when building shared libraries, | ||
1502 | 1023 | so we get correct transfer vectors for those functions when | ||
1503 | 1024 | required. | ||
1504 | 1025 | |||
1505 | 1026 | 2004-10-26 13:47 steve | ||
1506 | 1027 | |||
1507 | 1028 | Changed: | ||
1508 | 1029 | util/mkfiles.pl (1.12.2.2), "Exp", lines: +1 -0 | ||
1509 | 1030 | |||
1510 | 1031 | Add fips/dh directory to mkfiles.pl | ||
1511 | 1032 | |||
1512 | 1033 | 2004-10-26 14:17 levitte | ||
1513 | 1034 | |||
1514 | 1035 | Changed: | ||
1515 | 1036 | fips/sha1/Makefile (1.1.4.4), "Exp", lines: +3 -1 | ||
1516 | 1037 | util/mkfiles.pl (1.12.2.3), "Exp", lines: +1 -0 | ||
1517 | 1038 | fips/Makefile (1.1.4.5), "Exp", lines: +7 -1 | ||
1518 | 1039 | crypto/sha/Makefile (1.1.4.4), "Exp", lines: +1 -7 | ||
1519 | 1040 | |||
1520 | 1041 | fips/dh was missing in mkfiles.pl. make update | ||
1521 | 1042 | |||
1522 | 1043 | 2004-10-26 15:01 steve | ||
1523 | 1044 | |||
1524 | 1045 | Changed: | ||
1525 | 1046 | util/mkfiles.pl (1.12.2.4), "Exp", lines: +0 -1 | ||
1526 | 1047 | |||
1527 | 1048 | Only add fips/dh once... | ||
1528 | 1049 | |||
1529 | 1050 | 2004-11-01 09:20 levitte | ||
1530 | 1051 | |||
1531 | 1052 | Changed: | ||
1532 | 1053 | fips/rand/fingerprint.sha1 (1.1.2.9), "Exp", lines: +1 -1 | ||
1533 | 1054 | fips/rand/fips_rand.c (1.1.2.9), "Exp", lines: +3 -1 | ||
1534 | 1055 | |||
1535 | 1056 | Make sure _XOPEN_SOURCE_EXTENDED is correctly defined, and only if | ||
1536 | 1057 | not already defined. | ||
1537 | 1058 | |||
1538 | 1059 | 2004-12-09 19:03 appro | ||
1539 | 1060 | |||
1540 | 1061 | vChanged: | ||
1541 | 1062 | crypto/Makefile (1.1.4.4), "Exp", lines: +2 -0 | ||
1542 | 1063 | |||
1543 | 1064 | Postpone linking of shared libcrypto in FIPS build. | ||
1544 | 1065 | |||
1545 | 1066 | 2004-12-09 19:13 appro | ||
1546 | 1067 | |||
1547 | 1068 | Changed: | ||
1548 | 1069 | fips/fingerprint.sha1 (1.1.2.11), "Exp", lines: +1 -1 | ||
1549 | 1070 | fips/fips.c (1.1.2.9), "Exp", lines: +13 -1 | ||
1550 | 1071 | fips/openssl_fips_fingerprint (1.1.4.4), "Exp", lines: +4 -2 | ||
1551 | 1072 | |||
1552 | 1073 | Cygwin specific FIPS fix-ups. | ||
1553 | 1074 | |||
1554 | 1075 | 2004-12-09 23:43 appro | ||
1555 | 1076 | |||
1556 | 1077 | Changed: | ||
1557 | 1078 | Configure (1.314.2.100), "Exp", lines: +2 -3 | ||
1558 | 1079 | crypto/des/des_enc.c (1.11.2.5), "Exp", lines: +2 -2 | ||
1559 | 1080 | |||
1560 | 1081 | Eliminate false dependency on 386 config option is FIPS context. | ||
1561 | 1082 | At the same time limit assembler support to ELF platforms [that's | ||
1562 | 1083 | what is there, ELF modules]. | ||
1563 | 1084 | |||
1564 | 1085 | 2004-12-10 12:37 appro | ||
1565 | 1086 | |||
1566 | 1087 | Changed: | ||
1567 | 1088 | Configure (1.314.2.101), "Exp", lines: +10 -3 | ||
1568 | 1089 | crypto/des/des_enc.c (1.11.2.6), "Exp", lines: +2 -2 | ||
1569 | 1090 | |||
1570 | 1091 | Respect no-asm with fips option and disable FIPS DES assembler in | ||
1571 | 1092 | shared context [because it's not PIC]. | ||
1572 | 1093 | |||
1573 | 1094 | 2004-12-10 14:15 appro | ||
1574 | 1095 | |||
1575 | 1096 | Changed: | ||
1576 | 1097 | fips/sha1/fingerprint.sha1 (1.1.2.10), "Exp", lines: +1 -1 | ||
1577 | 1098 | fips/sha1/standalone.sha1 (1.1.2.11), "Exp", lines: +1 -1 | ||
1578 | 1099 | fips/sha1/asm/sx86-elf.s (1.1.4.3), "Exp", lines: +32 -32 | ||
1579 | 1100 | |||
1580 | 1101 | Solaris x86 assembler update. | ||
1581 | 1102 | |||
1582 | 1103 | 2004-12-10 17:30 appro | ||
1583 | 1104 | |||
1584 | 1105 | Changed: | ||
1585 | 1106 | fips/fips_check_sha1 (1.1.2.7), "Exp", lines: +1 -1 | ||
1586 | 1107 | fips/openssl_fips_fingerprint (1.1.4.5), "Exp", lines: +1 -1 | ||
1587 | 1108 | fips/sha1/Makefile (1.1.4.6), "Exp", lines: +1 -1 | ||
1588 | 1109 | |||
1589 | 1110 | Adapt FIPS sub-tree for mingw. | ||
1590 | 1111 | |||
1591 | 1112 | 2005-01-03 18:46 steve | ||
1592 | 1113 | |||
1593 | 1114 | Changed: | ||
1594 | 1115 | fips/rsa/fingerprint.sha1 (1.1.4.5), "Exp", lines: +1 -1 | ||
1595 | 1116 | fips/rsa/fips_rsa_selftest.c (1.1.4.3), "Exp", lines: +55 -11 | ||
1596 | 1117 | |||
1597 | 1118 | RSA KAT. | ||
1598 | 1119 | |||
1599 | 1120 | 2005-01-11 17:54 levitte | ||
1600 | 1121 | |||
1601 | 1122 | Changed: | ||
1602 | 1123 | fips/rsa/fingerprint.sha1 (1.1.4.6), "Exp", lines: +1 -1 | ||
1603 | 1124 | fips/rsa/fips_rsa_selftest.c (1.1.4.4), "Exp", lines: +2 -2 | ||
1604 | 1125 | |||
1605 | 1126 | Clear signed vs. unsigned conflicts. Change the fingerprint | ||
1606 | 1127 | accordingly. | ||
1607 | 1128 | |||
1608 | 1129 | 2005-01-11 19:25 levitte | ||
1609 | 1130 | |||
1610 | 1131 | Changed: | ||
1611 | 1132 | ssl/ssltest.c (1.53.2.24), "Exp", lines: +2 -2 | ||
1612 | 1133 | fips/rand/fips_randtest.c (1.1.2.6), "Exp", lines: +3 -3 | ||
1613 | 1134 | fips/sha1/fips_sha1test.c (1.1.2.5), "Exp", lines: +10 -4 | ||
1614 | 1135 | fips/des/fips_desmovs.c (1.1.2.6), "Exp", lines: +8 -7 | ||
1615 | 1136 | fips/dsa/fips_dsatest.c (1.1.2.5), "Exp", lines: +2 -2 | ||
1616 | 1137 | apps/openssl.c (1.48.2.12), "Exp", lines: +1 -1 | ||
1617 | 1138 | fips/aes/fips_aesavs.c (1.1.2.12), "Exp", lines: +8 -7 | ||
1618 | 1139 | |||
1619 | 1140 | Use EXIT() instead of exit(). | ||
1620 | 1141 | |||
1621 | 1142 | 2005-01-26 21:00 steve | ||
1622 | 1143 | |||
1623 | 1144 | Changed: | ||
1624 | 1145 | apps/dgst.c (1.23.2.13), "Exp", lines: +10 -0 | ||
1625 | 1146 | apps/pkcs12.c (1.60.2.13), "Exp", lines: +8 -1 | ||
1626 | 1147 | crypto/crypto.h (1.62.2.9), "Exp", lines: +49 -0 | ||
1627 | 1148 | crypto/md32_common.h (1.22.2.9), "Exp", lines: +1 -1 | ||
1628 | 1149 | crypto/bf/bf_skey.c (1.6.2.1), "Exp", lines: +2 -1 | ||
1629 | 1150 | crypto/bf/blowfish.h (1.9.2.1), "Exp", lines: +4 -1 | ||
1630 | 1151 | crypto/cast/c_skey.c (1.5.6.1), "Exp", lines: +3 -1 | ||
1631 | 1152 | crypto/cast/cast.h (1.7.2.1), "Exp", lines: +4 -1 | ||
1632 | 1153 | crypto/evp/bio_md.c (1.11.2.3), "Exp", lines: +2 -7 | ||
1633 | 1154 | crypto/evp/digest.c (1.21.2.7), "Exp", lines: +11 -0 | ||
1634 | 1155 | crypto/evp/e_aes.c (1.6.2.11), "Exp", lines: +11 -11 | ||
1635 | 1156 | crypto/evp/e_des.c (1.5.2.9), "Exp", lines: +5 -3 | ||
1636 | 1157 | crypto/evp/e_des3.c (1.8.2.8), "Exp", lines: +6 -6 | ||
1637 | 1158 | crypto/evp/evp.h (1.86.2.16), "Exp", lines: +17 -0 | ||
1638 | 1159 | crypto/evp/evp_enc.c (1.28.2.11), "Exp", lines: +15 -1 | ||
1639 | 1160 | crypto/evp/evp_err.c (1.23.2.4), "Exp", lines: +6 -1 | ||
1640 | 1161 | crypto/evp/evp_locl.h (1.7.2.7), "Exp", lines: +17 -2 | ||
1641 | 1162 | crypto/evp/m_dss.c (1.8.2.1), "Exp", lines: +1 -1 | ||
1642 | 1163 | crypto/evp/m_md2.c (1.9.2.1), "Exp", lines: +1 -0 | ||
1643 | 1164 | crypto/evp/m_md4.c (1.8.2.1), "Exp", lines: +1 -0 | ||
1644 | 1165 | crypto/evp/m_md5.c (1.9.2.1), "Exp", lines: +1 -0 | ||
1645 | 1166 | crypto/evp/m_mdc2.c (1.9.2.1), "Exp", lines: +1 -0 | ||
1646 | 1167 | crypto/evp/m_sha.c (1.8.2.2), "Exp", lines: +1 -0 | ||
1647 | 1168 | crypto/evp/m_sha1.c (1.8.2.1), "Exp", lines: +1 -1 | ||
1648 | 1169 | crypto/evp/names.c (1.7.2.1), "Exp", lines: +3 -0 | ||
1649 | 1170 | crypto/hmac/hmac.c (1.12.2.3), "Exp", lines: +7 -0 | ||
1650 | 1171 | crypto/hmac/hmac.h (1.14.2.2), "Exp", lines: +1 -0 | ||
1651 | 1172 | crypto/idea/i_skey.c (1.5.6.1), "Exp", lines: +13 -0 | ||
1652 | 1173 | crypto/idea/idea.h (1.10.2.1), "Exp", lines: +4 -0 | ||
1653 | 1174 | crypto/md2/md2.h (1.11.2.1), "Exp", lines: +3 -0 | ||
1654 | 1175 | crypto/md2/md2_dgst.c (1.13.2.4), "Exp", lines: +3 -1 | ||
1655 | 1176 | crypto/md4/md4.h (1.3.2.1), "Exp", lines: +3 -0 | ||
1656 | 1177 | crypto/md4/md4_dgst.c (1.2.2.2), "Exp", lines: +1 -1 | ||
1657 | 1178 | crypto/md5/md5.h (1.10.2.3), "Exp", lines: +3 -0 | ||
1658 | 1179 | crypto/md5/md5_dgst.c (1.16.2.2), "Exp", lines: +1 -1 | ||
1659 | 1180 | crypto/mdc2/mdc2.h (1.9.2.1), "Exp", lines: +3 -1 | ||
1660 | 1181 | crypto/mdc2/mdc2dgst.c (1.13.2.1), "Exp", lines: +3 -1 | ||
1661 | 1182 | crypto/rc2/rc2.h (1.10.2.1), "Exp", lines: +4 -1 | ||
1662 | 1183 | crypto/rc2/rc2_skey.c (1.4.6.1), "Exp", lines: +13 -0 | ||
1663 | 1184 | crypto/rc4/rc4.h (1.10.2.2), "Exp", lines: +3 -0 | ||
1664 | 1185 | crypto/rc4/rc4_skey.c (1.10.8.2), "Exp", lines: +2 -1 | ||
1665 | 1186 | crypto/rc5/rc5.h (1.5.2.1), "Exp", lines: +4 -1 | ||
1666 | 1187 | crypto/rc5/rc5_skey.c (1.4.6.1), "Exp", lines: +14 -0 | ||
1667 | 1188 | crypto/ripemd/ripemd.h (1.8.2.1), "Exp", lines: +3 -0 | ||
1668 | 1189 | crypto/ripemd/rmd_dgst.c (1.13.2.2), "Exp", lines: +2 -1 | ||
1669 | 1190 | crypto/sha/sha.h (1.11.2.2), "Exp", lines: +3 -0 | ||
1670 | 1191 | crypto/sha/sha_locl.h (1.16.2.3), "Exp", lines: +4 -0 | ||
1671 | 1192 | crypto/x509/x509_cmp.c (1.22.2.4), "Exp", lines: +7 -1 | ||
1672 | 1193 | crypto/x509/x509_vfy.c (1.56.2.13), "Exp", lines: +1 -1 | ||
1673 | 1194 | ssl/s3_clnt.c (1.53.2.18), "Exp", lines: +2 -0 | ||
1674 | 1195 | ssl/s3_enc.c (1.31.2.9), "Exp", lines: +3 -0 | ||
1675 | 1196 | ssl/s3_srvr.c (1.85.2.23), "Exp", lines: +2 -0 | ||
1676 | 1197 | ssl/t1_enc.c (1.27.2.9), "Exp", lines: +2 -0 | ||
1677 | 1198 | |||
1678 | 1199 | FIPS algorithm blocking. | ||
1679 | 1200 | |||
1680 | 1201 | Non FIPS algorithms are not normally allowed in FIPS mode. | ||
1681 | 1202 | |||
1682 | 1203 | Any attempt to use them via high level functions will | ||
1683 | 1204 | return an error. | ||
1684 | 1205 | |||
1685 | 1206 | The low level non-FIPS algorithm functions cannot return | ||
1686 | 1207 | errors so they produce assertion failures. HMAC also has to give an | ||
1687 | 1208 | assertion error because it (erroneously) can't return an error | ||
1688 | 1209 | either. | ||
1689 | 1210 | |||
1690 | 1211 | There are exceptions (such as MD5 in TLS and non | ||
1691 | 1212 | cryptographic use of algorithms) and applications can override the | ||
1692 | 1213 | blocking and use non FIPS algorithms anyway. | ||
1693 | 1214 | |||
1694 | 1215 | For low level functions the override is perfomed by | ||
1695 | 1216 | prefixing the algorithm initalization function with "private_" for | ||
1696 | 1217 | example private_MD5_Init(). | ||
1697 | 1218 | |||
1698 | 1219 | For high level functions an override is performed by | ||
1699 | 1220 | setting a flag in the context. | ||
1700 | 1221 | |||
1701 | 1222 | 2005-01-27 02:49 steve | ||
1702 | 1223 | |||
1703 | 1224 | Changed: | ||
1704 | 1225 | apps/dgst.c (1.23.2.14), "Exp", lines: +9 -5 | ||
1705 | 1226 | crypto/crypto.h (1.62.2.10), "Exp", lines: +3 -0 | ||
1706 | 1227 | crypto/evp/digest.c (1.21.2.8), "Exp", lines: +34 -0 | ||
1707 | 1228 | crypto/hmac/hmac.c (1.12.2.4), "Exp", lines: +9 -0 | ||
1708 | 1229 | |||
1709 | 1230 | More FIPS algorithm blocking. | ||
1710 | 1231 | |||
1711 | 1232 | Catch attempted use of non FIPS algorithms with HMAC. | ||
1712 | 1233 | |||
1713 | 1234 | Give an assertion error for applications that ignore FIPS | ||
1714 | 1235 | digest errors. | ||
1715 | 1236 | |||
1716 | 1237 | Make -non-fips-allow work with dgst and HMAC. | ||
1717 | 1238 | |||
1718 | 1239 | 2005-01-28 15:03 steve | ||
1719 | 1240 | |||
1720 | 1241 | Changed: | ||
1721 | 1242 | apps/dgst.c (1.23.2.15), "Exp", lines: +2 -1 | ||
1722 | 1243 | apps/enc.c (1.35.2.13), "Exp", lines: +38 -4 | ||
1723 | 1244 | crypto/evp/e_rc4.c (1.11.2.2), "Exp", lines: +1 -0 | ||
1724 | 1245 | crypto/evp/evp.h (1.86.2.17), "Exp", lines: +3 -0 | ||
1725 | 1246 | crypto/evp/evp_enc.c (1.28.2.12), "Exp", lines: +60 -15 | ||
1726 | 1247 | crypto/evp/evp_locl.h (1.7.2.8), "Exp", lines: +1 -0 | ||
1727 | 1248 | test/testenc (1.3.8.2), "Exp", lines: +8 -8 | ||
1728 | 1249 | |||
1729 | 1250 | Further FIPS algorithm blocking. | ||
1730 | 1251 | |||
1731 | 1252 | Fixes to cipher blocking and enabling code. | ||
1732 | 1253 | |||
1733 | 1254 | Add option -non-fips-allow to 'enc' and update testenc. | ||
1734 | 1255 | |||
1735 | 1256 | 2005-01-31 02:33 steve | ||
1736 | 1257 | |||
1737 | 1258 | Changed: | ||
1738 | 1259 | ssl/s23_clnt.c (1.20.2.7), "Exp", lines: +16 -0 | ||
1739 | 1260 | ssl/s23_srvr.c (1.41.2.6), "Exp", lines: +9 -0 | ||
1740 | 1261 | ssl/s3_clnt.c (1.53.2.19), "Exp", lines: +0 -8 | ||
1741 | 1262 | ssl/s3_enc.c (1.31.2.10), "Exp", lines: +1 -0 | ||
1742 | 1263 | ssl/s3_srvr.c (1.85.2.24), "Exp", lines: +0 -8 | ||
1743 | 1264 | ssl/ssl.h (1.126.2.21), "Exp", lines: +1 -0 | ||
1744 | 1265 | ssl/ssl_cert.c (1.48.2.10), "Exp", lines: +0 -8 | ||
1745 | 1266 | ssl/ssl_err.c (1.41.2.4), "Exp", lines: +2 -1 | ||
1746 | 1267 | ssl/ssl_lib.c (1.110.2.13), "Exp", lines: +8 -9 | ||
1747 | 1268 | ssl/t1_enc.c (1.27.2.10), "Exp", lines: +0 -18 | ||
1748 | 1269 | |||
1749 | 1270 | Only allow TLS is FIPS mode. | ||
1750 | 1271 | |||
1751 | 1272 | Remove old FIPS_allow_md5() calls. | ||
1752 | 1273 | |||
1753 | 1274 | 2005-02-05 19:24 steve | ||
1754 | 1275 | |||
1755 | 1276 | Changed: | ||
1756 | 1277 | apps/req.c (1.88.2.18), "Exp", lines: +8 -1 | ||
1757 | 1278 | apps/x509.c (1.67.2.20), "Exp", lines: +8 -1 | ||
1758 | 1279 | |||
1759 | 1280 | In FIPS mode use SHA1 as default digest in x509 and req utilities. | ||
1760 | 1281 | |||
1761 | 1282 | 2005-03-15 10:46 appro | ||
1762 | 1283 | |||
1763 | 1284 | Changed: | ||
1764 | 1285 | Makefile.org (1.154.2.96), "Exp", lines: +1 -1 | ||
1765 | 1286 | crypto/Makefile (1.1.4.6), "Exp", lines: +2 -3 | ||
1766 | 1287 | fips/Makefile (1.1.4.8), "Exp", lines: +4 -1 | ||
1767 | 1288 | |||
1768 | 1289 | Real Bourne shell doesn't accept ! as in "if ! grep ..." Fix this | ||
1769 | 1290 | in crypto/Makefile and make Makefile.org and fips/Makefile more | ||
1770 | 1291 | discreet. | ||
1771 | 1292 | |||
1772 | 1293 | 2005-03-22 18:29 steve | ||
1773 | 1294 | |||
1774 | 1295 | Changed: | ||
1775 | 1296 | fips/fingerprint.sha1 (1.1.2.12), "Exp", lines: +1 -1 | ||
1776 | 1297 | fips/fips.c (1.1.2.10), "Exp", lines: +1 -0 | ||
1777 | 1298 | |||
1778 | 1299 | Fix memory leak. | ||
1779 | 1300 | |||
1780 | 1301 | 2005-03-27 05:36 steve | ||
1781 | 1302 | |||
1782 | 1303 | Changed: | ||
1783 | 1304 | crypto/evp/e_null.c (1.9.2.1), "Exp", lines: +1 -1 | ||
1784 | 1305 | ssl/s3_lib.c (1.57.2.13), "Exp", lines: +3 -3 | ||
1785 | 1306 | |||
1786 | 1307 | Allow 'null' cipher and appropriate Kerberos ciphersuites in FIPS | ||
1787 | 1308 | mode. | ||
1788 | 1309 | |||
1789 | 1310 | 2005-04-14 14:44 steve | ||
1790 | 1311 | |||
1791 | 1312 | Changed: | ||
1792 | 1313 | fips/fipshashes.sha1 (1.1.2.1), "Exp", lines: +29 -0 | ||
1793 | 1314 | util/checkhash.pl (1.1.2.1), "Exp", lines: +181 -0 | ||
1794 | 1315 | |||
1795 | 1316 | Perl script that checks or rebuilds FIPS hash files. This works on | ||
1796 | 1317 | both Unix and Windows. | ||
1797 | 1318 | |||
1798 | 1319 | Merge all FIPS hash files into a single hash file | ||
1799 | 1320 | fips/fips.sha1 | ||
1800 | 1321 | |||
1801 | 1322 | 2005-04-15 05:27 steve | ||
1802 | 1323 | |||
1803 | 1324 | Changed: | ||
1804 | 1325 | fips/Makefile (1.1.4.9), "Exp", lines: +1 -1 | ||
1805 | 1326 | fips/aes/Makefile (1.1.4.4), "Exp", lines: +1 -4 | ||
1806 | 1327 | fips/des/Makefile (1.1.4.6), "Exp", lines: +1 -4 | ||
1807 | 1328 | fips/dh/Makefile (1.1.2.5), "Exp", lines: +1 -4 | ||
1808 | 1329 | fips/dsa/Makefile (1.1.4.4), "Exp", lines: +1 -4 | ||
1809 | 1330 | fips/rand/Makefile (1.1.4.3), "Exp", lines: +1 -4 | ||
1810 | 1331 | fips/rsa/Makefile (1.1.4.5), "Exp", lines: +1 -4 | ||
1811 | 1332 | fips/sha1/Makefile (1.1.4.9), "Exp", lines: +1 -7 | ||
1812 | 1333 | |||
1813 | 1334 | Update hash checking in makefiles to use new perl script. | ||
1814 | 1335 | |||
1815 | 1336 | 2005-04-17 06:37 steve | ||
1816 | 1337 | |||
1817 | 1338 | Changed: | ||
1818 | 1339 | util/checkhash.pl (1.1.2.2), "Exp", lines: +163 -127 | ||
1819 | 1340 | |||
1820 | 1341 | Modify checkhash.pl so it can be run standalone or included as a | ||
1821 | 1342 | funtion in another perl script. | ||
1822 | 1343 | |||
1823 | 1344 | 2005-04-17 16:00 appro | ||
1824 | 1345 | |||
1825 | 1346 | Changed: | ||
1826 | 1347 | fips/sha1/Makefile (1.1.4.10), "Exp", lines: +9 -5 | ||
1827 | 1348 | |||
1828 | 1349 | Bring back fips_standalone_sha1. | ||
1829 | 1350 | |||
1830 | 1351 | 2005-04-17 16:17 appro | ||
1831 | 1352 | |||
1832 | 1353 | Deleted: | ||
1833 | 1354 | fips/sha1/asm/sx86-elf.s (1.1.4.4) | ||
1834 | 1355 | Changed: | ||
1835 | 1356 | Configure (1.314.2.114), "Exp", lines: +1 -1 | ||
1836 | 1357 | fips/fipshashes.sha1 (1.1.2.2), "Exp", lines: +1 -1 | ||
1837 | 1358 | fips/sha1/Makefile (1.1.4.11), "Exp", lines: +1 -1 | ||
1838 | 1359 | fips/sha1/standalone.sha1 (1.1.2.13), "Exp", lines: +1 -1 | ||
1839 | 1360 | fips/sha1/asm/fips-sx86-elf.s (1.1.2.1), "Exp", lines: +1568 -0 | ||
1840 | 1361 | |||
1841 | 1362 | Rename fips/sha1/sx86-elf.s to fips/sha1/fips-sx86-elf.s. | ||
1842 | 1363 | |||
1843 | 1364 | 2005-04-17 16:21 steve | ||
1844 | 1365 | |||
1845 | 1366 | Changed: | ||
1846 | 1367 | util/checkhash.pl (1.1.2.3), "Exp", lines: +2 -0 | ||
1847 | 1368 | |||
1848 | 1369 | Return 0 for successful hash check. | ||
1849 | 1370 | |||
1850 | 1371 | 2005-04-17 16:54 appro | ||
1851 | 1372 | |||
1852 | 1373 | Changed: | ||
1853 | 1374 | Configure (1.314.2.116), "Exp", lines: +8 -1 | ||
1854 | 1375 | Makefile.org (1.154.2.99), "Exp", lines: +3 -2 | ||
1855 | 1376 | crypto/aes/aes_cbc.c (1.1.2.11), "Exp", lines: +2 -0 | ||
1856 | 1377 | fips/fipshashes.sha1 (1.1.2.4), "Exp", lines: +1 -0 | ||
1857 | 1378 | fips/aes/Makefile (1.1.4.5), "Exp", lines: +4 -2 | ||
1858 | 1379 | fips/aes/asm/fips-ax86-elf.s (1.1.2.1), "Exp", lines: +1822 -0 | ||
1859 | 1380 | |||
1860 | 1381 | Throw in fips/aes/asm/fips-ax86-elf.s. | ||
1861 | 1382 | |||
1862 | 1383 | 2005-04-17 16:35 appro | ||
1863 | 1384 | |||
1864 | 1385 | Changed: | ||
1865 | 1386 | Configure (1.314.2.115), "Exp", lines: +1 -1 | ||
1866 | 1387 | fips/fipshashes.sha1 (1.1.2.3), "Exp", lines: +1 -1 | ||
1867 | 1388 | fips/des/asm/fips-dx86-elf.s (1.1.4.2), "Exp", lines: +108 -98 | ||
1868 | 1389 | |||
1869 | 1390 | Regenerate fips/des/asm/fips-dx86-elf.s with -fPIC flag. | ||
1870 | 1391 | |||
1871 | 1392 | 2005-04-17 17:26 appro | ||
1872 | 1393 | |||
1873 | 1394 | Changed: | ||
1874 | 1395 | crypto/cryptlib.c (1.32.2.18), "Exp", lines: +6 -55 | ||
1875 | 1396 | crypto/crypto.h (1.62.2.11), "Exp", lines: +0 -3 | ||
1876 | 1397 | fips/fips.c (1.1.2.11), "Exp", lines: +62 -8 | ||
1877 | 1398 | fips/fips.h (1.1.2.7), "Exp", lines: +2 -3 | ||
1878 | 1399 | fips/fips_locl.h (1.1.4.3), "Exp", lines: +6 -3 | ||
1879 | 1400 | fips/fipshashes.sha1 (1.1.2.5), "Exp", lines: +4 -4 | ||
1880 | 1401 | fips/rand/fips_rand.c (1.1.2.10), "Exp", lines: +3 -1 | ||
1881 | 1402 | fips/rsa/fips_rsa_gen.c (1.1.4.4), "Exp", lines: +4 -2 | ||
1882 | 1403 | |||
1883 | 1404 | Resolve minor binary compatibility issues in fips. | ||
1884 | 1405 | |||
1885 | 1406 | 2005-04-17 18:22 appro | ||
1886 | 1407 | |||
1887 | 1408 | Changed: | ||
1888 | 1409 | fips/fipshashes.sha1 (1.1.2.6), "Exp", lines: +12 -12 | ||
1889 | 1410 | fips/des/fips_des_locl.h (1.1.2.4), "Exp", lines: +1 -1 | ||
1890 | 1411 | fips/des/fips_set_key.c (1.1.4.4), "Exp", lines: +2 -2 | ||
1891 | 1412 | fips/dh/fips_dh_key.c (1.1.2.3), "Exp", lines: +1 -1 | ||
1892 | 1413 | fips/dsa/fips_dsa_ossl.c (1.1.2.7), "Exp", lines: +1 -1 | ||
1893 | 1414 | fips/dsa/fips_dsa_selftest.c (1.1.4.2), "Exp", lines: +3 -3 | ||
1894 | 1415 | fips/rand/fips_rand.c (1.1.2.11), "Exp", lines: +2 -2 | ||
1895 | 1416 | fips/rand/fips_rand.h (1.1.2.5), "Exp", lines: +1 -1 | ||
1896 | 1417 | fips/rsa/fips_rsa_eay.c (1.1.4.4), "Exp", lines: +1 -1 | ||
1897 | 1418 | fips/rsa/fips_rsa_gen.c (1.1.4.5), "Exp", lines: +1 -1 | ||
1898 | 1419 | fips/rsa/fips_rsa_selftest.c (1.1.4.5), "Exp", lines: +11 -11 | ||
1899 | 1420 | fips/sha1/fips_sha1_selftest.c (1.1.4.2), "Exp", lines: +1 -1 | ||
1900 | 1421 | fips/sha1/fips_sha1dgst.c (1.1.2.5), "Exp", lines: +1 -1 | ||
1901 | 1422 | fips/sha1/standalone.sha1 (1.1.2.14), "Exp", lines: +2 -2 | ||
1902 | 1423 | |||
1903 | 1424 | Minor fips const-ification. | ||
1904 | 1425 | |||
1905 | 1426 | 2005-04-18 07:02 steve | ||
1906 | 1427 | |||
1907 | 1428 | Changed: | ||
1908 | 1429 | crypto/bf/bf_skey.c (1.6.2.2), "Exp", lines: +1 -0 | ||
1909 | 1430 | crypto/cast/c_skey.c (1.5.6.2), "Exp", lines: +1 -0 | ||
1910 | 1431 | crypto/idea/i_skey.c (1.5.6.2), "Exp", lines: +1 -0 | ||
1911 | 1432 | crypto/rc2/rc2_skey.c (1.4.6.2), "Exp", lines: +1 -0 | ||
1912 | 1433 | crypto/rc4/rc4_skey.c (1.10.8.3), "Exp", lines: +1 -0 | ||
1913 | 1434 | crypto/rc5/rc5_skey.c (1.4.6.2), "Exp", lines: +1 -0 | ||
1914 | 1435 | |||
1915 | 1436 | Pick up definition of FIPS_mode() in fips.h to avoid warnings. | ||
1916 | 1437 | |||
1917 | 1438 | 2005-04-18 10:34 steve | ||
1918 | 1439 | |||
1919 | 1440 | Deleted: | ||
1920 | 1441 | fips/fingerprint.sha1 (1.1.2.14) | ||
1921 | 1442 | fips/fips_check_sha1 (1.1.2.8) | ||
1922 | 1443 | fips/fips_make_sha1 (1.1.2.7) | ||
1923 | 1444 | fips/aes/fingerprint.sha1 (1.1.2.7) | ||
1924 | 1445 | fips/des/fingerprint.sha1 (1.1.2.6) | ||
1925 | 1446 | fips/dh/fingerprint.sha1 (1.1.2.4) | ||
1926 | 1447 | fips/dsa/fingerprint.sha1 (1.1.2.7) | ||
1927 | 1448 | fips/rand/fingerprint.sha1 (1.1.2.10) | ||
1928 | 1449 | fips/rsa/fingerprint.sha1 (1.1.4.7) | ||
1929 | 1450 | fips/sha1/fingerprint.sha1 (1.1.2.12) | ||
1930 | 1451 | Changed: | ||
1931 | 1452 | fips/sha1/Makefile (1.1.4.12), "Exp", lines: +1 -4 | ||
1932 | 1453 | |||
1933 | 1454 | Remove obsolete fingerprint.sha1 files and associated scripts. | ||
1934 | 1455 | Delete test in fips/sha1/Makefile: the top level test checks the | ||
1935 | 1456 | same files. | ||
1936 | 1457 | |||
1937 | 1458 | 2005-04-19 09:11 appro | ||
1938 | 1459 | |||
1939 | 1460 | Deleted: | ||
1940 | 1461 | fips/fipshashes.sha1 (1.1.2.7) | ||
1941 | 1462 | fips/sha1/standalone.sha1 (1.1.2.15) | ||
1942 | 1463 | Changed: | ||
1943 | 1464 | fips/fipshashes.c (1.1.2.1), "Exp", lines: +32 -0 | ||
1944 | 1465 | util/checkhash.pl (1.1.2.4), "Exp", lines: +7 -4 | ||
1945 | 1466 | |||
1946 | 1467 | Maintain fingerprint hashes as C source. | ||
1947 | 1468 | |||
1948 | 1469 | 2005-04-19 09:17 appro | ||
1949 | 1470 | |||
1950 | 1471 | Changed: | ||
1951 | 1472 | util/checkhash.pl (1.1.2.5), "Exp", lines: +1 -1 | ||
1952 | 1473 | |||
1953 | 1474 | Complete the transition C-code hashes. | ||
1954 | 1475 | |||
1955 | 1476 | 2005-04-21 19:06 steve | ||
1956 | 1477 | |||
1957 | 1478 | Changed: | ||
1958 | 1479 | apps/openssl.c (1.48.2.13), "Exp", lines: +0 -2 | ||
1959 | 1480 | fips/fips.c (1.1.2.12), "Exp", lines: +0 -27 | ||
1960 | 1481 | fips/fips.h (1.1.2.8), "Exp", lines: +0 -2 | ||
1961 | 1482 | fips/fipshashes.c (1.1.2.2), "Exp", lines: +2 -2 | ||
1962 | 1483 | |||
1963 | 1484 | Remove defunct FIPS_allow_md5() and related functions. | ||
1964 | 1485 | |||
1965 | 1486 | 2005-04-22 06:15 appro | ||
1966 | 1487 | |||
1967 | 1488 | Changed: | ||
1968 | 1489 | fips/fips.c (1.1.2.13), "Exp", lines: +3 -3 | ||
1969 | 1490 | fips/fips_err.h (1.1.4.4), "Exp", lines: +3 -3 | ||
1970 | 1491 | fips/fipshashes.c (1.1.2.4), "Exp", lines: +2 -2 | ||
1971 | 1492 | |||
1972 | 1493 | Move some variables to .bss. | ||
1973 | 1494 | |||
1974 | 1495 | 0 | ||
1975 | === modified file 'Configure' | |||
1976 | --- Configure 2008-11-11 17:24:44 +0000 | |||
1977 | +++ Configure 2009-12-07 19:46:11 +0000 | |||
1978 | @@ -6,11 +6,13 @@ | |||
1979 | 6 | ## | 6 | ## |
1980 | 7 | 7 | ||
1981 | 8 | require 5.000; | 8 | require 5.000; |
1983 | 9 | use strict; | 9 | eval 'use strict;'; |
1984 | 10 | |||
1985 | 11 | print STDERR "Warning: perl module strict not found.\n" if ($@); | ||
1986 | 10 | 12 | ||
1987 | 11 | # see INSTALL for instructions. | 13 | # see INSTALL for instructions. |
1988 | 12 | 14 | ||
1990 | 13 | my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]\n"; | 15 | my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [enable-montasm] [no-asm] [no-dso] [no-krb5] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]\n"; |
1991 | 14 | 16 | ||
1992 | 15 | # Options: | 17 | # Options: |
1993 | 16 | # | 18 | # |
1994 | @@ -54,6 +56,8 @@ | |||
1995 | 54 | # [no-]zlib [don't] compile support for zlib compression. | 56 | # [no-]zlib [don't] compile support for zlib compression. |
1996 | 55 | # zlib-dynamic Like "zlib", but the zlib library is expected to be a shared | 57 | # zlib-dynamic Like "zlib", but the zlib library is expected to be a shared |
1997 | 56 | # library and will be loaded in run-time by the OpenSSL library. | 58 | # library and will be loaded in run-time by the OpenSSL library. |
1998 | 59 | # enable-montasm 0.9.8 branch only: enable Montgomery x86 assembler backport | ||
1999 | 60 | # from 0.9.9 | ||
2000 | 57 | # 386 generate 80386 code | 61 | # 386 generate 80386 code |
2001 | 58 | # no-sse2 disables IA-32 SSE2 code, above option implies no-sse2 | 62 | # no-sse2 disables IA-32 SSE2 code, above option implies no-sse2 |
2002 | 59 | # no-<cipher> build without specified algorithm (rsa, idea, rc5, ...) | 63 | # no-<cipher> build without specified algorithm (rsa, idea, rc5, ...) |
2003 | @@ -97,6 +101,11 @@ | |||
2004 | 97 | # SHA512_ASM sha512_block is implemented in assembler | 101 | # SHA512_ASM sha512_block is implemented in assembler |
2005 | 98 | # AES_ASM ASE_[en|de]crypt is implemented in assembler | 102 | # AES_ASM ASE_[en|de]crypt is implemented in assembler |
2006 | 99 | 103 | ||
2007 | 104 | # Minimum warning options... any contributions to OpenSSL should at least get | ||
2008 | 105 | # past these. | ||
2009 | 106 | |||
2010 | 107 | my $gcc_devteam_warn = "-Wall -pedantic -DPEDANTIC -Wno-long-long -Wsign-compare -Wmissing-prototypes -Wshadow -Wformat -Werror -DCRYPTO_MDEBUG_ALL -DCRYPTO_MDEBUG_ABORT -DREF_CHECK -DOPENSSL_NO_DEPRECATED"; | ||
2011 | 108 | |||
2012 | 100 | my $x86_gcc_des="DES_PTR DES_RISC1 DES_UNROLL"; | 109 | my $x86_gcc_des="DES_PTR DES_RISC1 DES_UNROLL"; |
2013 | 101 | 110 | ||
2014 | 102 | # MD2_CHAR slags pentium pros | 111 | # MD2_CHAR slags pentium pros |
2015 | @@ -114,13 +123,12 @@ | |||
2016 | 114 | my $bits1="THIRTY_TWO_BIT "; | 123 | my $bits1="THIRTY_TWO_BIT "; |
2017 | 115 | my $bits2="SIXTY_FOUR_BIT "; | 124 | my $bits2="SIXTY_FOUR_BIT "; |
2018 | 116 | 125 | ||
2022 | 117 | my $x86_elf_asm="x86cpuid-elf.o:bn86-elf.o co86-elf.o:dx86-elf.o yx86-elf.o:ax86-elf.o:bx86-elf.o:mx86-elf.o:sx86-elf.o s512sse2-elf.o:cx86-elf.o:rx86-elf.o:rm86-elf.o:r586-elf.o"; | 126 | my $x86_elf_asm="x86cpuid-elf.o:bn86-elf.o co86-elf.o MAYBE-MO86-elf.o:dx86-elf.o yx86-elf.o:ax86-elf.o:bx86-elf.o:mx86-elf.o:sx86-elf.o s512sse2-elf.o:cx86-elf.o:rx86-elf.o rc4_skey.o:rm86-elf.o:r586-elf.o"; |
2023 | 118 | my $x86_coff_asm="x86cpuid-cof.o:bn86-cof.o co86-cof.o:dx86-cof.o yx86-cof.o:ax86-cof.o:bx86-cof.o:mx86-cof.o:sx86-cof.o s512sse2-cof.o:cx86-cof.o:rx86-cof.o:rm86-cof.o:r586-cof.o"; | 127 | my $x86_coff_asm="x86cpuid-cof.o:bn86-cof.o co86-cof.o MAYBE-MO86-cof.o:dx86-cof.o yx86-cof.o:ax86-cof.o:bx86-cof.o:mx86-cof.o:sx86-cof.o s512sse2-cof.o:cx86-cof.o:rx86-cof.o rc4_skey.o:rm86-cof.o:r586-cof.o"; |
2024 | 119 | my $x86_out_asm="x86cpuid-out.o:bn86-out.o co86-out.o:dx86-out.o yx86-out.o:ax86-out.o:bx86-out.o:mx86-out.o:sx86-out.o s512sse2-out.o:cx86-out.o:rx86-out.o:rm86-out.o:r586-out.o"; | 128 | my $x86_out_asm="x86cpuid-out.o:bn86-out.o co86-out.o MAYBE-MO86-out.o:dx86-out.o yx86-out.o:ax86-out.o:bx86-out.o:mx86-out.o:sx86-out.o s512sse2-out.o:cx86-out.o:rx86-out.o rc4_skey.o:rm86-out.o:r586-out.o"; |
2025 | 120 | 129 | ||
2029 | 121 | #my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o::::md5-x86_64.o:::rc4-x86_64.o::"; | 130 | my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o x86_64-mont.o::aes-x86_64.o::md5-x86_64.o:sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o::rc4-x86_64.o::"; |
2030 | 122 | my $x86_64_asm="x86_64cpuid.o:x86_64-gcc.o::::md5-x86_64.o:::::"; | 131 | my $ia64_asm=":bn-ia64.o::aes_core.o aes_cbc.o aes-ia64.o:::sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o::"; |
2028 | 123 | my $ia64_asm=":bn-ia64.o::aes_core.o aes_cbc.o aes-ia64.o:::sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o::"; | ||
2031 | 124 | 132 | ||
2032 | 125 | my $no_asm="::::::::::"; | 133 | my $no_asm="::::::::::"; |
2033 | 126 | 134 | ||
2034 | @@ -151,11 +159,14 @@ | |||
2035 | 151 | "debug-ben", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown):::::bn86-elf.o co86-elf.o", | 159 | "debug-ben", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown):::::bn86-elf.o co86-elf.o", |
2036 | 152 | "debug-ben-openbsd","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::", | 160 | "debug-ben-openbsd","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::", |
2037 | 153 | "debug-ben-openbsd-debug","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::", | 161 | "debug-ben-openbsd-debug","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DOPENSSL_OPENBSD_DEV_CRYPTO -DOPENSSL_NO_ASM -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::", |
2039 | 154 | "debug-ben-debug", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -g3 -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown)::::::", | 162 | "debug-ben-debug", "gcc:$gcc_devteam_warn -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DDEBUG_SAFESTACK -g3 -O2 -pipe::(unknown)::::::", |
2040 | 155 | "debug-ben-strict", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe::(unknown)::::::", | 163 | "debug-ben-strict", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DCONST_STRICT -O2 -Wall -Wshadow -Werror -Wpointer-arith -Wcast-qual -Wwrite-strings -pipe::(unknown)::::::", |
2041 | 156 | "debug-rse","cc:-DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", | 164 | "debug-rse","cc:-DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", |
2043 | 157 | "debug-bodo", "gcc:-DL_ENDIAN -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBIO_PAIR_DEBUG -DPEDANTIC -g -march=i486 -pedantic -Wshadow -Wall::-D_REENTRANT:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", | 165 | "debug-bodo", "gcc:-DL_ENDIAN -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBIO_PAIR_DEBUG -DPEDANTIC -g -march=i486 -pedantic -Wshadow -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wundef -Wconversion -pipe::-D_REENTRANT:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", |
2044 | 158 | "debug-ulf", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DBN_DEBUG_RAND -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations:::CYGWIN32:::${no_asm}:win32:cygwin-shared:::.dll", | 166 | "debug-ulf", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DBN_DEBUG_RAND -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations:::CYGWIN32:::${no_asm}:win32:cygwin-shared:::.dll", |
2045 | 167 | "debug-steve64", "gcc:$gcc_devteam_warn -m64 -DL_ENDIAN -DTERMIO -DCONF_DEBUG -DDEBUG_SAFESTACK -g -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2046 | 168 | "debug-steve32", "gcc:$gcc_devteam_warn -m32 -DL_ENDIAN -DCONF_DEBUG -DDEBUG_SAFESTACK -g -pipe::-D_REENTRANT::-rdynamic -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC:-m32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2047 | 169 | "debug-steve-opt", "gcc:$gcc_devteam_warn -m64 -O3 -DL_ENDIAN -DTERMIO -DCONF_DEBUG -DDEBUG_SAFESTACK -g -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2048 | 159 | "debug-steve", "gcc:-DL_ENDIAN -DREF_CHECK -DCONF_DEBUG -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG_ALL -DPEDANTIC -m32 -g -pedantic -Wno-long-long -Wall -Werror -Wshadow -pipe::-D_REENTRANT::-rdynamic -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared", | 170 | "debug-steve", "gcc:-DL_ENDIAN -DREF_CHECK -DCONF_DEBUG -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG_ALL -DPEDANTIC -m32 -g -pedantic -Wno-long-long -Wall -Werror -Wshadow -pipe::-D_REENTRANT::-rdynamic -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared", |
2049 | 160 | "debug-steve-linux-pseudo64", "gcc:-DL_ENDIAN -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG_ALL -DOPENSSL_NO_ASM -g -mcpu=i486 -Wall -Werror -Wshadow -pipe::-D_REENTRANT::-rdynamic -ldl:SIXTY_FOUR_BIT:${no_asm}:dlfcn:linux-shared", | 171 | "debug-steve-linux-pseudo64", "gcc:-DL_ENDIAN -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG_ALL -DOPENSSL_NO_ASM -g -mcpu=i486 -Wall -Werror -Wshadow -pipe::-D_REENTRANT::-rdynamic -ldl:SIXTY_FOUR_BIT:${no_asm}:dlfcn:linux-shared", |
2050 | 161 | "debug-levitte-linux-elf","gcc:-DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_DEBUG -DBN_DEBUG_RAND -DCRYPTO_MDEBUG -DENGINE_CONF_DEBUG -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -Wshadow -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wundef -Wconversion -pipe::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 172 | "debug-levitte-linux-elf","gcc:-DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_DEBUG -DBN_DEBUG_RAND -DCRYPTO_MDEBUG -DENGINE_CONF_DEBUG -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -Wshadow -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wundef -Wconversion -pipe::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2051 | @@ -202,11 +213,11 @@ | |||
2052 | 202 | "solaris-sparcv7-gcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 213 | "solaris-sparcv7-gcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2053 | 203 | "solaris-sparcv8-gcc","gcc:-mv8 -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 214 | "solaris-sparcv8-gcc","gcc:-mv8 -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2054 | 204 | # -m32 should be safe to add as long as driver recognizes -mcpu=ultrasparc | 215 | # -m32 should be safe to add as long as driver recognizes -mcpu=ultrasparc |
2057 | 205 | "solaris-sparcv9-gcc","gcc:-m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::md5-sparcv8plus.o::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 216 | "solaris-sparcv9-gcc","gcc:-m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2058 | 206 | "solaris64-sparcv9-gcc","gcc:-m64 -mcpu=ultrasparc -O3 -Wall -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:::des_enc-sparc.o fcrypt_b.o:::md5-sparcv9.o::::::dlfcn:solaris-shared:-fPIC:-m64 -shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 217 | "solaris64-sparcv9-gcc","gcc:-m64 -mcpu=ultrasparc -O3 -Wall -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:::des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-fPIC:-m64 -shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2059 | 207 | #### | 218 | #### |
2060 | 208 | "debug-solaris-sparcv8-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mv8 -Wall -DB_ENDIAN::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o::::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 219 | "debug-solaris-sparcv8-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -O -g -mv8 -Wall -DB_ENDIAN::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o::::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2062 | 209 | "debug-solaris-sparcv9-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -DPEDANTIC -O -g -mcpu=ultrasparc -pedantic -ansi -Wall -Wshadow -Wno-long-long -D__EXTENSIONS__ -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::md5-sparcv8plus.o::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 220 | "debug-solaris-sparcv9-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -DPEDANTIC -O -g -mcpu=ultrasparc -pedantic -ansi -Wall -Wshadow -Wno-long-long -D__EXTENSIONS__ -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2063 | 210 | 221 | ||
2064 | 211 | #### SPARC Solaris with Sun C setups | 222 | #### SPARC Solaris with Sun C setups |
2065 | 212 | # SC4.0 doesn't pass 'make test', upgrade to SC5.0 or SC4.2. | 223 | # SC4.0 doesn't pass 'make test', upgrade to SC5.0 or SC4.2. |
2066 | @@ -214,11 +225,11 @@ | |||
2067 | 214 | # SC5.0 note: Compiler common patch 107357-01 or later is required! | 225 | # SC5.0 note: Compiler common patch 107357-01 or later is required! |
2068 | 215 | "solaris-sparcv7-cc","cc:-xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${no_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 226 | "solaris-sparcv7-cc","cc:-xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${no_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2069 | 216 | "solaris-sparcv8-cc","cc:-xarch=v8 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 227 | "solaris-sparcv8-cc","cc:-xarch=v8 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2072 | 217 | "solaris-sparcv9-cc","cc:-xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::md5-sparcv8plus.o::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 228 | "solaris-sparcv9-cc","cc:-xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2073 | 218 | "solaris64-sparcv9-cc","cc:-xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:::des_enc-sparc.o fcrypt_b.o:::md5-sparcv9.o::::::dlfcn:solaris-shared:-KPIC:-xarch=v9 -G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):/usr/ccs/bin/ar rs", | 229 | "solaris64-sparcv9-cc","cc:-xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:::des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:solaris-shared:-KPIC:-xarch=v9 -G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):/usr/ccs/bin/ar rs", |
2074 | 219 | #### | 230 | #### |
2075 | 220 | "debug-solaris-sparcv8-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -xarch=v8 -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8.o::::::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 231 | "debug-solaris-sparcv8-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -xarch=v8 -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8.o::::::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2077 | 221 | "debug-solaris-sparcv9-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -xtarget=ultra -xarch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8plus.o::::md5-sparcv8plus.o::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 232 | "debug-solaris-sparcv9-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG_ALL -xtarget=ultra -xarch=v8plus -g -O -xstrconst -Xa -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK_LL DES_PTR DES_RISC1 DES_UNROLL BF_PTR::sparcv8plus.o::::::::::dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2078 | 222 | 233 | ||
2079 | 223 | #### SunOS configs, assuming sparc for the gcc one. | 234 | #### SunOS configs, assuming sparc for the gcc one. |
2080 | 224 | #"sunos-cc", "cc:-O4 -DNOPROTO -DNOCONST::(unknown):SUNOS::DES_UNROLL:${no_asm}::", | 235 | #"sunos-cc", "cc:-O4 -DNOPROTO -DNOCONST::(unknown):SUNOS::DES_UNROLL:${no_asm}::", |
2081 | @@ -309,48 +320,6 @@ | |||
2082 | 309 | "osf1-alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared:::.so", | 320 | "osf1-alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared:::.so", |
2083 | 310 | "tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared::-msym:.so", | 321 | "tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared::-msym:.so", |
2084 | 311 | 322 | ||
2085 | 312 | # Debian GNU/* (various architectures) | ||
2086 | 313 | "debian-alpha","gcc:-DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2087 | 314 | "debian-alpha-ev4","gcc:-DTERMIO -O3 -Wa,--noexecstack -mcpu=ev4 -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2088 | 315 | "debian-alpha-ev5","gcc:-DTERMIO -O3 -Wa,--noexecstack -mcpu=ev5 -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2089 | 316 | "debian-arm","gcc:-DL_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2090 | 317 | "debian-armeb","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2091 | 318 | "debian-armel","gcc:-DL_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2092 | 319 | #"debian-amd64","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2093 | 320 | "debian-amd64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2094 | 321 | "debian-kfreebsd-amd64","gcc:-m64 -DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2095 | 322 | #"debian-freebsd-alpha","gcc:-DTERMIOS -O -Wa,--noexecstack -fomit-frame-pointer::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC2::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2096 | 323 | "debian-kfreebsd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -march=i486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2097 | 324 | "debian-hppa","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG MD2_CHAR RC4_INDEX::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2098 | 325 | "debian-hurd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2099 | 326 | "debian-ia64","gcc:-DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:SIXTY_FOUR_BIT_LONG RC4_CHUNK RC4_CHAR:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2100 | 327 | #"debian-i386","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -fomit-frame-pointer -m486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:linux-shared:-fPIC", | ||
2101 | 328 | "debian-i386","gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2102 | 329 | "debian-i386-i486","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i486 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2103 | 330 | "debian-i386-i586","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i586 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2104 | 331 | "debian-i386-i686/cmov","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i686 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2105 | 332 | "debian-lpia","gcc:-DL_ENDIAN -DTERMIO -O3 -march=i686 -mtune=i586 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2106 | 333 | "debian-m68k","gcc:-DB_ENDIAN -DTERMIO -O2 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG MD2_CHAR RC4_INDEX::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2107 | 334 | "debian-mips", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2108 | 335 | "debian-mipsel", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL DES_RISC2::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2109 | 336 | "debian-netbsd-i386", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2110 | 337 | "debian-netbsd-m68k", "gcc:-DB_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -Wall::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2111 | 338 | "debian-netbsd-sparc", "gcc:-DB_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -mv8 -Wall::(unknown):::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2112 | 339 | "debian-openbsd-alpha","gcc:-DTERMIOS -O3 -Wa,--noexecstack -g::(unknown):::SIXTY_FOUR_BIT_LONG DES_INT DES_PTR DES_RISC2::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2113 | 340 | "debian-openbsd-i386", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wa,--noexecstack -g -m486::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2114 | 341 | "debian-openbsd-mips","gcc:-O2 -Wa,--noexecstack -g -DL_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC2 DES_PTR BF_PTR:::::::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2115 | 342 | "debian-powerpc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG DES_UNROLL DES_RISC2 DES_PTR MD2_CHAR RC4_INDEX::linux_ppc32.o::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2116 | 343 | "debian-ppc64","gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::linux_ppc64.o::::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2117 | 344 | "debian-s390","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2118 | 345 | "debian-sh3", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2119 | 346 | "debian-sh4", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2120 | 347 | "debian-sh3eb", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2121 | 348 | "debian-sh4eb", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2122 | 349 | "debian-m32r","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl:BN_LLONG::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2123 | 350 | "debian-sparc","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall::-D_REENTRANT::-ldl -Wl,-Bsymbolic-functions:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2124 | 351 | "debian-sparc-v8","gcc:-DB_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -mcpu=v8 -g -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2125 | 352 | "debian-sparc-v9","gcc:-DB_ENDIAN -DTERMIO -O3 -mcpu=v9 -Wa,--noexecstack -Wa,-Av8plus -g -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::md5-sparcv8plus.o::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | ||
2126 | 353 | |||
2127 | 354 | #### | 323 | #### |
2128 | 355 | #### Variety of LINUX:-) | 324 | #### Variety of LINUX:-) |
2129 | 356 | #### | 325 | #### |
2130 | @@ -375,9 +344,9 @@ | |||
2131 | 375 | "linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 344 | "linux-sparcv8","gcc:-mv8 -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2132 | 376 | # it's a real mess with -mcpu=ultrasparc option under Linux, but | 345 | # it's a real mess with -mcpu=ultrasparc option under Linux, but |
2133 | 377 | # -Wa,-Av8plus should do the trick no matter what. | 346 | # -Wa,-Av8plus should do the trick no matter what. |
2135 | 378 | "linux-sparcv9","gcc:-m32 -mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -Wa,-Av8plus -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::md5-sparcv8plus.o::::::dlfcn:linux-shared:-fPIC:-m32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 347 | "linux-sparcv9","gcc:-m32 -mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall -Wa,-Av8plus -DBN_DIV2W::-D_REENTRANT:ULTRASPARC:-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::sparcv8plus.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:linux-shared:-fPIC:-m32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2136 | 379 | # GCC 3.1 is a requirement | 348 | # GCC 3.1 is a requirement |
2138 | 380 | "linux64-sparcv9","gcc:-m64 -mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:ULTRASPARC:-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::md5-sparcv9.o::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 349 | "linux64-sparcv9","gcc:-m64 -mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:ULTRASPARC:-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::::dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2139 | 381 | #### Alpha Linux with GNU C and Compaq C setups | 350 | #### Alpha Linux with GNU C and Compaq C setups |
2140 | 382 | # Special notes: | 351 | # Special notes: |
2141 | 383 | # - linux-alpha+bwx-gcc is ment to be used from ./config only. If you | 352 | # - linux-alpha+bwx-gcc is ment to be used from ./config only. If you |
2142 | @@ -407,7 +376,7 @@ | |||
2143 | 407 | # -DMD32_REG_T=int doesn't actually belong in sparc64 target, it | 376 | # -DMD32_REG_T=int doesn't actually belong in sparc64 target, it |
2144 | 408 | # simply *happens* to work around a compiler bug in gcc 3.3.3, | 377 | # simply *happens* to work around a compiler bug in gcc 3.3.3, |
2145 | 409 | # triggered by RIPEMD160 code. | 378 | # triggered by RIPEMD160 code. |
2147 | 410 | "BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:::des_enc-sparc.o fcrypt_b.o:::md5-sparcv9.o::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 379 | "BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:::des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2148 | 411 | "BSD-ia64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 380 | "BSD-ia64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2149 | 412 | "BSD-x86_64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", | 381 | "BSD-x86_64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", |
2150 | 413 | 382 | ||
2151 | @@ -445,12 +414,12 @@ | |||
2152 | 445 | 414 | ||
2153 | 446 | #### IBM's AIX. | 415 | #### IBM's AIX. |
2154 | 447 | "aix3-cc", "cc:-O -DB_ENDIAN -qmaxmem=16384::(unknown):AIX::BN_LLONG RC4_CHAR:::", | 416 | "aix3-cc", "cc:-O -DB_ENDIAN -qmaxmem=16384::(unknown):AIX::BN_LLONG RC4_CHAR:::", |
2157 | 448 | "aix-gcc", "gcc:-O -DB_ENDIAN::-D_THREAD_SAFE:AIX::BN_LLONG RC4_CHAR::aix_ppc32.o::::::::::dlfcn:aix-shared:::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 32", | 417 | "aix-gcc", "gcc:-O -DB_ENDIAN::-pthread:AIX::BN_LLONG RC4_CHAR::aix_ppc32.o::::::::::dlfcn:aix-shared::-shared -Wl,-G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 32", |
2158 | 449 | "aix64-gcc","gcc:-maix64 -O -DB_ENDIAN::-D_THREAD_SAFE:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR::aix_ppc64.o::::::::::dlfcn:aix-shared::-maix64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X64", | 418 | "aix64-gcc","gcc:-maix64 -O -DB_ENDIAN::-pthread:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR::aix_ppc64.o::::::::::dlfcn:aix-shared::-maix64 -shared -Wl,-G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X64", |
2159 | 450 | # Below targets assume AIX 5. Idea is to effectively disregard $OBJECT_MODE | 419 | # Below targets assume AIX 5. Idea is to effectively disregard $OBJECT_MODE |
2160 | 451 | # at build time. $OBJECT_MODE is respected at ./config stage! | 420 | # at build time. $OBJECT_MODE is respected at ./config stage! |
2163 | 452 | "aix-cc", "cc:-q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst::-qthreaded:AIX::BN_LLONG RC4_CHAR::aix_ppc32.o::::::::::dlfcn:aix-shared::-q32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 32", | 421 | "aix-cc", "cc:-q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst::-qthreaded:AIX::BN_LLONG RC4_CHAR::aix_ppc32.o::::::::::dlfcn:aix-shared::-q32 -G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 32", |
2164 | 453 | "aix64-cc", "cc:-q64 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst::-qthreaded:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR::aix_ppc64.o::::::::::dlfcn:aix-shared::-q64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 64", | 422 | "aix64-cc", "cc:-q64 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst::-qthreaded:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR::aix_ppc64.o::::::::::dlfcn:aix-shared::-q64 -G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 64", |
2165 | 454 | 423 | ||
2166 | 455 | # | 424 | # |
2167 | 456 | # Cray T90 and similar (SDSC) | 425 | # Cray T90 and similar (SDSC) |
2168 | @@ -519,17 +488,22 @@ | |||
2169 | 519 | # Cygwin | 488 | # Cygwin |
2170 | 520 | "Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", | 489 | "Cygwin-pre1.3", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown):CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", |
2171 | 521 | "Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_coff_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a", | 490 | "Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_coff_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a", |
2173 | 522 | -"debug-Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror:::CYGWIN32:::${no_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a", | 491 | "debug-Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -g -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror:::CYGWIN32:::${no_asm}:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a", |
2174 | 523 | 492 | ||
2176 | 524 | # NetWare from David Ward (dsward@novell.com) - requires MetroWerks NLM development tools | 493 | # NetWare from David Ward (dsward@novell.com) |
2177 | 494 | # requires either MetroWerks NLM development tools, or gcc / nlmconv | ||
2178 | 495 | # NetWare defaults socket bio to WinSock sockets. However, | ||
2179 | 496 | # the builds can be configured to use BSD sockets instead. | ||
2180 | 525 | # netware-clib => legacy CLib c-runtime support | 497 | # netware-clib => legacy CLib c-runtime support |
2182 | 526 | "netware-clib", "mwccnlm::::::BN_LLONG ${x86_gcc_opts}::", | 498 | "netware-clib", "mwccnlm::::::${x86_gcc_opts}::", |
2183 | 499 | "netware-clib-bsdsock", "mwccnlm::::::${x86_gcc_opts}::", | ||
2184 | 500 | "netware-clib-gcc", "i586-netware-gcc:-nostdinc -I/ndk/nwsdk/include/nlm -I/ndk/ws295sdk/include -DL_ENDIAN -DNETWARE_CLIB -DOPENSSL_SYSNAME_NETWARE -O2 -Wall:::::${x86_gcc_opts}::", | ||
2185 | 501 | "netware-clib-bsdsock-gcc", "i586-netware-gcc:-nostdinc -I/ndk/nwsdk/include/nlm -DNETWARE_BSDSOCK -DNETDB_USE_INTERNET -DL_ENDIAN -DNETWARE_CLIB -DOPENSSL_SYSNAME_NETWARE -O2 -Wall:::::${x86_gcc_opts}::", | ||
2186 | 527 | # netware-libc => LibC/NKS support | 502 | # netware-libc => LibC/NKS support |
2187 | 528 | # NetWare defaults socket bio to WinSock sockets. However, the LibC build can be | ||
2188 | 529 | # configured to use BSD sockets instead. | ||
2189 | 530 | "netware-libc", "mwccnlm::::::BN_LLONG ${x86_gcc_opts}::", | 503 | "netware-libc", "mwccnlm::::::BN_LLONG ${x86_gcc_opts}::", |
2190 | 531 | "netware-libc-bsdsock", "mwccnlm::::::BN_LLONG ${x86_gcc_opts}::", | 504 | "netware-libc-bsdsock", "mwccnlm::::::BN_LLONG ${x86_gcc_opts}::", |
2191 | 532 | "netware-libc-gcc", "i586-netware-gcc:-nostdinc -I/ndk/libc/include -I/ndk/libc/include/winsock -DL_ENDIAN -DNETWARE_LIBC -DOPENSSL_SYSNAME_NETWARE -DTERMIO -O2 -Wall:::::BN_LLONG ${x86_gcc_opts}::", | 505 | "netware-libc-gcc", "i586-netware-gcc:-nostdinc -I/ndk/libc/include -I/ndk/libc/include/winsock -DL_ENDIAN -DNETWARE_LIBC -DOPENSSL_SYSNAME_NETWARE -DTERMIO -O2 -Wall:::::BN_LLONG ${x86_gcc_opts}::", |
2192 | 506 | "netware-libc-bsdsock-gcc", "i586-netware-gcc:-nostdinc -I/ndk/libc/include -DNETWARE_BSDSOCK -DL_ENDIAN -DNETWARE_LIBC -DOPENSSL_SYSNAME_NETWARE -DTERMIO -O2 -Wall:::::BN_LLONG ${x86_gcc_opts}::", | ||
2193 | 533 | 507 | ||
2194 | 534 | # DJGPP | 508 | # DJGPP |
2195 | 535 | "DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall:::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:", | 509 | "DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall:::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:", |
2196 | @@ -543,8 +517,9 @@ | |||
2197 | 543 | ##### MacOS X (a.k.a. Rhapsody or Darwin) setup | 517 | ##### MacOS X (a.k.a. Rhapsody or Darwin) setup |
2198 | 544 | "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::", | 518 | "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::", |
2199 | 545 | "darwin-ppc-cc","cc:-arch ppc -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", | 519 | "darwin-ppc-cc","cc:-arch ppc -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", |
2202 | 546 | "darwin64-ppc-cc","cc:-arch ppc64 -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:ppccpuid_osx64.o:osx_ppc64.o osx_ppc64-mont.o:::::sha1-ppc_osx64.o sha256-ppc_osx64.o sha512-ppc_osx64.o:::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", | 520 | "darwin64-ppc-cc","cc:-arch ppc64 -O3 -DB_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc64.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", |
2203 | 547 | "darwin-i386-cc","cc:-arch i386 -O3 -fomit-frame-pointer -fno-common::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", | 521 | "darwin-i386-cc","cc:-arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", |
2204 | 522 | "debug-darwin-i386-cc","cc:-arch i386 -g3 -DL_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", | ||
2205 | 548 | "darwin64-x86_64-cc","cc:-arch x86_64 -O3 -fomit-frame-pointer -DL_ENDIAN -DMD32_REG_T=int -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", | 523 | "darwin64-x86_64-cc","cc:-arch x86_64 -O3 -fomit-frame-pointer -DL_ENDIAN -DMD32_REG_T=int -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK BF_PTR2 DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", |
2206 | 549 | "debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", | 524 | "debug-darwin-ppc-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DB_ENDIAN -g -Wall -O::-D_REENTRANT:MACOSX::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::osx_ppc32.o::::::::::dlfcn:darwin-shared:-fPIC -fno-common:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", |
2207 | 550 | 525 | ||
2208 | @@ -574,7 +549,9 @@ | |||
2209 | 574 | 549 | ||
2210 | 575 | my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A | 550 | my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A |
2211 | 576 | VC-NT VC-CE VC-WIN32 | 551 | VC-NT VC-CE VC-WIN32 |
2213 | 577 | BC-32 OS2-EMX netware-clib netware-libc netware-libc-bsdsock); | 552 | BC-32 OS2-EMX |
2214 | 553 | netware-clib netware-clib-bsdsock | ||
2215 | 554 | netware-libc netware-libc-bsdsock); | ||
2216 | 578 | 555 | ||
2217 | 579 | my $idx = 0; | 556 | my $idx = 0; |
2218 | 580 | my $idx_cc = $idx++; | 557 | my $idx_cc = $idx++; |
2219 | @@ -607,12 +584,18 @@ | |||
2220 | 607 | my $openssldir=""; | 584 | my $openssldir=""; |
2221 | 608 | my $exe_ext=""; | 585 | my $exe_ext=""; |
2222 | 609 | my $install_prefix=""; | 586 | my $install_prefix=""; |
2223 | 587 | my $fipslibdir="/usr/local/ssl/fips-1.0/lib/"; | ||
2224 | 588 | my $nofipscanistercheck=0; | ||
2225 | 589 | my $fipsdso=0; | ||
2226 | 590 | my $fipscanisterinternal="n"; | ||
2227 | 591 | my $baseaddr="0xFB00000"; | ||
2228 | 610 | my $no_threads=0; | 592 | my $no_threads=0; |
2229 | 611 | my $threads=0; | 593 | my $threads=0; |
2230 | 612 | my $no_shared=0; # but "no-shared" is default | 594 | my $no_shared=0; # but "no-shared" is default |
2231 | 613 | my $zlib=1; # but "no-zlib" is default | 595 | my $zlib=1; # but "no-zlib" is default |
2232 | 614 | my $no_krb5=0; # but "no-krb5" is implied unless "--with-krb5-..." is used | 596 | my $no_krb5=0; # but "no-krb5" is implied unless "--with-krb5-..." is used |
2233 | 615 | my $no_rfc3779=1; # but "no-rfc3779" is default | 597 | my $no_rfc3779=1; # but "no-rfc3779" is default |
2234 | 598 | my $montasm=1; # but "no-montasm" is default | ||
2235 | 616 | my $no_asm=0; | 599 | my $no_asm=0; |
2236 | 617 | my $no_dso=0; | 600 | my $no_dso=0; |
2237 | 618 | my $no_gmp=0; | 601 | my $no_gmp=0; |
2238 | @@ -629,10 +612,11 @@ | |||
2239 | 629 | my $bf ="crypto/bf/bf_locl.h"; | 612 | my $bf ="crypto/bf/bf_locl.h"; |
2240 | 630 | my $bn_asm ="bn_asm.o"; | 613 | my $bn_asm ="bn_asm.o"; |
2241 | 631 | my $des_enc="des_enc.o fcrypt_b.o"; | 614 | my $des_enc="des_enc.o fcrypt_b.o"; |
2242 | 615 | my $fips_des_enc="fips_des_enc.o"; | ||
2243 | 632 | my $aes_enc="aes_core.o aes_cbc.o"; | 616 | my $aes_enc="aes_core.o aes_cbc.o"; |
2244 | 633 | my $bf_enc ="bf_enc.o"; | 617 | my $bf_enc ="bf_enc.o"; |
2245 | 634 | my $cast_enc="c_enc.o"; | 618 | my $cast_enc="c_enc.o"; |
2247 | 635 | my $rc4_enc="rc4_enc.o"; | 619 | my $rc4_enc="rc4_enc.o rc4_skey.o"; |
2248 | 636 | my $rc5_enc="rc5_enc.o"; | 620 | my $rc5_enc="rc5_enc.o"; |
2249 | 637 | my $md5_obj=""; | 621 | my $md5_obj=""; |
2250 | 638 | my $sha1_obj=""; | 622 | my $sha1_obj=""; |
2251 | @@ -640,29 +624,40 @@ | |||
2252 | 640 | my $processor=""; | 624 | my $processor=""; |
2253 | 641 | my $default_ranlib; | 625 | my $default_ranlib; |
2254 | 642 | my $perl; | 626 | my $perl; |
2255 | 627 | my $fips=0; | ||
2256 | 643 | 628 | ||
2257 | 644 | 629 | ||
2258 | 645 | # All of the following is disabled by default (RC5 was enabled before 0.9.8): | 630 | # All of the following is disabled by default (RC5 was enabled before 0.9.8): |
2259 | 646 | 631 | ||
2261 | 647 | my %disabled = ( # "what" => "comment" | 632 | my %disabled = ( # "what" => "comment" [or special keyword "experimental"] |
2262 | 648 | "camellia" => "default", | 633 | "camellia" => "default", |
2263 | 634 | "capieng" => "default", | ||
2264 | 635 | "cms" => "default", | ||
2265 | 649 | "gmp" => "default", | 636 | "gmp" => "default", |
2266 | 637 | "jpake" => "experimental", | ||
2267 | 650 | "mdc2" => "default", | 638 | "mdc2" => "default", |
2268 | 639 | "montasm" => "default", # explicit option in 0.9.8 only (implicitly enabled in 0.9.9) | ||
2269 | 651 | "rc5" => "default", | 640 | "rc5" => "default", |
2270 | 652 | "rfc3779" => "default", | 641 | "rfc3779" => "default", |
2271 | 653 | "seed" => "default", | 642 | "seed" => "default", |
2272 | 654 | "shared" => "default", | 643 | "shared" => "default", |
2273 | 655 | "tlsext" => "default", | ||
2274 | 656 | "zlib" => "default", | 644 | "zlib" => "default", |
2275 | 657 | "zlib-dynamic" => "default" | 645 | "zlib-dynamic" => "default" |
2276 | 658 | ); | 646 | ); |
2284 | 659 | 647 | my @experimental = (); | |
2285 | 660 | # Additional "no-..." options will be collected in %disabled. | 648 | |
2286 | 661 | # To remove something from %disabled, use e.g. "enable-rc5". | 649 | # This is what $depflags will look like with the above defaults |
2287 | 662 | # For symmetry, "disable-..." is a synonym for "no-...". | 650 | # (we need this to see if we should advise the user to run "make depend"): |
2288 | 663 | 651 | my $default_depflags = " -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED"; | |
2289 | 664 | # This is what $depflags will look like with the above default: | 652 | |
2290 | 665 | my $default_depflags = "-DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_GMP -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED -DOPENSSL_NO_TLSEXT "; | 653 | |
2291 | 654 | # Explicit "no-..." options will be collected in %disabled along with the defaults. | ||
2292 | 655 | # To remove something from %disabled, use "enable-foo" (unless it's experimental). | ||
2293 | 656 | # For symmetry, "disable-foo" is a synonym for "no-foo". | ||
2294 | 657 | |||
2295 | 658 | # For features called "experimental" here, a more explicit "experimental-foo" is needed to enable. | ||
2296 | 659 | # We will collect such requests in @experimental. | ||
2297 | 660 | # To avoid accidental use of experimental features, applications will have to use -DOPENSSL_EXPERIMENTAL_FOO. | ||
2298 | 666 | 661 | ||
2299 | 667 | 662 | ||
2300 | 668 | my $no_sse2=0; | 663 | my $no_sse2=0; |
2301 | @@ -671,6 +666,7 @@ | |||
2302 | 671 | 666 | ||
2303 | 672 | my $flags; | 667 | my $flags; |
2304 | 673 | my $depflags; | 668 | my $depflags; |
2305 | 669 | my $openssl_experimental_defines; | ||
2306 | 674 | my $openssl_algorithm_defines; | 670 | my $openssl_algorithm_defines; |
2307 | 675 | my $openssl_thread_defines; | 671 | my $openssl_thread_defines; |
2308 | 676 | my $openssl_sys_defines=""; | 672 | my $openssl_sys_defines=""; |
2309 | @@ -691,6 +687,7 @@ | |||
2310 | 691 | { | 687 | { |
2311 | 692 | $flags=""; | 688 | $flags=""; |
2312 | 693 | $depflags=""; | 689 | $depflags=""; |
2313 | 690 | $openssl_experimental_defines=""; | ||
2314 | 694 | $openssl_algorithm_defines=""; | 691 | $openssl_algorithm_defines=""; |
2315 | 695 | $openssl_thread_defines=""; | 692 | $openssl_thread_defines=""; |
2316 | 696 | $openssl_sys_defines=""; | 693 | $openssl_sys_defines=""; |
2317 | @@ -716,25 +713,35 @@ | |||
2318 | 716 | 713 | ||
2319 | 717 | if (/^no-(.+)$/ || /^disable-(.+)$/) | 714 | if (/^no-(.+)$/ || /^disable-(.+)$/) |
2320 | 718 | { | 715 | { |
2333 | 719 | if ($1 eq "ssl") | 716 | if (!($disabled{$1} eq "experimental")) |
2334 | 720 | { | 717 | { |
2335 | 721 | $disabled{"ssl2"} = "option(ssl)"; | 718 | if ($1 eq "ssl") |
2336 | 722 | $disabled{"ssl3"} = "option(ssl)"; | 719 | { |
2337 | 723 | } | 720 | $disabled{"ssl2"} = "option(ssl)"; |
2338 | 724 | elsif ($1 eq "tls") | 721 | $disabled{"ssl3"} = "option(ssl)"; |
2339 | 725 | { | 722 | } |
2340 | 726 | $disabled{"tls1"} = "option(tls)" | 723 | elsif ($1 eq "tls") |
2341 | 727 | } | 724 | { |
2342 | 728 | else | 725 | $disabled{"tls1"} = "option(tls)" |
2343 | 729 | { | 726 | } |
2344 | 730 | $disabled{$1} = "option"; | 727 | else |
2345 | 728 | { | ||
2346 | 729 | $disabled{$1} = "option"; | ||
2347 | 730 | } | ||
2348 | 731 | } | 731 | } |
2349 | 732 | } | 732 | } |
2351 | 733 | elsif (/^enable-(.+)$/) | 733 | elsif (/^enable-(.+)$/ || /^experimental-(.+)$/) |
2352 | 734 | { | 734 | { |
2354 | 735 | delete $disabled{$1}; | 735 | my $algo = $1; |
2355 | 736 | if ($disabled{$algo} eq "experimental") | ||
2356 | 737 | { | ||
2357 | 738 | die "You are requesting an experimental feature; please say 'experimental-$algo' if you are sure\n" | ||
2358 | 739 | unless (/^experimental-/); | ||
2359 | 740 | push @experimental, $algo; | ||
2360 | 741 | } | ||
2361 | 742 | delete $disabled{$algo}; | ||
2362 | 736 | 743 | ||
2364 | 737 | $threads = 1 if ($1 eq "threads"); | 744 | $threads = 1 if ($algo eq "threads"); |
2365 | 738 | } | 745 | } |
2366 | 739 | elsif (/^--test-sanity$/) | 746 | elsif (/^--test-sanity$/) |
2367 | 740 | { | 747 | { |
2368 | @@ -765,12 +772,36 @@ | |||
2369 | 765 | } | 772 | } |
2370 | 766 | elsif (/^386$/) | 773 | elsif (/^386$/) |
2371 | 767 | { $processor=386; } | 774 | { $processor=386; } |
2372 | 775 | elsif (/^fips$/) | ||
2373 | 776 | { | ||
2374 | 777 | $fips=1; | ||
2375 | 778 | } | ||
2376 | 768 | elsif (/^rsaref$/) | 779 | elsif (/^rsaref$/) |
2377 | 769 | { | 780 | { |
2378 | 770 | # No RSAref support any more since it's not needed. | 781 | # No RSAref support any more since it's not needed. |
2379 | 771 | # The check for the option is there so scripts aren't | 782 | # The check for the option is there so scripts aren't |
2380 | 772 | # broken | 783 | # broken |
2381 | 773 | } | 784 | } |
2382 | 785 | elsif (/^nofipscanistercheck$/) | ||
2383 | 786 | { | ||
2384 | 787 | $fips = 1; | ||
2385 | 788 | $nofipscanistercheck = 1; | ||
2386 | 789 | } | ||
2387 | 790 | elsif (/^fipscanisterbuild$/) | ||
2388 | 791 | { | ||
2389 | 792 | $fips = 1; | ||
2390 | 793 | $nofipscanistercheck = 1; | ||
2391 | 794 | $fipslibdir=""; | ||
2392 | 795 | $fipscanisterinternal="y"; | ||
2393 | 796 | } | ||
2394 | 797 | elsif (/^fipsdso$/) | ||
2395 | 798 | { | ||
2396 | 799 | $fips = 1; | ||
2397 | 800 | $nofipscanistercheck = 1; | ||
2398 | 801 | $fipslibdir=""; | ||
2399 | 802 | $fipscanisterinternal="y"; | ||
2400 | 803 | $fipsdso = 1; | ||
2401 | 804 | } | ||
2402 | 774 | elsif (/^[-+]/) | 805 | elsif (/^[-+]/) |
2403 | 775 | { | 806 | { |
2404 | 776 | if (/^-[lL](.*)$/) | 807 | if (/^-[lL](.*)$/) |
2405 | @@ -805,6 +836,14 @@ | |||
2406 | 805 | { | 836 | { |
2407 | 806 | $withargs{"zlib-include"}="-I$1"; | 837 | $withargs{"zlib-include"}="-I$1"; |
2408 | 807 | } | 838 | } |
2409 | 839 | elsif (/^--with-fipslibdir=(.*)$/) | ||
2410 | 840 | { | ||
2411 | 841 | $fipslibdir="$1/"; | ||
2412 | 842 | } | ||
2413 | 843 | elsif (/^--with-baseaddr=(.*)$/) | ||
2414 | 844 | { | ||
2415 | 845 | $baseaddr="$1"; | ||
2416 | 846 | } | ||
2417 | 808 | else | 847 | else |
2418 | 809 | { | 848 | { |
2419 | 810 | print STDERR $usage; | 849 | print STDERR $usage; |
2420 | @@ -912,6 +951,54 @@ | |||
2421 | 912 | 951 | ||
2422 | 913 | &usage if (!defined($table{$target})); | 952 | &usage if (!defined($table{$target})); |
2423 | 914 | 953 | ||
2424 | 954 | my @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); | ||
2425 | 955 | my $cc = $fields[$idx_cc]; | ||
2426 | 956 | # Allow environment CC to override compiler... | ||
2427 | 957 | if($ENV{CC}) { | ||
2428 | 958 | $cc = $ENV{CC}; | ||
2429 | 959 | } | ||
2430 | 960 | my $cflags = $fields[$idx_cflags]; | ||
2431 | 961 | my $unistd = $fields[$idx_unistd]; | ||
2432 | 962 | my $thread_cflag = $fields[$idx_thread_cflag]; | ||
2433 | 963 | my $sys_id = $fields[$idx_sys_id]; | ||
2434 | 964 | my $lflags = $fields[$idx_lflags]; | ||
2435 | 965 | my $bn_ops = $fields[$idx_bn_ops]; | ||
2436 | 966 | my $cpuid_obj = $fields[$idx_cpuid_obj]; | ||
2437 | 967 | my $bn_obj = $fields[$idx_bn_obj]; | ||
2438 | 968 | my $des_obj = $fields[$idx_des_obj]; | ||
2439 | 969 | my $aes_obj = $fields[$idx_aes_obj]; | ||
2440 | 970 | my $bf_obj = $fields[$idx_bf_obj]; | ||
2441 | 971 | my $md5_obj = $fields[$idx_md5_obj]; | ||
2442 | 972 | my $sha1_obj = $fields[$idx_sha1_obj]; | ||
2443 | 973 | my $cast_obj = $fields[$idx_cast_obj]; | ||
2444 | 974 | my $rc4_obj = $fields[$idx_rc4_obj]; | ||
2445 | 975 | my $rmd160_obj = $fields[$idx_rmd160_obj]; | ||
2446 | 976 | my $rc5_obj = $fields[$idx_rc5_obj]; | ||
2447 | 977 | my $dso_scheme = $fields[$idx_dso_scheme]; | ||
2448 | 978 | my $shared_target = $fields[$idx_shared_target]; | ||
2449 | 979 | my $shared_cflag = $fields[$idx_shared_cflag]; | ||
2450 | 980 | my $shared_ldflag = $fields[$idx_shared_ldflag]; | ||
2451 | 981 | my $shared_extension = $fields[$idx_shared_extension]; | ||
2452 | 982 | my $ranlib = $fields[$idx_ranlib]; | ||
2453 | 983 | my $arflags = $fields[$idx_arflags]; | ||
2454 | 984 | |||
2455 | 985 | if ($fips) | ||
2456 | 986 | { | ||
2457 | 987 | delete $disabled{"shared"} if ($disabled{"shared"} eq "default"); | ||
2458 | 988 | $disabled{"asm"}="forced" | ||
2459 | 989 | if ($target !~ "VC\-.*" && | ||
2460 | 990 | "$cpuid_obj:$bn_obj:$aes_obj:$des_obj:$sha1_obj" eq "::::"); | ||
2461 | 991 | } | ||
2462 | 992 | |||
2463 | 993 | foreach (sort @experimental) | ||
2464 | 994 | { | ||
2465 | 995 | my $ALGO; | ||
2466 | 996 | ($ALGO = $_) =~ tr/[a-z]/[A-Z]/; | ||
2467 | 997 | |||
2468 | 998 | # opensslconf.h will set OPENSSL_NO_... unless OPENSSL_EXPERIMENTAL_... is defined | ||
2469 | 999 | $openssl_experimental_defines .= "#define OPENSSL_NO_$ALGO\n"; | ||
2470 | 1000 | $cflags .= " -DOPENSSL_EXPERIMENTAL_$ALGO"; | ||
2471 | 1001 | } | ||
2472 | 915 | 1002 | ||
2473 | 916 | foreach (sort (keys %disabled)) | 1003 | foreach (sort (keys %disabled)) |
2474 | 917 | { | 1004 | { |
2475 | @@ -927,6 +1014,8 @@ | |||
2476 | 927 | { $no_shared = 1; } | 1014 | { $no_shared = 1; } |
2477 | 928 | elsif (/^zlib$/) | 1015 | elsif (/^zlib$/) |
2478 | 929 | { $zlib = 0; } | 1016 | { $zlib = 0; } |
2479 | 1017 | elsif (/^montasm$/) | ||
2480 | 1018 | { $montasm = 0; } | ||
2481 | 930 | elsif (/^static-engine$/) | 1019 | elsif (/^static-engine$/) |
2482 | 931 | { } | 1020 | { } |
2483 | 932 | elsif (/^zlib-dynamic$/) | 1021 | elsif (/^zlib-dynamic$/) |
2484 | @@ -960,7 +1049,7 @@ | |||
2485 | 960 | push @skip, $algo; | 1049 | push @skip, $algo; |
2486 | 961 | print " (skip dir)"; | 1050 | print " (skip dir)"; |
2487 | 962 | 1051 | ||
2489 | 963 | $depflags .="-DOPENSSL_NO_$ALGO "; | 1052 | $depflags .= " -DOPENSSL_NO_$ALGO"; |
2490 | 964 | } | 1053 | } |
2491 | 965 | } | 1054 | } |
2492 | 966 | } | 1055 | } |
2493 | @@ -968,14 +1057,26 @@ | |||
2494 | 968 | print "\n"; | 1057 | print "\n"; |
2495 | 969 | } | 1058 | } |
2496 | 970 | 1059 | ||
2497 | 971 | |||
2498 | 972 | my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds; | 1060 | my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds; |
2499 | 973 | 1061 | ||
2500 | 974 | $IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys()); | 1062 | $IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys()); |
2501 | 975 | 1063 | ||
2502 | 1064 | $no_shared = 0 if ($fipsdso && !$IsMK1MF); | ||
2503 | 1065 | |||
2504 | 976 | $exe_ext=".exe" if ($target eq "Cygwin" || $target eq "DJGPP" || $target eq "mingw"); | 1066 | $exe_ext=".exe" if ($target eq "Cygwin" || $target eq "DJGPP" || $target eq "mingw"); |
2505 | 1067 | $exe_ext=".nlm" if ($target =~ /netware/); | ||
2506 | 977 | $exe_ext=".pm" if ($target =~ /vos/); | 1068 | $exe_ext=".pm" if ($target =~ /vos/); |
2508 | 978 | $openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq ""); | 1069 | if ($openssldir eq "" and $prefix eq "") |
2509 | 1070 | { | ||
2510 | 1071 | if ($fips) | ||
2511 | 1072 | { | ||
2512 | 1073 | $openssldir="/usr/local/ssl/fips"; | ||
2513 | 1074 | } | ||
2514 | 1075 | else | ||
2515 | 1076 | { | ||
2516 | 1077 | $openssldir="/usr/local/ssl"; | ||
2517 | 1078 | } | ||
2518 | 1079 | } | ||
2519 | 979 | $prefix=$openssldir if $prefix eq ""; | 1080 | $prefix=$openssldir if $prefix eq ""; |
2520 | 980 | 1081 | ||
2521 | 981 | $default_ranlib= &which("ranlib") or $default_ranlib="true"; | 1082 | $default_ranlib= &which("ranlib") or $default_ranlib="true"; |
2522 | @@ -983,7 +1084,7 @@ | |||
2523 | 983 | or $perl="perl"; | 1084 | or $perl="perl"; |
2524 | 984 | 1085 | ||
2525 | 985 | chop $openssldir if $openssldir =~ /\/$/; | 1086 | chop $openssldir if $openssldir =~ /\/$/; |
2527 | 986 | chop $prefix if $prefix =~ /\/$/; | 1087 | chop $prefix if $prefix =~ /.\/$/; |
2528 | 987 | 1088 | ||
2529 | 988 | $openssldir=$prefix . "/ssl" if $openssldir eq ""; | 1089 | $openssldir=$prefix . "/ssl" if $openssldir eq ""; |
2530 | 989 | $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/; | 1090 | $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/; |
2531 | @@ -991,33 +1092,6 @@ | |||
2532 | 991 | 1092 | ||
2533 | 992 | print "IsMK1MF=$IsMK1MF\n"; | 1093 | print "IsMK1MF=$IsMK1MF\n"; |
2534 | 993 | 1094 | ||
2535 | 994 | my @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); | ||
2536 | 995 | my $cc = $fields[$idx_cc]; | ||
2537 | 996 | my $cflags = $fields[$idx_cflags]; | ||
2538 | 997 | my $unistd = $fields[$idx_unistd]; | ||
2539 | 998 | my $thread_cflag = $fields[$idx_thread_cflag]; | ||
2540 | 999 | my $sys_id = $fields[$idx_sys_id]; | ||
2541 | 1000 | my $lflags = $fields[$idx_lflags]; | ||
2542 | 1001 | my $bn_ops = $fields[$idx_bn_ops]; | ||
2543 | 1002 | my $cpuid_obj = $fields[$idx_cpuid_obj]; | ||
2544 | 1003 | my $bn_obj = $fields[$idx_bn_obj]; | ||
2545 | 1004 | my $des_obj = $fields[$idx_des_obj]; | ||
2546 | 1005 | my $aes_obj = $fields[$idx_aes_obj]; | ||
2547 | 1006 | my $bf_obj = $fields[$idx_bf_obj]; | ||
2548 | 1007 | my $md5_obj = $fields[$idx_md5_obj]; | ||
2549 | 1008 | my $sha1_obj = $fields[$idx_sha1_obj]; | ||
2550 | 1009 | my $cast_obj = $fields[$idx_cast_obj]; | ||
2551 | 1010 | my $rc4_obj = $fields[$idx_rc4_obj]; | ||
2552 | 1011 | my $rmd160_obj = $fields[$idx_rmd160_obj]; | ||
2553 | 1012 | my $rc5_obj = $fields[$idx_rc5_obj]; | ||
2554 | 1013 | my $dso_scheme = $fields[$idx_dso_scheme]; | ||
2555 | 1014 | my $shared_target = $fields[$idx_shared_target]; | ||
2556 | 1015 | my $shared_cflag = $fields[$idx_shared_cflag]; | ||
2557 | 1016 | my $shared_ldflag = $fields[$idx_shared_ldflag]; | ||
2558 | 1017 | my $shared_extension = $fields[$idx_shared_extension]; | ||
2559 | 1018 | my $ranlib = $fields[$idx_ranlib]; | ||
2560 | 1019 | my $arflags = $fields[$idx_arflags]; | ||
2561 | 1020 | |||
2562 | 1021 | # '%' in $lflags is used to split flags to "pre-" and post-flags | 1095 | # '%' in $lflags is used to split flags to "pre-" and post-flags |
2563 | 1022 | my ($prelflags,$postlflags)=split('%',$lflags); | 1096 | my ($prelflags,$postlflags)=split('%',$lflags); |
2564 | 1023 | if (defined($postlflags)) { $lflags=$postlflags; } | 1097 | if (defined($postlflags)) { $lflags=$postlflags; } |
2565 | @@ -1151,6 +1225,16 @@ | |||
2566 | 1151 | { | 1225 | { |
2567 | 1152 | $cpuid_obj=$bn_obj=$des_obj=$aes_obj=$bf_obj=$cast_obj=$rc4_obj=$rc5_obj=""; | 1226 | $cpuid_obj=$bn_obj=$des_obj=$aes_obj=$bf_obj=$cast_obj=$rc4_obj=$rc5_obj=""; |
2568 | 1153 | $sha1_obj=$md5_obj=$rmd160_obj=""; | 1227 | $sha1_obj=$md5_obj=$rmd160_obj=""; |
2569 | 1228 | $cflags=~s/\-D[BL]_ENDIAN// if ($fips); | ||
2570 | 1229 | $thread_cflags=~s/\-D[BL]_ENDIAN// if ($fips); | ||
2571 | 1230 | } | ||
2572 | 1231 | if ($montasm) | ||
2573 | 1232 | { | ||
2574 | 1233 | $bn_obj =~ s/MAYBE-MO86-/mo86-/; | ||
2575 | 1234 | } | ||
2576 | 1235 | else | ||
2577 | 1236 | { | ||
2578 | 1237 | $bn_obj =~ s/MAYBE-MO86-[a-z.]*//; | ||
2579 | 1154 | } | 1238 | } |
2580 | 1155 | 1239 | ||
2581 | 1156 | if (!$no_shared) | 1240 | if (!$no_shared) |
2582 | @@ -1181,7 +1265,7 @@ | |||
2583 | 1181 | my $shared_mark = ""; | 1265 | my $shared_mark = ""; |
2584 | 1182 | if ($shared_target eq "") | 1266 | if ($shared_target eq "") |
2585 | 1183 | { | 1267 | { |
2587 | 1184 | $no_shared_warn = 1 if !$no_shared; | 1268 | $no_shared_warn = 1 if !$no_shared && !$fips; |
2588 | 1185 | $no_shared = 1; | 1269 | $no_shared = 1; |
2589 | 1186 | } | 1270 | } |
2590 | 1187 | if (!$no_shared) | 1271 | if (!$no_shared) |
2591 | @@ -1271,6 +1355,13 @@ | |||
2592 | 1271 | $cflags.=" -DOPENSSL_BN_ASM_PART_WORDS" if ($bn_obj =~ /bn86/); | 1355 | $cflags.=" -DOPENSSL_BN_ASM_PART_WORDS" if ($bn_obj =~ /bn86/); |
2593 | 1272 | $cflags.=" -DOPENSSL_IA32_SSE2" if (!$no_sse2 && $bn_obj =~ /bn86/); | 1356 | $cflags.=" -DOPENSSL_IA32_SSE2" if (!$no_sse2 && $bn_obj =~ /bn86/); |
2594 | 1273 | 1357 | ||
2595 | 1358 | $cflags.=" -DOPENSSL_BN_ASM_MONT" if ($bn_obj =~ /\-mont|mo86\-/); | ||
2596 | 1359 | |||
2597 | 1360 | if ($fips) | ||
2598 | 1361 | { | ||
2599 | 1362 | $openssl_other_defines.="#define OPENSSL_FIPS\n"; | ||
2600 | 1363 | } | ||
2601 | 1364 | |||
2602 | 1274 | $des_obj=$des_enc unless ($des_obj =~ /\.o$/); | 1365 | $des_obj=$des_enc unless ($des_obj =~ /\.o$/); |
2603 | 1275 | $bf_obj=$bf_enc unless ($bf_obj =~ /\.o$/); | 1366 | $bf_obj=$bf_enc unless ($bf_obj =~ /\.o$/); |
2604 | 1276 | $cast_obj=$cast_enc unless ($cast_obj =~ /\.o$/); | 1367 | $cast_obj=$cast_enc unless ($cast_obj =~ /\.o$/); |
2605 | @@ -1343,8 +1434,6 @@ | |||
2606 | 1343 | $shlib_minor=$2; | 1434 | $shlib_minor=$2; |
2607 | 1344 | } | 1435 | } |
2608 | 1345 | 1436 | ||
2609 | 1346 | $shared_ldflag .= " -Wl,--version-script=openssl.ld"; | ||
2610 | 1347 | |||
2611 | 1348 | open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n"; | 1437 | open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n"; |
2612 | 1349 | unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new"; | 1438 | unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new"; |
2613 | 1350 | open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n"; | 1439 | open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n"; |
2614 | @@ -1357,10 +1446,13 @@ | |||
2615 | 1357 | if ($sdirs) { | 1446 | if ($sdirs) { |
2616 | 1358 | my $dir; | 1447 | my $dir; |
2617 | 1359 | foreach $dir (@skip) { | 1448 | foreach $dir (@skip) { |
2619 | 1360 | s/([ ])$dir /\1/; | 1449 | s/(\s)$dir\s/$1/; |
2620 | 1450 | s/\s$dir$//; | ||
2621 | 1361 | } | 1451 | } |
2622 | 1362 | } | 1452 | } |
2623 | 1363 | $sdirs = 0 unless /\\$/; | 1453 | $sdirs = 0 unless /\\$/; |
2624 | 1454 | s/fips // if (/^DIRS=/ && !$fips); | ||
2625 | 1455 | s/engines // if (/^DIRS=/ && $disabled{"engine"}); | ||
2626 | 1364 | s/^VERSION=.*/VERSION=$version/; | 1456 | s/^VERSION=.*/VERSION=$version/; |
2627 | 1365 | s/^MAJOR=.*/MAJOR=$major/; | 1457 | s/^MAJOR=.*/MAJOR=$major/; |
2628 | 1366 | s/^MINOR=.*/MINOR=$minor/; | 1458 | s/^MINOR=.*/MINOR=$minor/; |
2629 | @@ -1378,7 +1470,7 @@ | |||
2630 | 1378 | s/^CC=.*$/CC= $cc/; | 1470 | s/^CC=.*$/CC= $cc/; |
2631 | 1379 | s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc"; | 1471 | s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc"; |
2632 | 1380 | s/^CFLAG=.*$/CFLAG= $cflags/; | 1472 | s/^CFLAG=.*$/CFLAG= $cflags/; |
2634 | 1381 | s/^DEPFLAG=.*$/DEPFLAG= $depflags/; | 1473 | s/^DEPFLAG=.*$/DEPFLAG=$depflags/; |
2635 | 1382 | s/^PEX_LIBS=.*$/PEX_LIBS= $prelflags/; | 1474 | s/^PEX_LIBS=.*$/PEX_LIBS= $prelflags/; |
2636 | 1383 | s/^EX_LIBS=.*$/EX_LIBS= $lflags/; | 1475 | s/^EX_LIBS=.*$/EX_LIBS= $lflags/; |
2637 | 1384 | s/^EXE_EXT=.*$/EXE_EXT= $exe_ext/; | 1476 | s/^EXE_EXT=.*$/EXE_EXT= $exe_ext/; |
2638 | @@ -1401,9 +1493,24 @@ | |||
2639 | 1401 | s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/; | 1493 | s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/; |
2640 | 1402 | s/^LIBZLIB=.*/LIBZLIB=$withargs{"zlib-lib"}/; | 1494 | s/^LIBZLIB=.*/LIBZLIB=$withargs{"zlib-lib"}/; |
2641 | 1403 | s/^ZLIB_INCLUDE=.*/ZLIB_INCLUDE=$withargs{"zlib-include"}/; | 1495 | s/^ZLIB_INCLUDE=.*/ZLIB_INCLUDE=$withargs{"zlib-include"}/; |
2642 | 1496 | s/^FIPSLIBDIR=.*/FIPSLIBDIR=$fipslibdir/; | ||
2643 | 1497 | if ($fipsdso) | ||
2644 | 1498 | { | ||
2645 | 1499 | s/^FIPSCANLIB=.*/FIPSCANLIB=libfips/; | ||
2646 | 1500 | s/^SHARED_FIPS=.*/SHARED_FIPS=libfips\$(SHLIB_EXT)/; | ||
2647 | 1501 | s/^SHLIBDIRS=.*/SHLIBDIRS= crypto ssl fips/; | ||
2648 | 1502 | } | ||
2649 | 1503 | else | ||
2650 | 1504 | { | ||
2651 | 1505 | s/^FIPSCANLIB=.*/FIPSCANLIB=libcrypto/ if $fips; | ||
2652 | 1506 | s/^SHARED_FIPS=.*/SHARED_FIPS=/; | ||
2653 | 1507 | s/^SHLIBDIRS=.*/SHLIBDIRS= crypto ssl/; | ||
2654 | 1508 | } | ||
2655 | 1509 | s/^FIPSCANISTERINTERNAL=.*/FIPSCANISTERINTERNAL=$fipscanisterinternal/; | ||
2656 | 1510 | s/^BASEADDR=.*/BASEADDR=$baseaddr/; | ||
2657 | 1404 | s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/; | 1511 | s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/; |
2658 | 1405 | s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/; | 1512 | s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/; |
2660 | 1406 | s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared); | 1513 | s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_FIPS) \$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared); |
2661 | 1407 | if ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*$/) | 1514 | if ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*$/) |
2662 | 1408 | { | 1515 | { |
2663 | 1409 | my $sotmp = $1; | 1516 | my $sotmp = $1; |
2664 | @@ -1416,8 +1523,7 @@ | |||
2665 | 1416 | elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/) | 1523 | elsif ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*\.[^\.]*$/) |
2666 | 1417 | { | 1524 | { |
2667 | 1418 | my $sotmp = $1; | 1525 | my $sotmp = $1; |
2670 | 1419 | # s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/; | 1526 | s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp.\$(SHLIB_MAJOR) .s$sotmp/; |
2669 | 1420 | s/^SHARED_LIBS_LINK_EXTS=.*/SHARED_LIBS_LINK_EXTS=.s$sotmp/; | ||
2671 | 1421 | } | 1527 | } |
2672 | 1422 | elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/) | 1528 | elsif ($shared_extension ne "" && $shared_extension =~ /^\.[^\.]*\.[^\.]*\.dylib$/) |
2673 | 1423 | { | 1529 | { |
2674 | @@ -1508,6 +1614,7 @@ | |||
2675 | 1508 | 1614 | ||
2676 | 1509 | print OUT "/* OpenSSL was configured with the following options: */\n"; | 1615 | print OUT "/* OpenSSL was configured with the following options: */\n"; |
2677 | 1510 | my $openssl_algorithm_defines_trans = $openssl_algorithm_defines; | 1616 | my $openssl_algorithm_defines_trans = $openssl_algorithm_defines; |
2678 | 1617 | $openssl_experimental_defines =~ s/^\s*#\s*define\s+OPENSSL_NO_(.*)/#ifndef OPENSSL_EXPERIMENTAL_$1\n# ifndef OPENSSL_NO_$1\n# define OPENSSL_NO_$1\n# endif\n#endif/mg; | ||
2679 | 1511 | $openssl_algorithm_defines_trans =~ s/^\s*#\s*define\s+OPENSSL_(.*)/# if defined(OPENSSL_$1) \&\& !defined($1)\n# define $1\n# endif/mg; | 1618 | $openssl_algorithm_defines_trans =~ s/^\s*#\s*define\s+OPENSSL_(.*)/# if defined(OPENSSL_$1) \&\& !defined($1)\n# define $1\n# endif/mg; |
2680 | 1512 | $openssl_algorithm_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg; | 1619 | $openssl_algorithm_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg; |
2681 | 1513 | $openssl_algorithm_defines = " /* no ciphers excluded */\n" if $openssl_algorithm_defines eq ""; | 1620 | $openssl_algorithm_defines = " /* no ciphers excluded */\n" if $openssl_algorithm_defines eq ""; |
2682 | @@ -1516,8 +1623,10 @@ | |||
2683 | 1516 | $openssl_other_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg; | 1623 | $openssl_other_defines =~ s/^\s*#\s*define\s+(.*)/#ifndef $1\n# define $1\n#endif/mg; |
2684 | 1517 | print OUT $openssl_sys_defines; | 1624 | print OUT $openssl_sys_defines; |
2685 | 1518 | print OUT "#ifndef OPENSSL_DOING_MAKEDEPEND\n\n"; | 1625 | print OUT "#ifndef OPENSSL_DOING_MAKEDEPEND\n\n"; |
2686 | 1626 | print OUT $openssl_experimental_defines; | ||
2687 | 1627 | print OUT "\n"; | ||
2688 | 1519 | print OUT $openssl_algorithm_defines; | 1628 | print OUT $openssl_algorithm_defines; |
2690 | 1520 | print OUT "\n#endif /* OPENSSL_DOING_MAKEDEPEND */\n"; | 1629 | print OUT "\n#endif /* OPENSSL_DOING_MAKEDEPEND */\n\n"; |
2691 | 1521 | print OUT $openssl_thread_defines; | 1630 | print OUT $openssl_thread_defines; |
2692 | 1522 | print OUT $openssl_other_defines,"\n"; | 1631 | print OUT $openssl_other_defines,"\n"; |
2693 | 1523 | 1632 | ||
2694 | @@ -1536,7 +1645,7 @@ | |||
2695 | 1536 | if (/^#define\s+OPENSSLDIR/) | 1645 | if (/^#define\s+OPENSSLDIR/) |
2696 | 1537 | { print OUT "#define OPENSSLDIR \"$openssldir\"\n"; } | 1646 | { print OUT "#define OPENSSLDIR \"$openssldir\"\n"; } |
2697 | 1538 | elsif (/^#define\s+ENGINESDIR/) | 1647 | elsif (/^#define\s+ENGINESDIR/) |
2699 | 1539 | { print OUT "#define ENGINESDIR \"$prefix/lib/ssl/engines\"\n"; } | 1648 | { print OUT "#define ENGINESDIR \"$prefix/lib/engines\"\n"; } |
2700 | 1540 | elsif (/^#((define)|(undef))\s+OPENSSL_EXPORT_VAR_AS_FUNCTION/) | 1649 | elsif (/^#((define)|(undef))\s+OPENSSL_EXPORT_VAR_AS_FUNCTION/) |
2701 | 1541 | { printf OUT "#undef OPENSSL_EXPORT_VAR_AS_FUNCTION\n" | 1650 | { printf OUT "#undef OPENSSL_EXPORT_VAR_AS_FUNCTION\n" |
2702 | 1542 | if $export_var_as_fn; | 1651 | if $export_var_as_fn; |
2703 | @@ -1668,7 +1777,7 @@ | |||
2704 | 1668 | } | 1777 | } |
2705 | 1669 | 1778 | ||
2706 | 1670 | # create the ms/version32.rc file if needed | 1779 | # create the ms/version32.rc file if needed |
2708 | 1671 | if ($IsMK1MF) { | 1780 | if ($IsMK1MF && ($target !~ /^netware/)) { |
2709 | 1672 | my ($v1, $v2, $v3, $v4); | 1781 | my ($v1, $v2, $v3, $v4); |
2710 | 1673 | if ($version_num =~ /(^[0-9a-f]{1})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i) { | 1782 | if ($version_num =~ /(^[0-9a-f]{1})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})/i) { |
2711 | 1674 | $v1=hex $1; | 1783 | $v1=hex $1; |
2712 | @@ -1699,9 +1808,16 @@ | |||
2713 | 1699 | BEGIN | 1808 | BEGIN |
2714 | 1700 | BLOCK "040904b0" | 1809 | BLOCK "040904b0" |
2715 | 1701 | BEGIN | 1810 | BEGIN |
2716 | 1811 | #if defined(FIPS) | ||
2717 | 1812 | VALUE "Comments", "WARNING: TEST VERSION ONLY ***NOT*** FIPS 140-2 VALIDATED.\\0" | ||
2718 | 1813 | #endif | ||
2719 | 1702 | // Required: | 1814 | // Required: |
2720 | 1703 | VALUE "CompanyName", "The OpenSSL Project, http://www.openssl.org/\\0" | 1815 | VALUE "CompanyName", "The OpenSSL Project, http://www.openssl.org/\\0" |
2721 | 1816 | #if defined(FIPS) | ||
2722 | 1817 | VALUE "FileDescription", "TEST UNVALIDATED FIPS140-2 DLL\\0" | ||
2723 | 1818 | #else | ||
2724 | 1704 | VALUE "FileDescription", "OpenSSL Shared Library\\0" | 1819 | VALUE "FileDescription", "OpenSSL Shared Library\\0" |
2725 | 1820 | #endif | ||
2726 | 1705 | VALUE "FileVersion", "$version\\0" | 1821 | VALUE "FileVersion", "$version\\0" |
2727 | 1706 | #if defined(CRYPTO) | 1822 | #if defined(CRYPTO) |
2728 | 1707 | VALUE "InternalName", "libeay32\\0" | 1823 | VALUE "InternalName", "libeay32\\0" |
2729 | @@ -1709,12 +1825,15 @@ | |||
2730 | 1709 | #elif defined(SSL) | 1825 | #elif defined(SSL) |
2731 | 1710 | VALUE "InternalName", "ssleay32\\0" | 1826 | VALUE "InternalName", "ssleay32\\0" |
2732 | 1711 | VALUE "OriginalFilename", "ssleay32.dll\\0" | 1827 | VALUE "OriginalFilename", "ssleay32.dll\\0" |
2733 | 1828 | #elif defined(FIPS) | ||
2734 | 1829 | VALUE "InternalName", "libosslfips\\0" | ||
2735 | 1830 | VALUE "OriginalFilename", "libosslfips.dll\\0" | ||
2736 | 1712 | #endif | 1831 | #endif |
2737 | 1713 | VALUE "ProductName", "The OpenSSL Toolkit\\0" | 1832 | VALUE "ProductName", "The OpenSSL Toolkit\\0" |
2738 | 1714 | VALUE "ProductVersion", "$version\\0" | 1833 | VALUE "ProductVersion", "$version\\0" |
2739 | 1715 | // Optional: | 1834 | // Optional: |
2740 | 1716 | //VALUE "Comments", "\\0" | 1835 | //VALUE "Comments", "\\0" |
2742 | 1717 | VALUE "LegalCopyright", "Copyright © 1998-2005 The OpenSSL Project. Copyright © 1995-1998 Eric A. Young, Tim J. Hudson. All rights reserved.\\0" | 1836 | VALUE "LegalCopyright", "Copyright © 1998-2007 The OpenSSL Project. Copyright © 1995-1998 Eric A. Young, Tim J. Hudson. All rights reserved.\\0" |
2743 | 1718 | //VALUE "LegalTrademarks", "\\0" | 1837 | //VALUE "LegalTrademarks", "\\0" |
2744 | 1719 | //VALUE "PrivateBuild", "\\0" | 1838 | //VALUE "PrivateBuild", "\\0" |
2745 | 1720 | //VALUE "SpecialBuild", "\\0" | 1839 | //VALUE "SpecialBuild", "\\0" |
2746 | @@ -1751,6 +1870,21 @@ | |||
2747 | 1751 | (but please first make sure you have tried with a current version of OpenSSL). | 1870 | (but please first make sure you have tried with a current version of OpenSSL). |
2748 | 1752 | EOF | 1871 | EOF |
2749 | 1753 | 1872 | ||
2750 | 1873 | print <<\EOF if ($fipscanisterinternal eq "y"); | ||
2751 | 1874 | |||
2752 | 1875 | WARNING: OpenSSL has been configured using unsupported option(s) to internally | ||
2753 | 1876 | generate a fipscanister.o object module for TESTING PURPOSES ONLY; that | ||
2754 | 1877 | compiled module is NOT FIPS 140-2 validated and CANNOT be used to replace the | ||
2755 | 1878 | OpenSSL FIPS Object Module as identified by the CMVP | ||
2756 | 1879 | (http://csrc.nist.gov/cryptval/) in any application requiring the use of FIPS | ||
2757 | 1880 | 140-2 validated software. | ||
2758 | 1881 | |||
2759 | 1882 | This is an OpenSSL 0.9.8 test version. | ||
2760 | 1883 | |||
2761 | 1884 | See the file README.FIPS for details of how to build a test library. | ||
2762 | 1885 | |||
2763 | 1886 | EOF | ||
2764 | 1887 | |||
2765 | 1754 | exit(0); | 1888 | exit(0); |
2766 | 1755 | 1889 | ||
2767 | 1756 | sub usage | 1890 | sub usage |
2768 | 1757 | 1891 | ||
2769 | === modified file 'FAQ' | |||
2770 | --- FAQ 2007-12-05 00:13:39 +0000 | |||
2771 | +++ FAQ 2009-12-07 19:46:11 +0000 | |||
2772 | @@ -32,6 +32,8 @@ | |||
2773 | 32 | * How do I install a CA certificate into a browser? | 32 | * How do I install a CA certificate into a browser? |
2774 | 33 | * Why is OpenSSL x509 DN output not conformant to RFC2253? | 33 | * Why is OpenSSL x509 DN output not conformant to RFC2253? |
2775 | 34 | * What is a "128 bit certificate"? Can I create one with OpenSSL? | 34 | * What is a "128 bit certificate"? Can I create one with OpenSSL? |
2776 | 35 | * Why does OpenSSL set the authority key identifier extension incorrectly? | ||
2777 | 36 | * How can I set up a bundle of commercial root CA certificates? | ||
2778 | 35 | 37 | ||
2779 | 36 | [BUILD] Questions about building and testing OpenSSL | 38 | [BUILD] Questions about building and testing OpenSSL |
2780 | 37 | 39 | ||
2781 | @@ -67,6 +69,7 @@ | |||
2782 | 67 | * Why does compilation fail due to an undefined symbol NID_uniqueIdentifier? | 69 | * Why does compilation fail due to an undefined symbol NID_uniqueIdentifier? |
2783 | 68 | * I think I've detected a memory leak, is this a bug? | 70 | * I think I've detected a memory leak, is this a bug? |
2784 | 69 | * Why does Valgrind complain about the use of uninitialized data? | 71 | * Why does Valgrind complain about the use of uninitialized data? |
2785 | 72 | * Why doesn't a memory BIO work when a file does? | ||
2786 | 70 | 73 | ||
2787 | 71 | =============================================================================== | 74 | =============================================================================== |
2788 | 72 | 75 | ||
2789 | @@ -75,7 +78,7 @@ | |||
2790 | 75 | * Which is the current version of OpenSSL? | 78 | * Which is the current version of OpenSSL? |
2791 | 76 | 79 | ||
2792 | 77 | The current version is available from <URL: http://www.openssl.org>. | 80 | The current version is available from <URL: http://www.openssl.org>. |
2794 | 78 | OpenSSL 0.9.8g was released on October 19th, 2007. | 81 | OpenSSL 0.9.8k was released on Mar 25th, 2009. |
2795 | 79 | 82 | ||
2796 | 80 | In addition to the current stable release, you can also access daily | 83 | In addition to the current stable release, you can also access daily |
2797 | 81 | snapshots of the OpenSSL development version at <URL: | 84 | snapshots of the OpenSSL development version at <URL: |
2798 | @@ -402,10 +405,10 @@ | |||
2799 | 402 | need to any more. Nowadays web browsers using unrestricted strong encryption | 405 | need to any more. Nowadays web browsers using unrestricted strong encryption |
2800 | 403 | are generally available. | 406 | are generally available. |
2801 | 404 | 407 | ||
2803 | 405 | When there were tight export restrictions on the export of strong encryption | 408 | When there were tight restrictions on the export of strong encryption |
2804 | 406 | software from the US only weak encryption algorithms could be freely exported | 409 | software from the US only weak encryption algorithms could be freely exported |
2805 | 407 | (initially 40 bit and then 56 bit). It was widely recognised that this was | 410 | (initially 40 bit and then 56 bit). It was widely recognised that this was |
2807 | 408 | inadequate. A relaxation the rules allowed the use of strong encryption but | 411 | inadequate. A relaxation of the rules allowed the use of strong encryption but |
2808 | 409 | only to an authorised server. | 412 | only to an authorised server. |
2809 | 410 | 413 | ||
2810 | 411 | Two slighly different techniques were developed to support this, one used by | 414 | Two slighly different techniques were developed to support this, one used by |
2811 | @@ -426,6 +429,39 @@ | |||
2812 | 426 | encryption so these certificates are now obsolete. | 429 | encryption so these certificates are now obsolete. |
2813 | 427 | 430 | ||
2814 | 428 | 431 | ||
2815 | 432 | * Why does OpenSSL set the authority key identifier (AKID) extension incorrectly? | ||
2816 | 433 | |||
2817 | 434 | It doesn't: this extension is often the cause of confusion. | ||
2818 | 435 | |||
2819 | 436 | Consider a certificate chain A->B->C so that A signs B and B signs C. Suppose | ||
2820 | 437 | certificate C contains AKID. | ||
2821 | 438 | |||
2822 | 439 | The purpose of this extension is to identify the authority certificate B. This | ||
2823 | 440 | can be done either by including the subject key identifier of B or its issuer | ||
2824 | 441 | name and serial number. | ||
2825 | 442 | |||
2826 | 443 | In this latter case because it is identifying certifcate B it must contain the | ||
2827 | 444 | issuer name and serial number of B. | ||
2828 | 445 | |||
2829 | 446 | It is often wrongly assumed that it should contain the subject name of B. If it | ||
2830 | 447 | did this would be redundant information because it would duplicate the issuer | ||
2831 | 448 | name of C. | ||
2832 | 449 | |||
2833 | 450 | |||
2834 | 451 | * How can I set up a bundle of commercial root CA certificates? | ||
2835 | 452 | |||
2836 | 453 | The OpenSSL software is shipped without any root CA certificate as the | ||
2837 | 454 | OpenSSL project does not have any policy on including or excluding | ||
2838 | 455 | any specific CA and does not intend to set up such a policy. Deciding | ||
2839 | 456 | about which CAs to support is up to application developers or | ||
2840 | 457 | administrators. | ||
2841 | 458 | |||
2842 | 459 | Other projects do have other policies so you can for example extract the CA | ||
2843 | 460 | bundle used by Mozilla and/or modssl as described in this article: | ||
2844 | 461 | |||
2845 | 462 | http://www.mail-archive.com/modssl-users@modssl.org/msg16980.html | ||
2846 | 463 | |||
2847 | 464 | |||
2848 | 429 | [BUILD] ======================================================================= | 465 | [BUILD] ======================================================================= |
2849 | 430 | 466 | ||
2850 | 431 | * Why does the linker complain about undefined symbols? | 467 | * Why does the linker complain about undefined symbols? |
2851 | @@ -823,11 +859,11 @@ | |||
2852 | 823 | 859 | ||
2853 | 824 | * Why do I get errors about unknown algorithms? | 860 | * Why do I get errors about unknown algorithms? |
2854 | 825 | 861 | ||
2860 | 826 | This can happen under several circumstances such as reading in an | 862 | The cause is forgetting to load OpenSSL's table of algorithms with |
2861 | 827 | encrypted private key or attempting to decrypt a PKCS#12 file. The cause | 863 | OpenSSL_add_all_algorithms(). See the manual page for more information. This |
2862 | 828 | is forgetting to load OpenSSL's table of algorithms with | 864 | can cause several problems such as being unable to read in an encrypted |
2863 | 829 | OpenSSL_add_all_algorithms(). See the manual page for more information. | 865 | PEM file, unable to decrypt a PKCS#12 file or signature failure when |
2864 | 830 | 866 | verifying certificates. | |
2865 | 831 | 867 | ||
2866 | 832 | * Why can't the OpenSSH configure script detect OpenSSL? | 868 | * Why can't the OpenSSH configure script detect OpenSSL? |
2867 | 833 | 869 | ||
2868 | @@ -905,5 +941,25 @@ | |||
2869 | 905 | to get rid of these warnings. | 941 | to get rid of these warnings. |
2870 | 906 | 942 | ||
2871 | 907 | 943 | ||
2872 | 944 | * Why doesn't a memory BIO work when a file does? | ||
2873 | 945 | |||
2874 | 946 | This can occur in several cases for example reading an S/MIME email message. | ||
2875 | 947 | The reason is that a memory BIO can do one of two things when all the data | ||
2876 | 948 | has been read from it. | ||
2877 | 949 | |||
2878 | 950 | The default behaviour is to indicate that no more data is available and that | ||
2879 | 951 | the call should be retried, this is to allow the application to fill up the BIO | ||
2880 | 952 | again if necessary. | ||
2881 | 953 | |||
2882 | 954 | Alternatively it can indicate that no more data is available and that EOF has | ||
2883 | 955 | been reached. | ||
2884 | 956 | |||
2885 | 957 | If a memory BIO is to behave in the same way as a file this second behaviour | ||
2886 | 958 | is needed. This must be done by calling: | ||
2887 | 959 | |||
2888 | 960 | BIO_set_mem_eof_return(bio, 0); | ||
2889 | 961 | |||
2890 | 962 | See the manual pages for more details. | ||
2891 | 963 | |||
2892 | 964 | |||
2893 | 908 | =============================================================================== | 965 | =============================================================================== |
2894 | 909 | |||
2895 | 910 | 966 | ||
2896 | === modified file 'INSTALL' | |||
2897 | --- INSTALL 2007-03-10 17:11:46 +0000 | |||
2898 | +++ INSTALL 2009-12-07 19:46:11 +0000 | |||
2899 | @@ -158,7 +158,7 @@ | |||
2900 | 158 | standard headers). If it is a problem with OpenSSL itself, please | 158 | standard headers). If it is a problem with OpenSSL itself, please |
2901 | 159 | report the problem to <openssl-bugs@openssl.org> (note that your | 159 | report the problem to <openssl-bugs@openssl.org> (note that your |
2902 | 160 | message will be recorded in the request tracker publicly readable | 160 | message will be recorded in the request tracker publicly readable |
2904 | 161 | via http://www.openssl.org/support/rt2.html and will be forwarded to a | 161 | via http://www.openssl.org/support/rt.html and will be forwarded to a |
2905 | 162 | public mailing list). Include the output of "make report" in your message. | 162 | public mailing list). Include the output of "make report" in your message. |
2906 | 163 | Please check out the request tracker. Maybe the bug was already | 163 | Please check out the request tracker. Maybe the bug was already |
2907 | 164 | reported or has already been fixed. | 164 | reported or has already been fixed. |
2908 | @@ -180,7 +180,7 @@ | |||
2909 | 180 | in Makefile.ssl and run "make clean; make". Please send a bug | 180 | in Makefile.ssl and run "make clean; make". Please send a bug |
2910 | 181 | report to <openssl-bugs@openssl.org>, including the output of | 181 | report to <openssl-bugs@openssl.org>, including the output of |
2911 | 182 | "make report" in order to be added to the request tracker at | 182 | "make report" in order to be added to the request tracker at |
2913 | 183 | http://www.openssl.org/support/rt2.html. | 183 | http://www.openssl.org/support/rt.html. |
2914 | 184 | 184 | ||
2915 | 185 | 4. If everything tests ok, install OpenSSL with | 185 | 4. If everything tests ok, install OpenSSL with |
2916 | 186 | 186 | ||
2917 | 187 | 187 | ||
2918 | === modified file 'INSTALL.NW' | |||
2919 | --- INSTALL.NW 2005-12-13 21:37:42 +0000 | |||
2920 | +++ INSTALL.NW 2009-12-07 19:46:11 +0000 | |||
2921 | @@ -8,58 +8,62 @@ | |||
2922 | 8 | BUILD PLATFORM: | 8 | BUILD PLATFORM: |
2923 | 9 | --------------- | 9 | --------------- |
2924 | 10 | The build scripts (batch files, perl scripts, etc) have been developed and | 10 | The build scripts (batch files, perl scripts, etc) have been developed and |
2928 | 11 | tested on W2K. The scripts should run fine on other Windows | 11 | tested on W2K. The scripts should run fine on other Windows platforms |
2929 | 12 | platforms (NT, Win9x, WinXP) but they haven't been tested. They may require | 12 | (NT, Win9x, WinXP) but they have not been tested. They may require some |
2930 | 13 | some modifications. | 13 | modifications. |
2931 | 14 | 14 | ||
2932 | 15 | 15 | ||
2933 | 16 | Supported NetWare Platforms - NetWare 5.x, NetWare 6.x: | 16 | Supported NetWare Platforms - NetWare 5.x, NetWare 6.x: |
2937 | 17 | ------------------------------------------ | 17 | ------------------------------------------------------- |
2938 | 18 | OpenSSL uses the WinSock interfaces introduced in NetWare 5. Therefore, | 18 | OpenSSL can either use the WinSock interfaces introduced in NetWare 5, |
2939 | 19 | previous versions of NetWare, 4.x and 3.x, are not supported. | 19 | or the BSD socket interface. Previous versions of NetWare, 4.x and 3.x, |
2940 | 20 | are only supported if OpenSSL is build for CLIB and BSD sockets; | ||
2941 | 21 | WinSock builds only support NetWare 5 and up. | ||
2942 | 20 | 22 | ||
2943 | 21 | On NetWare there are two c-runtime libraries. There is the legacy CLIB | 23 | On NetWare there are two c-runtime libraries. There is the legacy CLIB |
2946 | 22 | interfaces and the newer LibC interfaces. Being ANSI-C libraries, the | 24 | interfaces and the newer LIBC interfaces. Being ANSI-C libraries, the |
2947 | 23 | functionality in CLIB and LibC is similar but the LibC interfaces are built | 25 | functionality in CLIB and LIBC is similar but the LIBC interfaces are built |
2948 | 24 | using Novell Kernal Services (NKS) which is designed to leverage | 26 | using Novell Kernal Services (NKS) which is designed to leverage |
2949 | 25 | multi-processor environments. | 27 | multi-processor environments. |
2950 | 26 | 28 | ||
2953 | 27 | The NetWare port of OpenSSL can configured to build using CLIB or LibC. The | 29 | The NetWare port of OpenSSL can be configured to build using CLIB or LIBC. |
2954 | 28 | CLIB build was developed and tested using NetWare 5.0 sp6.0a. The LibC | 30 | The CLIB build was developed and tested using NetWare 5.0 sp6.0a. The LIBC |
2955 | 29 | build was developed and tested using the NetWare 6.0 FCS. | 31 | build was developed and tested using the NetWare 6.0 FCS. |
2956 | 30 | 32 | ||
2960 | 31 | The necessary LibC functionality ships with NetWare 6. However, earlier | 33 | The necessary LIBC functionality ships with NetWare 6. However, earlier |
2961 | 32 | NetWare 5.x versions will require updates in order to run the OpenSSL LibC | 34 | NetWare 5.x versions will require updates in order to run the OpenSSL LIBC |
2962 | 33 | build. | 35 | build (NetWare 5.1 SP8 is known to work). |
2963 | 34 | 36 | ||
2965 | 35 | As of June 2005, the LibC build can be configured to use BSD sockets instead | 37 | As of June 2005, the LIBC build can be configured to use BSD sockets instead |
2966 | 36 | of WinSock sockets. Call Configure (usually through netware\build.bat) using | 38 | of WinSock sockets. Call Configure (usually through netware\build.bat) using |
2967 | 37 | a target of "netware-libc-bsdsock" instead of "netware-libc". | 39 | a target of "netware-libc-bsdsock" instead of "netware-libc". |
2968 | 38 | 40 | ||
2969 | 41 | As of June 2007, support for CLIB and BSD sockets is also now available | ||
2970 | 42 | using a target of "netware-clib-bsdsock" instead of "netware-clib"; | ||
2971 | 43 | also gcc builds are now supported on both Linux and Win32 (post 0.9.8e). | ||
2972 | 39 | 44 | ||
2973 | 40 | REQUIRED TOOLS: | 45 | REQUIRED TOOLS: |
2974 | 41 | --------------- | 46 | --------------- |
2975 | 42 | Based upon the configuration and build options used, some or all of the | 47 | Based upon the configuration and build options used, some or all of the |
2976 | 43 | following tools may be required: | 48 | following tools may be required: |
2977 | 44 | 49 | ||
2978 | 45 | |||
2979 | 46 | * Perl for Win32 - required (http://www.activestate.com/ActivePerl) | 50 | * Perl for Win32 - required (http://www.activestate.com/ActivePerl) |
2980 | 47 | Used to run the various perl scripts on the build platform. | 51 | Used to run the various perl scripts on the build platform. |
2981 | 48 | 52 | ||
2982 | 49 | |||
2983 | 50 | * Perl 5.8.0 for NetWare v3.20 (or later) - required | 53 | * Perl 5.8.0 for NetWare v3.20 (or later) - required |
2984 | 51 | (http://developer.novell.com) Used to run the test script on NetWare | 54 | (http://developer.novell.com) Used to run the test script on NetWare |
2985 | 52 | after building. | 55 | after building. |
2986 | 53 | 56 | ||
2996 | 54 | 57 | * Compiler / Linker - required: | |
2997 | 55 | * Metrowerks CodeWarrior PDK 2.1 (or later) for NetWare - required: | 58 | Metrowerks CodeWarrior PDK 2.1 (or later) for NetWare (commercial): |
2998 | 56 | Provides command line tools used for building. | 59 | Provides command line tools used for building. |
2999 | 57 | 60 | Tools: | |
3000 | 58 | Tools: | 61 | mwccnlm.exe - C/C++ Compiler for NetWare |
3001 | 59 | mwccnlm.exe - C/C++ Compiler for NetWare | 62 | mwldnlm.exe - Linker for NetWare |
3002 | 60 | mwldnlm.exe - Linker for NetWare | 63 | mwasmnlm.exe - x86 assembler for NetWare (if using assembly option) |
3003 | 61 | mwasmnlm.exe - x86 assembler for NetWare (if using assembly option) | 64 | |
3004 | 62 | 65 | gcc / nlmconv Cross-Compiler, available from Novell Forge (free): | |
3005 | 66 | http://forge.novell.com/modules/xfmod/project/?aunixnw | ||
3006 | 63 | 67 | ||
3007 | 64 | * Assemblers - optional: | 68 | * Assemblers - optional: |
3008 | 65 | If you intend to build using the assembly options you will need an | 69 | If you intend to build using the assembly options you will need an |
3009 | @@ -79,11 +83,11 @@ | |||
3010 | 79 | In order to build you will need a make tool. Two make tools are | 83 | In order to build you will need a make tool. Two make tools are |
3011 | 80 | supported, GNU make (gmake.exe) or Microsoft nmake.exe. | 84 | supported, GNU make (gmake.exe) or Microsoft nmake.exe. |
3012 | 81 | 85 | ||
3015 | 82 | gmake.exe - GNU make for Windows (version 3.75 used for development) | 86 | make.exe - GNU make for Windows (version 3.75 used for development) |
3016 | 83 | http://www.gnu.org/software/make/make.html | 87 | http://gnuwin32.sourceforge.net/packages/make.htm |
3017 | 84 | 88 | ||
3018 | 85 | nmake.exe - Microsoft make (Version 6.00.8168.0 used for development) | 89 | nmake.exe - Microsoft make (Version 6.00.8168.0 used for development) |
3020 | 86 | 90 | http://support.microsoft.com/kb/132084/EN-US/ | |
3021 | 87 | 91 | ||
3022 | 88 | * Novell Developer Kit (NDK) - required: (http://developer.novell.com) | 92 | * Novell Developer Kit (NDK) - required: (http://developer.novell.com) |
3023 | 89 | 93 | ||
3024 | @@ -123,14 +127,14 @@ | |||
3025 | 123 | 127 | ||
3026 | 124 | LIBC - BUILDS: | 128 | LIBC - BUILDS: |
3027 | 125 | 129 | ||
3031 | 126 | Libraries for C (LibC) - LibC headers and import files | 130 | Libraries for C (LIBC) - LIBC headers and import files |
3032 | 127 | If you are going to build a LibC version of OpenSSL, you will | 131 | If you are going to build a LIBC version of OpenSSL, you will |
3033 | 128 | need the LibC headers and imports. The March 14, 2002 NDK release or | 132 | need the LIBC headers and imports. The March 14, 2002 NDK release or |
3034 | 129 | later is required. | 133 | later is required. |
3035 | 130 | 134 | ||
3039 | 131 | NOTE: The LibC SDK includes the necessary WinSock2 support. It | 135 | NOTE: The LIBC SDK includes the necessary WinSock2 support. |
3040 | 132 | It is not necessary to download the WinSock2 Developer when building | 136 | It is not necessary to download the WinSock2 NDK when building for |
3041 | 133 | for LibC. The LibC SDK also includes the appropriate BSD socket support | 137 | LIBC. The LIBC SDK also includes the appropriate BSD socket support |
3042 | 134 | if configuring to use BSD sockets. | 138 | if configuring to use BSD sockets. |
3043 | 135 | 139 | ||
3044 | 136 | 140 | ||
3045 | @@ -143,33 +147,36 @@ | |||
3046 | 143 | and environment variables you will need to build. Modify the | 147 | and environment variables you will need to build. Modify the |
3047 | 144 | various lines to point to YOUR tools and run set_env.bat. | 148 | various lines to point to YOUR tools and run set_env.bat. |
3048 | 145 | 149 | ||
3053 | 146 | netware\set_env.bat [target] | 150 | netware\set_env.bat <target> [compiler] |
3054 | 147 | 151 | ||
3055 | 148 | target - "netware-clib" - CLib NetWare build | 152 | target - "netware-clib" - CLIB NetWare build |
3056 | 149 | - "netware-libc" - LibC NetWare build | 153 | - "netware-libc" - LIBC NetWare build |
3057 | 154 | |||
3058 | 155 | compiler - "gnuc" - GNU GCC Compiler | ||
3059 | 156 | - "codewarrior" - MetroWerks CodeWarrior (default) | ||
3060 | 150 | 157 | ||
3061 | 151 | If you don't use set_env.bat, you will need to set up the following | 158 | If you don't use set_env.bat, you will need to set up the following |
3062 | 152 | environment variables: | 159 | environment variables: |
3063 | 153 | 160 | ||
3065 | 154 | path - Set path to point to the tools you will use. | 161 | PATH - Set PATH to point to the tools you will use. |
3066 | 155 | 162 | ||
3068 | 156 | MWCIncludes - The location of the NDK include files. | 163 | INCLUDE - The location of the NDK include files. |
3069 | 157 | 164 | ||
3072 | 158 | CLIB ex: set MWCIncludes=c:\ndk\nwsdk\include\nlm | 165 | CLIB ex: set INCLUDE=c:\ndk\nwsdk\include\nlm |
3073 | 159 | LibC ex: set MWCIncludes=c:\ndk\libc\include | 166 | LIBC ex: set INCLUDE=c:\ndk\libc\include |
3074 | 160 | 167 | ||
3075 | 161 | PRELUDE - The absolute path of the prelude object to link with. For | 168 | PRELUDE - The absolute path of the prelude object to link with. For |
3076 | 162 | a CLIB build it is recommended you use the "clibpre.o" files shipped | 169 | a CLIB build it is recommended you use the "clibpre.o" files shipped |
3079 | 163 | with the Metrowerks PDK for NetWare. For a LibC build you should | 170 | with the Metrowerks PDK for NetWare. For a LIBC build you should |
3080 | 164 | use the "libcpre.o" file delivered with the LibC NDK components. | 171 | use the "libcpre.o" file delivered with the LIBC NDK components. |
3081 | 165 | 172 | ||
3082 | 166 | CLIB ex: set PRELUDE=c:\ndk\nwsdk\imports\clibpre.o | 173 | CLIB ex: set PRELUDE=c:\ndk\nwsdk\imports\clibpre.o |
3084 | 167 | LibC ex: set PRELUDE=c:\ndk\libc\imports\libcpre.o | 174 | LIBC ex: set PRELUDE=c:\ndk\libc\imports\libcpre.o |
3085 | 168 | 175 | ||
3086 | 169 | IMPORTS - The locaton of the NDK import files. | 176 | IMPORTS - The locaton of the NDK import files. |
3087 | 170 | 177 | ||
3088 | 171 | CLIB ex: set IMPORTS=c:\ndk\nwsdk\imports | 178 | CLIB ex: set IMPORTS=c:\ndk\nwsdk\imports |
3090 | 172 | LibC ex: set IMPORTS=c:\ndk\libc\imports | 179 | LIBC ex: set IMPORTS=c:\ndk\libc\imports |
3091 | 173 | 180 | ||
3092 | 174 | 181 | ||
3093 | 175 | In order to build, you need to run the Perl scripts to configure the build | 182 | In order to build, you need to run the Perl scripts to configure the build |
3094 | @@ -182,9 +189,10 @@ | |||
3095 | 182 | 189 | ||
3096 | 183 | netware\build [target] [debug opts] [assembly opts] [configure opts] | 190 | netware\build [target] [debug opts] [assembly opts] [configure opts] |
3097 | 184 | 191 | ||
3101 | 185 | target - "netware-clib" - CLib NetWare build (WinSock Sockets) | 192 | target - "netware-clib" - CLIB NetWare build (WinSock Sockets) |
3102 | 186 | - "netware-libc" - LibC NetWare build (WinSock Sockets) | 193 | - "netware-clib-bsdsock" - CLIB NetWare build (BSD Sockets) |
3103 | 187 | - "netware-libc-bsdsock" - LibC NetWare build (BSD Sockets) | 194 | - "netware-libc" - LIBC NetWare build (WinSock Sockets) |
3104 | 195 | - "netware-libc-bsdsock" - LIBC NetWare build (BSD Sockets) | ||
3105 | 188 | 196 | ||
3106 | 189 | debug opts - "debug" - build debug | 197 | debug opts - "debug" - build debug |
3107 | 190 | 198 | ||
3108 | @@ -193,25 +201,27 @@ | |||
3109 | 193 | "no-asm" - don't use assembly | 201 | "no-asm" - don't use assembly |
3110 | 194 | 202 | ||
3111 | 195 | configure opts- all unrecognized arguments are passed to the | 203 | configure opts- all unrecognized arguments are passed to the |
3113 | 196 | perl configure script | 204 | perl 'configure' script. See that script for |
3114 | 205 | internal documentation regarding options that | ||
3115 | 206 | are available. | ||
3116 | 197 | 207 | ||
3117 | 198 | examples: | 208 | examples: |
3118 | 199 | 209 | ||
3119 | 200 | CLIB build, debug, without assembly: | 210 | CLIB build, debug, without assembly: |
3120 | 201 | netware\build.bat netware-clib debug no-asm | 211 | netware\build.bat netware-clib debug no-asm |
3121 | 202 | 212 | ||
3124 | 203 | LibC build, non-debug, using NASM assembly: | 213 | LIBC build, non-debug, using NASM assembly, add mdc2 support: |
3125 | 204 | netware\build.bat netware-libc nw-nasm | 214 | netware\build.bat netware-libc nw-nasm enable-mdc2 |
3126 | 205 | 215 | ||
3128 | 206 | LibC build, BSD sockets, non-debug, without assembly: | 216 | LIBC build, BSD sockets, non-debug, without assembly: |
3129 | 207 | netware\build.bat netware-libc-bsdsock no-asm | 217 | netware\build.bat netware-libc-bsdsock no-asm |
3130 | 208 | 218 | ||
3131 | 209 | Running build.bat generates a make file to be processed by your make | 219 | Running build.bat generates a make file to be processed by your make |
3132 | 210 | tool (gmake or nmake): | 220 | tool (gmake or nmake): |
3133 | 211 | 221 | ||
3134 | 212 | CLIB ex: gmake -f netware\nlm_clib_dbg.mak | 222 | CLIB ex: gmake -f netware\nlm_clib_dbg.mak |
3137 | 213 | LibC ex: gmake -f netware\nlm_libc.mak | 223 | LIBC ex: gmake -f netware\nlm_libc.mak |
3138 | 214 | LibC ex: gmake -f netware\nlm_libc_bsdsock.mak | 224 | LIBC ex: gmake -f netware\nlm_libc_bsdsock.mak |
3139 | 215 | 225 | ||
3140 | 216 | 226 | ||
3141 | 217 | You can also run the build scripts manually if you do not want to use the | 227 | You can also run the build scripts manually if you do not want to use the |
3142 | @@ -220,7 +230,7 @@ | |||
3143 | 220 | 230 | ||
3144 | 221 | perl configure no-asm [other config opts] [netware-clib|netware-libc|netware-libc-bsdsock] | 231 | perl configure no-asm [other config opts] [netware-clib|netware-libc|netware-libc-bsdsock] |
3145 | 222 | configures no assembly build for specified netware environment | 232 | configures no assembly build for specified netware environment |
3147 | 223 | (CLIB or LibC). | 233 | (CLIB or LIBC). |
3148 | 224 | 234 | ||
3149 | 225 | perl util\mkfiles.pl >MINFO | 235 | perl util\mkfiles.pl >MINFO |
3150 | 226 | generates a listing of source files (used by mk1mf) | 236 | generates a listing of source files (used by mk1mf) |
3151 | @@ -250,12 +260,12 @@ | |||
3152 | 250 | tmp_nw_clib - temporary build files | 260 | tmp_nw_clib - temporary build files |
3153 | 251 | outinc_nw_clib - necesary include files | 261 | outinc_nw_clib - necesary include files |
3154 | 252 | 262 | ||
3156 | 253 | LibC Debug build: | 263 | LIBC Debug build: |
3157 | 254 | out_nw_libc.dbg - static libs & test nlm(s) | 264 | out_nw_libc.dbg - static libs & test nlm(s) |
3158 | 255 | tmp_nw_libc.dbg - temporary build files | 265 | tmp_nw_libc.dbg - temporary build files |
3159 | 256 | outinc_nw_libc - necessary include files | 266 | outinc_nw_libc - necessary include files |
3160 | 257 | 267 | ||
3162 | 258 | LibC Non-debug build: | 268 | LIBC Non-debug build: |
3163 | 259 | out_nw_libc - static libs & test nlm(s) | 269 | out_nw_libc - static libs & test nlm(s) |
3164 | 260 | tmp_nw_libc - temporary build files | 270 | tmp_nw_libc - temporary build files |
3165 | 261 | outinc_nw_libc - necesary include files | 271 | outinc_nw_libc - necesary include files |
3166 | @@ -281,7 +291,7 @@ | |||
3167 | 281 | NetWare drive - drive letter of mapped drive | 291 | NetWare drive - drive letter of mapped drive |
3168 | 282 | 292 | ||
3169 | 283 | CLIB ex: netware\cpy_tests out_nw_clib m: | 293 | CLIB ex: netware\cpy_tests out_nw_clib m: |
3171 | 284 | LibC ex: netware\cpy_tests out_nw_libc m: | 294 | LIBC ex: netware\cpy_tests out_nw_libc m: |
3172 | 285 | 295 | ||
3173 | 286 | 296 | ||
3174 | 287 | The Perl script, "do_tests.pl", in the "OpenSSL" directory on the server | 297 | The Perl script, "do_tests.pl", in the "OpenSSL" directory on the server |
3175 | @@ -356,9 +366,9 @@ | |||
3176 | 356 | 366 | ||
3177 | 357 | Multi-threaded Development | 367 | Multi-threaded Development |
3178 | 358 | --------------------------- | 368 | --------------------------- |
3180 | 359 | The NetWare version of OpenSSL is thread-safe however, multi-threaded | 369 | The NetWare version of OpenSSL is thread-safe, however multi-threaded |
3181 | 360 | applications must provide the necessary locking function callbacks. This | 370 | applications must provide the necessary locking function callbacks. This |
3183 | 361 | is described in doc\threads.doc. The file "openssl\crypto\threads\mttest.c" | 371 | is described in doc\threads.doc. The file "openssl-x.x.x\crypto\threads\mttest.c" |
3184 | 362 | is a multi-threaded test program and demonstrates the locking functions. | 372 | is a multi-threaded test program and demonstrates the locking functions. |
3185 | 363 | 373 | ||
3186 | 364 | 374 | ||
3187 | @@ -428,7 +438,7 @@ | |||
3188 | 428 | ------------------ | 438 | ------------------ |
3189 | 429 | The generated makefile has a "vclean" target which cleans up the build | 439 | The generated makefile has a "vclean" target which cleans up the build |
3190 | 430 | directories. If you have been building successfully and suddenly | 440 | directories. If you have been building successfully and suddenly |
3192 | 431 | experience problems, use "vclean" (gmake -f netware\nlm.mak vclean) and retry. | 441 | experience problems, use "vclean" (gmake -f netware\nlm_xxxx.mak vclean) and retry. |
3193 | 432 | 442 | ||
3194 | 433 | 443 | ||
3195 | 434 | "Undefined Symbol" Linker errors | 444 | "Undefined Symbol" Linker errors |
3196 | 435 | 445 | ||
3197 | === modified file 'LICENSE' | |||
3198 | --- LICENSE 2007-03-10 17:11:46 +0000 | |||
3199 | +++ LICENSE 2009-12-07 19:46:11 +0000 | |||
3200 | @@ -12,7 +12,7 @@ | |||
3201 | 12 | --------------- | 12 | --------------- |
3202 | 13 | 13 | ||
3203 | 14 | /* ==================================================================== | 14 | /* ==================================================================== |
3205 | 15 | * Copyright (c) 1998-2007 The OpenSSL Project. All rights reserved. | 15 | * Copyright (c) 1998-2008 The OpenSSL Project. All rights reserved. |
3206 | 16 | * | 16 | * |
3207 | 17 | * Redistribution and use in source and binary forms, with or without | 17 | * Redistribution and use in source and binary forms, with or without |
3208 | 18 | * modification, are permitted provided that the following conditions | 18 | * modification, are permitted provided that the following conditions |
3209 | 19 | 19 | ||
3210 | === modified file 'MacOS/GetHTTPS.src/ErrorHandling.hpp' | |||
3211 | --- MacOS/GetHTTPS.src/ErrorHandling.hpp 2004-05-24 17:02:29 +0000 | |||
3212 | +++ MacOS/GetHTTPS.src/ErrorHandling.hpp 2009-12-07 19:46:11 +0000 | |||
3213 | @@ -29,7 +29,7 @@ | |||
3214 | 29 | 29 | ||
3215 | 30 | 30 | ||
3216 | 31 | 31 | ||
3218 | 32 | // A bunch of evil macros that would be uneccessary if I were always using C++ ! | 32 | // A bunch of evil macros that would be unnecessary if I were always using C++ ! |
3219 | 33 | 33 | ||
3220 | 34 | #define SetErrorMessageAndBailIfNil(theArg,theMessage) \ | 34 | #define SetErrorMessageAndBailIfNil(theArg,theMessage) \ |
3221 | 35 | { \ | 35 | { \ |
3222 | 36 | 36 | ||
3223 | === modified file 'Makefile' | |||
3224 | --- Makefile 2009-03-27 08:23:35 +0000 | |||
3225 | +++ Makefile 2009-12-07 19:46:11 +0000 | |||
3226 | @@ -4,7 +4,7 @@ | |||
3227 | 4 | ## Makefile for OpenSSL | 4 | ## Makefile for OpenSSL |
3228 | 5 | ## | 5 | ## |
3229 | 6 | 6 | ||
3231 | 7 | VERSION=0.9.8g | 7 | VERSION=0.9.8k |
3232 | 8 | MAJOR=0 | 8 | MAJOR=0 |
3233 | 9 | MINOR=9.8 | 9 | MINOR=9.8 |
3234 | 10 | SHLIB_VERSION_NUMBER=0.9.8 | 10 | SHLIB_VERSION_NUMBER=0.9.8 |
3235 | @@ -13,8 +13,8 @@ | |||
3236 | 13 | SHLIB_MINOR=9.8 | 13 | SHLIB_MINOR=9.8 |
3237 | 14 | SHLIB_EXT=.so.$(SHLIB_MAJOR).$(SHLIB_MINOR) | 14 | SHLIB_EXT=.so.$(SHLIB_MAJOR).$(SHLIB_MINOR) |
3238 | 15 | PLATFORM=debian-amd64 | 15 | PLATFORM=debian-amd64 |
3241 | 16 | OPTIONS=--prefix=/usr --openssldir=/usr/lib/ssl enable-zlib enable-tlsext no-camellia no-gmp no-idea no-krb5 no-mdc2 no-rc5 no-rfc3779 no-seed no-shared no-sslv2 no-zlib-dynamic | 16 | OPTIONS=--prefix=/usr --openssldir=/usr/lib/ssl enable-zlib enable-tlsext no-camellia no-capieng no-cms no-gmp no-idea no-jpake no-krb5 no-mdc2 no-montasm no-rc5 no-rfc3779 no-seed no-shared no-zlib-dynamic |
3242 | 17 | CONFIGURE_ARGS=--prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 zlib enable-tlsext no-sslv2 debian-amd64 | 17 | CONFIGURE_ARGS=--prefix=/usr --openssldir=/usr/lib/ssl no-idea no-mdc2 no-rc5 zlib enable-tlsext debian-amd64 |
3243 | 18 | SHLIB_TARGET=linux-shared | 18 | SHLIB_TARGET=linux-shared |
3244 | 19 | 19 | ||
3245 | 20 | # HERE indicates where this Makefile lives. This can be used to indicate | 20 | # HERE indicates where this Makefile lives. This can be used to indicate |
3246 | @@ -60,13 +60,14 @@ | |||
3247 | 60 | # PKCS1_CHECK - pkcs1 tests. | 60 | # PKCS1_CHECK - pkcs1 tests. |
3248 | 61 | 61 | ||
3249 | 62 | CC= gcc | 62 | CC= gcc |
3252 | 63 | CFLAG= -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int -DMD5_ASM | 63 | CFLAG= -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM |
3253 | 64 | DEPFLAG= -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED -DOPENSSL_NO_SSLV2 | 64 | DEPFLAG= -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_IDEA -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED |
3254 | 65 | PEX_LIBS= | 65 | PEX_LIBS= |
3256 | 66 | EX_LIBS= -ldl -Wl,-Bsymbolic-functions -lz | 66 | EX_LIBS= -ldl -lz |
3257 | 67 | EXE_EXT= | 67 | EXE_EXT= |
3258 | 68 | ARFLAGS= | 68 | ARFLAGS= |
3259 | 69 | AR=ar $(ARFLAGS) r | 69 | AR=ar $(ARFLAGS) r |
3260 | 70 | ARD=ar $(ARFLAGS) d | ||
3261 | 70 | RANLIB= /usr/bin/ranlib | 71 | RANLIB= /usr/bin/ranlib |
3262 | 71 | PERL= /usr/bin/perl | 72 | PERL= /usr/bin/perl |
3263 | 72 | TAR= tar | 73 | TAR= tar |
3264 | @@ -87,15 +88,15 @@ | |||
3265 | 87 | 88 | ||
3266 | 88 | # CPUID module collects small commonly used assembler snippets | 89 | # CPUID module collects small commonly used assembler snippets |
3267 | 89 | CPUID_OBJ= x86_64cpuid.o | 90 | CPUID_OBJ= x86_64cpuid.o |
3269 | 90 | BN_ASM= x86_64-gcc.o | 91 | BN_ASM= x86_64-gcc.o x86_64-mont.o |
3270 | 91 | DES_ENC= des_enc.o fcrypt_b.o | 92 | DES_ENC= des_enc.o fcrypt_b.o |
3272 | 92 | AES_ASM_OBJ= aes_core.o aes_cbc.o | 93 | AES_ASM_OBJ= aes-x86_64.o |
3273 | 93 | BF_ENC= bf_enc.o | 94 | BF_ENC= bf_enc.o |
3274 | 94 | CAST_ENC= c_enc.o | 95 | CAST_ENC= c_enc.o |
3276 | 95 | RC4_ENC= rc4_enc.o | 96 | RC4_ENC= rc4_enc.o rc4_skey.o |
3277 | 96 | RC5_ENC= rc5_enc.o | 97 | RC5_ENC= rc5_enc.o |
3278 | 97 | MD5_ASM_OBJ= md5-x86_64.o | 98 | MD5_ASM_OBJ= md5-x86_64.o |
3280 | 98 | SHA1_ASM_OBJ= | 99 | SHA1_ASM_OBJ= sha1-x86_64.o sha256-x86_64.o sha512-x86_64.o |
3281 | 99 | RMD160_ASM_OBJ= | 100 | RMD160_ASM_OBJ= |
3282 | 100 | 101 | ||
3283 | 101 | # KRB5 stuff | 102 | # KRB5 stuff |
3284 | @@ -106,6 +107,32 @@ | |||
3285 | 106 | ZLIB_INCLUDE= | 107 | ZLIB_INCLUDE= |
3286 | 107 | LIBZLIB= | 108 | LIBZLIB= |
3287 | 108 | 109 | ||
3288 | 110 | # This is the location of fipscanister.o and friends. | ||
3289 | 111 | # The FIPS module build will place it $(INSTALLTOP)/lib | ||
3290 | 112 | # but since $(INSTALLTOP) can only take the default value | ||
3291 | 113 | # when the module is built it will be in /usr/local/ssl/lib | ||
3292 | 114 | # $(INSTALLTOP) for this build make be different so hard | ||
3293 | 115 | # code the path. | ||
3294 | 116 | |||
3295 | 117 | FIPSLIBDIR=/usr/local/ssl/fips-1.0/lib/ | ||
3296 | 118 | |||
3297 | 119 | # This is set to "y" if fipscanister.o is compiled internally as | ||
3298 | 120 | # opposed to coming from an external validated location. | ||
3299 | 121 | |||
3300 | 122 | FIPSCANISTERINTERNAL=n | ||
3301 | 123 | |||
3302 | 124 | # The location of the library which contains fipscanister.o | ||
3303 | 125 | # normally it will be libcrypto unless fipsdso is set in which | ||
3304 | 126 | # case it will be libfips. If not compiling in FIPS mode at all | ||
3305 | 127 | # this is empty making it a useful test for a FIPS compile. | ||
3306 | 128 | |||
3307 | 129 | FIPSCANLIB= | ||
3308 | 130 | |||
3309 | 131 | # Shared library base address. Currently only used on Windows. | ||
3310 | 132 | # | ||
3311 | 133 | |||
3312 | 134 | BASEADDR=0xFB00000 | ||
3313 | 135 | |||
3314 | 109 | DIRS= crypto ssl engines apps tools | 136 | DIRS= crypto ssl engines apps tools |
3315 | 110 | SHLIBDIRS= crypto ssl | 137 | SHLIBDIRS= crypto ssl |
3316 | 111 | 138 | ||
3317 | @@ -141,6 +168,7 @@ | |||
3318 | 141 | LIBS= libcrypto.a libssl.a | 168 | LIBS= libcrypto.a libssl.a |
3319 | 142 | SHARED_CRYPTO=libcrypto$(SHLIB_EXT) | 169 | SHARED_CRYPTO=libcrypto$(SHLIB_EXT) |
3320 | 143 | SHARED_SSL=libssl$(SHLIB_EXT) | 170 | SHARED_SSL=libssl$(SHLIB_EXT) |
3321 | 171 | SHARED_FIPS= | ||
3322 | 144 | SHARED_LIBS= | 172 | SHARED_LIBS= |
3323 | 145 | SHARED_LIBS_LINK_EXTS=.so | 173 | SHARED_LIBS_LINK_EXTS=.so |
3324 | 146 | SHARED_LDFLAGS=-m64 -Wl,--version-script=openssl.ld | 174 | SHARED_LDFLAGS=-m64 -Wl,--version-script=openssl.ld |
3325 | @@ -194,6 +222,10 @@ | |||
3326 | 194 | SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' \ | 222 | SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' \ |
3327 | 195 | MD5_ASM_OBJ='${MD5_ASM_OBJ}' \ | 223 | MD5_ASM_OBJ='${MD5_ASM_OBJ}' \ |
3328 | 196 | RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' \ | 224 | RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' \ |
3329 | 225 | FIPSLIBDIR='${FIPSLIBDIR}' \ | ||
3330 | 226 | FIPSCANLIB="$${FIPSCANLIB:-$(FIPSCANLIB)}" \ | ||
3331 | 227 | FIPSCANISTERINTERNAL='${FIPSCANISTERINTERNAL}' \ | ||
3332 | 228 | FIPS_EX_OBJ='${FIPS_EX_OBJ}' \ | ||
3333 | 197 | THIS=$${THIS:-$@} MAKEFILE=Makefile MAKEOVERRIDES= | 229 | THIS=$${THIS:-$@} MAKEFILE=Makefile MAKEOVERRIDES= |
3334 | 198 | # MAKEOVERRIDES= effectively "equalizes" GNU-ish and SysV-ish make flavors, | 230 | # MAKEOVERRIDES= effectively "equalizes" GNU-ish and SysV-ish make flavors, |
3335 | 199 | # which in turn eliminates ambiguities in variable treatment with -e. | 231 | # which in turn eliminates ambiguities in variable treatment with -e. |
3336 | @@ -212,7 +244,8 @@ | |||
3337 | 212 | # subdirectories defined in $(DIRS). It requires that the target | 244 | # subdirectories defined in $(DIRS). It requires that the target |
3338 | 213 | # is given through the shell variable `target'. | 245 | # is given through the shell variable `target'. |
3339 | 214 | BUILD_CMD= if [ -d "$$dir" ]; then \ | 246 | BUILD_CMD= if [ -d "$$dir" ]; then \ |
3341 | 215 | ( cd $$dir && echo "making $$target in $$dir..." && \ | 247 | ( [ $$target != all -a -z "$(FIPSCANLIB)" ] && FIPSCANLIB=/dev/null; \ |
3342 | 248 | cd $$dir && echo "making $$target in $$dir..." && \ | ||
3343 | 216 | $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. DIR=$$dir $$target \ | 249 | $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. DIR=$$dir $$target \ |
3344 | 217 | ) || exit 1; \ | 250 | ) || exit 1; \ |
3345 | 218 | fi | 251 | fi |
3346 | @@ -225,13 +258,84 @@ | |||
3347 | 225 | reflect: | 258 | reflect: |
3348 | 226 | @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) | 259 | @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) |
3349 | 227 | 260 | ||
3350 | 261 | FIPS_EX_OBJ= ../crypto/aes/aes_cfb.o \ | ||
3351 | 262 | ../crypto/aes/aes_ecb.o \ | ||
3352 | 263 | ../crypto/aes/aes_ofb.o \ | ||
3353 | 264 | ../crypto/bn/bn_add.o \ | ||
3354 | 265 | ../crypto/bn/bn_blind.o \ | ||
3355 | 266 | ../crypto/bn/bn_ctx.o \ | ||
3356 | 267 | ../crypto/bn/bn_div.o \ | ||
3357 | 268 | ../crypto/bn/bn_exp2.o \ | ||
3358 | 269 | ../crypto/bn/bn_exp.o \ | ||
3359 | 270 | ../crypto/bn/bn_gcd.o \ | ||
3360 | 271 | ../crypto/bn/bn_lib.o \ | ||
3361 | 272 | ../crypto/bn/bn_mod.o \ | ||
3362 | 273 | ../crypto/bn/bn_mont.o \ | ||
3363 | 274 | ../crypto/bn/bn_mul.o \ | ||
3364 | 275 | ../crypto/bn/bn_prime.o \ | ||
3365 | 276 | ../crypto/bn/bn_rand.o \ | ||
3366 | 277 | ../crypto/bn/bn_recp.o \ | ||
3367 | 278 | ../crypto/bn/bn_shift.o \ | ||
3368 | 279 | ../crypto/bn/bn_sqr.o \ | ||
3369 | 280 | ../crypto/bn/bn_word.o \ | ||
3370 | 281 | ../crypto/bn/bn_x931p.o \ | ||
3371 | 282 | ../crypto/buffer/buf_str.o \ | ||
3372 | 283 | ../crypto/cryptlib.o \ | ||
3373 | 284 | ../crypto/des/cfb64ede.o \ | ||
3374 | 285 | ../crypto/des/cfb64enc.o \ | ||
3375 | 286 | ../crypto/des/cfb_enc.o \ | ||
3376 | 287 | ../crypto/des/ecb3_enc.o \ | ||
3377 | 288 | ../crypto/des/ecb_enc.o \ | ||
3378 | 289 | ../crypto/des/ofb64ede.o \ | ||
3379 | 290 | ../crypto/des/ofb64enc.o \ | ||
3380 | 291 | ../crypto/des/fcrypt.o \ | ||
3381 | 292 | ../crypto/des/set_key.o \ | ||
3382 | 293 | ../crypto/dsa/dsa_utl.o \ | ||
3383 | 294 | ../crypto/dsa/dsa_sign.o \ | ||
3384 | 295 | ../crypto/dsa/dsa_vrf.o \ | ||
3385 | 296 | ../crypto/err/err.o \ | ||
3386 | 297 | ../crypto/evp/digest.o \ | ||
3387 | 298 | ../crypto/evp/enc_min.o \ | ||
3388 | 299 | ../crypto/evp/e_aes.o \ | ||
3389 | 300 | ../crypto/evp/e_des3.o \ | ||
3390 | 301 | ../crypto/evp/p_sign.o \ | ||
3391 | 302 | ../crypto/evp/p_verify.o \ | ||
3392 | 303 | ../crypto/mem_clr.o \ | ||
3393 | 304 | ../crypto/mem.o \ | ||
3394 | 305 | ../crypto/rand/md_rand.o \ | ||
3395 | 306 | ../crypto/rand/rand_egd.o \ | ||
3396 | 307 | ../crypto/rand/randfile.o \ | ||
3397 | 308 | ../crypto/rand/rand_lib.o \ | ||
3398 | 309 | ../crypto/rand/rand_os2.o \ | ||
3399 | 310 | ../crypto/rand/rand_unix.o \ | ||
3400 | 311 | ../crypto/rand/rand_win.o \ | ||
3401 | 312 | ../crypto/rsa/rsa_lib.o \ | ||
3402 | 313 | ../crypto/rsa/rsa_none.o \ | ||
3403 | 314 | ../crypto/rsa/rsa_oaep.o \ | ||
3404 | 315 | ../crypto/rsa/rsa_pk1.o \ | ||
3405 | 316 | ../crypto/rsa/rsa_pss.o \ | ||
3406 | 317 | ../crypto/rsa/rsa_ssl.o \ | ||
3407 | 318 | ../crypto/rsa/rsa_x931.o \ | ||
3408 | 319 | ../crypto/sha/sha1dgst.o \ | ||
3409 | 320 | ../crypto/sha/sha256.o \ | ||
3410 | 321 | ../crypto/sha/sha512.o \ | ||
3411 | 322 | ../crypto/uid.o | ||
3412 | 323 | |||
3413 | 228 | sub_all: build_all | 324 | sub_all: build_all |
3414 | 229 | build_all: build_libs build_apps build_tests build_tools | 325 | build_all: build_libs build_apps build_tests build_tools |
3415 | 230 | 326 | ||
3417 | 231 | build_libs: build_crypto build_ssl build_engines | 327 | build_libs: build_crypto build_fips build_ssl build_shared build_engines |
3418 | 232 | 328 | ||
3419 | 233 | build_crypto: | 329 | build_crypto: |
3421 | 234 | @dir=crypto; target=all; $(BUILD_ONE_CMD) | 330 | if [ -n "$(FIPSCANLIB)" ]; then \ |
3422 | 331 | EXCL_OBJ='$(AES_ASM_OBJ) $(BN_ASM) $(DES_ENC) $(CPUID_OBJ) $(SHA1_ASM_OBJ) $(FIPS_EX_OBJ)' ; export EXCL_OBJ ; \ | ||
3423 | 332 | ARX='$(PERL) $${TOP}/util/arx.pl $(AR)' ; \ | ||
3424 | 333 | else \ | ||
3425 | 334 | ARX='${AR}' ; \ | ||
3426 | 335 | fi ; export ARX ; \ | ||
3427 | 336 | dir=crypto; target=all; $(BUILD_ONE_CMD) | ||
3428 | 337 | build_fips: | ||
3429 | 338 | @dir=fips; target=all; [ -z "$(FIPSCANLIB)" ] || $(BUILD_ONE_CMD) | ||
3430 | 235 | build_ssl: | 339 | build_ssl: |
3431 | 236 | @dir=ssl; target=all; $(BUILD_ONE_CMD) | 340 | @dir=ssl; target=all; $(BUILD_ONE_CMD) |
3432 | 237 | build_engines: | 341 | build_engines: |
3433 | @@ -247,9 +351,20 @@ | |||
3434 | 247 | build_testapps: | 351 | build_testapps: |
3435 | 248 | @dir=crypto; target=testapps; $(BUILD_ONE_CMD) | 352 | @dir=crypto; target=testapps; $(BUILD_ONE_CMD) |
3436 | 249 | 353 | ||
3438 | 250 | libcrypto$(SHLIB_EXT): libcrypto.a | 354 | build_shared: $(SHARED_LIBS) |
3439 | 355 | libcrypto$(SHLIB_EXT): libcrypto.a $(SHARED_FIPS) | ||
3440 | 251 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | 356 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ |
3442 | 252 | $(MAKE) SHLIBDIRS=crypto build-shared; \ | 357 | if [ "$(FIPSCANLIB)" = "libfips" ]; then \ |
3443 | 358 | $(ARD) libcrypto.a fipscanister.o ; \ | ||
3444 | 359 | $(MAKE) SHLIBDIRS='crypto' SHLIBDEPS='-lfips' build-shared; \ | ||
3445 | 360 | $(AR) libcrypto.a fips/fipscanister.o ; \ | ||
3446 | 361 | else \ | ||
3447 | 362 | if [ "$(FIPSCANLIB)" = "libcrypto" ]; then \ | ||
3448 | 363 | FIPSLD_CC=$(CC); CC=fips/fipsld; \ | ||
3449 | 364 | export CC FIPSLD_CC; \ | ||
3450 | 365 | fi; \ | ||
3451 | 366 | $(MAKE) -e SHLIBDIRS='crypto' build-shared; \ | ||
3452 | 367 | fi \ | ||
3453 | 253 | else \ | 368 | else \ |
3454 | 254 | echo "There's no support for shared libraries on this platform" >&2; \ | 369 | echo "There's no support for shared libraries on this platform" >&2; \ |
3455 | 255 | exit 1; \ | 370 | exit 1; \ |
3456 | @@ -257,12 +372,32 @@ | |||
3457 | 257 | 372 | ||
3458 | 258 | libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a | 373 | libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a |
3459 | 259 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | 374 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ |
3461 | 260 | $(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \ | 375 | shlibdeps=-lcrypto; \ |
3462 | 376 | [ "$(FIPSCANLIB)" = "libfips" ] && shlibdeps="$$shlibdeps -lfips"; \ | ||
3463 | 377 | $(MAKE) SHLIBDIRS=ssl SHLIBDEPS="$$shlibdeps" build-shared; \ | ||
3464 | 378 | else \ | ||
3465 | 379 | echo "There's no support for shared libraries on this platform" >&2 ; \ | ||
3466 | 380 | exit 1; \ | ||
3467 | 381 | fi | ||
3468 | 382 | |||
3469 | 383 | fips/fipscanister.o: build_fips | ||
3470 | 384 | libfips$(SHLIB_EXT): fips/fipscanister.o | ||
3471 | 385 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | ||
3472 | 386 | FIPSLD_CC=$(CC); CC=fips/fipsld; export CC FIPSLD_CC; \ | ||
3473 | 387 | $(MAKE) -f Makefile.shared -e $(BUILDENV) \ | ||
3474 | 388 | CC=$${CC} LIBNAME=fips THIS=$@ \ | ||
3475 | 389 | LIBEXTRAS=fips/fipscanister.o \ | ||
3476 | 390 | LIBDEPS="$(EX_LIBS)" \ | ||
3477 | 391 | LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \ | ||
3478 | 392 | link_o.$(SHLIB_TARGET) || { rm -f $@; exit 1; } \ | ||
3479 | 261 | else \ | 393 | else \ |
3480 | 262 | echo "There's no support for shared libraries on this platform" >&2; \ | 394 | echo "There's no support for shared libraries on this platform" >&2; \ |
3481 | 263 | exit 1; \ | 395 | exit 1; \ |
3482 | 264 | fi | 396 | fi |
3483 | 265 | 397 | ||
3484 | 398 | libfips.a: | ||
3485 | 399 | dir=fips; target=all; $(BUILD_ONE_CMD) | ||
3486 | 400 | |||
3487 | 266 | clean-shared: | 401 | clean-shared: |
3488 | 267 | @set -e; for i in $(SHLIBDIRS); do \ | 402 | @set -e; for i in $(SHLIBDIRS); do \ |
3489 | 268 | if [ -n "$(SHARED_LIBS_LINK_EXTS)" ]; then \ | 403 | if [ -n "$(SHARED_LIBS_LINK_EXTS)" ]; then \ |
3490 | @@ -375,6 +510,9 @@ | |||
3491 | 375 | @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl | 510 | @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl |
3492 | 376 | @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) | 511 | @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) |
3493 | 377 | @set -e; target=links; $(RECURSIVE_BUILD_CMD) | 512 | @set -e; target=links; $(RECURSIVE_BUILD_CMD) |
3494 | 513 | @if [ -z "$(FIPSCANLIB)" ]; then \ | ||
3495 | 514 | set -e; target=links; dir=fips ; $(BUILD_CMD) ; \ | ||
3496 | 515 | fi | ||
3497 | 378 | 516 | ||
3498 | 379 | gentests: | 517 | gentests: |
3499 | 380 | @(cd test && echo "generating dummy tests (if needed)..." && \ | 518 | @(cd test && echo "generating dummy tests (if needed)..." && \ |
3500 | 381 | 519 | ||
3501 | === modified file 'Makefile.org' | |||
3502 | --- Makefile.org 2008-11-11 17:24:44 +0000 | |||
3503 | +++ Makefile.org 2009-12-07 19:46:11 +0000 | |||
3504 | @@ -65,6 +65,7 @@ | |||
3505 | 65 | EXE_EXT= | 65 | EXE_EXT= |
3506 | 66 | ARFLAGS= | 66 | ARFLAGS= |
3507 | 67 | AR=ar $(ARFLAGS) r | 67 | AR=ar $(ARFLAGS) r |
3508 | 68 | ARD=ar $(ARFLAGS) d | ||
3509 | 68 | RANLIB= ranlib | 69 | RANLIB= ranlib |
3510 | 69 | PERL= perl | 70 | PERL= perl |
3511 | 70 | TAR= tar | 71 | TAR= tar |
3512 | @@ -104,8 +105,34 @@ | |||
3513 | 104 | ZLIB_INCLUDE= | 105 | ZLIB_INCLUDE= |
3514 | 105 | LIBZLIB= | 106 | LIBZLIB= |
3515 | 106 | 107 | ||
3518 | 107 | DIRS= crypto ssl engines apps tools | 108 | # This is the location of fipscanister.o and friends. |
3519 | 108 | SHLIBDIRS= crypto ssl | 109 | # The FIPS module build will place it $(INSTALLTOP)/lib |
3520 | 110 | # but since $(INSTALLTOP) can only take the default value | ||
3521 | 111 | # when the module is built it will be in /usr/local/ssl/lib | ||
3522 | 112 | # $(INSTALLTOP) for this build make be different so hard | ||
3523 | 113 | # code the path. | ||
3524 | 114 | |||
3525 | 115 | FIPSLIBDIR=/usr/local/ssl/lib/ | ||
3526 | 116 | |||
3527 | 117 | # This is set to "y" if fipscanister.o is compiled internally as | ||
3528 | 118 | # opposed to coming from an external validated location. | ||
3529 | 119 | |||
3530 | 120 | FIPSCANISTERINTERNAL=n | ||
3531 | 121 | |||
3532 | 122 | # The location of the library which contains fipscanister.o | ||
3533 | 123 | # normally it will be libcrypto unless fipsdso is set in which | ||
3534 | 124 | # case it will be libfips. If not compiling in FIPS mode at all | ||
3535 | 125 | # this is empty making it a useful test for a FIPS compile. | ||
3536 | 126 | |||
3537 | 127 | FIPSCANLIB= | ||
3538 | 128 | |||
3539 | 129 | # Shared library base address. Currently only used on Windows. | ||
3540 | 130 | # | ||
3541 | 131 | |||
3542 | 132 | BASEADDR= | ||
3543 | 133 | |||
3544 | 134 | DIRS= crypto fips ssl engines apps test tools | ||
3545 | 135 | SHLIBDIRS= crypto ssl fips | ||
3546 | 109 | 136 | ||
3547 | 110 | # dirs in crypto to build | 137 | # dirs in crypto to build |
3548 | 111 | SDIRS= \ | 138 | SDIRS= \ |
3549 | @@ -115,7 +142,7 @@ | |||
3550 | 115 | bn ec rsa dsa ecdsa dh ecdh dso engine \ | 142 | bn ec rsa dsa ecdsa dh ecdh dso engine \ |
3551 | 116 | buffer bio stack lhash rand err \ | 143 | buffer bio stack lhash rand err \ |
3552 | 117 | evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5 \ | 144 | evp asn1 pem x509 x509v3 conf txt_db pkcs7 pkcs12 comp ocsp ui krb5 \ |
3554 | 118 | store pqueue | 145 | store cms pqueue jpake |
3555 | 119 | # keep in mind that the above list is adjusted by ./Configure | 146 | # keep in mind that the above list is adjusted by ./Configure |
3556 | 120 | # according to no-xxx arguments... | 147 | # according to no-xxx arguments... |
3557 | 121 | 148 | ||
3558 | @@ -125,11 +152,10 @@ | |||
3559 | 125 | 152 | ||
3560 | 126 | MAKEFILE= Makefile | 153 | MAKEFILE= Makefile |
3561 | 127 | 154 | ||
3563 | 128 | MANDIR=/usr/share/man | 155 | MANDIR=$(OPENSSLDIR)/man |
3564 | 129 | MAN1=1 | 156 | MAN1=1 |
3565 | 130 | MAN3=3 | 157 | MAN3=3 |
3568 | 131 | MANSUFFIX=ssl | 158 | MANSUFFIX= |
3567 | 132 | MANSECTION=SSL | ||
3569 | 133 | SHELL=/bin/sh | 159 | SHELL=/bin/sh |
3570 | 134 | 160 | ||
3571 | 135 | TOP= . | 161 | TOP= . |
3572 | @@ -139,6 +165,7 @@ | |||
3573 | 139 | LIBS= libcrypto.a libssl.a | 165 | LIBS= libcrypto.a libssl.a |
3574 | 140 | SHARED_CRYPTO=libcrypto$(SHLIB_EXT) | 166 | SHARED_CRYPTO=libcrypto$(SHLIB_EXT) |
3575 | 141 | SHARED_SSL=libssl$(SHLIB_EXT) | 167 | SHARED_SSL=libssl$(SHLIB_EXT) |
3576 | 168 | SHARED_FIPS= | ||
3577 | 142 | SHARED_LIBS= | 169 | SHARED_LIBS= |
3578 | 143 | SHARED_LIBS_LINK_EXTS= | 170 | SHARED_LIBS_LINK_EXTS= |
3579 | 144 | SHARED_LDFLAGS= | 171 | SHARED_LDFLAGS= |
3580 | @@ -192,6 +219,10 @@ | |||
3581 | 192 | SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' \ | 219 | SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' \ |
3582 | 193 | MD5_ASM_OBJ='${MD5_ASM_OBJ}' \ | 220 | MD5_ASM_OBJ='${MD5_ASM_OBJ}' \ |
3583 | 194 | RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' \ | 221 | RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' \ |
3584 | 222 | FIPSLIBDIR='${FIPSLIBDIR}' \ | ||
3585 | 223 | FIPSCANLIB="$${FIPSCANLIB:-$(FIPSCANLIB)}" \ | ||
3586 | 224 | FIPSCANISTERINTERNAL='${FIPSCANISTERINTERNAL}' \ | ||
3587 | 225 | FIPS_EX_OBJ='${FIPS_EX_OBJ}' \ | ||
3588 | 195 | THIS=$${THIS:-$@} MAKEFILE=Makefile MAKEOVERRIDES= | 226 | THIS=$${THIS:-$@} MAKEFILE=Makefile MAKEOVERRIDES= |
3589 | 196 | # MAKEOVERRIDES= effectively "equalizes" GNU-ish and SysV-ish make flavors, | 227 | # MAKEOVERRIDES= effectively "equalizes" GNU-ish and SysV-ish make flavors, |
3590 | 197 | # which in turn eliminates ambiguities in variable treatment with -e. | 228 | # which in turn eliminates ambiguities in variable treatment with -e. |
3591 | @@ -210,7 +241,8 @@ | |||
3592 | 210 | # subdirectories defined in $(DIRS). It requires that the target | 241 | # subdirectories defined in $(DIRS). It requires that the target |
3593 | 211 | # is given through the shell variable `target'. | 242 | # is given through the shell variable `target'. |
3594 | 212 | BUILD_CMD= if [ -d "$$dir" ]; then \ | 243 | BUILD_CMD= if [ -d "$$dir" ]; then \ |
3596 | 213 | ( cd $$dir && echo "making $$target in $$dir..." && \ | 244 | ( [ $$target != all -a -z "$(FIPSCANLIB)" ] && FIPSCANLIB=/dev/null; \ |
3597 | 245 | cd $$dir && echo "making $$target in $$dir..." && \ | ||
3598 | 214 | $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. DIR=$$dir $$target \ | 246 | $(CLEARENV) && $(MAKE) -e $(BUILDENV) TOP=.. DIR=$$dir $$target \ |
3599 | 215 | ) || exit 1; \ | 247 | ) || exit 1; \ |
3600 | 216 | fi | 248 | fi |
3601 | @@ -223,13 +255,84 @@ | |||
3602 | 223 | reflect: | 255 | reflect: |
3603 | 224 | @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) | 256 | @[ -n "$(THIS)" ] && $(CLEARENV) && $(MAKE) $(THIS) -e $(BUILDENV) |
3604 | 225 | 257 | ||
3605 | 258 | FIPS_EX_OBJ= ../crypto/aes/aes_cfb.o \ | ||
3606 | 259 | ../crypto/aes/aes_ecb.o \ | ||
3607 | 260 | ../crypto/aes/aes_ofb.o \ | ||
3608 | 261 | ../crypto/bn/bn_add.o \ | ||
3609 | 262 | ../crypto/bn/bn_blind.o \ | ||
3610 | 263 | ../crypto/bn/bn_ctx.o \ | ||
3611 | 264 | ../crypto/bn/bn_div.o \ | ||
3612 | 265 | ../crypto/bn/bn_exp2.o \ | ||
3613 | 266 | ../crypto/bn/bn_exp.o \ | ||
3614 | 267 | ../crypto/bn/bn_gcd.o \ | ||
3615 | 268 | ../crypto/bn/bn_lib.o \ | ||
3616 | 269 | ../crypto/bn/bn_mod.o \ | ||
3617 | 270 | ../crypto/bn/bn_mont.o \ | ||
3618 | 271 | ../crypto/bn/bn_mul.o \ | ||
3619 | 272 | ../crypto/bn/bn_prime.o \ | ||
3620 | 273 | ../crypto/bn/bn_rand.o \ | ||
3621 | 274 | ../crypto/bn/bn_recp.o \ | ||
3622 | 275 | ../crypto/bn/bn_shift.o \ | ||
3623 | 276 | ../crypto/bn/bn_sqr.o \ | ||
3624 | 277 | ../crypto/bn/bn_word.o \ | ||
3625 | 278 | ../crypto/bn/bn_x931p.o \ | ||
3626 | 279 | ../crypto/buffer/buf_str.o \ | ||
3627 | 280 | ../crypto/cryptlib.o \ | ||
3628 | 281 | ../crypto/des/cfb64ede.o \ | ||
3629 | 282 | ../crypto/des/cfb64enc.o \ | ||
3630 | 283 | ../crypto/des/cfb_enc.o \ | ||
3631 | 284 | ../crypto/des/ecb3_enc.o \ | ||
3632 | 285 | ../crypto/des/ecb_enc.o \ | ||
3633 | 286 | ../crypto/des/ofb64ede.o \ | ||
3634 | 287 | ../crypto/des/ofb64enc.o \ | ||
3635 | 288 | ../crypto/des/fcrypt.o \ | ||
3636 | 289 | ../crypto/des/set_key.o \ | ||
3637 | 290 | ../crypto/dsa/dsa_utl.o \ | ||
3638 | 291 | ../crypto/dsa/dsa_sign.o \ | ||
3639 | 292 | ../crypto/dsa/dsa_vrf.o \ | ||
3640 | 293 | ../crypto/err/err.o \ | ||
3641 | 294 | ../crypto/evp/digest.o \ | ||
3642 | 295 | ../crypto/evp/enc_min.o \ | ||
3643 | 296 | ../crypto/evp/e_aes.o \ | ||
3644 | 297 | ../crypto/evp/e_des3.o \ | ||
3645 | 298 | ../crypto/evp/p_sign.o \ | ||
3646 | 299 | ../crypto/evp/p_verify.o \ | ||
3647 | 300 | ../crypto/mem_clr.o \ | ||
3648 | 301 | ../crypto/mem.o \ | ||
3649 | 302 | ../crypto/rand/md_rand.o \ | ||
3650 | 303 | ../crypto/rand/rand_egd.o \ | ||
3651 | 304 | ../crypto/rand/randfile.o \ | ||
3652 | 305 | ../crypto/rand/rand_lib.o \ | ||
3653 | 306 | ../crypto/rand/rand_os2.o \ | ||
3654 | 307 | ../crypto/rand/rand_unix.o \ | ||
3655 | 308 | ../crypto/rand/rand_win.o \ | ||
3656 | 309 | ../crypto/rsa/rsa_lib.o \ | ||
3657 | 310 | ../crypto/rsa/rsa_none.o \ | ||
3658 | 311 | ../crypto/rsa/rsa_oaep.o \ | ||
3659 | 312 | ../crypto/rsa/rsa_pk1.o \ | ||
3660 | 313 | ../crypto/rsa/rsa_pss.o \ | ||
3661 | 314 | ../crypto/rsa/rsa_ssl.o \ | ||
3662 | 315 | ../crypto/rsa/rsa_x931.o \ | ||
3663 | 316 | ../crypto/sha/sha1dgst.o \ | ||
3664 | 317 | ../crypto/sha/sha256.o \ | ||
3665 | 318 | ../crypto/sha/sha512.o \ | ||
3666 | 319 | ../crypto/uid.o | ||
3667 | 320 | |||
3668 | 226 | sub_all: build_all | 321 | sub_all: build_all |
3669 | 227 | build_all: build_libs build_apps build_tests build_tools | 322 | build_all: build_libs build_apps build_tests build_tools |
3670 | 228 | 323 | ||
3672 | 229 | build_libs: build_crypto build_ssl build_engines | 324 | build_libs: build_crypto build_fips build_ssl build_shared build_engines |
3673 | 230 | 325 | ||
3674 | 231 | build_crypto: | 326 | build_crypto: |
3676 | 232 | @dir=crypto; target=all; $(BUILD_ONE_CMD) | 327 | if [ -n "$(FIPSCANLIB)" ]; then \ |
3677 | 328 | EXCL_OBJ='$(AES_ASM_OBJ) $(BN_ASM) $(DES_ENC) $(CPUID_OBJ) $(SHA1_ASM_OBJ) $(FIPS_EX_OBJ)' ; export EXCL_OBJ ; \ | ||
3678 | 329 | ARX='$(PERL) $${TOP}/util/arx.pl $(AR)' ; \ | ||
3679 | 330 | else \ | ||
3680 | 331 | ARX='${AR}' ; \ | ||
3681 | 332 | fi ; export ARX ; \ | ||
3682 | 333 | dir=crypto; target=all; $(BUILD_ONE_CMD) | ||
3683 | 334 | build_fips: | ||
3684 | 335 | @dir=fips; target=all; [ -z "$(FIPSCANLIB)" ] || $(BUILD_ONE_CMD) | ||
3685 | 233 | build_ssl: | 336 | build_ssl: |
3686 | 234 | @dir=ssl; target=all; $(BUILD_ONE_CMD) | 337 | @dir=ssl; target=all; $(BUILD_ONE_CMD) |
3687 | 235 | build_engines: | 338 | build_engines: |
3688 | @@ -245,9 +348,20 @@ | |||
3689 | 245 | build_testapps: | 348 | build_testapps: |
3690 | 246 | @dir=crypto; target=testapps; $(BUILD_ONE_CMD) | 349 | @dir=crypto; target=testapps; $(BUILD_ONE_CMD) |
3691 | 247 | 350 | ||
3693 | 248 | libcrypto$(SHLIB_EXT): libcrypto.a | 351 | build_shared: $(SHARED_LIBS) |
3694 | 352 | libcrypto$(SHLIB_EXT): libcrypto.a $(SHARED_FIPS) | ||
3695 | 249 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | 353 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ |
3697 | 250 | $(MAKE) SHLIBDIRS=crypto build-shared; \ | 354 | if [ "$(FIPSCANLIB)" = "libfips" ]; then \ |
3698 | 355 | $(ARD) libcrypto.a fipscanister.o ; \ | ||
3699 | 356 | $(MAKE) SHLIBDIRS='crypto' SHLIBDEPS='-lfips' build-shared; \ | ||
3700 | 357 | $(AR) libcrypto.a fips/fipscanister.o ; \ | ||
3701 | 358 | else \ | ||
3702 | 359 | if [ "$(FIPSCANLIB)" = "libcrypto" ]; then \ | ||
3703 | 360 | FIPSLD_CC=$(CC); CC=fips/fipsld; \ | ||
3704 | 361 | export CC FIPSLD_CC; \ | ||
3705 | 362 | fi; \ | ||
3706 | 363 | $(MAKE) -e SHLIBDIRS='crypto' build-shared; \ | ||
3707 | 364 | fi \ | ||
3708 | 251 | else \ | 365 | else \ |
3709 | 252 | echo "There's no support for shared libraries on this platform" >&2; \ | 366 | echo "There's no support for shared libraries on this platform" >&2; \ |
3710 | 253 | exit 1; \ | 367 | exit 1; \ |
3711 | @@ -255,12 +369,32 @@ | |||
3712 | 255 | 369 | ||
3713 | 256 | libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a | 370 | libssl$(SHLIB_EXT): libcrypto$(SHLIB_EXT) libssl.a |
3714 | 257 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | 371 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ |
3716 | 258 | $(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \ | 372 | shlibdeps=-lcrypto; \ |
3717 | 373 | [ "$(FIPSCANLIB)" = "libfips" ] && shlibdeps="$$shlibdeps -lfips"; \ | ||
3718 | 374 | $(MAKE) SHLIBDIRS=ssl SHLIBDEPS="$$shlibdeps" build-shared; \ | ||
3719 | 375 | else \ | ||
3720 | 376 | echo "There's no support for shared libraries on this platform" >&2 ; \ | ||
3721 | 377 | exit 1; \ | ||
3722 | 378 | fi | ||
3723 | 379 | |||
3724 | 380 | fips/fipscanister.o: build_fips | ||
3725 | 381 | libfips$(SHLIB_EXT): fips/fipscanister.o | ||
3726 | 382 | @if [ "$(SHLIB_TARGET)" != "" ]; then \ | ||
3727 | 383 | FIPSLD_CC=$(CC); CC=fips/fipsld; export CC FIPSLD_CC; \ | ||
3728 | 384 | $(MAKE) -f Makefile.shared -e $(BUILDENV) \ | ||
3729 | 385 | CC=$${CC} LIBNAME=fips THIS=$@ \ | ||
3730 | 386 | LIBEXTRAS=fips/fipscanister.o \ | ||
3731 | 387 | LIBDEPS="$(EX_LIBS)" \ | ||
3732 | 388 | LIBVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR} \ | ||
3733 | 389 | link_o.$(SHLIB_TARGET) || { rm -f $@; exit 1; } \ | ||
3734 | 259 | else \ | 390 | else \ |
3735 | 260 | echo "There's no support for shared libraries on this platform" >&2; \ | 391 | echo "There's no support for shared libraries on this platform" >&2; \ |
3736 | 261 | exit 1; \ | 392 | exit 1; \ |
3737 | 262 | fi | 393 | fi |
3738 | 263 | 394 | ||
3739 | 395 | libfips.a: | ||
3740 | 396 | dir=fips; target=all; $(BUILD_ONE_CMD) | ||
3741 | 397 | |||
3742 | 264 | clean-shared: | 398 | clean-shared: |
3743 | 265 | @set -e; for i in $(SHLIBDIRS); do \ | 399 | @set -e; for i in $(SHLIBDIRS); do \ |
3744 | 266 | if [ -n "$(SHARED_LIBS_LINK_EXTS)" ]; then \ | 400 | if [ -n "$(SHARED_LIBS_LINK_EXTS)" ]; then \ |
3745 | @@ -309,8 +443,7 @@ | |||
3746 | 309 | echo 'Description: OpenSSL cryptography library'; \ | 443 | echo 'Description: OpenSSL cryptography library'; \ |
3747 | 310 | echo 'Version: '$(VERSION); \ | 444 | echo 'Version: '$(VERSION); \ |
3748 | 311 | echo 'Requires: '; \ | 445 | echo 'Requires: '; \ |
3751 | 312 | echo 'Libs: -L$${libdir} -lcrypto'; \ | 446 | echo 'Libs: -L$${libdir} -lcrypto $(EX_LIBS)'; \ |
3750 | 313 | echo 'Libs.private: $(EX_LIBS)'; \ | ||
3752 | 314 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc | 447 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libcrypto.pc |
3753 | 315 | 448 | ||
3754 | 316 | libssl.pc: Makefile | 449 | libssl.pc: Makefile |
3755 | @@ -323,8 +456,7 @@ | |||
3756 | 323 | echo 'Description: Secure Sockets Layer and cryptography libraries'; \ | 456 | echo 'Description: Secure Sockets Layer and cryptography libraries'; \ |
3757 | 324 | echo 'Version: '$(VERSION); \ | 457 | echo 'Version: '$(VERSION); \ |
3758 | 325 | echo 'Requires: '; \ | 458 | echo 'Requires: '; \ |
3761 | 326 | echo 'Libs: -L$${libdir} -lssl'; \ | 459 | echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \ |
3760 | 327 | echo 'Libs.private: -lcrypto $(EX_LIBS)'; \ | ||
3762 | 328 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc | 460 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > libssl.pc |
3763 | 329 | 461 | ||
3764 | 330 | openssl.pc: Makefile | 462 | openssl.pc: Makefile |
3765 | @@ -337,8 +469,7 @@ | |||
3766 | 337 | echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \ | 469 | echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \ |
3767 | 338 | echo 'Version: '$(VERSION); \ | 470 | echo 'Version: '$(VERSION); \ |
3768 | 339 | echo 'Requires: '; \ | 471 | echo 'Requires: '; \ |
3771 | 340 | echo 'Libs: -L$${libdir} -lssl -lcrypto'; \ | 472 | echo 'Libs: -L$${libdir} -lssl -lcrypto $(EX_LIBS)'; \ |
3770 | 341 | echo 'Libs.private: $(EX_LIBS)'; \ | ||
3772 | 342 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc | 473 | echo 'Cflags: -I$${includedir} $(KRB5_INCLUDES)' ) > openssl.pc |
3773 | 343 | 474 | ||
3774 | 344 | Makefile: Makefile.org Configure config | 475 | Makefile: Makefile.org Configure config |
3775 | @@ -373,6 +504,9 @@ | |||
3776 | 373 | @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl | 504 | @$(PERL) $(TOP)/util/mkdir-p.pl include/openssl |
3777 | 374 | @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) | 505 | @$(PERL) $(TOP)/util/mklink.pl include/openssl $(EXHEADER) |
3778 | 375 | @set -e; target=links; $(RECURSIVE_BUILD_CMD) | 506 | @set -e; target=links; $(RECURSIVE_BUILD_CMD) |
3779 | 507 | @if [ -z "$(FIPSCANLIB)" ]; then \ | ||
3780 | 508 | set -e; target=links; dir=fips ; $(BUILD_CMD) ; \ | ||
3781 | 509 | fi | ||
3782 | 376 | 510 | ||
3783 | 377 | gentests: | 511 | gentests: |
3784 | 378 | @(cd test && echo "generating dummy tests (if needed)..." && \ | 512 | @(cd test && echo "generating dummy tests (if needed)..." && \ |
3785 | @@ -482,7 +616,7 @@ | |||
3786 | 482 | install_sw: | 616 | install_sw: |
3787 | 483 | @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ | 617 | @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \ |
3788 | 484 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib \ | 618 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib \ |
3790 | 485 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib/ssl/engines \ | 619 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines \ |
3791 | 486 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib/pkgconfig \ | 620 | $(INSTALL_PREFIX)$(INSTALLTOP)/lib/pkgconfig \ |
3792 | 487 | $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \ | 621 | $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl \ |
3793 | 488 | $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \ | 622 | $(INSTALL_PREFIX)$(OPENSSLDIR)/misc \ |
3794 | @@ -560,7 +694,7 @@ | |||
3795 | 560 | echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \ | 694 | echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \ |
3796 | 561 | (cd `$(PERL) util/dirname.pl $$i`; \ | 695 | (cd `$(PERL) util/dirname.pl $$i`; \ |
3797 | 562 | sh -c "$$pod2man \ | 696 | sh -c "$$pod2man \ |
3799 | 563 | --section=$${sec}$(MANSECTION) --center=OpenSSL \ | 697 | --section=$$sec --center=OpenSSL \ |
3800 | 564 | --release=$(VERSION) `basename $$i`") \ | 698 | --release=$(VERSION) `basename $$i`") \ |
3801 | 565 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \ | 699 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \ |
3802 | 566 | $(PERL) util/extract-names.pl < $$i | \ | 700 | $(PERL) util/extract-names.pl < $$i | \ |
3803 | @@ -577,7 +711,7 @@ | |||
3804 | 577 | echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \ | 711 | echo "installing man$$sec/$$fn.$${sec}$(MANSUFFIX)"; \ |
3805 | 578 | (cd `$(PERL) util/dirname.pl $$i`; \ | 712 | (cd `$(PERL) util/dirname.pl $$i`; \ |
3806 | 579 | sh -c "$$pod2man \ | 713 | sh -c "$$pod2man \ |
3808 | 580 | --section=$${sec}$(MANSECTION) --center=OpenSSL \ | 714 | --section=$$sec --center=OpenSSL \ |
3809 | 581 | --release=$(VERSION) `basename $$i`") \ | 715 | --release=$(VERSION) `basename $$i`") \ |
3810 | 582 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \ | 716 | > $(INSTALL_PREFIX)$(MANDIR)/man$$sec/$$fn.$${sec}$(MANSUFFIX); \ |
3811 | 583 | $(PERL) util/extract-names.pl < $$i | \ | 717 | $(PERL) util/extract-names.pl < $$i | \ |
3812 | 584 | 718 | ||
3813 | === modified file 'Makefile.shared' | |||
3814 | --- Makefile.shared 2008-11-11 17:24:44 +0000 | |||
3815 | +++ Makefile.shared 2009-12-07 19:46:11 +0000 | |||
3816 | @@ -101,15 +101,13 @@ | |||
3817 | 101 | LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \ | 101 | LIBDEPS="$${LIBDEPS:-$(LIBDEPS)}"; \ |
3818 | 102 | SHAREDCMD="$${SHAREDCMD:-$(CC)}"; \ | 102 | SHAREDCMD="$${SHAREDCMD:-$(CC)}"; \ |
3819 | 103 | SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \ | 103 | SHAREDFLAGS="$${SHAREDFLAGS:-$(CFLAGS) $(SHARED_LDFLAGS)}"; \ |
3820 | 104 | nm -Pg $$SHOBJECTS | grep ' [BDT] ' | cut -f1 -d' ' > lib$(LIBNAME).exp; \ | ||
3821 | 105 | LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \ | 104 | LIBPATH=`for x in $$LIBDEPS; do if echo $$x | grep '^ *-L' > /dev/null 2>&1; then echo $$x | sed -e 's/^ *-L//'; fi; done | uniq`; \ |
3822 | 106 | LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \ | 105 | LIBPATH=`echo $$LIBPATH | sed -e 's/ /:/g'`; \ |
3823 | 107 | LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \ | 106 | LD_LIBRARY_PATH=$$LIBPATH:$$LD_LIBRARY_PATH \ |
3824 | 108 | $${SHAREDCMD} $${SHAREDFLAGS} \ | 107 | $${SHAREDCMD} $${SHAREDFLAGS} \ |
3825 | 109 | -o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \ | 108 | -o $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX \ |
3826 | 110 | $$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \ | 109 | $$ALLSYMSFLAGS $$SHOBJECTS $$NOALLSYMSFLAGS $$LIBDEPS \ |
3829 | 111 | ) && $(SYMLINK_SO); \ | 110 | ) && $(SYMLINK_SO) |
3828 | 112 | ( $(SET_X); rm -f lib$(LIBNAME).exp ) | ||
3830 | 113 | 111 | ||
3831 | 114 | SYMLINK_SO= \ | 112 | SYMLINK_SO= \ |
3832 | 115 | if [ -n "$$INHIBIT_SYMLINKS" ]; then :; else \ | 113 | if [ -n "$$INHIBIT_SYMLINKS" ]; then :; else \ |
3833 | @@ -151,9 +149,9 @@ | |||
3834 | 151 | SHLIB_SUFFIX=; \ | 149 | SHLIB_SUFFIX=; \ |
3835 | 152 | ALLSYMSFLAGS='-Wl,--whole-archive'; \ | 150 | ALLSYMSFLAGS='-Wl,--whole-archive'; \ |
3836 | 153 | NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \ | 151 | NOALLSYMSFLAGS='-Wl,--no-whole-archive'; \ |
3838 | 154 | SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX" | 152 | SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -shared -Wl,-Bsymbolic -Wl,-soname=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX" |
3839 | 155 | 153 | ||
3841 | 156 | DO_GNU_APP=LDFLAGS="$(CFLAGS)" | 154 | DO_GNU_APP=LDFLAGS="$(CFLAGS) -Wl,-rpath,$(LIBRPATH)" |
3842 | 157 | 155 | ||
3843 | 158 | #This is rather special. It's a special target with which one can link | 156 | #This is rather special. It's a special target with which one can link |
3844 | 159 | #applications without bothering with any features that have anything to | 157 | #applications without bothering with any features that have anything to |
3845 | @@ -202,8 +200,10 @@ | |||
3846 | 202 | # to use native NSModule(3) API and refers to dlfcn as termporary hack. | 200 | # to use native NSModule(3) API and refers to dlfcn as termporary hack. |
3847 | 203 | link_o.darwin: | 201 | link_o.darwin: |
3848 | 204 | @ $(CALC_VERSIONS); \ | 202 | @ $(CALC_VERSIONS); \ |
3851 | 205 | SHLIB=lib$(LIBNAME); \ | 203 | SHLIB=`expr "$$THIS" : '.*/\([^/\.]*\)\.'`; \ |
3852 | 206 | SHLIB_SUFFIX=.so; \ | 204 | SHLIB=$${SHLIB:-lib$(LIBNAME)}; \ |
3853 | 205 | SHLIB_SUFFIX=`expr "$$THIS" : '.*\(\.[^\.]*\)$$'`; \ | ||
3854 | 206 | SHLIB_SUFFIX=$${SHLIB_SUFFIX:-.so}; \ | ||
3855 | 207 | ALLSYMSFLAGS='-all_load'; \ | 207 | ALLSYMSFLAGS='-all_load'; \ |
3856 | 208 | NOALLSYMSFLAGS=''; \ | 208 | NOALLSYMSFLAGS=''; \ |
3857 | 209 | SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \ | 209 | SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS)"; \ |
3858 | @@ -491,23 +491,23 @@ | |||
3859 | 491 | 491 | ||
3860 | 492 | link_o.aix: | 492 | link_o.aix: |
3861 | 493 | @ $(CALC_VERSIONS); \ | 493 | @ $(CALC_VERSIONS); \ |
3863 | 494 | OBJECT_MODE=`expr x$(SHARED_LDFLAGS) : 'x\-[a-z]*\(64\)'` || :; \ | 494 | OBJECT_MODE=`expr "x$(SHARED_LDFLAGS)" : 'x\-[a-z]*\(64\)'` || :; \ |
3864 | 495 | OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \ | 495 | OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \ |
3865 | 496 | SHLIB=lib$(LIBNAME).so; \ | 496 | SHLIB=lib$(LIBNAME).so; \ |
3866 | 497 | SHLIB_SUFFIX=; \ | 497 | SHLIB_SUFFIX=; \ |
3867 | 498 | ALLSYMSFLAGS=''; \ | 498 | ALLSYMSFLAGS=''; \ |
3868 | 499 | NOALLSYMSFLAGS=''; \ | 499 | NOALLSYMSFLAGS=''; \ |
3870 | 500 | SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-G,-bexpall,-bnolibpath,-bM:SRE'; \ | 500 | SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-bexpall,-bnolibpath,-bM:SRE'; \ |
3871 | 501 | $(LINK_SO_O); | 501 | $(LINK_SO_O); |
3872 | 502 | link_a.aix: | 502 | link_a.aix: |
3873 | 503 | @ $(CALC_VERSIONS); \ | 503 | @ $(CALC_VERSIONS); \ |
3875 | 504 | OBJECT_MODE=`expr x$(SHARED_LDFLAGS) : 'x\-[a-z]*\(64\)'` || : ; \ | 504 | OBJECT_MODE=`expr "x$(SHARED_LDFLAGS)" : 'x\-[a-z]*\(64\)'` || : ; \ |
3876 | 505 | OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \ | 505 | OBJECT_MODE=$${OBJECT_MODE:-32}; export OBJECT_MODE; \ |
3877 | 506 | SHLIB=lib$(LIBNAME).so; \ | 506 | SHLIB=lib$(LIBNAME).so; \ |
3878 | 507 | SHLIB_SUFFIX=; \ | 507 | SHLIB_SUFFIX=; \ |
3879 | 508 | ALLSYMSFLAGS='-bnogc'; \ | 508 | ALLSYMSFLAGS='-bnogc'; \ |
3880 | 509 | NOALLSYMSFLAGS=''; \ | 509 | NOALLSYMSFLAGS=''; \ |
3882 | 510 | SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-G,-bexpall,-bnolibpath,-bM:SRE'; \ | 510 | SHAREDFLAGS='$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-bexpall,-bnolibpath,-bM:SRE'; \ |
3883 | 511 | $(LINK_SO_A_VIA_O) | 511 | $(LINK_SO_A_VIA_O) |
3884 | 512 | link_app.aix: | 512 | link_app.aix: |
3885 | 513 | LDFLAGS="$(CFLAGS) -Wl,-brtl,-blibpath:$(LIBRPATH):$${LIBPATH:-/usr/lib:/lib}"; \ | 513 | LDFLAGS="$(CFLAGS) -Wl,-brtl,-blibpath:$(LIBRPATH):$${LIBPATH:-/usr/lib:/lib}"; \ |
3886 | 514 | 514 | ||
3887 | === modified file 'NEWS' | |||
3888 | --- NEWS 2007-12-05 00:13:39 +0000 | |||
3889 | +++ NEWS 2009-12-07 19:46:11 +0000 | |||
3890 | @@ -5,8 +5,26 @@ | |||
3891 | 5 | This file gives a brief overview of the major changes between each OpenSSL | 5 | This file gives a brief overview of the major changes between each OpenSSL |
3892 | 6 | release. For more details please read the CHANGES file. | 6 | release. For more details please read the CHANGES file. |
3893 | 7 | 7 | ||
3894 | 8 | Major changes between OpenSSL 0.9.8j and OpenSSL 0.9.8k: | ||
3895 | 9 | |||
3896 | 10 | o Fix various build issues. | ||
3897 | 11 | o Fix security issues (CVE-2009-0590, CVE-2009-0591, CVE-2009-0789) | ||
3898 | 12 | |||
3899 | 13 | Major changes between OpenSSL 0.9.8i and OpenSSL 0.9.8j: | ||
3900 | 14 | |||
3901 | 15 | o Fix security issue (CVE-2008-5077) | ||
3902 | 16 | o Merge FIPS 140-2 branch code. | ||
3903 | 17 | |||
3904 | 18 | Major changes between OpenSSL 0.9.8g and OpenSSL 0.9.8h: | ||
3905 | 19 | |||
3906 | 20 | o CryptoAPI ENGINE support. | ||
3907 | 21 | o Various precautionary measures. | ||
3908 | 22 | o Fix for bugs affecting certificate request creation. | ||
3909 | 23 | o Support for local machine keyset attribute in PKCS#12 files. | ||
3910 | 24 | |||
3911 | 8 | Major changes between OpenSSL 0.9.8f and OpenSSL 0.9.8g: | 25 | Major changes between OpenSSL 0.9.8f and OpenSSL 0.9.8g: |
3912 | 9 | 26 | ||
3913 | 27 | o Backport of CMS functionality to 0.9.8. | ||
3914 | 10 | o Fixes for bugs introduced with 0.9.8f. | 28 | o Fixes for bugs introduced with 0.9.8f. |
3915 | 11 | 29 | ||
3916 | 12 | Major changes between OpenSSL 0.9.8e and OpenSSL 0.9.8f: | 30 | Major changes between OpenSSL 0.9.8e and OpenSSL 0.9.8f: |
3917 | 13 | 31 | ||
3918 | === modified file 'Netware/build.bat' | |||
3919 | --- Netware/build.bat 2005-12-13 21:37:42 +0000 | |||
3920 | +++ Netware/build.bat 2009-12-07 19:46:11 +0000 | |||
3921 | @@ -7,8 +7,9 @@ | |||
3922 | 7 | rem build [target] [debug opts] [assembly opts] [configure opts] | 7 | rem build [target] [debug opts] [assembly opts] [configure opts] |
3923 | 8 | rem | 8 | rem |
3924 | 9 | rem target - "netware-clib" - CLib NetWare build (WinSock Sockets) | 9 | rem target - "netware-clib" - CLib NetWare build (WinSock Sockets) |
3927 | 10 | rem - "netware-libc" - LibC NKS NetWare build (WinSock Sockets) | 10 | rem - "netware-clib-bsdsock" - CLib NetWare build (BSD Sockets) |
3928 | 11 | rem - "netware-libc-bsdsock" - LibC NKS NetWare build (BSD Sockets) | 11 | rem - "netware-libc" - LibC NetWare build (WinSock Sockets) |
3929 | 12 | rem - "netware-libc-bsdsock" - LibC NetWare build (BSD Sockets) | ||
3930 | 12 | rem | 13 | rem |
3931 | 13 | rem debug opts - "debug" - build debug | 14 | rem debug opts - "debug" - build debug |
3932 | 14 | rem | 15 | rem |
3933 | @@ -71,10 +72,12 @@ | |||
3934 | 71 | if "%1" == "nw-nasm" set ARG_PROCESSED=YES | 72 | if "%1" == "nw-nasm" set ARG_PROCESSED=YES |
3935 | 72 | if "%1" == "nw-mwasm" set ASM_MODE=nw-mwasm | 73 | if "%1" == "nw-mwasm" set ASM_MODE=nw-mwasm |
3936 | 73 | if "%1" == "nw-mwasm" set ASSEMBLER=Metrowerks | 74 | if "%1" == "nw-mwasm" set ASSEMBLER=Metrowerks |
3938 | 74 | if "%1" == "nw-mwasm" set NO_ASM= | 75 | if "%1" == "nw-mwasm" set NO_ASM= |
3939 | 75 | if "%1" == "nw-mwasm" set ARG_PROCESSED=YES | 76 | if "%1" == "nw-mwasm" set ARG_PROCESSED=YES |
3940 | 76 | if "%1" == "netware-clib" set BLD_TARGET=netware-clib | 77 | if "%1" == "netware-clib" set BLD_TARGET=netware-clib |
3941 | 77 | if "%1" == "netware-clib" set ARG_PROCESSED=YES | 78 | if "%1" == "netware-clib" set ARG_PROCESSED=YES |
3942 | 79 | if "%1" == "netware-clib-bsdsock" set BLD_TARGET=netware-clib-bsdsock | ||
3943 | 80 | if "%1" == "netware-clib-bsdsock" set ARG_PROCESSED=YES | ||
3944 | 78 | if "%1" == "netware-libc" set BLD_TARGET=netware-libc | 81 | if "%1" == "netware-libc" set BLD_TARGET=netware-libc |
3945 | 79 | if "%1" == "netware-libc" set ARG_PROCESSED=YES | 82 | if "%1" == "netware-libc" set ARG_PROCESSED=YES |
3946 | 80 | if "%1" == "netware-libc-bsdsock" set BLD_TARGET=netware-libc-bsdsock | 83 | if "%1" == "netware-libc-bsdsock" set BLD_TARGET=netware-libc-bsdsock |
3947 | @@ -94,6 +97,7 @@ | |||
3948 | 94 | rem build the nlm make file name which includes target and debug info | 97 | rem build the nlm make file name which includes target and debug info |
3949 | 95 | set NLM_MAKE= | 98 | set NLM_MAKE= |
3950 | 96 | if "%BLD_TARGET%" == "netware-clib" set NLM_MAKE=netware\nlm_clib | 99 | if "%BLD_TARGET%" == "netware-clib" set NLM_MAKE=netware\nlm_clib |
3951 | 100 | if "%BLD_TARGET%" == "netware-clib-bsdsock" set NLM_MAKE=netware\nlm_clib_bsdsock | ||
3952 | 97 | if "%BLD_TARGET%" == "netware-libc" set NLM_MAKE=netware\nlm_libc | 101 | if "%BLD_TARGET%" == "netware-libc" set NLM_MAKE=netware\nlm_libc |
3953 | 98 | if "%BLD_TARGET%" == "netware-libc-bsdsock" set NLM_MAKE=netware\nlm_libc_bsdsock | 102 | if "%BLD_TARGET%" == "netware-libc-bsdsock" set NLM_MAKE=netware\nlm_libc_bsdsock |
3954 | 99 | if "%DEBUG%" == "" set NLM_MAKE=%NLM_MAKE%.mak | 103 | if "%DEBUG%" == "" set NLM_MAKE=%NLM_MAKE%.mak |
3955 | @@ -110,7 +114,14 @@ | |||
3956 | 110 | 114 | ||
3957 | 111 | echo Bignum | 115 | echo Bignum |
3958 | 112 | cd crypto\bn\asm | 116 | cd crypto\bn\asm |
3960 | 113 | perl x86.pl %ASM_MODE% > bn-nw.asm | 117 | rem perl x86.pl %ASM_MODE% > bn-nw.asm |
3961 | 118 | perl bn-586.pl %ASM_MODE% > bn-nw.asm | ||
3962 | 119 | perl co-586.pl %ASM_MODE% > co-nw.asm | ||
3963 | 120 | cd ..\..\.. | ||
3964 | 121 | |||
3965 | 122 | echo AES | ||
3966 | 123 | cd crypto\aes\asm | ||
3967 | 124 | perl aes-586.pl %ASM_MODE% > a-nw.asm | ||
3968 | 114 | cd ..\..\.. | 125 | cd ..\..\.. |
3969 | 115 | 126 | ||
3970 | 116 | echo DES | 127 | echo DES |
3971 | @@ -160,6 +171,11 @@ | |||
3972 | 160 | perl rc5-586.pl %ASM_MODE% > r5-nw.asm | 171 | perl rc5-586.pl %ASM_MODE% > r5-nw.asm |
3973 | 161 | cd ..\..\.. | 172 | cd ..\..\.. |
3974 | 162 | 173 | ||
3975 | 174 | echo CPUID | ||
3976 | 175 | cd crypto | ||
3977 | 176 | perl x86cpuid.pl %ASM_MODE% > x86cpuid-nw.asm | ||
3978 | 177 | cd ..\ | ||
3979 | 178 | |||
3980 | 163 | rem =============================================================== | 179 | rem =============================================================== |
3981 | 164 | rem | 180 | rem |
3982 | 165 | :do_config | 181 | :do_config |
3983 | @@ -176,8 +192,10 @@ | |||
3984 | 176 | echo . | 192 | echo . |
3985 | 177 | perl util\mk1mf.pl %DEBUG% %ASM_MODE% %CONFIG_OPTS% %BLD_TARGET% >%NLM_MAKE% | 193 | perl util\mk1mf.pl %DEBUG% %ASM_MODE% %CONFIG_OPTS% %BLD_TARGET% >%NLM_MAKE% |
3986 | 178 | 194 | ||
3987 | 195 | make -f %NLM_MAKE% vclean | ||
3988 | 196 | echo . | ||
3989 | 179 | echo The makefile "%NLM_MAKE%" has been created use your maketool to | 197 | echo The makefile "%NLM_MAKE%" has been created use your maketool to |
3991 | 180 | echo build (ex: gmake -f %NLM_MAKE%) | 198 | echo build (ex: make -f %NLM_MAKE%) |
3992 | 181 | goto end | 199 | goto end |
3993 | 182 | 200 | ||
3994 | 183 | rem =============================================================== | 201 | rem =============================================================== |
3995 | @@ -189,8 +207,9 @@ | |||
3996 | 189 | echo . usage: build [target] [debug opts] [assembly opts] [configure opts] | 207 | echo . usage: build [target] [debug opts] [assembly opts] [configure opts] |
3997 | 190 | echo . | 208 | echo . |
3998 | 191 | echo . target - "netware-clib" - CLib NetWare build (WinSock Sockets) | 209 | echo . target - "netware-clib" - CLib NetWare build (WinSock Sockets) |
4001 | 192 | echo . - "netware-libc" - LibC NKS NetWare build (WinSock Sockets) | 210 | echo . - "netware-clib-bsdsock" - CLib NetWare build (BSD Sockets) |
4002 | 193 | echo . - "netware-libc-bsdsock" - LibC NKS NetWare build (BSD Sockets) | 211 | echo . - "netware-libc" - LibC NetWare build (WinSock Sockets) |
4003 | 212 | echo . - "netware-libc-bsdsock" - LibC NetWare build (BSD Sockets) | ||
4004 | 194 | echo . | 213 | echo . |
4005 | 195 | echo . debug opts - "debug" - build debug | 214 | echo . debug opts - "debug" - build debug |
4006 | 196 | echo . | 215 | echo . |
4007 | 197 | 216 | ||
4008 | === modified file 'Netware/cpy_tests.bat' | |||
4009 | --- Netware/cpy_tests.bat 2005-12-13 21:37:42 +0000 | |||
4010 | +++ Netware/cpy_tests.bat 2009-12-07 19:46:11 +0000 | |||
4011 | @@ -73,6 +73,7 @@ | |||
4012 | 73 | copy %loc%\test\testx509.pem %2\openssl\test\ | 73 | copy %loc%\test\testx509.pem %2\openssl\test\ |
4013 | 74 | copy %loc%\test\v3-cert1.pem %2\openssl\test\ | 74 | copy %loc%\test\v3-cert1.pem %2\openssl\test\ |
4014 | 75 | copy %loc%\test\v3-cert2.pem %2\openssl\test\ | 75 | copy %loc%\test\v3-cert2.pem %2\openssl\test\ |
4015 | 76 | copy %loc%\crypto\evp\evptests.txt %2\openssl\test\ | ||
4016 | 76 | 77 | ||
4017 | 77 | rem copy the apps directory stuff | 78 | rem copy the apps directory stuff |
4018 | 78 | copy %loc%\apps\client.pem %2\openssl\apps\ | 79 | copy %loc%\apps\client.pem %2\openssl\apps\ |
4019 | 79 | 80 | ||
4020 | === modified file 'Netware/do_tests.pl' | |||
4021 | --- Netware/do_tests.pl 2009-05-14 14:11:05 +0000 | |||
4022 | +++ Netware/do_tests.pl 2009-12-07 19:46:11 +0000 | |||
4023 | @@ -34,12 +34,17 @@ | |||
4024 | 34 | # delete all the output files in the output directory | 34 | # delete all the output files in the output directory |
4025 | 35 | unlink <$output_path\\*.*>; | 35 | unlink <$output_path\\*.*>; |
4026 | 36 | 36 | ||
4028 | 37 | # open the main log file | 37 | # open the main log file |
4029 | 38 | open(OUT, ">$log_file") || die "unable to open $log_file\n"; | 38 | open(OUT, ">$log_file") || die "unable to open $log_file\n"; |
4030 | 39 | 39 | ||
4032 | 40 | 40 | print( OUT "========================================================\n"); | |
4033 | 41 | my $outFile = "$output_path\\version.out"; | ||
4034 | 42 | system("openssl2 version (CLIB_OPT)/>$outFile"); | ||
4035 | 43 | log_output("CHECKING FOR OPENSSL VERSION:", $outFile); | ||
4036 | 44 | |||
4037 | 41 | algorithm_tests(); | 45 | algorithm_tests(); |
4038 | 42 | encryption_tests(); | 46 | encryption_tests(); |
4039 | 47 | evp_tests(); | ||
4040 | 43 | pem_tests(); | 48 | pem_tests(); |
4041 | 44 | verify_tests(); | 49 | verify_tests(); |
4042 | 45 | ca_tests(); | 50 | ca_tests(); |
4043 | @@ -56,9 +61,10 @@ | |||
4044 | 56 | { | 61 | { |
4045 | 57 | my $i; | 62 | my $i; |
4046 | 58 | my $outFile; | 63 | my $outFile; |
4050 | 59 | my @tests = ( rsa_test, destest, ideatest, bftest, shatest, sha1test, | 64 | my @tests = ( rsa_test, destest, ideatest, bftest, bntest, shatest, sha1test, |
4051 | 60 | md5test, dsatest, md2test, mdc2test, rc2test, rc4test, randtest, | 65 | sha256t, sha512t, dsatest, md2test, md4test, md5test, mdc2test, |
4052 | 61 | dhtest, exptest ); | 66 | rc2test, rc4test, rc5test, randtest, rmdtest, dhtest, ecdhtest, |
4053 | 67 | ecdsatest, ectest, exptest, casttest, hmactest ); | ||
4054 | 62 | 68 | ||
4055 | 63 | print( "\nRUNNING CRYPTO ALGORITHM TESTS:\n\n"); | 69 | print( "\nRUNNING CRYPTO ALGORITHM TESTS:\n\n"); |
4056 | 64 | 70 | ||
4057 | @@ -68,16 +74,16 @@ | |||
4058 | 68 | foreach $i (@tests) | 74 | foreach $i (@tests) |
4059 | 69 | { | 75 | { |
4060 | 70 | if (-e "$base_path\\$i.nlm") | 76 | if (-e "$base_path\\$i.nlm") |
4062 | 71 | { | 77 | { |
4063 | 72 | $outFile = "$output_path\\$i.out"; | 78 | $outFile = "$output_path\\$i.out"; |
4065 | 73 | system("$i > $outFile"); | 79 | system("$i (CLIB_OPT)/>$outFile"); |
4066 | 74 | log_desc("Test: $i\.nlm:"); | 80 | log_desc("Test: $i\.nlm:"); |
4067 | 75 | log_output("", $outFile ); | 81 | log_output("", $outFile ); |
4071 | 76 | } | 82 | } |
4072 | 77 | else | 83 | else |
4073 | 78 | { | 84 | { |
4074 | 79 | log_desc("Test: $i\.nlm: file not found"); | 85 | log_desc("Test: $i\.nlm: file not found"); |
4076 | 80 | } | 86 | } |
4077 | 81 | } | 87 | } |
4078 | 82 | } | 88 | } |
4079 | 83 | 89 | ||
4080 | @@ -109,24 +115,24 @@ | |||
4081 | 109 | 115 | ||
4082 | 110 | # do encryption | 116 | # do encryption |
4083 | 111 | $outFile = "$output_path\\enc.out"; | 117 | $outFile = "$output_path\\enc.out"; |
4085 | 112 | system("openssl2 $i -e -bufsize 113 -k test -in $input -out $cipher > $outFile" ); | 118 | system("openssl2 $i -e -bufsize 113 -k test -in $input -out $cipher (CLIB_OPT)/>$outFile" ); |
4086 | 113 | log_output("Encrypting: $input --> $cipher", $outFile); | 119 | log_output("Encrypting: $input --> $cipher", $outFile); |
4087 | 114 | 120 | ||
4088 | 115 | # do decryption | 121 | # do decryption |
4089 | 116 | $outFile = "$output_path\\dec.out"; | 122 | $outFile = "$output_path\\dec.out"; |
4091 | 117 | system("openssl2 $i -d -bufsize 157 -k test -in $cipher -out $clear > $outFile"); | 123 | system("openssl2 $i -d -bufsize 157 -k test -in $cipher -out $clear (CLIB_OPT)/>$outFile"); |
4092 | 118 | log_output("Decrypting: $cipher --> $clear", $outFile); | 124 | log_output("Decrypting: $cipher --> $clear", $outFile); |
4093 | 119 | 125 | ||
4094 | 120 | # compare files | 126 | # compare files |
4095 | 121 | $x = compare_files( $input, $clear, 1); | 127 | $x = compare_files( $input, $clear, 1); |
4096 | 122 | if ( $x == 0 ) | 128 | if ( $x == 0 ) |
4097 | 123 | { | 129 | { |
4099 | 124 | print( "SUCCESS - files match: $input, $clear\n"); | 130 | print( "\rSUCCESS - files match: $input, $clear\n"); |
4100 | 125 | print( OUT "SUCCESS - files match: $input, $clear\n"); | 131 | print( OUT "SUCCESS - files match: $input, $clear\n"); |
4101 | 126 | } | 132 | } |
4102 | 127 | else | 133 | else |
4103 | 128 | { | 134 | { |
4105 | 129 | print( "ERROR: files don't match\n"); | 135 | print( "\rERROR: files don't match\n"); |
4106 | 130 | print( OUT "ERROR: files don't match\n"); | 136 | print( OUT "ERROR: files don't match\n"); |
4107 | 131 | } | 137 | } |
4108 | 132 | 138 | ||
4109 | @@ -136,24 +142,24 @@ | |||
4110 | 136 | 142 | ||
4111 | 137 | # do encryption B64 | 143 | # do encryption B64 |
4112 | 138 | $outFile = "$output_path\\B64enc.out"; | 144 | $outFile = "$output_path\\B64enc.out"; |
4114 | 139 | system("openssl2 $i -a -e -bufsize 113 -k test -in $input -out $cipher > $outFile"); | 145 | system("openssl2 $i -a -e -bufsize 113 -k test -in $input -out $cipher (CLIB_OPT)/>$outFile"); |
4115 | 140 | log_output("Encrypting(B64): $cipher --> $clear", $outFile); | 146 | log_output("Encrypting(B64): $cipher --> $clear", $outFile); |
4116 | 141 | 147 | ||
4117 | 142 | # do decryption B64 | 148 | # do decryption B64 |
4118 | 143 | $outFile = "$output_path\\B64dec.out"; | 149 | $outFile = "$output_path\\B64dec.out"; |
4120 | 144 | system("openssl2 $i -a -d -bufsize 157 -k test -in $cipher -out $clear > $outFile"); | 150 | system("openssl2 $i -a -d -bufsize 157 -k test -in $cipher -out $clear (CLIB_OPT)/>$outFile"); |
4121 | 145 | log_output("Decrypting(B64): $cipher --> $clear", $outFile); | 151 | log_output("Decrypting(B64): $cipher --> $clear", $outFile); |
4122 | 146 | 152 | ||
4123 | 147 | # compare files | 153 | # compare files |
4124 | 148 | $x = compare_files( $input, $clear, 1); | 154 | $x = compare_files( $input, $clear, 1); |
4125 | 149 | if ( $x == 0 ) | 155 | if ( $x == 0 ) |
4126 | 150 | { | 156 | { |
4128 | 151 | print( "SUCCESS - files match: $input, $clear\n"); | 157 | print( "\rSUCCESS - files match: $input, $clear\n"); |
4129 | 152 | print( OUT "SUCCESS - files match: $input, $clear\n"); | 158 | print( OUT "SUCCESS - files match: $input, $clear\n"); |
4130 | 153 | } | 159 | } |
4131 | 154 | else | 160 | else |
4132 | 155 | { | 161 | { |
4134 | 156 | print( "ERROR: files don't match\n"); | 162 | print( "\rERROR: files don't match\n"); |
4135 | 157 | print( OUT "ERROR: files don't match\n"); | 163 | print( OUT "ERROR: files don't match\n"); |
4136 | 158 | } | 164 | } |
4137 | 159 | 165 | ||
4138 | @@ -199,24 +205,24 @@ | |||
4139 | 199 | 205 | ||
4140 | 200 | if ($i ne "req" ) | 206 | if ($i ne "req" ) |
4141 | 201 | { | 207 | { |
4143 | 202 | system("openssl2 $i -in $input -out $tmp_out > $outFile"); | 208 | system("openssl2 $i -in $input -out $tmp_out (CLIB_OPT)/>$outFile"); |
4144 | 203 | log_output( "openssl2 $i -in $input -out $tmp_out", $outFile); | 209 | log_output( "openssl2 $i -in $input -out $tmp_out", $outFile); |
4145 | 204 | } | 210 | } |
4146 | 205 | else | 211 | else |
4147 | 206 | { | 212 | { |
4149 | 207 | system("openssl2 $i -in $input -out $tmp_out -config $OpenSSL_config > $outFile"); | 213 | system("openssl2 $i -in $input -out $tmp_out -config $OpenSSL_config (CLIB_OPT)/>$outFile"); |
4150 | 208 | log_output( "openssl2 $i -in $input -out $tmp_out -config $OpenSSL_config", $outFile ); | 214 | log_output( "openssl2 $i -in $input -out $tmp_out -config $OpenSSL_config", $outFile ); |
4151 | 209 | } | 215 | } |
4152 | 210 | 216 | ||
4153 | 211 | $x = compare_files( $input, $tmp_out); | 217 | $x = compare_files( $input, $tmp_out); |
4154 | 212 | if ( $x == 0 ) | 218 | if ( $x == 0 ) |
4155 | 213 | { | 219 | { |
4157 | 214 | print( "SUCCESS - files match: $input, $tmp_out\n"); | 220 | print( "\rSUCCESS - files match: $input, $tmp_out\n"); |
4158 | 215 | print( OUT "SUCCESS - files match: $input, $tmp_out\n"); | 221 | print( OUT "SUCCESS - files match: $input, $tmp_out\n"); |
4159 | 216 | } | 222 | } |
4160 | 217 | else | 223 | else |
4161 | 218 | { | 224 | { |
4163 | 219 | print( "ERROR: files don't match\n"); | 225 | print( "\rERROR: files don't match\n"); |
4164 | 220 | print( OUT "ERROR: files don't match\n"); | 226 | print( OUT "ERROR: files don't match\n"); |
4165 | 221 | } | 227 | } |
4166 | 222 | do_wait(); | 228 | do_wait(); |
4167 | @@ -231,7 +237,8 @@ | |||
4168 | 231 | my $i; | 237 | my $i; |
4169 | 232 | my $outFile = "$output_path\\verify.out"; | 238 | my $outFile = "$output_path\\verify.out"; |
4170 | 233 | 239 | ||
4172 | 234 | my @cert_files = <$cert_path\\*.pem>; | 240 | $cert_path =~ s/\\/\//g; |
4173 | 241 | my @cert_files = <$cert_path/*.pem>; | ||
4174 | 235 | 242 | ||
4175 | 236 | print( "\nRUNNING VERIFY TESTS:\n\n"); | 243 | print( "\nRUNNING VERIFY TESTS:\n\n"); |
4176 | 237 | 244 | ||
4177 | @@ -242,7 +249,7 @@ | |||
4178 | 242 | 249 | ||
4179 | 243 | foreach $i (@cert_files) | 250 | foreach $i (@cert_files) |
4180 | 244 | { | 251 | { |
4182 | 245 | system("openssl2 verify -CAfile $tmp_cert $i >$outFile"); | 252 | system("openssl2 verify -CAfile $tmp_cert $i (CLIB_OPT)/>$outFile"); |
4183 | 246 | log_desc("Verifying cert: $i"); | 253 | log_desc("Verifying cert: $i"); |
4184 | 247 | log_output("openssl2 verify -CAfile $tmp_cert $i", $outFile); | 254 | log_output("openssl2 verify -CAfile $tmp_cert $i", $outFile); |
4185 | 248 | } | 255 | } |
4186 | @@ -263,103 +270,103 @@ | |||
4187 | 263 | print( OUT "\n========================================================\n"); | 270 | print( OUT "\n========================================================\n"); |
4188 | 264 | print( OUT "SSL TESTS:\n\n"); | 271 | print( OUT "SSL TESTS:\n\n"); |
4189 | 265 | 272 | ||
4191 | 266 | system("ssltest -ssl2 >$outFile"); | 273 | system("ssltest -ssl2 (CLIB_OPT)/>$outFile"); |
4192 | 267 | log_desc("Testing sslv2:"); | 274 | log_desc("Testing sslv2:"); |
4193 | 268 | log_output("ssltest -ssl2", $outFile); | 275 | log_output("ssltest -ssl2", $outFile); |
4194 | 269 | 276 | ||
4196 | 270 | system("$ssltest -ssl2 -server_auth >$outFile"); | 277 | system("$ssltest -ssl2 -server_auth (CLIB_OPT)/>$outFile"); |
4197 | 271 | log_desc("Testing sslv2 with server authentication:"); | 278 | log_desc("Testing sslv2 with server authentication:"); |
4198 | 272 | log_output("$ssltest -ssl2 -server_auth", $outFile); | 279 | log_output("$ssltest -ssl2 -server_auth", $outFile); |
4199 | 273 | 280 | ||
4201 | 274 | system("$ssltest -ssl2 -client_auth >$outFile"); | 281 | system("$ssltest -ssl2 -client_auth (CLIB_OPT)/>$outFile"); |
4202 | 275 | log_desc("Testing sslv2 with client authentication:"); | 282 | log_desc("Testing sslv2 with client authentication:"); |
4203 | 276 | log_output("$ssltest -ssl2 -client_auth", $outFile); | 283 | log_output("$ssltest -ssl2 -client_auth", $outFile); |
4204 | 277 | 284 | ||
4206 | 278 | system("$ssltest -ssl2 -server_auth -client_auth >$outFile"); | 285 | system("$ssltest -ssl2 -server_auth -client_auth (CLIB_OPT)/>$outFile"); |
4207 | 279 | log_desc("Testing sslv2 with both client and server authentication:"); | 286 | log_desc("Testing sslv2 with both client and server authentication:"); |
4208 | 280 | log_output("$ssltest -ssl2 -server_auth -client_auth", $outFile); | 287 | log_output("$ssltest -ssl2 -server_auth -client_auth", $outFile); |
4209 | 281 | 288 | ||
4211 | 282 | system("ssltest -ssl3 >$outFile"); | 289 | system("ssltest -ssl3 (CLIB_OPT)/>$outFile"); |
4212 | 283 | log_desc("Testing sslv3:"); | 290 | log_desc("Testing sslv3:"); |
4213 | 284 | log_output("ssltest -ssl3", $outFile); | 291 | log_output("ssltest -ssl3", $outFile); |
4214 | 285 | 292 | ||
4216 | 286 | system("$ssltest -ssl3 -server_auth >$outFile"); | 293 | system("$ssltest -ssl3 -server_auth (CLIB_OPT)/>$outFile"); |
4217 | 287 | log_desc("Testing sslv3 with server authentication:"); | 294 | log_desc("Testing sslv3 with server authentication:"); |
4218 | 288 | log_output("$ssltest -ssl3 -server_auth", $outFile); | 295 | log_output("$ssltest -ssl3 -server_auth", $outFile); |
4219 | 289 | 296 | ||
4221 | 290 | system("$ssltest -ssl3 -client_auth >$outFile"); | 297 | system("$ssltest -ssl3 -client_auth (CLIB_OPT)/>$outFile"); |
4222 | 291 | log_desc("Testing sslv3 with client authentication:"); | 298 | log_desc("Testing sslv3 with client authentication:"); |
4223 | 292 | log_output("$ssltest -ssl3 -client_auth", $outFile); | 299 | log_output("$ssltest -ssl3 -client_auth", $outFile); |
4224 | 293 | 300 | ||
4226 | 294 | system("$ssltest -ssl3 -server_auth -client_auth >$outFile"); | 301 | system("$ssltest -ssl3 -server_auth -client_auth (CLIB_OPT)/>$outFile"); |
4227 | 295 | log_desc("Testing sslv3 with both client and server authentication:"); | 302 | log_desc("Testing sslv3 with both client and server authentication:"); |
4228 | 296 | log_output("$ssltest -ssl3 -server_auth -client_auth", $outFile); | 303 | log_output("$ssltest -ssl3 -server_auth -client_auth", $outFile); |
4229 | 297 | 304 | ||
4231 | 298 | system("ssltest >$outFile"); | 305 | system("ssltest (CLIB_OPT)/>$outFile"); |
4232 | 299 | log_desc("Testing sslv2/sslv3:"); | 306 | log_desc("Testing sslv2/sslv3:"); |
4233 | 300 | log_output("ssltest", $outFile); | 307 | log_output("ssltest", $outFile); |
4234 | 301 | 308 | ||
4236 | 302 | system("$ssltest -server_auth >$outFile"); | 309 | system("$ssltest -server_auth (CLIB_OPT)/>$outFile"); |
4237 | 303 | log_desc("Testing sslv2/sslv3 with server authentication:"); | 310 | log_desc("Testing sslv2/sslv3 with server authentication:"); |
4238 | 304 | log_output("$ssltest -server_auth", $outFile); | 311 | log_output("$ssltest -server_auth", $outFile); |
4239 | 305 | 312 | ||
4241 | 306 | system("$ssltest -client_auth >$outFile"); | 313 | system("$ssltest -client_auth (CLIB_OPT)/>$outFile"); |
4242 | 307 | log_desc("Testing sslv2/sslv3 with client authentication:"); | 314 | log_desc("Testing sslv2/sslv3 with client authentication:"); |
4243 | 308 | log_output("$ssltest -client_auth ", $outFile); | 315 | log_output("$ssltest -client_auth ", $outFile); |
4244 | 309 | 316 | ||
4246 | 310 | system("$ssltest -server_auth -client_auth >$outFile"); | 317 | system("$ssltest -server_auth -client_auth (CLIB_OPT)/>$outFile"); |
4247 | 311 | log_desc("Testing sslv2/sslv3 with both client and server authentication:"); | 318 | log_desc("Testing sslv2/sslv3 with both client and server authentication:"); |
4248 | 312 | log_output("$ssltest -server_auth -client_auth", $outFile); | 319 | log_output("$ssltest -server_auth -client_auth", $outFile); |
4249 | 313 | 320 | ||
4251 | 314 | system("ssltest -bio_pair -ssl2 >$outFile"); | 321 | system("ssltest -bio_pair -ssl2 (CLIB_OPT)/>$outFile"); |
4252 | 315 | log_desc("Testing sslv2 via BIO pair:"); | 322 | log_desc("Testing sslv2 via BIO pair:"); |
4253 | 316 | log_output("ssltest -bio_pair -ssl2", $outFile); | 323 | log_output("ssltest -bio_pair -ssl2", $outFile); |
4254 | 317 | 324 | ||
4256 | 318 | system("ssltest -bio_pair -dhe1024dsa -v >$outFile"); | 325 | system("ssltest -bio_pair -dhe1024dsa -v (CLIB_OPT)/>$outFile"); |
4257 | 319 | log_desc("Testing sslv2/sslv3 with 1024 bit DHE via BIO pair:"); | 326 | log_desc("Testing sslv2/sslv3 with 1024 bit DHE via BIO pair:"); |
4258 | 320 | log_output("ssltest -bio_pair -dhe1024dsa -v", $outFile); | 327 | log_output("ssltest -bio_pair -dhe1024dsa -v", $outFile); |
4259 | 321 | 328 | ||
4261 | 322 | system("$ssltest -bio_pair -ssl2 -server_auth >$outFile"); | 329 | system("$ssltest -bio_pair -ssl2 -server_auth (CLIB_OPT)/>$outFile"); |
4262 | 323 | log_desc("Testing sslv2 with server authentication via BIO pair:"); | 330 | log_desc("Testing sslv2 with server authentication via BIO pair:"); |
4263 | 324 | log_output("$ssltest -bio_pair -ssl2 -server_auth", $outFile); | 331 | log_output("$ssltest -bio_pair -ssl2 -server_auth", $outFile); |
4264 | 325 | 332 | ||
4266 | 326 | system("$ssltest -bio_pair -ssl2 -client_auth >$outFile"); | 333 | system("$ssltest -bio_pair -ssl2 -client_auth (CLIB_OPT)/>$outFile"); |
4267 | 327 | log_desc("Testing sslv2 with client authentication via BIO pair:"); | 334 | log_desc("Testing sslv2 with client authentication via BIO pair:"); |
4268 | 328 | log_output("$ssltest -bio_pair -ssl2 -client_auth", $outFile); | 335 | log_output("$ssltest -bio_pair -ssl2 -client_auth", $outFile); |
4269 | 329 | 336 | ||
4271 | 330 | system("$ssltest -bio_pair -ssl2 -server_auth -client_auth >$outFile"); | 337 | system("$ssltest -bio_pair -ssl2 -server_auth -client_auth (CLIB_OPT)/>$outFile"); |
4272 | 331 | log_desc("Testing sslv2 with both client and server authentication via BIO pair:"); | 338 | log_desc("Testing sslv2 with both client and server authentication via BIO pair:"); |
4273 | 332 | log_output("$ssltest -bio_pair -ssl2 -server_auth -client_auth", $outFile); | 339 | log_output("$ssltest -bio_pair -ssl2 -server_auth -client_auth", $outFile); |
4274 | 333 | 340 | ||
4276 | 334 | system("ssltest -bio_pair -ssl3 >$outFile"); | 341 | system("ssltest -bio_pair -ssl3 (CLIB_OPT)/>$outFile"); |
4277 | 335 | log_desc("Testing sslv3 via BIO pair:"); | 342 | log_desc("Testing sslv3 via BIO pair:"); |
4278 | 336 | log_output("ssltest -bio_pair -ssl3", $outFile); | 343 | log_output("ssltest -bio_pair -ssl3", $outFile); |
4279 | 337 | 344 | ||
4281 | 338 | system("$ssltest -bio_pair -ssl3 -server_auth >$outFile"); | 345 | system("$ssltest -bio_pair -ssl3 -server_auth (CLIB_OPT)/>$outFile"); |
4282 | 339 | log_desc("Testing sslv3 with server authentication via BIO pair:"); | 346 | log_desc("Testing sslv3 with server authentication via BIO pair:"); |
4283 | 340 | log_output("$ssltest -bio_pair -ssl3 -server_auth", $outFile); | 347 | log_output("$ssltest -bio_pair -ssl3 -server_auth", $outFile); |
4284 | 341 | 348 | ||
4286 | 342 | system("$ssltest -bio_pair -ssl3 -client_auth >$outFile"); | 349 | system("$ssltest -bio_pair -ssl3 -client_auth (CLIB_OPT)/>$outFile"); |
4287 | 343 | log_desc("Testing sslv3 with client authentication via BIO pair:"); | 350 | log_desc("Testing sslv3 with client authentication via BIO pair:"); |
4288 | 344 | log_output("$ssltest -bio_pair -ssl3 -client_auth", $outFile); | 351 | log_output("$ssltest -bio_pair -ssl3 -client_auth", $outFile); |
4289 | 345 | 352 | ||
4291 | 346 | system("$ssltest -bio_pair -ssl3 -server_auth -client_auth >$outFile"); | 353 | system("$ssltest -bio_pair -ssl3 -server_auth -client_auth (CLIB_OPT)/>$outFile"); |
4292 | 347 | log_desc("Testing sslv3 with both client and server authentication via BIO pair:"); | 354 | log_desc("Testing sslv3 with both client and server authentication via BIO pair:"); |
4293 | 348 | log_output("$ssltest -bio_pair -ssl3 -server_auth -client_auth", $outFile); | 355 | log_output("$ssltest -bio_pair -ssl3 -server_auth -client_auth", $outFile); |
4294 | 349 | 356 | ||
4296 | 350 | system("ssltest -bio_pair >$outFile"); | 357 | system("ssltest -bio_pair (CLIB_OPT)/>$outFile"); |
4297 | 351 | log_desc("Testing sslv2/sslv3 via BIO pair:"); | 358 | log_desc("Testing sslv2/sslv3 via BIO pair:"); |
4298 | 352 | log_output("ssltest -bio_pair", $outFile); | 359 | log_output("ssltest -bio_pair", $outFile); |
4299 | 353 | 360 | ||
4301 | 354 | system("$ssltest -bio_pair -server_auth >$outFile"); | 361 | system("$ssltest -bio_pair -server_auth (CLIB_OPT)/>$outFile"); |
4302 | 355 | log_desc("Testing sslv2/sslv3 with server authentication via BIO pair:"); | 362 | log_desc("Testing sslv2/sslv3 with server authentication via BIO pair:"); |
4303 | 356 | log_output("$ssltest -bio_pair -server_auth", $outFile); | 363 | log_output("$ssltest -bio_pair -server_auth", $outFile); |
4304 | 357 | 364 | ||
4306 | 358 | system("$ssltest -bio_pair -client_auth >$outFile"); | 365 | system("$ssltest -bio_pair -client_auth (CLIB_OPT)/>$outFile"); |
4307 | 359 | log_desc("Testing sslv2/sslv3 with client authentication via BIO pair:"); | 366 | log_desc("Testing sslv2/sslv3 with client authentication via BIO pair:"); |
4308 | 360 | log_output("$ssltest -bio_pair -client_auth", $outFile); | 367 | log_output("$ssltest -bio_pair -client_auth", $outFile); |
4309 | 361 | 368 | ||
4311 | 362 | system("$ssltest -bio_pair -server_auth -client_auth >$outFile"); | 369 | system("$ssltest -bio_pair -server_auth -client_auth (CLIB_OPT)/>$outFile"); |
4312 | 363 | log_desc("Testing sslv2/sslv3 with both client and server authentication via BIO pair:"); | 370 | log_desc("Testing sslv2/sslv3 with both client and server authentication via BIO pair:"); |
4313 | 364 | log_output("$ssltest -bio_pair -server_auth -client_auth", $outFile); | 371 | log_output("$ssltest -bio_pair -server_auth -client_auth", $outFile); |
4314 | 365 | } | 372 | } |
4315 | @@ -389,43 +396,43 @@ | |||
4316 | 389 | print( OUT "\n========================================================\n"); | 396 | print( OUT "\n========================================================\n"); |
4317 | 390 | print( OUT "CA TESTS:\n"); | 397 | print( OUT "CA TESTS:\n"); |
4318 | 391 | 398 | ||
4320 | 392 | system("openssl2 req -config $CAconf -out $CAreq -keyout $CAkey -new >$outFile"); | 399 | system("openssl2 req -config $CAconf -out $CAreq -keyout $CAkey -new (CLIB_OPT)/>$outFile"); |
4321 | 393 | log_desc("Make a certificate request using req:"); | 400 | log_desc("Make a certificate request using req:"); |
4322 | 394 | log_output("openssl2 req -config $CAconf -out $CAreq -keyout $CAkey -new", $outFile); | 401 | log_output("openssl2 req -config $CAconf -out $CAreq -keyout $CAkey -new", $outFile); |
4323 | 395 | 402 | ||
4325 | 396 | system("openssl2 x509 -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey >$outFile"); | 403 | system("openssl2 x509 -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey (CLIB_OPT)/>$outFile"); |
4326 | 397 | log_desc("Convert the certificate request into a self signed certificate using x509:"); | 404 | log_desc("Convert the certificate request into a self signed certificate using x509:"); |
4327 | 398 | log_output("openssl2 x509 -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey", $outFile); | 405 | log_output("openssl2 x509 -CAcreateserial -in $CAreq -days 30 -req -out $CAcert -signkey $CAkey", $outFile); |
4328 | 399 | 406 | ||
4330 | 400 | system("openssl2 x509 -in $CAcert -x509toreq -signkey $CAkey -out $CAreq2 >$outFile"); | 407 | system("openssl2 x509 -in $CAcert -x509toreq -signkey $CAkey -out $CAreq2 (CLIB_OPT)/>$outFile"); |
4331 | 401 | log_desc("Convert a certificate into a certificate request using 'x509':"); | 408 | log_desc("Convert a certificate into a certificate request using 'x509':"); |
4332 | 402 | log_output("openssl2 x509 -in $CAcert -x509toreq -signkey $CAkey -out $CAreq2", $outFile); | 409 | log_output("openssl2 x509 -in $CAcert -x509toreq -signkey $CAkey -out $CAreq2", $outFile); |
4333 | 403 | 410 | ||
4335 | 404 | system("openssl2 req -config $OpenSSL_config -verify -in $CAreq -noout >$outFile"); | 411 | system("openssl2 req -config $OpenSSL_config -verify -in $CAreq -noout (CLIB_OPT)/>$outFile"); |
4336 | 405 | log_output("openssl2 req -config $OpenSSL_config -verify -in $CAreq -noout", $outFile); | 412 | log_output("openssl2 req -config $OpenSSL_config -verify -in $CAreq -noout", $outFile); |
4337 | 406 | 413 | ||
4339 | 407 | system("openssl2 req -config $OpenSSL_config -verify -in $CAreq2 -noout >$outFile"); | 414 | system("openssl2 req -config $OpenSSL_config -verify -in $CAreq2 -noout (CLIB_OPT)/>$outFile"); |
4340 | 408 | log_output( "openssl2 req -config $OpenSSL_config -verify -in $CAreq2 -noout", $outFile); | 415 | log_output( "openssl2 req -config $OpenSSL_config -verify -in $CAreq2 -noout", $outFile); |
4341 | 409 | 416 | ||
4343 | 410 | system("openssl2 verify -CAfile $CAcert $CAcert >$outFile"); | 417 | system("openssl2 verify -CAfile $CAcert $CAcert (CLIB_OPT)/>$outFile"); |
4344 | 411 | log_output("openssl2 verify -CAfile $CAcert $CAcert", $outFile); | 418 | log_output("openssl2 verify -CAfile $CAcert $CAcert", $outFile); |
4345 | 412 | 419 | ||
4347 | 413 | system("openssl2 req -config $Uconf -out $Ureq -keyout $Ukey -new >$outFile"); | 420 | system("openssl2 req -config $Uconf -out $Ureq -keyout $Ukey -new (CLIB_OPT)/>$outFile"); |
4348 | 414 | log_desc("Make another certificate request using req:"); | 421 | log_desc("Make another certificate request using req:"); |
4349 | 415 | log_output("openssl2 req -config $Uconf -out $Ureq -keyout $Ukey -new", $outFile); | 422 | log_output("openssl2 req -config $Uconf -out $Ureq -keyout $Ukey -new", $outFile); |
4350 | 416 | 423 | ||
4352 | 417 | system("openssl2 x509 -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -CAserial $CAserial >$outFile"); | 424 | system("openssl2 x509 -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -CAserial $CAserial (CLIB_OPT)/>$outFile"); |
4353 | 418 | log_desc("Sign certificate request with the just created CA via x509:"); | 425 | log_desc("Sign certificate request with the just created CA via x509:"); |
4354 | 419 | log_output("openssl2 x509 -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -CAserial $CAserial", $outFile); | 426 | log_output("openssl2 x509 -CAcreateserial -in $Ureq -days 30 -req -out $Ucert -CA $CAcert -CAkey $CAkey -CAserial $CAserial", $outFile); |
4355 | 420 | 427 | ||
4357 | 421 | system("openssl2 verify -CAfile $CAcert $Ucert >$outFile"); | 428 | system("openssl2 verify -CAfile $CAcert $Ucert (CLIB_OPT)/>$outFile"); |
4358 | 422 | log_output("openssl2 verify -CAfile $CAcert $Ucert", $outFile); | 429 | log_output("openssl2 verify -CAfile $CAcert $Ucert", $outFile); |
4359 | 423 | 430 | ||
4361 | 424 | system("openssl2 x509 -subject -issuer -startdate -enddate -noout -in $Ucert >$outFile"); | 431 | system("openssl2 x509 -subject -issuer -startdate -enddate -noout -in $Ucert (CLIB_OPT)/>$outFile"); |
4362 | 425 | log_desc("Certificate details"); | 432 | log_desc("Certificate details"); |
4363 | 426 | log_output("openssl2 x509 -subject -issuer -startdate -enddate -noout -in $Ucert", $outFile); | 433 | log_output("openssl2 x509 -subject -issuer -startdate -enddate -noout -in $Ucert", $outFile); |
4364 | 427 | 434 | ||
4366 | 428 | print(OUT "-- \n"); | 435 | print(OUT "--\n"); |
4367 | 429 | print(OUT "The generated CA certificate is $CAcert\n"); | 436 | print(OUT "The generated CA certificate is $CAcert\n"); |
4368 | 430 | print(OUT "The generated CA private key is $CAkey\n"); | 437 | print(OUT "The generated CA private key is $CAkey\n"); |
4369 | 431 | print(OUT "The current CA signing serial number is in $CAserial\n"); | 438 | print(OUT "The current CA signing serial number is in $CAserial\n"); |
4370 | @@ -436,6 +443,29 @@ | |||
4371 | 436 | } | 443 | } |
4372 | 437 | 444 | ||
4373 | 438 | ############################################################################ | 445 | ############################################################################ |
4374 | 446 | sub evp_tests | ||
4375 | 447 | { | ||
4376 | 448 | my $i = 'evp_test'; | ||
4377 | 449 | |||
4378 | 450 | print( "\nRUNNING EVP TESTS:\n\n"); | ||
4379 | 451 | |||
4380 | 452 | print( OUT "\n========================================================\n"); | ||
4381 | 453 | print( OUT "EVP TESTS:\n\n"); | ||
4382 | 454 | |||
4383 | 455 | if (-e "$base_path\\$i.nlm") | ||
4384 | 456 | { | ||
4385 | 457 | my $outFile = "$output_path\\$i.out"; | ||
4386 | 458 | system("$i $test_path\\evptests.txt (CLIB_OPT)/>$outFile"); | ||
4387 | 459 | log_desc("Test: $i\.nlm:"); | ||
4388 | 460 | log_output("", $outFile ); | ||
4389 | 461 | } | ||
4390 | 462 | else | ||
4391 | 463 | { | ||
4392 | 464 | log_desc("Test: $i\.nlm: file not found"); | ||
4393 | 465 | } | ||
4394 | 466 | } | ||
4395 | 467 | |||
4396 | 468 | ############################################################################ | ||
4397 | 439 | sub log_output( $ $ ) | 469 | sub log_output( $ $ ) |
4398 | 440 | { | 470 | { |
4399 | 441 | my( $desc, $file ) = @_; | 471 | my( $desc, $file ) = @_; |
4400 | @@ -445,7 +475,7 @@ | |||
4401 | 445 | 475 | ||
4402 | 446 | if ($desc) | 476 | if ($desc) |
4403 | 447 | { | 477 | { |
4405 | 448 | print("$desc\n"); | 478 | print("\r$desc\n"); |
4406 | 449 | print(OUT "$desc\n"); | 479 | print(OUT "$desc\n"); |
4407 | 450 | } | 480 | } |
4408 | 451 | 481 | ||
4409 | @@ -457,8 +487,8 @@ | |||
4410 | 457 | # copy test output to log file | 487 | # copy test output to log file |
4411 | 458 | open(IN, "<$file"); | 488 | open(IN, "<$file"); |
4412 | 459 | while (<IN>) | 489 | while (<IN>) |
4415 | 460 | { | 490 | { |
4416 | 461 | print(OUT $_); | 491 | print(OUT $_); |
4417 | 462 | if ( $_ =~ /ERROR/ ) | 492 | if ( $_ =~ /ERROR/ ) |
4418 | 463 | { | 493 | { |
4419 | 464 | $error = 1; | 494 | $error = 1; |
4420 | @@ -485,13 +515,13 @@ | |||
4421 | 485 | $key = getc; | 515 | $key = getc; |
4422 | 486 | print("\n"); | 516 | print("\n"); |
4423 | 487 | } | 517 | } |
4426 | 488 | 518 | ||
4427 | 489 | # Several of the testing scripts run a loop loading the | 519 | # Several of the testing scripts run a loop loading the |
4428 | 490 | # same NLM with different options. | 520 | # same NLM with different options. |
4430 | 491 | # On slow NetWare machines there appears to be some delay in the | 521 | # On slow NetWare machines there appears to be some delay in the |
4431 | 492 | # OS actually unloading the test nlms and the OS complains about. | 522 | # OS actually unloading the test nlms and the OS complains about. |
4434 | 493 | # the NLM already being loaded. This additional pause is to | 523 | # the NLM already being loaded. This additional pause is to |
4435 | 494 | # to help provide a little more time for unloading before trying to | 524 | # to help provide a little more time for unloading before trying to |
4436 | 495 | # load again. | 525 | # load again. |
4437 | 496 | sleep(1); | 526 | sleep(1); |
4438 | 497 | } | 527 | } |
4439 | @@ -562,7 +592,7 @@ | |||
4440 | 562 | ############################################################################ | 592 | ############################################################################ |
4441 | 563 | sub make_tmp_cert_file() | 593 | sub make_tmp_cert_file() |
4442 | 564 | { | 594 | { |
4444 | 565 | my @cert_files = <$cert_path\\*.pem>; | 595 | my @cert_files = <$cert_path/*.pem>; |
4445 | 566 | 596 | ||
4446 | 567 | # delete the file if it already exists | 597 | # delete the file if it already exists |
4447 | 568 | unlink($tmp_cert); | 598 | unlink($tmp_cert); |
4448 | @@ -570,7 +600,7 @@ | |||
4449 | 570 | open( TMP_CERT, ">$tmp_cert") || die "\nunable to open $tmp_cert\n"; | 600 | open( TMP_CERT, ">$tmp_cert") || die "\nunable to open $tmp_cert\n"; |
4450 | 571 | 601 | ||
4451 | 572 | print("building temporary cert file\n"); | 602 | print("building temporary cert file\n"); |
4453 | 573 | 603 | ||
4454 | 574 | # create a temporary cert file that contains all the certs | 604 | # create a temporary cert file that contains all the certs |
4455 | 575 | foreach $i (@cert_files) | 605 | foreach $i (@cert_files) |
4456 | 576 | { | 606 | { |
4457 | 577 | 607 | ||
4458 | === modified file 'Netware/set_env.bat' | |||
4459 | --- Netware/set_env.bat 2005-12-13 21:37:42 +0000 | |||
4460 | +++ Netware/set_env.bat 2009-12-07 19:46:11 +0000 | |||
4461 | @@ -16,75 +16,97 @@ | |||
4462 | 16 | 16 | ||
4463 | 17 | set LIBC_BUILD= | 17 | set LIBC_BUILD= |
4464 | 18 | set CLIB_BUILD= | 18 | set CLIB_BUILD= |
4465 | 19 | set GNUC= | ||
4466 | 19 | 20 | ||
4467 | 20 | if "%1" == "netware-clib" set CLIB_BUILD=Y | 21 | if "%1" == "netware-clib" set CLIB_BUILD=Y |
4468 | 21 | if "%1" == "netware-clib" set LIBC_BUILD= | 22 | if "%1" == "netware-clib" set LIBC_BUILD= |
4469 | 22 | 23 | ||
4472 | 23 | if "%1" == "netware-libc" set LIBC_BUILD=Y | 24 | if "%1" == "netware-libc" set LIBC_BUILD=Y |
4473 | 24 | if "%1" == "netware-libc" set CLIB_BUILD= | 25 | if "%1" == "netware-libc" set CLIB_BUILD= |
4474 | 26 | |||
4475 | 27 | if "%2" == "gnuc" set GNUC=Y | ||
4476 | 28 | if "%2" == "codewarrior" set GNUC= | ||
4477 | 25 | 29 | ||
4478 | 26 | rem Location of tools (compiler, linker, etc) | 30 | rem Location of tools (compiler, linker, etc) |
4480 | 27 | set TOOLS=d:\i_drive\tools | 31 | if "%NDKBASE%" == "" set NDKBASE=c:\Novell |
4481 | 28 | 32 | ||
4482 | 29 | rem If Perl for Win32 is not already in your path, add it here | 33 | rem If Perl for Win32 is not already in your path, add it here |
4483 | 30 | set PERL_PATH= | 34 | set PERL_PATH= |
4484 | 31 | 35 | ||
4485 | 32 | rem Define path to the Metrowerks command line tools | 36 | rem Define path to the Metrowerks command line tools |
4486 | 37 | rem or GNU Crosscompiler gcc / nlmconv | ||
4487 | 33 | rem ( compiler, assembler, linker) | 38 | rem ( compiler, assembler, linker) |
4490 | 34 | set METROWERKS_PATH=%TOOLS%\codewar\pdk_21\tools\command line tools | 39 | if "%GNUC%" == "Y" set COMPILER_PATH=c:\usr\i586-netware\bin;c:\usr\bin |
4491 | 35 | rem set METROWERKS_PATH=%TOOLS%\codewar\PDK_40\Other Metrowerks Tools\Command Line Tools | 40 | if "%GNUC%" == "" set COMPILER_PATH=c:\prg\cwcmdl40 |
4492 | 36 | 41 | ||
4493 | 37 | rem If using gnu make define path to utility | 42 | rem If using gnu make define path to utility |
4495 | 38 | set GNU_MAKE_PATH=%TOOLS%\gnu | 43 | rem set GNU_MAKE_PATH=%NDKBASE%\gnu |
4496 | 44 | set GNU_MAKE_PATH=c:\prg\tools | ||
4497 | 39 | 45 | ||
4498 | 40 | rem If using ms nmake define path to nmake | 46 | rem If using ms nmake define path to nmake |
4500 | 41 | set MS_NMAKE_PATH=%TOOLS%\msvc\600\bin | 47 | rem set MS_NMAKE_PATH=%NDKBASE%\msvc\600\bin |
4501 | 42 | 48 | ||
4502 | 43 | rem If using NASM assembler define path | 49 | rem If using NASM assembler define path |
4504 | 44 | set NASM_PATH=%TOOLS%\nasm | 50 | rem set NASM_PATH=%NDKBASE%\nasm |
4505 | 51 | set NASM_PATH=c:\prg\tools | ||
4506 | 45 | 52 | ||
4507 | 46 | rem Update path to include tool paths | 53 | rem Update path to include tool paths |
4509 | 47 | set path=%path%;%METROWERKS_PATH% | 54 | set path=%path%;%COMPILER_PATH% |
4510 | 48 | if not "%GNU_MAKE_PATH%" == "" set path=%path%;%GNU_MAKE_PATH% | 55 | if not "%GNU_MAKE_PATH%" == "" set path=%path%;%GNU_MAKE_PATH% |
4511 | 49 | if not "%MS_NMAKE_PATH%" == "" set path=%path%;%MS_NMAKE_PATH% | 56 | if not "%MS_NMAKE_PATH%" == "" set path=%path%;%MS_NMAKE_PATH% |
4512 | 50 | if not "%NASM_PATH%" == "" set path=%path%;%NASM_PATH% | 57 | if not "%NASM_PATH%" == "" set path=%path%;%NASM_PATH% |
4513 | 51 | if not "%PERL_PATH%" == "" set path=%path%;%PERL_PATH% | 58 | if not "%PERL_PATH%" == "" set path=%path%;%PERL_PATH% |
4514 | 52 | 59 | ||
4519 | 53 | rem Set MWCIncludes to location of Novell NDK includes | 60 | rem Set INCLUDES to location of Novell NDK includes |
4520 | 54 | if "%LIBC_BUILD%" == "Y" set MWCIncludes=%TOOLS%\ndk\libc\include;%TOOLS%\ndk\libc\include\winsock;.\engines | 61 | if "%LIBC_BUILD%" == "Y" set INCLUDE=%NDKBASE%\ndk\libc\include;%NDKBASE%\ndk\libc\include\winsock |
4521 | 55 | if "%CLIB_BUILD%" == "Y" set MWCIncludes=%TOOLS%\ndk\nwsdk\include\nlm;.\engines | 62 | if "%CLIB_BUILD%" == "Y" set INCLUDE=%NDKBASE%\ndk\nwsdk\include\nlm;%NDKBASE%\ws295sdk\include |
4518 | 56 | set include= | ||
4522 | 57 | 63 | ||
4523 | 58 | rem Set Imports to location of Novell NDK import files | 64 | rem Set Imports to location of Novell NDK import files |
4526 | 59 | if "%LIBC_BUILD%" == "Y" set IMPORTS=%TOOLS%\ndk\libc\imports | 65 | if "%LIBC_BUILD%" == "Y" set IMPORTS=%NDKBASE%\ndk\libc\imports |
4527 | 60 | if "%CLIB_BUILD%" == "Y" set IMPORTS=%TOOLS%\ndk\nwsdk\imports | 66 | if "%CLIB_BUILD%" == "Y" set IMPORTS=%NDKBASE%\ndk\nwsdk\imports |
4528 | 61 | 67 | ||
4529 | 62 | rem Set PRELUDE to the absolute path of the prelude object to link with in | 68 | rem Set PRELUDE to the absolute path of the prelude object to link with in |
4530 | 63 | rem the Metrowerks NetWare PDK - NOTE: for Clib builds "clibpre.o" is | 69 | rem the Metrowerks NetWare PDK - NOTE: for Clib builds "clibpre.o" is |
4531 | 64 | rem recommended, for LibC NKS builds libcpre.o must be used | 70 | rem recommended, for LibC NKS builds libcpre.o must be used |
4532 | 71 | if "%GNUC%" == "Y" goto gnuc | ||
4533 | 65 | if "%LIBC_BUILD%" == "Y" set PRELUDE=%IMPORTS%\libcpre.o | 72 | if "%LIBC_BUILD%" == "Y" set PRELUDE=%IMPORTS%\libcpre.o |
4536 | 66 | if "%CLIB_BUILD%" == "Y" set PRELUDE=%IMPORTS%\clibpre.o | 73 | rem if "%CLIB_BUILD%" == "Y" set PRELUDE=%IMPORTS%\clibpre.o |
4537 | 67 | 74 | if "%CLIB_BUILD%" == "Y" set PRELUDE=%IMPORTS%\prelude.o | |
4538 | 75 | echo using MetroWerks CodeWarrior | ||
4539 | 76 | goto info | ||
4540 | 77 | |||
4541 | 78 | :gnuc | ||
4542 | 79 | if "%LIBC_BUILD%" == "Y" set PRELUDE=%IMPORTS%\libcpre.gcc.o | ||
4543 | 80 | rem if "%CLIB_BUILD%" == "Y" set PRELUDE=%IMPORTS%\clibpre.gcc.o | ||
4544 | 81 | if "%CLIB_BUILD%" == "Y" set PRELUDE=%IMPORTS%\prelude.gcc.o | ||
4545 | 82 | echo using GNU GCC Compiler | ||
4546 | 83 | |||
4547 | 84 | :info | ||
4548 | 85 | echo. | ||
4549 | 68 | 86 | ||
4550 | 69 | if "%LIBC_BUILD%" == "Y" echo Enviroment configured for LibC build | 87 | if "%LIBC_BUILD%" == "Y" echo Enviroment configured for LibC build |
4551 | 70 | if "%LIBC_BUILD%" == "Y" echo use "netware\build.bat netware-libc ..." | 88 | if "%LIBC_BUILD%" == "Y" echo use "netware\build.bat netware-libc ..." |
4552 | 71 | 89 | ||
4553 | 72 | if "%CLIB_BUILD%" == "Y" echo Enviroment configured for CLib build | 90 | if "%CLIB_BUILD%" == "Y" echo Enviroment configured for CLib build |
4554 | 73 | if "%CLIB_BUILD%" == "Y" echo use "netware\build.bat netware-clib ..." | 91 | if "%CLIB_BUILD%" == "Y" echo use "netware\build.bat netware-clib ..." |
4555 | 92 | |||
4556 | 74 | goto end | 93 | goto end |
4557 | 75 | 94 | ||
4558 | 76 | :usage | 95 | :usage |
4559 | 77 | rem =============================================================== | 96 | rem =============================================================== |
4570 | 78 | echo . | 97 | echo. |
4571 | 79 | echo . No target build specified! | 98 | echo No target build specified! |
4572 | 80 | echo . | 99 | echo. |
4573 | 81 | echo . usage: set_env [target] | 100 | echo usage: set_env [target] [compiler] |
4574 | 82 | echo . | 101 | echo. |
4575 | 83 | echo . target - "netware-clib" - Clib build | 102 | echo target - "netware-clib" - Clib build |
4576 | 84 | echo . - "netware-libc" - LibC build | 103 | echo - "netware-libc" - LibC build |
4577 | 85 | echo . | 104 | echo. |
4578 | 86 | 105 | echo compiler - "gnuc" - GNU GCC Compiler | |
4579 | 87 | 106 | echo - "codewarrior" - MetroWerks CodeWarrior (default) | |
4580 | 107 | echo. | ||
4581 | 88 | 108 | ||
4582 | 89 | :end | 109 | :end |
4583 | 110 | echo. | ||
4584 | 111 | |||
4585 | 90 | 112 | ||
4586 | 91 | 113 | ||
4587 | === modified file 'README' | |||
4588 | --- README 2007-12-05 00:13:39 +0000 | |||
4589 | +++ README 2009-12-07 19:46:11 +0000 | |||
4590 | @@ -1,7 +1,7 @@ | |||
4591 | 1 | 1 | ||
4593 | 2 | OpenSSL 0.9.8g | 2 | OpenSSL 0.9.8k |
4594 | 3 | 3 | ||
4596 | 4 | Copyright (c) 1998-2007 The OpenSSL Project | 4 | Copyright (c) 1998-2008 The OpenSSL Project |
4597 | 5 | Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson | 5 | Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson |
4598 | 6 | All rights reserved. | 6 | All rights reserved. |
4599 | 7 | 7 | ||
4600 | @@ -161,7 +161,7 @@ | |||
4601 | 161 | - Stack Traceback (if the application dumps core) | 161 | - Stack Traceback (if the application dumps core) |
4602 | 162 | 162 | ||
4603 | 163 | Report the bug to the OpenSSL project via the Request Tracker | 163 | Report the bug to the OpenSSL project via the Request Tracker |
4605 | 164 | (http://www.openssl.org/support/rt2.html) by mail to: | 164 | (http://www.openssl.org/support/rt.html) by mail to: |
4606 | 165 | 165 | ||
4607 | 166 | openssl-bugs@openssl.org | 166 | openssl-bugs@openssl.org |
4608 | 167 | 167 | ||
4609 | 168 | 168 | ||
4610 | === modified file 'apps/CA.pl.in' | |||
4611 | --- apps/CA.pl.in 2006-05-15 16:00:58 +0000 | |||
4612 | +++ apps/CA.pl.in 2009-12-07 19:46:11 +0000 | |||
4613 | @@ -65,7 +65,6 @@ | |||
4614 | 65 | foreach (@ARGV) { | 65 | foreach (@ARGV) { |
4615 | 66 | if ( /^(-\?|-h|-help)$/ ) { | 66 | if ( /^(-\?|-h|-help)$/ ) { |
4616 | 67 | print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n"; | 67 | print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n"; |
4617 | 68 | print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n"; | ||
4618 | 69 | exit 0; | 68 | exit 0; |
4619 | 70 | } elsif (/^-newcert$/) { | 69 | } elsif (/^-newcert$/) { |
4620 | 71 | # create a certificate | 70 | # create a certificate |
4621 | @@ -166,7 +165,6 @@ | |||
4622 | 166 | } else { | 165 | } else { |
4623 | 167 | print STDERR "Unknown arg $_\n"; | 166 | print STDERR "Unknown arg $_\n"; |
4624 | 168 | print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n"; | 167 | print STDERR "usage: CA -newcert|-newreq|-newreq-nodes|-newca|-sign|-verify\n"; |
4625 | 169 | print STDERR "usage: CA -signcert certfile keyfile|-newcert|-newreq|-newca|-sign|-verify\n"; | ||
4626 | 170 | exit 1; | 168 | exit 1; |
4627 | 171 | } | 169 | } |
4628 | 172 | } | 170 | } |
4629 | 173 | 171 | ||
4630 | === modified file 'apps/CA.sh' | |||
4631 | --- apps/CA.sh 2008-11-11 17:24:44 +0000 | |||
4632 | +++ apps/CA.sh 2009-12-07 19:46:11 +0000 | |||
4633 | @@ -91,7 +91,6 @@ | |||
4634 | 91 | -out ${CATOP}/$CAREQ | 91 | -out ${CATOP}/$CAREQ |
4635 | 92 | $CA -out ${CATOP}/$CACERT $CADAYS -batch \ | 92 | $CA -out ${CATOP}/$CACERT $CADAYS -batch \ |
4636 | 93 | -keyfile ${CATOP}/private/$CAKEY -selfsign \ | 93 | -keyfile ${CATOP}/private/$CAKEY -selfsign \ |
4637 | 94 | -extensions v3_ca \ | ||
4638 | 95 | -infiles ${CATOP}/$CAREQ | 94 | -infiles ${CATOP}/$CAREQ |
4639 | 96 | RET=$? | 95 | RET=$? |
4640 | 97 | fi | 96 | fi |
4641 | 98 | 97 | ||
4642 | === modified file 'apps/Makefile' | |||
4643 | --- apps/Makefile 2007-12-05 00:13:39 +0000 | |||
4644 | +++ apps/Makefile 2009-12-07 19:46:11 +0000 | |||
4645 | @@ -38,7 +38,7 @@ | |||
4646 | 38 | E_EXE= verify asn1pars req dgst dh dhparam enc passwd gendh errstr \ | 38 | E_EXE= verify asn1pars req dgst dh dhparam enc passwd gendh errstr \ |
4647 | 39 | ca crl rsa rsautl dsa dsaparam ec ecparam \ | 39 | ca crl rsa rsautl dsa dsaparam ec ecparam \ |
4648 | 40 | x509 genrsa gendsa s_server s_client speed \ | 40 | x509 genrsa gendsa s_server s_client speed \ |
4650 | 41 | s_time version pkcs7 crl2pkcs7 sess_id ciphers nseq pkcs12 \ | 41 | s_time version pkcs7 cms crl2pkcs7 sess_id ciphers nseq pkcs12 \ |
4651 | 42 | pkcs8 spkac smime rand engine ocsp prime | 42 | pkcs8 spkac smime rand engine ocsp prime |
4652 | 43 | 43 | ||
4653 | 44 | PROGS= $(PROGRAM).c | 44 | PROGS= $(PROGRAM).c |
4654 | @@ -56,7 +56,7 @@ | |||
4655 | 56 | x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o \ | 56 | x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o \ |
4656 | 57 | s_time.o $(A_OBJ) $(S_OBJ) $(RAND_OBJ) version.o sess_id.o \ | 57 | s_time.o $(A_OBJ) $(S_OBJ) $(RAND_OBJ) version.o sess_id.o \ |
4657 | 58 | ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o \ | 58 | ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o \ |
4659 | 59 | ocsp.o prime.o | 59 | ocsp.o prime.o cms.o |
4660 | 60 | 60 | ||
4661 | 61 | E_SRC= verify.c asn1pars.c req.c dgst.c dh.c enc.c passwd.c gendh.c errstr.c ca.c \ | 61 | E_SRC= verify.c asn1pars.c req.c dgst.c dh.c enc.c passwd.c gendh.c errstr.c ca.c \ |
4662 | 62 | pkcs7.c crl2p7.c crl.c \ | 62 | pkcs7.c crl2p7.c crl.c \ |
4663 | @@ -64,7 +64,7 @@ | |||
4664 | 64 | x509.c genrsa.c gendsa.c s_server.c s_client.c speed.c \ | 64 | x509.c genrsa.c gendsa.c s_server.c s_client.c speed.c \ |
4665 | 65 | s_time.c $(A_SRC) $(S_SRC) $(RAND_SRC) version.c sess_id.c \ | 65 | s_time.c $(A_SRC) $(S_SRC) $(RAND_SRC) version.c sess_id.c \ |
4666 | 66 | ciphers.c nseq.c pkcs12.c pkcs8.c spkac.c smime.c rand.c engine.c \ | 66 | ciphers.c nseq.c pkcs12.c pkcs8.c spkac.c smime.c rand.c engine.c \ |
4668 | 67 | ocsp.c prime.c | 67 | ocsp.c prime.c cms.c |
4669 | 68 | 68 | ||
4670 | 69 | SRC=$(E_SRC) | 69 | SRC=$(E_SRC) |
4671 | 70 | 70 | ||
4672 | @@ -152,10 +152,13 @@ | |||
4673 | 152 | $(RM) $(EXE) | 152 | $(RM) $(EXE) |
4674 | 153 | shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \ | 153 | shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \ |
4675 | 154 | shlib_target="$(SHLIB_TARGET)"; \ | 154 | shlib_target="$(SHLIB_TARGET)"; \ |
4676 | 155 | elif [ -n "$(FIPSCANLIB)" ]; then \ | ||
4677 | 156 | FIPSLD_CC=$(CC); CC=$(TOP)/fips/fipsld; export CC FIPSLD_CC; \ | ||
4678 | 155 | fi; \ | 157 | fi; \ |
4679 | 156 | LIBRARIES="$(LIBSSL) $(LIBKRB5) $(LIBCRYPTO)" ; \ | 158 | LIBRARIES="$(LIBSSL) $(LIBKRB5) $(LIBCRYPTO)" ; \ |
4680 | 159 | [ "x$(FIPSCANLIB)" = "xlibfips" ] && LIBRARIES="$$LIBRARIES -lfips"; \ | ||
4681 | 157 | $(MAKE) -f $(TOP)/Makefile.shared -e \ | 160 | $(MAKE) -f $(TOP)/Makefile.shared -e \ |
4683 | 158 | APPNAME=$(EXE) OBJECTS="$(PROGRAM).o $(E_OBJ)" \ | 161 | CC=$${CC} APPNAME=$(EXE) OBJECTS="$(PROGRAM).o $(E_OBJ)" \ |
4684 | 159 | LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ | 162 | LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ |
4685 | 160 | link_app.$${shlib_target} | 163 | link_app.$${shlib_target} |
4686 | 161 | -(cd ..; \ | 164 | -(cd ..; \ |
4687 | @@ -173,23 +176,25 @@ | |||
4688 | 173 | app_rand.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 176 | app_rand.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
4689 | 174 | app_rand.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 177 | app_rand.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4690 | 175 | app_rand.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 178 | app_rand.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4693 | 176 | app_rand.o: ../include/openssl/evp.h ../include/openssl/lhash.h | 179 | app_rand.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4694 | 177 | app_rand.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 180 | app_rand.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4695 | 181 | app_rand.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | ||
4696 | 178 | app_rand.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 182 | app_rand.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4697 | 179 | app_rand.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | 183 | app_rand.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h |
4698 | 180 | app_rand.o: ../include/openssl/rand.h ../include/openssl/safestack.h | 184 | app_rand.o: ../include/openssl/rand.h ../include/openssl/safestack.h |
4699 | 181 | app_rand.o: ../include/openssl/sha.h ../include/openssl/stack.h | 185 | app_rand.o: ../include/openssl/sha.h ../include/openssl/stack.h |
4700 | 182 | app_rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 186 | app_rand.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4703 | 183 | app_rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h app_rand.c | 187 | app_rand.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4704 | 184 | app_rand.o: apps.h | 188 | app_rand.o: ../include/openssl/x509v3.h app_rand.c apps.h |
4705 | 185 | apps.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 189 | apps.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4706 | 186 | apps.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 190 | apps.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4707 | 187 | apps.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 191 | apps.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
4708 | 188 | apps.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 192 | apps.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
4709 | 189 | apps.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 193 | apps.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
4710 | 190 | apps.o: ../include/openssl/engine.h ../include/openssl/err.h | 194 | apps.o: ../include/openssl/engine.h ../include/openssl/err.h |
4713 | 191 | apps.o: ../include/openssl/evp.h ../include/openssl/lhash.h | 195 | apps.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4714 | 192 | apps.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 196 | apps.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4715 | 197 | apps.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | ||
4716 | 193 | apps.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 198 | apps.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4717 | 194 | apps.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 199 | apps.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
4718 | 195 | apps.o: ../include/openssl/pem2.h ../include/openssl/pkcs12.h | 200 | apps.o: ../include/openssl/pem2.h ../include/openssl/pkcs12.h |
4719 | @@ -205,31 +210,32 @@ | |||
4720 | 205 | asn1pars.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 210 | asn1pars.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4721 | 206 | asn1pars.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 211 | asn1pars.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4722 | 207 | asn1pars.o: ../include/openssl/err.h ../include/openssl/evp.h | 212 | asn1pars.o: ../include/openssl/err.h ../include/openssl/evp.h |
4725 | 208 | asn1pars.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 213 | asn1pars.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4726 | 209 | asn1pars.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 214 | asn1pars.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4727 | 215 | asn1pars.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4728 | 210 | asn1pars.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 216 | asn1pars.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4729 | 211 | asn1pars.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 217 | asn1pars.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4730 | 212 | asn1pars.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 218 | asn1pars.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
4731 | 213 | asn1pars.o: ../include/openssl/sha.h ../include/openssl/stack.h | 219 | asn1pars.o: ../include/openssl/sha.h ../include/openssl/stack.h |
4732 | 214 | asn1pars.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 220 | asn1pars.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4735 | 215 | asn1pars.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 221 | asn1pars.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4736 | 216 | asn1pars.o: asn1pars.c | 222 | asn1pars.o: ../include/openssl/x509v3.h apps.h asn1pars.c |
4737 | 217 | ca.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 223 | ca.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4738 | 218 | ca.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 224 | ca.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4739 | 219 | ca.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 225 | ca.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
4740 | 220 | ca.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 226 | ca.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
4741 | 221 | ca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 227 | ca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
4742 | 222 | ca.o: ../include/openssl/engine.h ../include/openssl/err.h | 228 | ca.o: ../include/openssl/engine.h ../include/openssl/err.h |
4753 | 223 | ca.o: ../include/openssl/evp.h ../include/openssl/lhash.h | 229 | ca.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4754 | 224 | ca.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 230 | ca.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4755 | 225 | ca.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | 231 | ca.o: ../include/openssl/objects.h ../include/openssl/ocsp.h |
4756 | 226 | ca.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 232 | ca.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4757 | 227 | ca.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 233 | ca.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
4758 | 228 | ca.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 234 | ca.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
4759 | 229 | ca.o: ../include/openssl/sha.h ../include/openssl/stack.h | 235 | ca.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
4760 | 230 | ca.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 236 | ca.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
4761 | 231 | ca.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h | 237 | ca.o: ../include/openssl/txt_db.h ../include/openssl/x509.h |
4762 | 232 | ca.o: ../include/openssl/x509v3.h apps.h ca.c | 238 | ca.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h ca.c |
4763 | 233 | ciphers.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 239 | ciphers.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4764 | 234 | ciphers.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 240 | ciphers.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4765 | 235 | ciphers.o: ../include/openssl/comp.h ../include/openssl/conf.h | 241 | ciphers.o: ../include/openssl/comp.h ../include/openssl/conf.h |
4766 | @@ -237,27 +243,44 @@ | |||
4767 | 237 | ciphers.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 243 | ciphers.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
4768 | 238 | ciphers.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 244 | ciphers.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
4769 | 239 | ciphers.o: ../include/openssl/engine.h ../include/openssl/err.h | 245 | ciphers.o: ../include/openssl/engine.h ../include/openssl/err.h |
4771 | 240 | ciphers.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 246 | ciphers.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4772 | 247 | ciphers.o: ../include/openssl/hmac.h ../include/openssl/kssl.h | ||
4773 | 241 | ciphers.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 248 | ciphers.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4785 | 242 | ciphers.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 249 | ciphers.o: ../include/openssl/objects.h ../include/openssl/ocsp.h |
4786 | 243 | ciphers.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 250 | ciphers.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4787 | 244 | ciphers.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 251 | ciphers.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
4788 | 245 | ciphers.o: ../include/openssl/pkcs7.h ../include/openssl/pq_compat.h | 252 | ciphers.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
4789 | 246 | ciphers.o: ../include/openssl/pqueue.h ../include/openssl/safestack.h | 253 | ciphers.o: ../include/openssl/pq_compat.h ../include/openssl/pqueue.h |
4790 | 247 | ciphers.o: ../include/openssl/sha.h ../include/openssl/ssl.h | 254 | ciphers.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
4791 | 248 | ciphers.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | 255 | ciphers.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h |
4792 | 249 | ciphers.o: ../include/openssl/ssl3.h ../include/openssl/stack.h | 256 | ciphers.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h |
4793 | 250 | ciphers.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h | 257 | ciphers.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
4794 | 251 | ciphers.o: ../include/openssl/txt_db.h ../include/openssl/x509.h | 258 | ciphers.o: ../include/openssl/tls1.h ../include/openssl/txt_db.h |
4795 | 252 | ciphers.o: ../include/openssl/x509_vfy.h apps.h ciphers.c | 259 | ciphers.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4796 | 260 | ciphers.o: ../include/openssl/x509v3.h apps.h ciphers.c | ||
4797 | 261 | cms.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | ||
4798 | 262 | cms.o: ../include/openssl/buffer.h ../include/openssl/conf.h | ||
4799 | 263 | cms.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | ||
4800 | 264 | cms.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | ||
4801 | 265 | cms.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | ||
4802 | 266 | cms.o: ../include/openssl/evp.h ../include/openssl/fips.h | ||
4803 | 267 | cms.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | ||
4804 | 268 | cms.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | ||
4805 | 269 | cms.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | ||
4806 | 270 | cms.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h | ||
4807 | 271 | cms.o: ../include/openssl/safestack.h ../include/openssl/sha.h | ||
4808 | 272 | cms.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | ||
4809 | 273 | cms.o: ../include/openssl/txt_db.h ../include/openssl/x509.h | ||
4810 | 274 | cms.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h cms.c | ||
4811 | 253 | crl.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 275 | crl.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4812 | 254 | crl.o: ../include/openssl/buffer.h ../include/openssl/conf.h | 276 | crl.o: ../include/openssl/buffer.h ../include/openssl/conf.h |
4813 | 255 | crl.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 277 | crl.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
4814 | 256 | crl.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 278 | crl.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4815 | 257 | crl.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 279 | crl.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4816 | 258 | crl.o: ../include/openssl/err.h ../include/openssl/evp.h | 280 | crl.o: ../include/openssl/err.h ../include/openssl/evp.h |
4819 | 259 | crl.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 281 | crl.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4820 | 260 | crl.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 282 | crl.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4821 | 283 | crl.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4822 | 261 | crl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 284 | crl.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4823 | 262 | crl.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 285 | crl.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4824 | 263 | crl.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 286 | crl.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
4825 | @@ -271,30 +294,32 @@ | |||
4826 | 271 | crl2p7.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 294 | crl2p7.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4827 | 272 | crl2p7.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 295 | crl2p7.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4828 | 273 | crl2p7.o: ../include/openssl/err.h ../include/openssl/evp.h | 296 | crl2p7.o: ../include/openssl/err.h ../include/openssl/evp.h |
4831 | 274 | crl2p7.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 297 | crl2p7.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4832 | 275 | crl2p7.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 298 | crl2p7.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4833 | 299 | crl2p7.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4834 | 276 | crl2p7.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 300 | crl2p7.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4835 | 277 | crl2p7.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 301 | crl2p7.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4836 | 278 | crl2p7.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 302 | crl2p7.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
4837 | 279 | crl2p7.o: ../include/openssl/sha.h ../include/openssl/stack.h | 303 | crl2p7.o: ../include/openssl/sha.h ../include/openssl/stack.h |
4838 | 280 | crl2p7.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 304 | crl2p7.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4841 | 281 | crl2p7.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h | 305 | crl2p7.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4842 | 282 | crl2p7.o: crl2p7.c | 306 | crl2p7.o: ../include/openssl/x509v3.h apps.h crl2p7.c |
4843 | 283 | dgst.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 307 | dgst.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4844 | 284 | dgst.o: ../include/openssl/buffer.h ../include/openssl/conf.h | 308 | dgst.o: ../include/openssl/buffer.h ../include/openssl/conf.h |
4845 | 285 | dgst.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 309 | dgst.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
4846 | 286 | dgst.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 310 | dgst.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4847 | 287 | dgst.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 311 | dgst.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4848 | 288 | dgst.o: ../include/openssl/err.h ../include/openssl/evp.h | 312 | dgst.o: ../include/openssl/err.h ../include/openssl/evp.h |
4851 | 289 | dgst.o: ../include/openssl/hmac.h ../include/openssl/lhash.h | 313 | dgst.o: ../include/openssl/fips.h ../include/openssl/hmac.h |
4852 | 290 | dgst.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 314 | dgst.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4853 | 315 | dgst.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | ||
4854 | 291 | dgst.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 316 | dgst.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4855 | 292 | dgst.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 317 | dgst.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
4856 | 293 | dgst.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 318 | dgst.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
4857 | 294 | dgst.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 319 | dgst.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
4858 | 295 | dgst.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 320 | dgst.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
4859 | 296 | dgst.o: ../include/openssl/txt_db.h ../include/openssl/x509.h | 321 | dgst.o: ../include/openssl/txt_db.h ../include/openssl/x509.h |
4861 | 297 | dgst.o: ../include/openssl/x509_vfy.h apps.h dgst.c | 322 | dgst.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h dgst.c |
4862 | 298 | dh.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 323 | dh.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4863 | 299 | dh.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 324 | dh.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4864 | 300 | dh.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 325 | dh.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
4865 | @@ -302,14 +327,16 @@ | |||
4866 | 302 | dh.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 327 | dh.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4867 | 303 | dh.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 328 | dh.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4868 | 304 | dh.o: ../include/openssl/err.h ../include/openssl/evp.h | 329 | dh.o: ../include/openssl/err.h ../include/openssl/evp.h |
4871 | 305 | dh.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 330 | dh.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4872 | 306 | dh.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 331 | dh.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4873 | 332 | dh.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4874 | 307 | dh.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 333 | dh.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4875 | 308 | dh.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 334 | dh.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4876 | 309 | dh.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 335 | dh.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
4877 | 310 | dh.o: ../include/openssl/sha.h ../include/openssl/stack.h | 336 | dh.o: ../include/openssl/sha.h ../include/openssl/stack.h |
4878 | 311 | dh.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 337 | dh.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4880 | 312 | dh.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h dh.c | 338 | dh.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4881 | 339 | dh.o: ../include/openssl/x509v3.h apps.h dh.c | ||
4882 | 313 | dsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 340 | dsa.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4883 | 314 | dsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 341 | dsa.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4884 | 315 | dsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 342 | dsa.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
4885 | @@ -317,14 +344,16 @@ | |||
4886 | 317 | dsa.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 344 | dsa.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4887 | 318 | dsa.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 345 | dsa.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4888 | 319 | dsa.o: ../include/openssl/err.h ../include/openssl/evp.h | 346 | dsa.o: ../include/openssl/err.h ../include/openssl/evp.h |
4891 | 320 | dsa.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 347 | dsa.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4892 | 321 | dsa.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 348 | dsa.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4893 | 349 | dsa.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4894 | 322 | dsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 350 | dsa.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4895 | 323 | dsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 351 | dsa.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4896 | 324 | dsa.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 352 | dsa.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
4897 | 325 | dsa.o: ../include/openssl/sha.h ../include/openssl/stack.h | 353 | dsa.o: ../include/openssl/sha.h ../include/openssl/stack.h |
4898 | 326 | dsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 354 | dsa.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4900 | 327 | dsa.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h dsa.c | 355 | dsa.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4901 | 356 | dsa.o: ../include/openssl/x509v3.h apps.h dsa.c | ||
4902 | 328 | dsaparam.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 357 | dsaparam.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4903 | 329 | dsaparam.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 358 | dsaparam.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4904 | 330 | dsaparam.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 359 | dsaparam.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
4905 | @@ -332,8 +361,9 @@ | |||
4906 | 332 | dsaparam.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 361 | dsaparam.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
4907 | 333 | dsaparam.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 362 | dsaparam.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
4908 | 334 | dsaparam.o: ../include/openssl/engine.h ../include/openssl/err.h | 363 | dsaparam.o: ../include/openssl/engine.h ../include/openssl/err.h |
4911 | 335 | dsaparam.o: ../include/openssl/evp.h ../include/openssl/lhash.h | 364 | dsaparam.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4912 | 336 | dsaparam.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 365 | dsaparam.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4913 | 366 | dsaparam.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | ||
4914 | 337 | dsaparam.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 367 | dsaparam.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4915 | 338 | dsaparam.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 368 | dsaparam.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
4916 | 339 | dsaparam.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 369 | dsaparam.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
4917 | @@ -342,51 +372,57 @@ | |||
4918 | 342 | dsaparam.o: ../include/openssl/stack.h ../include/openssl/store.h | 372 | dsaparam.o: ../include/openssl/stack.h ../include/openssl/store.h |
4919 | 343 | dsaparam.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 373 | dsaparam.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4920 | 344 | dsaparam.o: ../include/openssl/ui.h ../include/openssl/x509.h | 374 | dsaparam.o: ../include/openssl/ui.h ../include/openssl/x509.h |
4922 | 345 | dsaparam.o: ../include/openssl/x509_vfy.h apps.h dsaparam.c | 375 | dsaparam.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h |
4923 | 376 | dsaparam.o: dsaparam.c | ||
4924 | 346 | ec.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 377 | ec.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4925 | 347 | ec.o: ../include/openssl/buffer.h ../include/openssl/conf.h | 378 | ec.o: ../include/openssl/buffer.h ../include/openssl/conf.h |
4926 | 348 | ec.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 379 | ec.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
4927 | 349 | ec.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 380 | ec.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4928 | 350 | ec.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 381 | ec.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4929 | 351 | ec.o: ../include/openssl/err.h ../include/openssl/evp.h | 382 | ec.o: ../include/openssl/err.h ../include/openssl/evp.h |
4932 | 352 | ec.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 383 | ec.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4933 | 353 | ec.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 384 | ec.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4934 | 385 | ec.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4935 | 354 | ec.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 386 | ec.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4936 | 355 | ec.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 387 | ec.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4937 | 356 | ec.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h | 388 | ec.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h |
4938 | 357 | ec.o: ../include/openssl/sha.h ../include/openssl/stack.h | 389 | ec.o: ../include/openssl/sha.h ../include/openssl/stack.h |
4939 | 358 | ec.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h | 390 | ec.o: ../include/openssl/symhacks.h ../include/openssl/txt_db.h |
4941 | 359 | ec.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h apps.h ec.c | 391 | ec.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h |
4942 | 392 | ec.o: ../include/openssl/x509v3.h apps.h ec.c | ||
4943 | 360 | ecparam.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 393 | ecparam.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4944 | 361 | ecparam.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 394 | ecparam.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4945 | 362 | ecparam.o: ../include/openssl/conf.h ../include/openssl/crypto.h | 395 | ecparam.o: ../include/openssl/conf.h ../include/openssl/crypto.h |
4946 | 363 | ecparam.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 396 | ecparam.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
4947 | 364 | ecparam.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 397 | ecparam.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
4948 | 365 | ecparam.o: ../include/openssl/engine.h ../include/openssl/err.h | 398 | ecparam.o: ../include/openssl/engine.h ../include/openssl/err.h |
4951 | 366 | ecparam.o: ../include/openssl/evp.h ../include/openssl/lhash.h | 399 | ecparam.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4952 | 367 | ecparam.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h | 400 | ecparam.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4953 | 401 | ecparam.o: ../include/openssl/objects.h ../include/openssl/ocsp.h | ||
4954 | 368 | ecparam.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h | 402 | ecparam.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h |
4955 | 369 | ecparam.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h | 403 | ecparam.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h |
4956 | 370 | ecparam.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h | 404 | ecparam.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h |
4957 | 371 | ecparam.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 405 | ecparam.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
4958 | 372 | ecparam.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 406 | ecparam.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
4959 | 373 | ecparam.o: ../include/openssl/txt_db.h ../include/openssl/x509.h | 407 | ecparam.o: ../include/openssl/txt_db.h ../include/openssl/x509.h |
4961 | 374 | ecparam.o: ../include/openssl/x509_vfy.h apps.h ecparam.c | 408 | ecparam.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h |
4962 | 409 | ecparam.o: ecparam.c | ||
4963 | 375 | enc.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 410 | enc.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4964 | 376 | enc.o: ../include/openssl/buffer.h ../include/openssl/conf.h | 411 | enc.o: ../include/openssl/buffer.h ../include/openssl/conf.h |
4965 | 377 | enc.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h | 412 | enc.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h |
4966 | 378 | enc.o: ../include/openssl/ec.h ../include/openssl/ecdh.h | 413 | enc.o: ../include/openssl/ec.h ../include/openssl/ecdh.h |
4967 | 379 | enc.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h | 414 | enc.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h |
4968 | 380 | enc.o: ../include/openssl/err.h ../include/openssl/evp.h | 415 | enc.o: ../include/openssl/err.h ../include/openssl/evp.h |
4971 | 381 | enc.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 416 | enc.o: ../include/openssl/fips.h ../include/openssl/lhash.h |
4972 | 382 | enc.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | 417 | enc.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h |
4973 | 418 | enc.o: ../include/openssl/ocsp.h ../include/openssl/opensslconf.h | ||
4974 | 383 | enc.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | 419 | enc.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h |
4975 | 384 | enc.o: ../include/openssl/pem.h ../include/openssl/pem2.h | 420 | enc.o: ../include/openssl/pem.h ../include/openssl/pem2.h |
4976 | 385 | enc.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h | 421 | enc.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h |
4977 | 386 | enc.o: ../include/openssl/safestack.h ../include/openssl/sha.h | 422 | enc.o: ../include/openssl/safestack.h ../include/openssl/sha.h |
4978 | 387 | enc.o: ../include/openssl/stack.h ../include/openssl/symhacks.h | 423 | enc.o: ../include/openssl/stack.h ../include/openssl/symhacks.h |
4979 | 388 | enc.o: ../include/openssl/txt_db.h ../include/openssl/x509.h | 424 | enc.o: ../include/openssl/txt_db.h ../include/openssl/x509.h |
4981 | 389 | enc.o: ../include/openssl/x509_vfy.h apps.h enc.c | 425 | enc.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h apps.h enc.c |
4982 | 390 | engine.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h | 426 | engine.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h |
4983 | 391 | engine.o: ../include/openssl/bn.h ../include/openssl/buffer.h | 427 | engine.o: ../include/openssl/bn.h ../include/openssl/buffer.h |
4984 | 392 | engine.o: ../include/openssl/comp.h ../include/openssl/conf.h | 428 | engine.o: ../include/openssl/comp.h ../include/openssl/conf.h |
4985 | @@ -394,19 +430,21 @@ | |||
4986 | 394 | engine.o: ../include/openssl/e_os2.h ../include/openssl/ec.h | 430 | engine.o: ../include/openssl/e_os2.h ../include/openssl/ec.h |
4987 | 395 | engine.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h | 431 | engine.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h |
4988 | 396 | engine.o: ../include/openssl/engine.h ../include/openssl/err.h | 432 | engine.o: ../include/openssl/engine.h ../include/openssl/err.h |
4990 | 397 | engine.o: ../include/openssl/evp.h ../include/openssl/kssl.h | 433 | engine.o: ../include/openssl/evp.h ../include/openssl/fips.h |
4991 | 434 | engine.o: ../include/openssl/hmac.h ../include/openssl/kssl.h | ||
4992 | 398 | engine.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h | 435 | engine.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h |
4993 | 399 | engine.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h | ||
4994 | 400 | engine.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h | ||
4995 | 401 | engine.o: ../include/openssl/pem.h ../include/openssl/pem2.h | ||
4996 | 402 | engine.o: ../include/openssl/pkcs7.h ../include/openssl/pq_compat.h | ||
4997 | 403 | engine.o: ../include/openssl/pqueue.h ../include/openssl/safestack.h | ||
4998 | 404 | engine.o: ../include/openssl/sha.h ../include/openssl/ssl.h | ||
4999 | 405 | engine.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h | ||
5000 | 406 | engine.o: ../include/openssl/ssl3.h ../include/openssl/stack.h |
Merged with debian testing