Import OpenSSL-1.0.1.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 25 Mar 2012 17:44:51 +0000 (10:44 -0700)
committerPeter Avalos <pavalos@dragonflybsd.org>
Tue, 27 Mar 2012 23:45:00 +0000 (16:45 -0700)
commit672590bc3265e9b8b2a848c90070e94c3db182f3
treee1d648b02097a911b93ae733fbf194b8fb3df859
parent599e5fcdadf7e9ddc185ebeb27c59badabdbff1e
Import OpenSSL-1.0.1.

  Major changes between OpenSSL 1.0.0h and OpenSSL 1.0.1:

      o TLS/DTLS heartbeat support.
      o SCTP support.
      o RFC 5705 TLS key material exporter.
      o RFC 5764 DTLS-SRTP negotiation.
      o Next Protocol Negotiation.
      o PSS signatures in certificates, requests and CRLs.
      o Support for password based recipient info for CMS.
      o Support TLS v1.2 and TLS v1.1.
      o Preliminary FIPS capability for unvalidated 2.0 FIPS module.
      o SRP support.

  Major changes between OpenSSL 1.0.0g and OpenSSL 1.0.0h:

      o Fix for CMS/PKCS#7 MMA CVE-2012-0884
      o Corrected fix for CVE-2011-4619
      o Various DTLS fixes.
354 files changed:
crypto/openssl/CHANGES
crypto/openssl/FAQ
crypto/openssl/NEWS
crypto/openssl/README
crypto/openssl/README.DELETED
crypto/openssl/apps/apps.c
crypto/openssl/apps/apps.h
crypto/openssl/apps/ca.c
crypto/openssl/apps/ciphers.c
crypto/openssl/apps/cms.c
crypto/openssl/apps/dgst.c
crypto/openssl/apps/enc.c
crypto/openssl/apps/openssl.c
crypto/openssl/apps/progs.h
crypto/openssl/apps/req.c
crypto/openssl/apps/s_cb.c
crypto/openssl/apps/s_client.c
crypto/openssl/apps/s_server.c
crypto/openssl/apps/s_socket.c
crypto/openssl/apps/sess_id.c
crypto/openssl/apps/speed.c
crypto/openssl/apps/srp.c [new file with mode: 0644]
crypto/openssl/apps/verify.c
crypto/openssl/apps/x509.c
crypto/openssl/crypto/aes/aes.h
crypto/openssl/crypto/aes/aes_core.c
crypto/openssl/crypto/aes/aes_misc.c
crypto/openssl/crypto/aes/asm/aes-586.pl
crypto/openssl/crypto/aes/asm/aes-x86_64.pl
crypto/openssl/crypto/aes/asm/aesni-sha1-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/aes/asm/aesni-x86.pl [new file with mode: 0644]
crypto/openssl/crypto/aes/asm/aesni-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/aes/asm/bsaes-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/aes/asm/vpaes-x86.pl [new file with mode: 0644]
crypto/openssl/crypto/aes/asm/vpaes-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/asn1/a_digest.c
crypto/openssl/crypto/asn1/a_sign.c
crypto/openssl/crypto/asn1/a_verify.c
crypto/openssl/crypto/asn1/ameth_lib.c
crypto/openssl/crypto/asn1/asn1.h
crypto/openssl/crypto/asn1/asn1_err.c
crypto/openssl/crypto/asn1/asn1_locl.h
crypto/openssl/crypto/asn1/asn_mime.c
crypto/openssl/crypto/asn1/n_pkey.c
crypto/openssl/crypto/asn1/p5_pbev2.c
crypto/openssl/crypto/asn1/t_crl.c
crypto/openssl/crypto/asn1/t_x509.c
crypto/openssl/crypto/asn1/x_algor.c
crypto/openssl/crypto/asn1/x_name.c
crypto/openssl/crypto/asn1/x_pubkey.c
crypto/openssl/crypto/bf/bf_skey.c
crypto/openssl/crypto/bf/blowfish.h
crypto/openssl/crypto/bio/bio.h
crypto/openssl/crypto/bio/bio_err.c
crypto/openssl/crypto/bio/bss_bio.c
crypto/openssl/crypto/bio/bss_dgram.c
crypto/openssl/crypto/bn/asm/modexp512-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/bn/asm/x86-gf2m.pl [new file with mode: 0644]
crypto/openssl/crypto/bn/asm/x86_64-gf2m.pl [new file with mode: 0644]
crypto/openssl/crypto/bn/asm/x86_64-mont.pl
crypto/openssl/crypto/bn/asm/x86_64-mont5.pl [new file with mode: 0755]
crypto/openssl/crypto/bn/bn.h
crypto/openssl/crypto/bn/bn_div.c
crypto/openssl/crypto/bn/bn_exp.c
crypto/openssl/crypto/bn/bn_gf2m.c
crypto/openssl/crypto/bn/bn_lcl.h
crypto/openssl/crypto/bn/bn_lib.c
crypto/openssl/crypto/bn/bn_mont.c
crypto/openssl/crypto/bn/bn_nist.c
crypto/openssl/crypto/bn/bn_print.c
crypto/openssl/crypto/bn/bn_shift.c
crypto/openssl/crypto/bn/bn_x931p.c [new file with mode: 0644]
crypto/openssl/crypto/buffer/buf_str.c [copied from crypto/openssl/crypto/asn1/a_digest.c with 76% similarity]
crypto/openssl/crypto/buffer/buffer.c
crypto/openssl/crypto/camellia/asm/cmll-x86.pl
crypto/openssl/crypto/camellia/camellia.h
crypto/openssl/crypto/camellia/cmll_locl.h
crypto/openssl/crypto/camellia/cmll_misc.c
crypto/openssl/crypto/camellia/cmll_utl.c [copied from crypto/openssl/crypto/aes/aes_misc.c with 85% similarity]
crypto/openssl/crypto/cast/c_skey.c
crypto/openssl/crypto/cast/cast.h
crypto/openssl/crypto/cmac/cm_ameth.c [copied from crypto/openssl/crypto/ecdh/ech_locl.h with 70% similarity]
crypto/openssl/crypto/cmac/cm_pmeth.c [copied from crypto/openssl/crypto/hmac/hm_pmeth.c with 54% similarity]
crypto/openssl/crypto/cmac/cmac.c [new file with mode: 0644]
crypto/openssl/crypto/cmac/cmac.h [copied from crypto/openssl/crypto/ecdh/ech_locl.h with 71% similarity]
crypto/openssl/crypto/cms/cms.h
crypto/openssl/crypto/cms/cms_asn1.c
crypto/openssl/crypto/cms/cms_enc.c
crypto/openssl/crypto/cms/cms_env.c
crypto/openssl/crypto/cms/cms_err.c
crypto/openssl/crypto/cms/cms_lcl.h
crypto/openssl/crypto/cms/cms_lib.c
crypto/openssl/crypto/cms/cms_pwri.c [new file with mode: 0644]
crypto/openssl/crypto/cms/cms_sd.c
crypto/openssl/crypto/cms/cms_smime.c
crypto/openssl/crypto/comp/c_rle.c
crypto/openssl/crypto/cpt_err.c
crypto/openssl/crypto/cryptlib.c
crypto/openssl/crypto/cryptlib.h
crypto/openssl/crypto/crypto.h
crypto/openssl/crypto/des/des.h
crypto/openssl/crypto/des/set_key.c
crypto/openssl/crypto/dh/dh.h
crypto/openssl/crypto/dh/dh_ameth.c
crypto/openssl/crypto/dh/dh_err.c
crypto/openssl/crypto/dh/dh_gen.c
crypto/openssl/crypto/dh/dh_key.c
crypto/openssl/crypto/dh/dh_lib.c
crypto/openssl/crypto/dsa/dsa.h
crypto/openssl/crypto/dsa/dsa_ameth.c
crypto/openssl/crypto/dsa/dsa_asn1.c
crypto/openssl/crypto/dsa/dsa_err.c
crypto/openssl/crypto/dsa/dsa_gen.c
crypto/openssl/crypto/dsa/dsa_key.c
crypto/openssl/crypto/dsa/dsa_lib.c
crypto/openssl/crypto/dsa/dsa_locl.h
crypto/openssl/crypto/dsa/dsa_ossl.c
crypto/openssl/crypto/dsa/dsa_pmeth.c
crypto/openssl/crypto/dsa/dsa_sign.c
crypto/openssl/crypto/dsa/dsa_vrf.c
crypto/openssl/crypto/dso/dso_dlfcn.c
crypto/openssl/crypto/ec/ec.h
crypto/openssl/crypto/ec/ec2_mult.c
crypto/openssl/crypto/ec/ec2_oct.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ec2_smpl.c
crypto/openssl/crypto/ec/ec_ameth.c
crypto/openssl/crypto/ec/ec_asn1.c
crypto/openssl/crypto/ec/ec_curve.c
crypto/openssl/crypto/ec/ec_cvt.c
crypto/openssl/crypto/ec/ec_err.c
crypto/openssl/crypto/ec/ec_key.c
crypto/openssl/crypto/ec/ec_lcl.h
crypto/openssl/crypto/ec/ec_lib.c
crypto/openssl/crypto/ec/ec_oct.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ec_pmeth.c
crypto/openssl/crypto/ec/eck_prn.c
crypto/openssl/crypto/ec/ecp_mont.c
crypto/openssl/crypto/ec/ecp_nist.c
crypto/openssl/crypto/ec/ecp_nistp224.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ecp_nistp256.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ecp_nistp521.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ecp_nistputil.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ecp_oct.c [new file with mode: 0644]
crypto/openssl/crypto/ec/ecp_smpl.c
crypto/openssl/crypto/ecdh/ecdh.h
crypto/openssl/crypto/ecdh/ech_err.c
crypto/openssl/crypto/ecdh/ech_lib.c
crypto/openssl/crypto/ecdh/ech_locl.h
crypto/openssl/crypto/ecdh/ech_ossl.c
crypto/openssl/crypto/ecdsa/ecdsa.h
crypto/openssl/crypto/ecdsa/ecs_err.c
crypto/openssl/crypto/ecdsa/ecs_lib.c
crypto/openssl/crypto/ecdsa/ecs_locl.h
crypto/openssl/crypto/ecdsa/ecs_ossl.c
crypto/openssl/crypto/engine/eng_all.c
crypto/openssl/crypto/engine/eng_cryptodev.c
crypto/openssl/crypto/engine/eng_fat.c
crypto/openssl/crypto/engine/eng_rdrand.c [copied from crypto/openssl/crypto/rand/rand_err.c with 57% similarity]
crypto/openssl/crypto/engine/eng_rsax.c [new file with mode: 0644]
crypto/openssl/crypto/engine/engine.h
crypto/openssl/crypto/err/err.c
crypto/openssl/crypto/err/err.h
crypto/openssl/crypto/err/err_all.c
crypto/openssl/crypto/evp/bio_md.c
crypto/openssl/crypto/evp/bio_ok.c
crypto/openssl/crypto/evp/c_allc.c
crypto/openssl/crypto/evp/digest.c
crypto/openssl/crypto/evp/e_aes.c
crypto/openssl/crypto/evp/e_aes_cbc_hmac_sha1.c [new file with mode: 0644]
crypto/openssl/crypto/evp/e_des3.c
crypto/openssl/crypto/evp/e_null.c
crypto/openssl/crypto/evp/e_old.c [copied from crypto/openssl/crypto/ec/ec_cvt.c with 53% similarity]
crypto/openssl/crypto/evp/e_rc2.c
crypto/openssl/crypto/evp/e_rc4.c
crypto/openssl/crypto/evp/e_rc4_hmac_md5.c [new file with mode: 0644]
crypto/openssl/crypto/evp/evp.h
crypto/openssl/crypto/evp/evp_enc.c
crypto/openssl/crypto/evp/evp_err.c
crypto/openssl/crypto/evp/evp_fips.c [new file with mode: 0644]
crypto/openssl/crypto/evp/evp_key.c
crypto/openssl/crypto/evp/evp_lib.c
crypto/openssl/crypto/evp/evp_locl.h
crypto/openssl/crypto/evp/evp_pbe.c
crypto/openssl/crypto/evp/m_dss.c
crypto/openssl/crypto/evp/m_dss1.c
crypto/openssl/crypto/evp/m_ecdsa.c
crypto/openssl/crypto/evp/m_md4.c
crypto/openssl/crypto/evp/m_md5.c
crypto/openssl/crypto/evp/m_mdc2.c
crypto/openssl/crypto/evp/m_ripemd.c
crypto/openssl/crypto/evp/m_sha.c
crypto/openssl/crypto/evp/m_sha1.c
crypto/openssl/crypto/evp/m_wp.c
crypto/openssl/crypto/evp/names.c
crypto/openssl/crypto/evp/p5_crpt.c
crypto/openssl/crypto/evp/p5_crpt2.c
crypto/openssl/crypto/evp/p_open.c
crypto/openssl/crypto/evp/p_seal.c
crypto/openssl/crypto/evp/p_sign.c
crypto/openssl/crypto/evp/p_verify.c
crypto/openssl/crypto/evp/pmeth_gn.c
crypto/openssl/crypto/evp/pmeth_lib.c
crypto/openssl/crypto/fips_ers.c [new file with mode: 0644]
crypto/openssl/crypto/hmac/hm_ameth.c
crypto/openssl/crypto/hmac/hm_pmeth.c
crypto/openssl/crypto/hmac/hmac.c
crypto/openssl/crypto/idea/i_skey.c
crypto/openssl/crypto/idea/idea.h
crypto/openssl/crypto/md4/md4.h
crypto/openssl/crypto/md4/md4_dgst.c
crypto/openssl/crypto/md5/md5.h
crypto/openssl/crypto/md5/md5_dgst.c
crypto/openssl/crypto/mdc2/mdc2.h
crypto/openssl/crypto/mdc2/mdc2dgst.c
crypto/openssl/crypto/mem.c
crypto/openssl/crypto/modes/asm/ghash-x86.pl [new file with mode: 0644]
crypto/openssl/crypto/modes/asm/ghash-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/modes/cbc128.c
crypto/openssl/crypto/modes/ccm128.c [new file with mode: 0644]
crypto/openssl/crypto/modes/cfb128.c
crypto/openssl/crypto/modes/ctr128.c
crypto/openssl/crypto/modes/cts128.c
crypto/openssl/crypto/modes/gcm128.c [new file with mode: 0644]
crypto/openssl/crypto/modes/modes.h
crypto/openssl/crypto/modes/modes_lcl.h [new file with mode: 0644]
crypto/openssl/crypto/modes/ofb128.c
crypto/openssl/crypto/modes/xts128.c [new file with mode: 0644]
crypto/openssl/crypto/o_fips.c [copied from crypto/openssl/crypto/dsa/dsa_locl.h with 75% similarity]
crypto/openssl/crypto/o_init.c [copied from crypto/openssl/crypto/aes/aes_misc.c with 76% similarity]
crypto/openssl/crypto/objects/obj_dat.h
crypto/openssl/crypto/objects/obj_mac.h
crypto/openssl/crypto/objects/obj_xref.c
crypto/openssl/crypto/objects/obj_xref.h
crypto/openssl/crypto/ocsp/ocsp_lib.c
crypto/openssl/crypto/opensslv.h
crypto/openssl/crypto/ossl_typ.h
crypto/openssl/crypto/pem/pvkfmt.c
crypto/openssl/crypto/perlasm/x86_64-xlate.pl
crypto/openssl/crypto/perlasm/x86asm.pl
crypto/openssl/crypto/perlasm/x86gas.pl
crypto/openssl/crypto/pkcs12/p12_decr.c
crypto/openssl/crypto/pkcs12/p12_key.c
crypto/openssl/crypto/pkcs12/p12_kiss.c
crypto/openssl/crypto/pkcs12/p12_mutl.c
crypto/openssl/crypto/pkcs7/pk7_doit.c
crypto/openssl/crypto/pkcs7/pk7_smime.c
crypto/openssl/crypto/rand/md_rand.c
crypto/openssl/crypto/rand/rand.h
crypto/openssl/crypto/rand/rand_err.c
crypto/openssl/crypto/rand/rand_lib.c
crypto/openssl/crypto/rc2/rc2.h
crypto/openssl/crypto/rc2/rc2_skey.c
crypto/openssl/crypto/rc4/asm/rc4-586.pl
crypto/openssl/crypto/rc4/asm/rc4-md5-x86_64.pl [new file with mode: 0644]
crypto/openssl/crypto/rc4/asm/rc4-x86_64.pl
crypto/openssl/crypto/rc4/rc4.h
crypto/openssl/crypto/rc4/rc4_skey.c
crypto/openssl/crypto/rc4/rc4_utl.c [copied from crypto/openssl/crypto/aes/aes_misc.c with 87% similarity]
crypto/openssl/crypto/ripemd/ripemd.h
crypto/openssl/crypto/ripemd/rmd_dgst.c
crypto/openssl/crypto/rsa/rsa.h
crypto/openssl/crypto/rsa/rsa_ameth.c
crypto/openssl/crypto/rsa/rsa_asn1.c
crypto/openssl/crypto/rsa/rsa_crpt.c [copied from crypto/openssl/crypto/rsa/rsa_lib.c with 56% similarity]
crypto/openssl/crypto/rsa/rsa_err.c
crypto/openssl/crypto/rsa/rsa_gen.c
crypto/openssl/crypto/rsa/rsa_lib.c
crypto/openssl/crypto/rsa/rsa_oaep.c
crypto/openssl/crypto/rsa/rsa_pmeth.c
crypto/openssl/crypto/rsa/rsa_pss.c
crypto/openssl/crypto/rsa/rsa_sign.c
crypto/openssl/crypto/seed/seed.c
crypto/openssl/crypto/seed/seed.h
crypto/openssl/crypto/sha/asm/sha1-586.pl
crypto/openssl/crypto/sha/asm/sha1-x86_64.pl
crypto/openssl/crypto/sha/asm/sha256-586.pl
crypto/openssl/crypto/sha/asm/sha512-x86_64.pl
crypto/openssl/crypto/sha/sha.h
crypto/openssl/crypto/sha/sha1dgst.c
crypto/openssl/crypto/sha/sha256.c
crypto/openssl/crypto/sha/sha512.c
crypto/openssl/crypto/sha/sha_dgst.c
crypto/openssl/crypto/sha/sha_locl.h
crypto/openssl/crypto/srp/srp.h [copied from crypto/openssl/crypto/ecdh/ecdh.h with 50% similarity]
crypto/openssl/crypto/srp/srp_grps.h [new file with mode: 0644]
crypto/openssl/crypto/srp/srp_lcl.h [copied from crypto/openssl/crypto/ecdh/ech_locl.h with 77% similarity]
crypto/openssl/crypto/srp/srp_lib.c [new file with mode: 0644]
crypto/openssl/crypto/srp/srp_vfy.c [new file with mode: 0644]
crypto/openssl/crypto/stack/safestack.h
crypto/openssl/crypto/symhacks.h
crypto/openssl/crypto/ts/ts.h
crypto/openssl/crypto/ts/ts_rsp_verify.c
crypto/openssl/crypto/ui/ui.h
crypto/openssl/crypto/ui/ui_openssl.c
crypto/openssl/crypto/whrlpool/whrlpool.h
crypto/openssl/crypto/whrlpool/wp_block.c
crypto/openssl/crypto/whrlpool/wp_dgst.c
crypto/openssl/crypto/x509/x509.h
crypto/openssl/crypto/x509/x509_cmp.c
crypto/openssl/crypto/x509/x509_vfy.c
crypto/openssl/crypto/x509/x509type.c
crypto/openssl/crypto/x509/x_all.c
crypto/openssl/crypto/x509v3/v3_asid.c
crypto/openssl/crypto/x509v3/v3_skey.c
crypto/openssl/crypto/x86_64cpuid.pl
crypto/openssl/crypto/x86cpuid.pl
crypto/openssl/doc/apps/genpkey.pod
crypto/openssl/doc/apps/openssl.pod
crypto/openssl/doc/ssl/SSL_alert_type_string.pod
crypto/openssl/e_os.h
crypto/openssl/e_os2.h
crypto/openssl/engines/ccgost/gost_ameth.c
crypto/openssl/engines/ccgost/gost_pmeth.c
crypto/openssl/engines/e_aep.c
crypto/openssl/engines/e_capi.c
crypto/openssl/engines/e_padlock.c
crypto/openssl/ssl/d1_both.c
crypto/openssl/ssl/d1_clnt.c
crypto/openssl/ssl/d1_lib.c
crypto/openssl/ssl/d1_pkt.c
crypto/openssl/ssl/d1_srtp.c [new file with mode: 0644]
crypto/openssl/ssl/d1_srvr.c
crypto/openssl/ssl/dtls1.h
crypto/openssl/ssl/kssl.c
crypto/openssl/ssl/kssl.h
crypto/openssl/ssl/s23_clnt.c
crypto/openssl/ssl/s23_meth.c
crypto/openssl/ssl/s23_srvr.c
crypto/openssl/ssl/s3_both.c
crypto/openssl/ssl/s3_clnt.c
crypto/openssl/ssl/s3_enc.c
crypto/openssl/ssl/s3_lib.c
crypto/openssl/ssl/s3_pkt.c
crypto/openssl/ssl/s3_srvr.c
crypto/openssl/ssl/srtp.h [copied from crypto/openssl/crypto/evp/m_ecdsa.c with 86% similarity]
crypto/openssl/ssl/ssl.h
crypto/openssl/ssl/ssl2.h
crypto/openssl/ssl/ssl3.h
crypto/openssl/ssl/ssl_algs.c
crypto/openssl/ssl/ssl_asn1.c
crypto/openssl/ssl/ssl_cert.c
crypto/openssl/ssl/ssl_ciph.c
crypto/openssl/ssl/ssl_err.c
crypto/openssl/ssl/ssl_lib.c
crypto/openssl/ssl/ssl_locl.h
crypto/openssl/ssl/ssl_sess.c
crypto/openssl/ssl/ssl_txt.c
crypto/openssl/ssl/t1_clnt.c
crypto/openssl/ssl/t1_enc.c
crypto/openssl/ssl/t1_lib.c
crypto/openssl/ssl/t1_meth.c
crypto/openssl/ssl/t1_srvr.c
crypto/openssl/ssl/tls1.h
crypto/openssl/ssl/tls_srp.c [new file with mode: 0644]