From 30e7fb7307011a3c8d2586d73817ec967a863647 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 10 Apr 2012 15:57:21 +0200 Subject: [PATCH] deps: upgrade openssl to 1.0.0f --- deps/openssl/README.chromium | 86 +- .../openssl/opensslconf.h} | 88 +- .../config/k8/openssl/opensslconf-win32.h | 262 - deps/openssl/config/k8/openssl/opensslconf.h | 281 +- .../config/piii/openssl/opensslconf-posix.h | 290 - .../config/piii/openssl/opensslconf-win32.h | 279 - .../openssl/config/piii/openssl/opensslconf.h | 281 +- deps/openssl/openssl.gyp | 209 +- deps/openssl/openssl/CHANGES | 1000 ++- deps/openssl/openssl/CHANGES.SSLeay | 2 +- deps/openssl/openssl/Configure | 584 +- deps/openssl/openssl/FAQ | 2 +- deps/openssl/openssl/INSTALL | 12 +- deps/openssl/openssl/INSTALL.VMS | 52 +- deps/openssl/openssl/INSTALL.W32 | 180 +- deps/openssl/openssl/INSTALL.WCE | 79 +- deps/openssl/openssl/Makefile | 332 +- deps/openssl/openssl/Makefile.org | 302 +- deps/openssl/openssl/Makefile.shared | 142 +- deps/openssl/openssl/NEWS | 62 + deps/openssl/openssl/Netware/build.bat | 7 + deps/openssl/openssl/README | 2 +- deps/openssl/openssl/VMS/install-vms.com | 67 + deps/openssl/openssl/VMS/install.com | 79 - deps/openssl/openssl/VMS/mkshared.com | 253 +- deps/openssl/openssl/VMS/openssl_startup.com | 108 + deps/openssl/openssl/VMS/openssl_undo.com | 20 + deps/openssl/openssl/apps/CA.com | 98 +- deps/openssl/openssl/apps/Makefile | 1042 +-- deps/openssl/openssl/apps/apps.c | 875 +- deps/openssl/openssl/apps/apps.h | 95 +- deps/openssl/openssl/apps/asn1pars.c | 17 +- deps/openssl/openssl/apps/ca.c | 148 +- deps/openssl/openssl/apps/ciphers.c | 37 +- deps/openssl/openssl/apps/cms.c | 115 +- deps/openssl/openssl/apps/crl2p7.c | 20 +- deps/openssl/openssl/apps/dgst.c | 346 +- deps/openssl/openssl/apps/dh.c | 6 + deps/openssl/openssl/apps/dhparam.c | 6 + deps/openssl/openssl/apps/dsa.c | 59 +- deps/openssl/openssl/apps/ec.c | 6 + deps/openssl/openssl/apps/ecparam.c | 6 + deps/openssl/openssl/apps/enc.c | 53 +- deps/openssl/openssl/apps/engine.c | 57 +- deps/openssl/openssl/apps/errstr.c | 10 +- deps/openssl/openssl/apps/gendh.c | 6 + deps/openssl/openssl/apps/genpkey.c | 440 ++ deps/openssl/openssl/apps/genrsa.c | 25 +- deps/openssl/openssl/apps/install-apps.com | 107 + deps/openssl/openssl/apps/install.com | 65 - deps/openssl/openssl/apps/makeapps.com | 338 +- deps/openssl/openssl/apps/ocsp.c | 149 +- deps/openssl/openssl/apps/openssl-vms.cnf | 59 +- deps/openssl/openssl/apps/openssl.c | 278 +- deps/openssl/openssl/apps/openssl.cnf | 59 +- deps/openssl/openssl/apps/pkcs12.c | 104 +- deps/openssl/openssl/apps/pkcs7.c | 7 +- deps/openssl/openssl/apps/pkcs8.c | 79 +- deps/openssl/openssl/apps/pkey.c | 284 + deps/openssl/openssl/apps/pkeyparam.c | 200 + deps/openssl/openssl/apps/pkeyutl.c | 570 ++ deps/openssl/openssl/apps/prime.c | 46 +- deps/openssl/openssl/apps/progs.h | 21 + deps/openssl/openssl/apps/progs.pl | 9 +- deps/openssl/openssl/apps/req.c | 491 +- deps/openssl/openssl/apps/rsa.c | 63 +- deps/openssl/openssl/apps/rsautl.c | 6 + deps/openssl/openssl/apps/s_apps.h | 6 +- deps/openssl/openssl/apps/s_cb.c | 195 +- deps/openssl/openssl/apps/s_client.c | 359 +- deps/openssl/openssl/apps/s_server.c | 401 +- deps/openssl/openssl/apps/s_socket.c | 8 +- deps/openssl/openssl/apps/s_time.c | 109 +- deps/openssl/openssl/apps/smime.c | 412 +- deps/openssl/openssl/apps/speed.c | 331 +- deps/openssl/openssl/apps/ts.c | 1147 +++ deps/openssl/openssl/apps/tsget | 196 + deps/openssl/openssl/apps/verify.c | 165 +- deps/openssl/openssl/apps/vms_decc_init.c | 188 + deps/openssl/openssl/apps/x509.c | 94 +- deps/openssl/openssl/config | 55 +- deps/openssl/openssl/crypto/LPdir_vms.c | 49 +- deps/openssl/openssl/crypto/LPdir_win.c | 2 - deps/openssl/openssl/crypto/Makefile | 75 +- deps/openssl/openssl/crypto/aes/Makefile | 47 +- deps/openssl/openssl/crypto/aes/aes.h | 28 +- deps/openssl/openssl/crypto/aes/aes_cbc.c | 82 +- deps/openssl/openssl/crypto/aes/aes_cfb.c | 159 +- deps/openssl/openssl/crypto/aes/aes_core.c | 209 +- deps/openssl/openssl/crypto/aes/aes_ctr.c | 90 +- deps/openssl/openssl/crypto/aes/aes_ige.c | 12 +- deps/openssl/openssl/crypto/aes/aes_ofb.c | 94 +- deps/openssl/openssl/crypto/aes/aes_x86core.c | 1063 +++ .../openssl/openssl/crypto/aes/asm/aes-586.pl | 2445 ++++-- .../openssl/crypto/aes/asm/aes-armv4.pl | 1030 +++ .../openssl/openssl/crypto/aes/asm/aes-ppc.pl | 1189 +++ .../openssl/crypto/aes/asm/aes-s390x.pl | 1339 ++++ .../openssl/crypto/aes/asm/aes-sparcv9.pl | 1181 +++ .../openssl/crypto/aes/asm/aes-x86_64.pl | 2000 ++++- deps/openssl/openssl/crypto/alphacpuid.pl | 126 + deps/openssl/openssl/crypto/asn1/Makefile | 580 +- deps/openssl/openssl/crypto/asn1/a_bitstr.c | 23 + deps/openssl/openssl/crypto/asn1/a_dup.c | 2 +- deps/openssl/openssl/crypto/asn1/a_gentm.c | 23 +- deps/openssl/openssl/crypto/asn1/a_hdr.c | 119 - deps/openssl/openssl/crypto/asn1/a_int.c | 10 +- deps/openssl/openssl/crypto/asn1/a_meth.c | 84 - deps/openssl/openssl/crypto/asn1/a_object.c | 28 +- deps/openssl/openssl/crypto/asn1/a_octet.c | 4 +- deps/openssl/openssl/crypto/asn1/a_set.c | 45 +- deps/openssl/openssl/crypto/asn1/a_sign.c | 78 +- deps/openssl/openssl/crypto/asn1/a_strnid.c | 18 +- deps/openssl/openssl/crypto/asn1/a_time.c | 40 +- deps/openssl/openssl/crypto/asn1/a_type.c | 53 +- deps/openssl/openssl/crypto/asn1/a_utctm.c | 21 +- deps/openssl/openssl/crypto/asn1/a_verify.c | 31 +- deps/openssl/openssl/crypto/asn1/ameth_lib.c | 450 ++ deps/openssl/openssl/crypto/asn1/asn1.h | 254 +- deps/openssl/openssl/crypto/asn1/asn1_err.c | 21 +- deps/openssl/openssl/crypto/asn1/asn1_gen.c | 35 +- deps/openssl/openssl/crypto/asn1/asn1_lib.c | 36 +- deps/openssl/openssl/crypto/asn1/asn1_locl.h | 134 + deps/openssl/openssl/crypto/asn1/asn1_mac.h | 7 + deps/openssl/openssl/crypto/asn1/asn1_par.c | 15 +- deps/openssl/openssl/crypto/asn1/asn1t.h | 71 +- deps/openssl/openssl/crypto/asn1/asn_mime.c | 88 +- deps/openssl/openssl/crypto/asn1/asn_pack.c | 8 +- deps/openssl/openssl/crypto/asn1/bio_asn1.c | 495 ++ deps/openssl/openssl/crypto/asn1/bio_ndef.c | 243 + deps/openssl/openssl/crypto/asn1/charmap.h | 2 +- deps/openssl/openssl/crypto/asn1/d2i_pr.c | 97 +- deps/openssl/openssl/crypto/asn1/d2i_pu.c | 10 +- deps/openssl/openssl/crypto/asn1/i2d_pr.c | 39 +- deps/openssl/openssl/crypto/asn1/nsseq.c | 5 +- deps/openssl/openssl/crypto/asn1/p5_pbe.c | 105 +- deps/openssl/openssl/crypto/asn1/p5_pbev2.c | 54 +- deps/openssl/openssl/crypto/asn1/p8_key.c | 131 - deps/openssl/openssl/crypto/asn1/p8_pkey.c | 75 +- deps/openssl/openssl/crypto/asn1/t_pkey.c | 729 +- deps/openssl/openssl/crypto/asn1/t_req.c | 28 +- deps/openssl/openssl/crypto/asn1/t_spki.c | 31 +- deps/openssl/openssl/crypto/asn1/t_x509.c | 47 +- deps/openssl/openssl/crypto/asn1/tasn_dec.c | 24 +- deps/openssl/openssl/crypto/asn1/tasn_enc.c | 11 +- deps/openssl/openssl/crypto/asn1/tasn_fre.c | 8 +- deps/openssl/openssl/crypto/asn1/tasn_new.c | 23 +- deps/openssl/openssl/crypto/asn1/tasn_prn.c | 625 +- deps/openssl/openssl/crypto/asn1/tasn_typ.c | 11 + deps/openssl/openssl/crypto/asn1/x_crl.c | 391 +- deps/openssl/openssl/crypto/asn1/x_long.c | 10 +- deps/openssl/openssl/crypto/asn1/x_name.c | 303 +- .../fips_dh_lib.c => crypto/asn1/x_nx509.c} | 51 +- deps/openssl/openssl/crypto/asn1/x_pubkey.c | 304 +- deps/openssl/openssl/crypto/asn1/x_req.c | 3 +- deps/openssl/openssl/crypto/asn1/x_x509.c | 20 +- deps/openssl/openssl/crypto/bf/Makefile | 23 +- deps/openssl/openssl/crypto/bf/asm/bf-586.pl | 3 +- deps/openssl/openssl/crypto/bf/bf_skey.c | 7 +- deps/openssl/openssl/crypto/bf/blowfish.h | 6 +- deps/openssl/openssl/crypto/bio/Makefile | 13 +- deps/openssl/openssl/crypto/bio/b_print.c | 4 +- deps/openssl/openssl/crypto/bio/b_sock.c | 264 +- deps/openssl/openssl/crypto/bio/bf_buff.c | 15 +- deps/openssl/openssl/crypto/bio/bio.h | 64 +- deps/openssl/openssl/crypto/bio/bio_cb.c | 24 +- deps/openssl/openssl/crypto/bio/bio_err.c | 2 +- deps/openssl/openssl/crypto/bio/bio_lcl.h | 10 +- deps/openssl/openssl/crypto/bio/bio_lib.c | 4 +- deps/openssl/openssl/crypto/bio/bss_acpt.c | 8 +- deps/openssl/openssl/crypto/bio/bss_dgram.c | 189 +- deps/openssl/openssl/crypto/bio/bss_fd.c | 27 +- deps/openssl/openssl/crypto/bio/bss_file.c | 56 +- deps/openssl/openssl/crypto/bio/bss_log.c | 87 +- deps/openssl/openssl/crypto/bio/bss_mem.c | 18 +- deps/openssl/openssl/crypto/bn/Makefile | 79 +- .../openssl/crypto/bn/asm/alpha-mont.pl | 321 + .../openssl/crypto/bn/asm/armv4-mont.pl | 201 + deps/openssl/openssl/crypto/bn/asm/bn-586.pl | 203 +- deps/openssl/openssl/crypto/bn/asm/co-586.pl | 3 +- .../openssl/crypto/bn/asm/mips3-mont.pl | 327 + .../openssl/openssl/crypto/bn/asm/ppc-mont.pl | 323 + deps/openssl/openssl/crypto/bn/asm/ppc.pl | 237 +- .../openssl/crypto/bn/asm/ppc64-mont.pl | 918 +++ .../openssl/crypto/bn/asm/s390x-mont.pl | 225 + deps/openssl/openssl/crypto/bn/asm/s390x.S | 678 ++ .../openssl/crypto/bn/asm/sparcv8plus.S | 15 +- .../openssl/crypto/bn/asm/sparcv9-mont.pl | 606 ++ .../openssl/crypto/bn/asm/sparcv9a-mont.pl | 882 +++ .../openssl/openssl/crypto/bn/asm/via-mont.pl | 242 + .../crypto/bn/asm/{mo-586.pl => x86-mont.pl} | 20 +- .../openssl/crypto/bn/asm/x86_64-gcc.c | 10 +- .../openssl/crypto/bn/asm/x86_64-mont.pl | 136 +- deps/openssl/openssl/crypto/bn/bn.h | 197 +- deps/openssl/openssl/crypto/bn/bn_asm.c | 322 +- deps/openssl/openssl/crypto/bn/bn_blind.c | 54 +- deps/openssl/openssl/crypto/bn/bn_ctx.c | 6 +- deps/openssl/openssl/crypto/bn/bn_div.c | 12 +- deps/openssl/openssl/crypto/bn/bn_gf2m.c | 143 +- deps/openssl/openssl/crypto/bn/bn_lcl.h | 3 +- deps/openssl/openssl/crypto/bn/bn_lib.c | 29 +- deps/openssl/openssl/crypto/bn/bn_mont.c | 271 +- deps/openssl/openssl/crypto/bn/bn_nist.c | 64 +- deps/openssl/openssl/crypto/bn/bn_print.c | 21 + deps/openssl/openssl/crypto/bn/bn_x931p.c | 272 - deps/openssl/openssl/crypto/bn/bntest.c | 36 +- deps/openssl/openssl/crypto/bn/exptest.c | 4 +- deps/openssl/openssl/crypto/buffer/Makefile | 13 +- deps/openssl/openssl/crypto/buffer/buf_err.c | 2 +- deps/openssl/openssl/crypto/buffer/buffer.c | 89 +- deps/openssl/openssl/crypto/buffer/buffer.h | 9 +- deps/openssl/openssl/crypto/camellia/Makefile | 43 +- .../openssl/crypto/camellia/asm/cmll-x86.pl | 1138 +++ .../crypto/camellia/asm/cmll-x86_64.pl | 1080 +++ .../openssl/crypto/camellia/camellia.c | 2024 ++--- .../openssl/crypto/camellia/camellia.h | 36 +- .../openssl/crypto/camellia/cmll_cbc.c | 227 +- .../openssl/crypto/camellia/cmll_cfb.c | 110 +- .../openssl/crypto/camellia/cmll_ctr.c | 85 +- .../openssl/crypto/camellia/cmll_locl.h | 102 +- .../openssl/crypto/camellia/cmll_misc.c | 60 +- .../openssl/crypto/camellia/cmll_ofb.c | 28 +- deps/openssl/openssl/crypto/cast/Makefile | 20 +- .../openssl/crypto/cast/asm/cast-586.pl | 3 +- deps/openssl/openssl/crypto/cast/c_skey.c | 7 +- deps/openssl/openssl/crypto/cast/cast.h | 6 +- deps/openssl/openssl/crypto/cms/Makefile | 85 +- deps/openssl/openssl/crypto/cms/cms.h | 10 +- deps/openssl/openssl/crypto/cms/cms_asn1.c | 42 +- deps/openssl/openssl/crypto/cms/cms_env.c | 85 +- deps/openssl/openssl/crypto/cms/cms_err.c | 4 +- deps/openssl/openssl/crypto/cms/cms_ess.c | 2 +- deps/openssl/openssl/crypto/cms/cms_io.c | 79 +- deps/openssl/openssl/crypto/cms/cms_lcl.h | 1 + deps/openssl/openssl/crypto/cms/cms_lib.c | 26 +- deps/openssl/openssl/crypto/cms/cms_sd.c | 126 +- deps/openssl/openssl/crypto/cms/cms_smime.c | 22 +- deps/openssl/openssl/crypto/comp/Makefile | 2 +- deps/openssl/openssl/crypto/comp/c_zlib.c | 1 + deps/openssl/openssl/crypto/comp/comp_err.c | 2 +- deps/openssl/openssl/crypto/conf/Makefile | 17 +- deps/openssl/openssl/crypto/conf/README | 47 +- deps/openssl/openssl/crypto/conf/conf.h | 35 +- deps/openssl/openssl/crypto/conf/conf_api.c | 137 +- deps/openssl/openssl/crypto/conf/conf_def.c | 19 +- deps/openssl/openssl/crypto/conf/conf_err.c | 4 +- deps/openssl/openssl/crypto/conf/conf_lib.c | 30 +- deps/openssl/openssl/crypto/conf/conf_mall.c | 2 - deps/openssl/openssl/crypto/conf/conf_mod.c | 8 +- deps/openssl/openssl/crypto/cpt_err.c | 2 +- deps/openssl/openssl/crypto/cryptlib.c | 525 +- deps/openssl/openssl/crypto/crypto-lib.com | 427 +- deps/openssl/openssl/crypto/crypto.h | 104 +- deps/openssl/openssl/crypto/des/Makefile | 55 +- .../openssl/crypto/des/asm/crypt586.pl | 5 +- .../openssl/openssl/crypto/des/asm/des-586.pl | 274 +- deps/openssl/openssl/crypto/des/asm/des686.pl | 230 - .../openssl/openssl/crypto/des/asm/des_enc.m4 | 6 +- deps/openssl/openssl/crypto/des/des-lib.com | 12 +- deps/openssl/openssl/crypto/des/des_enc.c | 21 +- deps/openssl/openssl/crypto/des/des_locl.h | 6 +- deps/openssl/openssl/crypto/des/ecb_enc.c | 48 +- deps/openssl/openssl/crypto/des/enc_read.c | 12 +- deps/openssl/openssl/crypto/des/enc_writ.c | 4 + deps/openssl/openssl/crypto/des/fcrypt_b.c | 4 +- deps/openssl/openssl/crypto/des/set_key.c | 13 +- deps/openssl/openssl/crypto/des/xcbc_enc.c | 2 +- deps/openssl/openssl/crypto/dh/Makefile | 63 +- deps/openssl/openssl/crypto/dh/dh.h | 41 +- deps/openssl/openssl/crypto/dh/dh_ameth.c | 500 ++ deps/openssl/openssl/crypto/dh/dh_asn1.c | 10 +- deps/openssl/openssl/crypto/dh/dh_check.c | 8 +- deps/openssl/openssl/crypto/dh/dh_err.c | 21 +- deps/openssl/openssl/crypto/dh/dh_gen.c | 4 - deps/openssl/openssl/crypto/dh/dh_key.c | 4 - deps/openssl/openssl/crypto/dh/dh_pmeth.c | 254 + .../crypto/{bn/bn_opt.c => dh/dh_prn.c} | 37 +- deps/openssl/openssl/crypto/dsa/Makefile | 138 +- deps/openssl/openssl/crypto/dsa/dsa.h | 69 +- deps/openssl/openssl/crypto/dsa/dsa_ameth.c | 657 ++ deps/openssl/openssl/crypto/dsa/dsa_asn1.c | 98 +- deps/openssl/openssl/crypto/dsa/dsa_err.c | 26 +- deps/openssl/openssl/crypto/dsa/dsa_gen.c | 124 +- deps/openssl/openssl/crypto/dsa/dsa_key.c | 4 - deps/openssl/openssl/crypto/dsa/dsa_lib.c | 51 +- .../fips_rand.h => crypto/dsa/dsa_locl.h} | 38 +- deps/openssl/openssl/crypto/dsa/dsa_ossl.c | 47 +- deps/openssl/openssl/crypto/dsa/dsa_pmeth.c | 316 + .../fips_rsa_lib.c => crypto/dsa/dsa_prn.c} | 92 +- deps/openssl/openssl/crypto/dsa/dsa_sign.c | 35 +- deps/openssl/openssl/crypto/dsa/dsa_vrf.c | 37 +- deps/openssl/openssl/crypto/dsa/dsatest.c | 3 +- deps/openssl/openssl/crypto/dso/Makefile | 14 +- deps/openssl/openssl/crypto/dso/dso.h | 43 +- deps/openssl/openssl/crypto/dso/dso_beos.c | 270 + deps/openssl/openssl/crypto/dso/dso_dl.c | 42 +- deps/openssl/openssl/crypto/dso/dso_dlfcn.c | 130 +- deps/openssl/openssl/crypto/dso/dso_err.c | 14 +- deps/openssl/openssl/crypto/dso/dso_lib.c | 35 +- deps/openssl/openssl/crypto/dso/dso_null.c | 4 +- deps/openssl/openssl/crypto/dso/dso_openssl.c | 2 + deps/openssl/openssl/crypto/dso/dso_vms.c | 191 +- deps/openssl/openssl/crypto/dso/dso_win32.c | 221 +- deps/openssl/openssl/crypto/dyn_lck.c | 428 - deps/openssl/openssl/crypto/ec/Makefile | 48 +- deps/openssl/openssl/crypto/ec/ec.h | 814 +- deps/openssl/openssl/crypto/ec/ec2_mult.c | 33 +- deps/openssl/openssl/crypto/ec/ec2_smpl.c | 114 +- deps/openssl/openssl/crypto/ec/ec2_smpt.c | 141 - deps/openssl/openssl/crypto/ec/ec_ameth.c | 659 ++ deps/openssl/openssl/crypto/ec/ec_curve.c | 2593 +++--- deps/openssl/openssl/crypto/ec/ec_err.c | 21 +- deps/openssl/openssl/crypto/ec/ec_lcl.h | 13 +- deps/openssl/openssl/crypto/ec/ec_lib.c | 4 +- deps/openssl/openssl/crypto/ec/ec_mult.c | 22 +- deps/openssl/openssl/crypto/ec/ec_pmeth.c | 340 + deps/openssl/openssl/crypto/ec/eck_prn.c | 391 + deps/openssl/openssl/crypto/ec/ecp_nist.c | 26 - deps/openssl/openssl/crypto/ec/ectest.c | 14 +- deps/openssl/openssl/crypto/ecdh/Makefile | 33 +- deps/openssl/openssl/crypto/ecdh/ecdhtest.c | 2 +- deps/openssl/openssl/crypto/ecdh/ech_err.c | 4 +- deps/openssl/openssl/crypto/ecdh/ech_lib.c | 5 + deps/openssl/openssl/crypto/ecdsa/Makefile | 37 +- deps/openssl/openssl/crypto/ecdsa/ecdsa.h | 193 +- deps/openssl/openssl/crypto/ecdsa/ecdsatest.c | 92 +- deps/openssl/openssl/crypto/ecdsa/ecs_err.c | 2 +- deps/openssl/openssl/crypto/ecdsa/ecs_ossl.c | 8 + deps/openssl/openssl/crypto/engine/Makefile | 290 +- deps/openssl/openssl/crypto/engine/eng_all.c | 19 +- .../openssl/crypto/engine/eng_cryptodev.c | 425 +- deps/openssl/openssl/crypto/engine/eng_dyn.c | 14 +- deps/openssl/openssl/crypto/engine/eng_err.c | 3 + deps/openssl/openssl/crypto/engine/eng_fat.c | 14 + deps/openssl/openssl/crypto/engine/eng_int.h | 12 +- deps/openssl/openssl/crypto/engine/eng_lib.c | 3 + deps/openssl/openssl/crypto/engine/eng_list.c | 1 + .../openssl/crypto/engine/eng_openssl.c | 2 +- .../openssl/openssl/crypto/engine/eng_table.c | 69 +- deps/openssl/openssl/crypto/engine/engine.h | 59 +- .../openssl/crypto/engine/enginetest.c | 2 +- .../openssl/openssl/crypto/engine/tb_asnmth.c | 246 + .../openssl/openssl/crypto/engine/tb_pkmeth.c | 167 + deps/openssl/openssl/crypto/err/Makefile | 47 +- deps/openssl/openssl/crypto/err/err.c | 789 +- deps/openssl/openssl/crypto/err/err.h | 77 +- deps/openssl/openssl/crypto/err/err_all.c | 11 +- deps/openssl/openssl/crypto/err/err_def.c | 665 -- deps/openssl/openssl/crypto/err/err_prn.c | 67 +- deps/openssl/openssl/crypto/err/err_str.c | 295 - deps/openssl/openssl/crypto/err/openssl.ec | 9 +- deps/openssl/openssl/crypto/evp/Makefile | 782 +- deps/openssl/openssl/crypto/evp/bio_enc.c | 6 +- deps/openssl/openssl/crypto/evp/bio_md.c | 16 +- deps/openssl/openssl/crypto/evp/c_all.c | 2 +- deps/openssl/openssl/crypto/evp/c_allc.c | 3 - deps/openssl/openssl/crypto/evp/c_alld.c | 5 +- deps/openssl/openssl/crypto/evp/dig_eng.c | 180 - deps/openssl/openssl/crypto/evp/digest.c | 193 +- deps/openssl/openssl/crypto/evp/e_aes.c | 35 +- deps/openssl/openssl/crypto/evp/e_camellia.c | 2 +- deps/openssl/openssl/crypto/evp/e_des.c | 91 +- deps/openssl/openssl/crypto/evp/e_des3.c | 95 +- deps/openssl/openssl/crypto/evp/e_idea.c | 2 +- deps/openssl/openssl/crypto/evp/e_null.c | 8 +- deps/openssl/openssl/crypto/evp/e_rc2.c | 5 + deps/openssl/openssl/crypto/evp/e_rc4.c | 5 +- deps/openssl/openssl/crypto/evp/e_seed.c | 2 +- deps/openssl/openssl/crypto/evp/e_xcbc_d.c | 19 +- deps/openssl/openssl/crypto/evp/enc_min.c | 391 - deps/openssl/openssl/crypto/evp/encode.c | 4 +- deps/openssl/openssl/crypto/evp/evp.h | 535 +- deps/openssl/openssl/crypto/evp/evp_enc.c | 268 +- deps/openssl/openssl/crypto/evp/evp_err.c | 60 +- deps/openssl/openssl/crypto/evp/evp_key.c | 9 +- deps/openssl/openssl/crypto/evp/evp_lib.c | 38 +- deps/openssl/openssl/crypto/evp/evp_locl.h | 149 +- deps/openssl/openssl/crypto/evp/evp_pbe.c | 289 +- deps/openssl/openssl/crypto/evp/evp_pkey.c | 646 +- deps/openssl/openssl/crypto/evp/evp_test.c | 7 +- deps/openssl/openssl/crypto/evp/m_dss.c | 2 +- deps/openssl/openssl/crypto/evp/m_dss1.c | 5 +- deps/openssl/openssl/crypto/evp/m_ecdsa.c | 2 +- deps/openssl/openssl/crypto/evp/m_md2.c | 1 - deps/openssl/openssl/crypto/evp/m_md4.c | 1 - deps/openssl/openssl/crypto/evp/m_md5.c | 1 - deps/openssl/openssl/crypto/evp/m_mdc2.c | 3 +- deps/openssl/openssl/crypto/evp/m_sha.c | 1 - deps/openssl/openssl/crypto/evp/m_sha1.c | 17 +- deps/openssl/openssl/crypto/evp/m_sigver.c | 200 + deps/openssl/openssl/crypto/evp/m_wp.c | 42 + deps/openssl/openssl/crypto/evp/names.c | 85 +- deps/openssl/openssl/crypto/evp/p5_crpt.c | 39 +- deps/openssl/openssl/crypto/evp/p5_crpt2.c | 86 +- deps/openssl/openssl/crypto/evp/p_dec.c | 4 +- deps/openssl/openssl/crypto/evp/p_enc.c | 4 +- deps/openssl/openssl/crypto/evp/p_lib.c | 397 +- deps/openssl/openssl/crypto/evp/p_open.c | 2 +- deps/openssl/openssl/crypto/evp/p_seal.c | 2 +- deps/openssl/openssl/crypto/evp/p_sign.c | 47 +- deps/openssl/openssl/crypto/evp/p_verify.c | 44 +- deps/openssl/openssl/crypto/evp/pmeth_fn.c | 368 + deps/openssl/openssl/crypto/evp/pmeth_gn.c | 220 + deps/openssl/openssl/crypto/evp/pmeth_lib.c | 540 ++ deps/openssl/openssl/crypto/ex_data.c | 42 +- deps/openssl/openssl/crypto/fips_err.c | 7 - deps/openssl/openssl/crypto/fips_err.h | 137 - deps/openssl/openssl/crypto/hmac/Makefile | 44 +- .../crypto/{evp/evp_cnf.c => hmac/hm_ameth.c} | 150 +- deps/openssl/openssl/crypto/hmac/hm_pmeth.c | 267 + deps/openssl/openssl/crypto/hmac/hmac.c | 90 +- deps/openssl/openssl/crypto/hmac/hmac.h | 9 +- deps/openssl/openssl/crypto/ia64cpuid.S | 46 + deps/openssl/openssl/crypto/idea/Makefile | 8 +- deps/openssl/openssl/crypto/idea/i_skey.c | 22 +- deps/openssl/openssl/crypto/idea/idea.h | 5 +- .../openssl/openssl/crypto/install-crypto.com | 196 + deps/openssl/openssl/crypto/install.com | 145 - deps/openssl/openssl/crypto/jpake/Makefile | 2 +- deps/openssl/openssl/crypto/jpake/jpake.c | 12 +- deps/openssl/openssl/crypto/jpake/jpaketest.c | 2 +- deps/openssl/openssl/crypto/krb5/Makefile | 2 +- deps/openssl/openssl/crypto/lhash/Makefile | 2 +- deps/openssl/openssl/crypto/lhash/lh_stats.c | 12 +- deps/openssl/openssl/crypto/lhash/lhash.c | 99 +- deps/openssl/openssl/crypto/lhash/lhash.h | 131 +- deps/openssl/openssl/crypto/md2/Makefile | 6 +- deps/openssl/openssl/crypto/md2/md2.h | 3 - deps/openssl/openssl/crypto/md2/md2_dgst.c | 9 +- deps/openssl/openssl/crypto/md32_common.h | 19 +- deps/openssl/openssl/crypto/md4/Makefile | 13 +- deps/openssl/openssl/crypto/md4/md4.h | 5 +- deps/openssl/openssl/crypto/md4/md4_dgst.c | 11 +- deps/openssl/openssl/crypto/md5/Makefile | 30 +- .../openssl/openssl/crypto/md5/asm/md5-586.pl | 3 +- .../openssl/openssl/crypto/md5/asm/md5-ia64.S | 992 +++ .../openssl/crypto/md5/asm/md5-x86_64.pl | 160 +- deps/openssl/openssl/crypto/md5/md5.h | 5 +- deps/openssl/openssl/crypto/md5/md5_dgst.c | 11 +- deps/openssl/openssl/crypto/md5/md5_locl.h | 2 + deps/openssl/openssl/crypto/mdc2/Makefile | 2 +- deps/openssl/openssl/crypto/mdc2/mdc2.h | 4 +- deps/openssl/openssl/crypto/mdc2/mdc2dgst.c | 7 +- deps/openssl/openssl/crypto/mem.c | 64 +- deps/openssl/openssl/crypto/mem_dbg.c | 257 +- deps/openssl/openssl/crypto/modes/Makefile | 82 + deps/openssl/openssl/crypto/modes/cbc128.c | 206 + deps/openssl/openssl/crypto/modes/cfb128.c | 249 + deps/openssl/openssl/crypto/modes/ctr128.c | 184 + deps/openssl/openssl/crypto/modes/cts128.c | 259 + deps/openssl/openssl/crypto/modes/modes.h | 59 + .../crypto/{o_init.c => modes/ofb128.c} | 104 +- deps/openssl/openssl/crypto/o_time.c | 175 +- deps/openssl/openssl/crypto/o_time.h | 1 + deps/openssl/openssl/crypto/objects/Makefile | 21 +- deps/openssl/openssl/crypto/objects/o_names.c | 47 +- deps/openssl/openssl/crypto/objects/obj_dat.c | 169 +- deps/openssl/openssl/crypto/objects/obj_dat.h | 5234 ++++++------ .../openssl/openssl/crypto/objects/obj_dat.pl | 20 +- deps/openssl/openssl/crypto/objects/obj_err.c | 2 +- deps/openssl/openssl/crypto/objects/obj_lib.c | 35 +- .../openssl/openssl/crypto/objects/obj_xref.c | 231 + .../openssl/openssl/crypto/objects/obj_xref.h | 75 + .../openssl/crypto/objects/obj_xref.txt | 42 + deps/openssl/openssl/crypto/objects/objects.h | 97 +- .../openssl/openssl/crypto/objects/objects.pl | 3 + .../openssl/openssl/crypto/objects/objxref.pl | 107 + deps/openssl/openssl/crypto/ocsp/Makefile | 91 +- deps/openssl/openssl/crypto/ocsp/ocsp.h | 22 +- deps/openssl/openssl/crypto/ocsp/ocsp_cl.c | 1 - deps/openssl/openssl/crypto/ocsp/ocsp_err.c | 3 +- deps/openssl/openssl/crypto/ocsp/ocsp_ext.c | 47 +- deps/openssl/openssl/crypto/ocsp/ocsp_ht.c | 56 +- deps/openssl/openssl/crypto/ocsp/ocsp_lib.c | 11 +- deps/openssl/openssl/crypto/ocsp/ocsp_prn.c | 18 +- deps/openssl/openssl/crypto/ocsp/ocsp_vfy.c | 4 +- deps/openssl/openssl/crypto/opensslconf.h.in | 20 - deps/openssl/openssl/crypto/opensslv.h | 10 +- deps/openssl/openssl/crypto/ossl_typ.h | 21 +- deps/openssl/openssl/crypto/pem/Makefile | 139 +- deps/openssl/openssl/crypto/pem/pem.h | 255 +- deps/openssl/openssl/crypto/pem/pem_all.c | 194 +- deps/openssl/openssl/crypto/pem/pem_err.c | 28 +- deps/openssl/openssl/crypto/pem/pem_info.c | 40 +- deps/openssl/openssl/crypto/pem/pem_lib.c | 100 +- deps/openssl/openssl/crypto/pem/pem_pkey.c | 109 +- deps/openssl/openssl/crypto/pem/pem_x509.c | 1 - deps/openssl/openssl/crypto/pem/pem_xaux.c | 1 - deps/openssl/openssl/crypto/pem/pvkfmt.c | 938 +++ deps/openssl/openssl/crypto/perlasm/cbc.pl | 2 - .../openssl/crypto/perlasm/ppc-xlate.pl | 152 + .../openssl/crypto/perlasm/x86_64-xlate.pl | 627 +- deps/openssl/openssl/crypto/perlasm/x86asm.pl | 317 +- deps/openssl/openssl/crypto/perlasm/x86gas.pl | 247 + .../openssl/openssl/crypto/perlasm/x86masm.pl | 184 + deps/openssl/openssl/crypto/perlasm/x86ms.pl | 472 -- .../openssl/openssl/crypto/perlasm/x86nasm.pl | 559 +- .../openssl/openssl/crypto/perlasm/x86unix.pl | 725 -- deps/openssl/openssl/crypto/pkcs12/Makefile | 177 +- deps/openssl/openssl/crypto/pkcs12/p12_add.c | 20 +- deps/openssl/openssl/crypto/pkcs12/p12_attr.c | 8 +- deps/openssl/openssl/crypto/pkcs12/p12_crpt.c | 20 +- deps/openssl/openssl/crypto/pkcs12/p12_crt.c | 11 - deps/openssl/openssl/crypto/pkcs12/p12_key.c | 13 +- deps/openssl/openssl/crypto/pkcs12/p12_kiss.c | 163 +- deps/openssl/openssl/crypto/pkcs12/p12_mutl.c | 8 +- deps/openssl/openssl/crypto/pkcs12/p12_utl.c | 10 +- deps/openssl/openssl/crypto/pkcs12/pk12err.c | 2 +- deps/openssl/openssl/crypto/pkcs12/pkcs12.h | 9 +- deps/openssl/openssl/crypto/pkcs7/Makefile | 60 +- .../{rc4/rc4_fblk.c => pkcs7/bio_pk7.c} | 28 +- deps/openssl/openssl/crypto/pkcs7/pk7_asn1.c | 43 +- deps/openssl/openssl/crypto/pkcs7/pk7_attr.c | 66 +- deps/openssl/openssl/crypto/pkcs7/pk7_doit.c | 486 +- deps/openssl/openssl/crypto/pkcs7/pk7_lib.c | 192 +- deps/openssl/openssl/crypto/pkcs7/pk7_mime.c | 62 +- deps/openssl/openssl/crypto/pkcs7/pk7_smime.c | 263 +- deps/openssl/openssl/crypto/pkcs7/pkcs7.h | 59 +- deps/openssl/openssl/crypto/pkcs7/pkcs7err.c | 22 +- deps/openssl/openssl/crypto/ppccpuid.pl | 96 + deps/openssl/openssl/crypto/pqueue/Makefile | 9 +- .../openssl/openssl/crypto/pqueue/pq_compat.h | 152 - deps/openssl/openssl/crypto/pqueue/pqueue.c | 36 +- deps/openssl/openssl/crypto/pqueue/pqueue.h | 8 +- deps/openssl/openssl/crypto/rand/Makefile | 71 +- deps/openssl/openssl/crypto/rand/md_rand.c | 49 +- deps/openssl/openssl/crypto/rand/rand.h | 29 +- deps/openssl/openssl/crypto/rand/rand_egd.c | 2 +- deps/openssl/openssl/crypto/rand/rand_eng.c | 152 - deps/openssl/openssl/crypto/rand/rand_err.c | 20 +- deps/openssl/openssl/crypto/rand/rand_lcl.h | 11 - deps/openssl/openssl/crypto/rand/rand_lib.c | 71 +- deps/openssl/openssl/crypto/rand/rand_os2.c | 6 + deps/openssl/openssl/crypto/rand/rand_unix.c | 111 +- deps/openssl/openssl/crypto/rand/rand_vms.c | 16 +- deps/openssl/openssl/crypto/rand/randfile.c | 32 +- deps/openssl/openssl/crypto/rc2/Makefile | 8 +- deps/openssl/openssl/crypto/rc2/rc2.h | 4 +- deps/openssl/openssl/crypto/rc2/rc2_skey.c | 19 +- deps/openssl/openssl/crypto/rc4/Makefile | 44 +- .../openssl/openssl/crypto/rc4/asm/rc4-586.pl | 448 +- .../openssl/openssl/crypto/rc4/asm/rc4-ia64.S | 159 - .../openssl/crypto/rc4/asm/rc4-ia64.pl | 755 ++ .../openssl/crypto/rc4/asm/rc4-s390x.pl | 205 + .../openssl/crypto/rc4/asm/rc4-x86_64.pl | 174 +- deps/openssl/openssl/crypto/rc4/rc4.h | 7 +- deps/openssl/openssl/crypto/rc4/rc4_enc.c | 16 +- deps/openssl/openssl/crypto/rc4/rc4_skey.c | 21 +- deps/openssl/openssl/crypto/rc4/rc4test.c | 16 +- deps/openssl/openssl/crypto/rc5/Makefile | 15 +- .../openssl/openssl/crypto/rc5/asm/rc5-586.pl | 3 +- deps/openssl/openssl/crypto/rc5/rc5.h | 5 +- deps/openssl/openssl/crypto/rc5/rc5_locl.h | 4 +- deps/openssl/openssl/crypto/rc5/rc5_skey.c | 17 - deps/openssl/openssl/crypto/ripemd/Makefile | 22 +- .../openssl/crypto/ripemd/asm/rmd-586.pl | 3 +- deps/openssl/openssl/crypto/ripemd/ripemd.h | 6 +- deps/openssl/openssl/crypto/ripemd/rmd_dgst.c | 11 +- deps/openssl/openssl/crypto/ripemd/rmd_locl.h | 2 +- deps/openssl/openssl/crypto/rsa/Makefile | 123 +- deps/openssl/openssl/crypto/rsa/rsa.h | 89 +- deps/openssl/openssl/crypto/rsa/rsa_ameth.c | 349 + deps/openssl/openssl/crypto/rsa/rsa_asn1.c | 16 +- deps/openssl/openssl/crypto/rsa/rsa_eay.c | 86 +- deps/openssl/openssl/crypto/rsa/rsa_eng.c | 357 - deps/openssl/openssl/crypto/rsa/rsa_err.c | 29 +- deps/openssl/openssl/crypto/rsa/rsa_gen.c | 3 - deps/openssl/openssl/crypto/rsa/rsa_lib.c | 283 +- deps/openssl/openssl/crypto/rsa/rsa_locl.h | 4 + deps/openssl/openssl/crypto/rsa/rsa_oaep.c | 39 +- deps/openssl/openssl/crypto/rsa/rsa_pmeth.c | 587 ++ .../fips_dsa_lib.c => crypto/rsa/rsa_prn.c} | 64 +- deps/openssl/openssl/crypto/rsa/rsa_pss.c | 14 +- deps/openssl/openssl/crypto/rsa/rsa_sign.c | 96 +- deps/openssl/openssl/crypto/rsa/rsa_test.c | 2 +- deps/openssl/openssl/crypto/rsa/rsa_x931g.c | 255 - deps/openssl/openssl/crypto/s390xcap.c | 37 + deps/openssl/openssl/crypto/s390xcpuid.S | 92 + deps/openssl/openssl/crypto/seed/Makefile | 39 +- deps/openssl/openssl/crypto/seed/seed.c | 45 +- deps/openssl/openssl/crypto/seed/seed.h | 2 + deps/openssl/openssl/crypto/seed/seed_cbc.c | 76 +- deps/openssl/openssl/crypto/seed/seed_cfb.c | 34 +- deps/openssl/openssl/crypto/seed/seed_ofb.c | 18 +- deps/openssl/openssl/crypto/sha/Makefile | 75 +- .../openssl/crypto/sha/asm/sha1-586.pl | 1 + .../crypto/sha/asm/sha1-armv4-large.pl | 229 + .../openssl/crypto/sha/asm/sha1-ppc.pl | 319 + .../openssl/crypto/sha/asm/sha1-s390x.pl | 226 + .../openssl/crypto/sha/asm/sha1-sparcv9.pl | 284 + .../openssl/crypto/sha/asm/sha1-sparcv9a.pl | 601 ++ .../openssl/crypto/sha/asm/sha1-thumb.pl | 259 + .../openssl/crypto/sha/asm/sha1-x86_64.pl | 125 +- .../openssl/crypto/sha/asm/sha256-586.pl | 251 + .../openssl/crypto/sha/asm/sha256-armv4.pl | 186 + .../openssl/crypto/sha/asm/sha512-586.pl | 644 ++ .../openssl/crypto/sha/asm/sha512-armv4.pl | 403 + .../openssl/crypto/sha/asm/sha512-ppc.pl | 462 ++ .../openssl/crypto/sha/asm/sha512-s390x.pl | 301 + .../openssl/crypto/sha/asm/sha512-sparcv9.pl | 594 ++ .../openssl/crypto/sha/asm/sha512-sse2.pl | 404 - .../openssl/crypto/sha/asm/sha512-x86_64.pl | 140 +- deps/openssl/openssl/crypto/sha/sha.h | 5 +- deps/openssl/openssl/crypto/sha/sha1_one.c | 2 +- deps/openssl/openssl/crypto/sha/sha1dgst.c | 4 - deps/openssl/openssl/crypto/sha/sha256.c | 32 +- deps/openssl/openssl/crypto/sha/sha512.c | 189 +- deps/openssl/openssl/crypto/sha/sha_dgst.c | 6 - deps/openssl/openssl/crypto/sha/sha_locl.h | 11 +- deps/openssl/openssl/crypto/sha/shatest.c | 4 +- deps/openssl/openssl/crypto/sparccpuid.S | 203 +- deps/openssl/openssl/crypto/sparcv9cap.c | 237 + deps/openssl/openssl/crypto/stack/Makefile | 2 +- deps/openssl/openssl/crypto/stack/safestack.h | 965 ++- deps/openssl/openssl/crypto/stack/stack.c | 85 +- deps/openssl/openssl/crypto/stack/stack.h | 49 +- deps/openssl/openssl/crypto/store/Makefile | 18 +- deps/openssl/openssl/crypto/store/store.h | 9 +- deps/openssl/openssl/crypto/store/str_err.c | 2 +- deps/openssl/openssl/crypto/store/str_lib.c | 10 +- deps/openssl/openssl/crypto/store/str_mem.c | 56 +- deps/openssl/openssl/crypto/symhacks.h | 86 +- deps/openssl/openssl/crypto/threads/mttest.c | 99 + deps/openssl/openssl/crypto/tmdiff.c | 260 - deps/openssl/openssl/crypto/tmdiff.h | 93 - deps/openssl/openssl/crypto/ts/Makefile | 269 + deps/openssl/openssl/crypto/ts/ts.h | 861 ++ deps/openssl/openssl/crypto/ts/ts_asn1.c | 322 + deps/openssl/openssl/crypto/ts/ts_conf.c | 507 ++ deps/openssl/openssl/crypto/ts/ts_err.c | 179 + deps/openssl/openssl/crypto/ts/ts_lib.c | 145 + .../{buffer/buf_str.c => ts/ts_req_print.c} | 86 +- deps/openssl/openssl/crypto/ts/ts_req_utils.c | 234 + deps/openssl/openssl/crypto/ts/ts_rsp_print.c | 287 + deps/openssl/openssl/crypto/ts/ts_rsp_sign.c | 1020 +++ deps/openssl/openssl/crypto/ts/ts_rsp_utils.c | 409 + .../openssl/openssl/crypto/ts/ts_rsp_verify.c | 725 ++ .../openssl/openssl/crypto/ts/ts_verify_ctx.c | 159 + deps/openssl/openssl/crypto/txt_db/Makefile | 2 +- deps/openssl/openssl/crypto/txt_db/txt_db.c | 76 +- deps/openssl/openssl/crypto/txt_db/txt_db.h | 19 +- deps/openssl/openssl/crypto/ui/Makefile | 2 +- deps/openssl/openssl/crypto/ui/ui.h | 4 +- deps/openssl/openssl/crypto/ui/ui_err.c | 2 +- deps/openssl/openssl/crypto/ui/ui_lib.c | 19 + deps/openssl/openssl/crypto/ui/ui_openssl.c | 13 +- deps/openssl/openssl/crypto/vms_rms.h | 51 + deps/openssl/openssl/crypto/whrlpool/Makefile | 93 + .../openssl/crypto/whrlpool/asm/wp-mmx.pl | 493 ++ .../openssl/crypto/whrlpool/asm/wp-x86_64.pl | 589 ++ .../openssl/crypto/whrlpool/whrlpool.h | 38 + .../openssl/crypto/whrlpool/wp_block.c | 655 ++ .../openssl/openssl/crypto/whrlpool/wp_dgst.c | 264 + .../openssl/openssl/crypto/whrlpool/wp_locl.h | 3 + .../openssl/openssl/crypto/whrlpool/wp_test.c | 228 + deps/openssl/openssl/crypto/x509/Makefile | 208 +- deps/openssl/openssl/crypto/x509/by_dir.c | 229 +- deps/openssl/openssl/crypto/x509/by_file.c | 2 +- deps/openssl/openssl/crypto/x509/x509.h | 257 +- deps/openssl/openssl/crypto/x509/x509_cmp.c | 237 +- deps/openssl/openssl/crypto/x509/x509_err.c | 5 +- deps/openssl/openssl/crypto/x509/x509_lu.c | 149 +- deps/openssl/openssl/crypto/x509/x509_obj.c | 2 +- deps/openssl/openssl/crypto/x509/x509_req.c | 24 +- deps/openssl/openssl/crypto/x509/x509_set.c | 4 +- deps/openssl/openssl/crypto/x509/x509_trs.c | 3 +- deps/openssl/openssl/crypto/x509/x509_txt.c | 24 +- deps/openssl/openssl/crypto/x509/x509_vfy.c | 948 ++- deps/openssl/openssl/crypto/x509/x509_vfy.h | 37 +- deps/openssl/openssl/crypto/x509/x509_vpm.c | 22 +- deps/openssl/openssl/crypto/x509/x509cset.c | 4 +- deps/openssl/openssl/crypto/x509/x509name.c | 2 +- deps/openssl/openssl/crypto/x509/x509type.c | 4 + deps/openssl/openssl/crypto/x509/x_all.c | 7 - deps/openssl/openssl/crypto/x509v3/Makefile | 457 +- deps/openssl/openssl/crypto/x509v3/ext_dat.h | 13 +- .../openssl/openssl/crypto/x509v3/pcy_cache.c | 1 - deps/openssl/openssl/crypto/x509v3/pcy_data.c | 12 +- deps/openssl/openssl/crypto/x509v3/pcy_int.h | 25 +- deps/openssl/openssl/crypto/x509v3/pcy_map.c | 56 +- deps/openssl/openssl/crypto/x509v3/pcy_node.c | 43 +- deps/openssl/openssl/crypto/x509v3/pcy_tree.c | 236 +- deps/openssl/openssl/crypto/x509v3/v3_addr.c | 136 +- deps/openssl/openssl/crypto/x509v3/v3_alt.c | 135 +- deps/openssl/openssl/crypto/x509v3/v3_asid.c | 10 +- deps/openssl/openssl/crypto/x509v3/v3_conf.c | 51 +- deps/openssl/openssl/crypto/x509v3/v3_cpols.c | 5 +- deps/openssl/openssl/crypto/x509v3/v3_crld.c | 552 +- deps/openssl/openssl/crypto/x509v3/v3_enum.c | 19 +- deps/openssl/openssl/crypto/x509v3/v3_extku.c | 16 +- deps/openssl/openssl/crypto/x509v3/v3_genn.c | 153 +- deps/openssl/openssl/crypto/x509v3/v3_lib.c | 24 +- deps/openssl/openssl/crypto/x509v3/v3_ncons.c | 312 +- deps/openssl/openssl/crypto/x509v3/v3_ocsp.c | 42 +- deps/openssl/openssl/crypto/x509v3/v3_pci.c | 4 +- deps/openssl/openssl/crypto/x509v3/v3_pcons.c | 20 +- deps/openssl/openssl/crypto/x509v3/v3_pmaps.c | 18 +- deps/openssl/openssl/crypto/x509v3/v3_prn.c | 2 +- deps/openssl/openssl/crypto/x509v3/v3_purp.c | 194 +- deps/openssl/openssl/crypto/x509v3/v3_utl.c | 45 +- deps/openssl/openssl/crypto/x509v3/v3err.c | 13 +- deps/openssl/openssl/crypto/x509v3/x509v3.h | 173 +- deps/openssl/openssl/crypto/x86_64cpuid.pl | 257 +- deps/openssl/openssl/crypto/x86cpuid.pl | 109 +- deps/openssl/openssl/demos/cms/cacert.pem | 18 + deps/openssl/openssl/demos/cms/cakey.pem | 15 + deps/openssl/openssl/demos/cms/cms_comp.c | 61 + deps/openssl/openssl/demos/cms/cms_ddec.c | 89 + deps/openssl/openssl/demos/cms/cms_dec.c | 79 + deps/openssl/openssl/demos/cms/cms_denc.c | 97 + deps/openssl/openssl/demos/cms/cms_enc.c | 92 + deps/openssl/openssl/demos/cms/cms_sign.c | 89 + deps/openssl/openssl/demos/cms/cms_sign2.c | 103 + deps/openssl/openssl/demos/cms/cms_uncomp.c | 56 + deps/openssl/openssl/demos/cms/cms_ver.c | 87 + deps/openssl/openssl/demos/cms/comp.txt | 22 + deps/openssl/openssl/demos/cms/encr.txt | 3 + deps/openssl/openssl/demos/cms/sign.txt | 3 + deps/openssl/openssl/demos/cms/signer.pem | 32 + deps/openssl/openssl/demos/cms/signer2.pem | 32 + deps/openssl/openssl/demos/jpake/Makefile | 7 - deps/openssl/openssl/demos/jpake/jpakedemo.c | 469 -- deps/openssl/openssl/demos/pkcs12/pkread.c | 4 +- deps/openssl/openssl/demos/smime/cacert.pem | 18 + deps/openssl/openssl/demos/smime/cakey.pem | 15 + deps/openssl/openssl/demos/smime/encr.txt | 3 + deps/openssl/openssl/demos/smime/sign.txt | 3 + deps/openssl/openssl/demos/smime/signer.pem | 32 + deps/openssl/openssl/demos/smime/signer2.pem | 32 + deps/openssl/openssl/demos/smime/smdec.c | 83 + deps/openssl/openssl/demos/smime/smenc.c | 92 + deps/openssl/openssl/demos/smime/smsign.c | 89 + deps/openssl/openssl/demos/smime/smsign2.c | 107 + deps/openssl/openssl/demos/smime/smver.c | 87 + .../openssl/demos/tunala/autoungunk.sh | 3 +- deps/openssl/openssl/demos/tunala/cb.c | 23 +- deps/openssl/openssl/demos/tunala/tunala.c | 8 +- .../openssl/doc/HOWTO/certificates.txt | 105 + deps/openssl/openssl/doc/HOWTO/keys.txt | 73 + .../openssl/doc/HOWTO/proxy_certificates.txt | 322 + deps/openssl/openssl/doc/README | 12 + deps/openssl/openssl/doc/apps/CA.pl.pod | 179 + deps/openssl/openssl/doc/apps/asn1parse.pod | 175 + deps/openssl/openssl/doc/apps/ca.pod | 675 ++ deps/openssl/openssl/doc/apps/ciphers.pod | 478 ++ deps/openssl/openssl/doc/apps/cms.pod | 602 ++ deps/openssl/openssl/doc/apps/config.pod | 279 + deps/openssl/openssl/doc/apps/crl.pod | 117 + deps/openssl/openssl/doc/apps/crl2pkcs7.pod | 91 + deps/openssl/openssl/doc/apps/dgst.pod | 162 + deps/openssl/openssl/doc/apps/dhparam.pod | 141 + deps/openssl/openssl/doc/apps/dsa.pod | 158 + deps/openssl/openssl/doc/apps/dsaparam.pod | 110 + deps/openssl/openssl/doc/apps/ec.pod | 190 + deps/openssl/openssl/doc/apps/ecparam.pod | 179 + deps/openssl/openssl/doc/apps/enc.pod | 329 + deps/openssl/openssl/doc/apps/errstr.pod | 39 + deps/openssl/openssl/doc/apps/gendsa.pod | 66 + deps/openssl/openssl/doc/apps/genpkey.pod | 213 + deps/openssl/openssl/doc/apps/genrsa.pod | 96 + deps/openssl/openssl/doc/apps/nseq.pod | 70 + deps/openssl/openssl/doc/apps/ocsp.pod | 371 + deps/openssl/openssl/doc/apps/openssl.pod | 422 + deps/openssl/openssl/doc/apps/passwd.pod | 82 + deps/openssl/openssl/doc/apps/pkcs12.pod | 363 + deps/openssl/openssl/doc/apps/pkcs7.pod | 105 + deps/openssl/openssl/doc/apps/pkcs8.pod | 243 + deps/openssl/openssl/doc/apps/pkey.pod | 135 + deps/openssl/openssl/doc/apps/pkeyparam.pod | 69 + deps/openssl/openssl/doc/apps/pkeyutl.pod | 222 + deps/openssl/openssl/doc/apps/rand.pod | 55 + deps/openssl/openssl/doc/apps/req.pod | 678 ++ deps/openssl/openssl/doc/apps/rsa.pod | 189 + deps/openssl/openssl/doc/apps/rsautl.pod | 183 + deps/openssl/openssl/doc/apps/s_client.pod | 306 + deps/openssl/openssl/doc/apps/s_server.pod | 355 + deps/openssl/openssl/doc/apps/s_time.pod | 173 + deps/openssl/openssl/doc/apps/sess_id.pod | 151 + deps/openssl/openssl/doc/apps/smime.pod | 445 ++ deps/openssl/openssl/doc/apps/speed.pod | 59 + deps/openssl/openssl/doc/apps/spkac.pod | 133 + deps/openssl/openssl/doc/apps/ts.pod | 594 ++ deps/openssl/openssl/doc/apps/tsget.pod | 194 + deps/openssl/openssl/doc/apps/verify.pod | 406 + deps/openssl/openssl/doc/apps/version.pod | 64 + deps/openssl/openssl/doc/apps/x509.pod | 856 ++ .../openssl/doc/apps/x509v3_config.pod | 529 ++ deps/openssl/openssl/doc/c-indentation.el | 45 + .../openssl/doc/crypto/ASN1_OBJECT_new.pod | 45 + .../openssl/doc/crypto/ASN1_STRING_length.pod | 83 + .../openssl/doc/crypto/ASN1_STRING_new.pod | 46 + .../doc/crypto/ASN1_STRING_print_ex.pod | 96 + .../doc/crypto/ASN1_generate_nconf.pod | 265 + deps/openssl/openssl/doc/crypto/BIO_ctrl.pod | 128 + .../openssl/doc/crypto/BIO_f_base64.pod | 81 + .../openssl/doc/crypto/BIO_f_buffer.pod | 74 + .../openssl/doc/crypto/BIO_f_cipher.pod | 76 + deps/openssl/openssl/doc/crypto/BIO_f_md.pod | 144 + .../openssl/openssl/doc/crypto/BIO_f_null.pod | 32 + deps/openssl/openssl/doc/crypto/BIO_f_ssl.pod | 322 + .../openssl/doc/crypto/BIO_find_type.pod | 98 + deps/openssl/openssl/doc/crypto/BIO_new.pod | 65 + .../openssl/doc/crypto/BIO_new_CMS.pod | 66 + deps/openssl/openssl/doc/crypto/BIO_push.pod | 69 + deps/openssl/openssl/doc/crypto/BIO_read.pod | 66 + .../openssl/doc/crypto/BIO_s_accept.pod | 195 + deps/openssl/openssl/doc/crypto/BIO_s_bio.pod | 182 + .../openssl/doc/crypto/BIO_s_connect.pod | 192 + deps/openssl/openssl/doc/crypto/BIO_s_fd.pod | 89 + .../openssl/openssl/doc/crypto/BIO_s_file.pod | 148 + deps/openssl/openssl/doc/crypto/BIO_s_mem.pod | 115 + .../openssl/openssl/doc/crypto/BIO_s_null.pod | 37 + .../openssl/doc/crypto/BIO_s_socket.pod | 63 + .../openssl/doc/crypto/BIO_set_callback.pod | 108 + .../openssl/doc/crypto/BIO_should_retry.pod | 114 + .../openssl/doc/crypto/BN_BLINDING_new.pod | 115 + .../openssl/openssl/doc/crypto/BN_CTX_new.pod | 53 + .../openssl/doc/crypto/BN_CTX_start.pod | 52 + deps/openssl/openssl/doc/crypto/BN_add.pod | 126 + .../openssl/doc/crypto/BN_add_word.pod | 61 + deps/openssl/openssl/doc/crypto/BN_bn2bin.pod | 95 + deps/openssl/openssl/doc/crypto/BN_cmp.pod | 48 + deps/openssl/openssl/doc/crypto/BN_copy.pod | 34 + .../openssl/doc/crypto/BN_generate_prime.pod | 102 + .../openssl/doc/crypto/BN_mod_inverse.pod | 36 + .../doc/crypto/BN_mod_mul_montgomery.pod | 101 + .../doc/crypto/BN_mod_mul_reciprocal.pod | 81 + deps/openssl/openssl/doc/crypto/BN_new.pod | 53 + .../openssl/doc/crypto/BN_num_bytes.pod | 57 + deps/openssl/openssl/doc/crypto/BN_rand.pod | 58 + .../openssl/openssl/doc/crypto/BN_set_bit.pod | 66 + deps/openssl/openssl/doc/crypto/BN_swap.pod | 23 + deps/openssl/openssl/doc/crypto/BN_zero.pod | 59 + .../openssl/doc/crypto/CMS_add0_cert.pod | 66 + .../doc/crypto/CMS_add1_recipient_cert.pod | 62 + .../openssl/doc/crypto/CMS_compress.pod | 73 + .../openssl/doc/crypto/CMS_decrypt.pod | 65 + .../openssl/doc/crypto/CMS_encrypt.pod | 96 + deps/openssl/openssl/doc/crypto/CMS_final.pod | 41 + .../doc/crypto/CMS_get0_RecipientInfos.pod | 106 + .../doc/crypto/CMS_get0_SignerInfos.pod | 75 + .../openssl/doc/crypto/CMS_get0_type.pod | 63 + .../doc/crypto/CMS_get1_ReceiptRequest.pod | 69 + deps/openssl/openssl/doc/crypto/CMS_sign.pod | 121 + .../doc/crypto/CMS_sign_add1_signer.pod | 101 + .../openssl/doc/crypto/CMS_sign_receipt.pod | 45 + .../openssl/doc/crypto/CMS_uncompress.pod | 54 + .../openssl/openssl/doc/crypto/CMS_verify.pod | 126 + .../openssl/doc/crypto/CMS_verify_receipt.pod | 47 + .../openssl/doc/crypto/CONF_modules_free.pod | 47 + .../doc/crypto/CONF_modules_load_file.pod | 60 + .../openssl/doc/crypto/CRYPTO_set_ex_data.pod | 53 + .../openssl/doc/crypto/DH_generate_key.pod | 50 + .../doc/crypto/DH_generate_parameters.pod | 73 + .../doc/crypto/DH_get_ex_new_index.pod | 36 + deps/openssl/openssl/doc/crypto/DH_new.pod | 40 + .../openssl/doc/crypto/DH_set_method.pod | 129 + deps/openssl/openssl/doc/crypto/DH_size.pod | 33 + .../openssl/doc/crypto/DSA_SIG_new.pod | 40 + .../openssl/doc/crypto/DSA_do_sign.pod | 47 + .../openssl/openssl/doc/crypto/DSA_dup_DH.pod | 36 + .../openssl/doc/crypto/DSA_generate_key.pod | 34 + .../doc/crypto/DSA_generate_parameters.pod | 105 + .../doc/crypto/DSA_get_ex_new_index.pod | 36 + deps/openssl/openssl/doc/crypto/DSA_new.pod | 42 + .../openssl/doc/crypto/DSA_set_method.pod | 143 + deps/openssl/openssl/doc/crypto/DSA_sign.pod | 66 + deps/openssl/openssl/doc/crypto/DSA_size.pod | 33 + .../openssl/doc/crypto/ERR_GET_LIB.pod | 51 + .../openssl/doc/crypto/ERR_clear_error.pod | 29 + .../openssl/doc/crypto/ERR_error_string.pod | 73 + .../openssl/doc/crypto/ERR_get_error.pod | 76 + .../doc/crypto/ERR_load_crypto_strings.pod | 46 + .../openssl/doc/crypto/ERR_load_strings.pod | 54 + .../openssl/doc/crypto/ERR_print_errors.pod | 51 + .../openssl/doc/crypto/ERR_put_error.pod | 44 + .../openssl/doc/crypto/ERR_remove_state.pod | 34 + .../openssl/doc/crypto/ERR_set_mark.pod | 38 + .../openssl/doc/crypto/EVP_BytesToKey.pod | 67 + .../openssl/doc/crypto/EVP_DigestInit.pod | 259 + .../openssl/doc/crypto/EVP_DigestSignInit.pod | 87 + .../doc/crypto/EVP_DigestVerifyInit.pod | 82 + .../openssl/doc/crypto/EVP_EncryptInit.pod | 511 ++ .../openssl/doc/crypto/EVP_OpenInit.pod | 63 + .../openssl/doc/crypto/EVP_PKEY_CTX_ctrl.pod | 128 + .../openssl/doc/crypto/EVP_PKEY_CTX_new.pod | 52 + .../openssl/doc/crypto/EVP_PKEY_cmp.pod | 61 + .../openssl/doc/crypto/EVP_PKEY_decrypt.pod | 93 + .../openssl/doc/crypto/EVP_PKEY_derive.pod | 93 + .../openssl/doc/crypto/EVP_PKEY_encrypt.pod | 93 + .../crypto/EVP_PKEY_get_default_digest.pod | 41 + .../openssl/doc/crypto/EVP_PKEY_keygen.pod | 161 + .../openssl/doc/crypto/EVP_PKEY_new.pod | 47 + .../doc/crypto/EVP_PKEY_print_private.pod | 53 + .../openssl/doc/crypto/EVP_PKEY_set1_RSA.pod | 80 + .../openssl/doc/crypto/EVP_PKEY_sign.pod | 96 + .../openssl/doc/crypto/EVP_PKEY_verify.pod | 91 + .../doc/crypto/EVP_PKEY_verifyrecover.pod | 103 + .../openssl/doc/crypto/EVP_SealInit.pod | 85 + .../openssl/doc/crypto/EVP_SignInit.pod | 104 + .../openssl/doc/crypto/EVP_VerifyInit.pod | 95 + .../openssl/doc/crypto/OBJ_nid2obj.pod | 151 + .../openssl/doc/crypto/OPENSSL_Applink.pod | 21 + .../doc/crypto/OPENSSL_VERSION_NUMBER.pod | 101 + .../openssl/doc/crypto/OPENSSL_config.pod | 82 + .../openssl/doc/crypto/OPENSSL_ia32cap.pod | 43 + .../crypto/OPENSSL_load_builtin_modules.pod | 51 + .../doc/crypto/OpenSSL_add_all_algorithms.pod | 66 + .../doc/crypto/PEM_write_bio_CMS_stream.pod | 41 + .../doc/crypto/PEM_write_bio_PKCS7_stream.pod | 41 + .../openssl/doc/crypto/PKCS12_create.pod | 75 + .../openssl/doc/crypto/PKCS12_parse.pod | 57 + .../openssl/doc/crypto/PKCS7_decrypt.pod | 55 + .../openssl/doc/crypto/PKCS7_encrypt.pod | 80 + .../openssl/openssl/doc/crypto/PKCS7_sign.pod | 116 + .../doc/crypto/PKCS7_sign_add_signer.pod | 87 + .../openssl/doc/crypto/PKCS7_verify.pod | 118 + deps/openssl/openssl/doc/crypto/RAND_add.pod | 77 + .../openssl/openssl/doc/crypto/RAND_bytes.pod | 50 + .../openssl/doc/crypto/RAND_cleanup.pod | 29 + deps/openssl/openssl/doc/crypto/RAND_egd.pod | 88 + .../openssl/doc/crypto/RAND_load_file.pod | 53 + .../doc/crypto/RAND_set_rand_method.pod | 83 + .../openssl/doc/crypto/RSA_blinding_on.pod | 43 + .../openssl/doc/crypto/RSA_check_key.pod | 67 + .../openssl/doc/crypto/RSA_generate_key.pod | 69 + .../doc/crypto/RSA_get_ex_new_index.pod | 120 + deps/openssl/openssl/doc/crypto/RSA_new.pod | 41 + .../crypto/RSA_padding_add_PKCS1_type_1.pod | 124 + deps/openssl/openssl/doc/crypto/RSA_print.pod | 49 + .../doc/crypto/RSA_private_encrypt.pod | 70 + .../openssl/doc/crypto/RSA_public_encrypt.pod | 84 + .../openssl/doc/crypto/RSA_set_method.pod | 202 + deps/openssl/openssl/doc/crypto/RSA_sign.pod | 62 + .../doc/crypto/RSA_sign_ASN1_OCTET_STRING.pod | 59 + deps/openssl/openssl/doc/crypto/RSA_size.pod | 33 + .../openssl/doc/crypto/SMIME_read_CMS.pod | 70 + .../openssl/doc/crypto/SMIME_read_PKCS7.pod | 73 + .../openssl/doc/crypto/SMIME_write_CMS.pod | 64 + .../openssl/doc/crypto/SMIME_write_PKCS7.pod | 65 + .../doc/crypto/X509_NAME_ENTRY_get_object.pod | 74 + .../doc/crypto/X509_NAME_add_entry_by_txt.pod | 116 + .../doc/crypto/X509_NAME_get_index_by_NID.pod | 108 + .../openssl/doc/crypto/X509_NAME_print_ex.pod | 105 + .../doc/crypto/X509_STORE_CTX_get_error.pod | 303 + .../X509_STORE_CTX_get_ex_new_index.pod | 41 + .../openssl/doc/crypto/X509_STORE_CTX_new.pod | 122 + .../crypto/X509_STORE_CTX_set_verify_cb.pod | 161 + .../crypto/X509_STORE_set_verify_cb_func.pod | 54 + .../crypto/X509_VERIFY_PARAM_set_flags.pod | 171 + deps/openssl/openssl/doc/crypto/X509_new.pod | 39 + .../openssl/doc/crypto/X509_verify_cert.pod | 53 + deps/openssl/openssl/doc/crypto/bio.pod | 54 + deps/openssl/openssl/doc/crypto/blowfish.pod | 112 + deps/openssl/openssl/doc/crypto/bn.pod | 181 + .../openssl/doc/crypto/bn_internal.pod | 238 + deps/openssl/openssl/doc/crypto/buffer.pod | 73 + deps/openssl/openssl/doc/crypto/crypto.pod | 85 + .../openssl/doc/crypto/d2i_ASN1_OBJECT.pod | 29 + .../openssl/doc/crypto/d2i_DHparams.pod | 30 + .../openssl/doc/crypto/d2i_DSAPublicKey.pod | 83 + .../doc/crypto/d2i_PKCS8PrivateKey.pod | 56 + .../openssl/doc/crypto/d2i_RSAPublicKey.pod | 67 + deps/openssl/openssl/doc/crypto/d2i_X509.pod | 231 + .../openssl/doc/crypto/d2i_X509_ALGOR.pod | 30 + .../openssl/doc/crypto/d2i_X509_CRL.pod | 37 + .../openssl/doc/crypto/d2i_X509_NAME.pod | 31 + .../openssl/doc/crypto/d2i_X509_REQ.pod | 36 + .../openssl/doc/crypto/d2i_X509_SIG.pod | 30 + deps/openssl/openssl/doc/crypto/des.pod | 358 + deps/openssl/openssl/doc/crypto/des_modes.pod | 255 + deps/openssl/openssl/doc/crypto/dh.pod | 78 + deps/openssl/openssl/doc/crypto/dsa.pod | 114 + deps/openssl/openssl/doc/crypto/ecdsa.pod | 210 + deps/openssl/openssl/doc/crypto/engine.pod | 599 ++ deps/openssl/openssl/doc/crypto/err.pod | 187 + deps/openssl/openssl/doc/crypto/evp.pod | 55 + deps/openssl/openssl/doc/crypto/hmac.pod | 106 + .../openssl/doc/crypto/i2d_CMS_bio_stream.pod | 44 + .../doc/crypto/i2d_PKCS7_bio_stream.pod | 44 + deps/openssl/openssl/doc/crypto/lh_stats.pod | 60 + deps/openssl/openssl/doc/crypto/lhash.pod | 302 + deps/openssl/openssl/doc/crypto/md5.pod | 101 + deps/openssl/openssl/doc/crypto/mdc2.pod | 64 + deps/openssl/openssl/doc/crypto/pem.pod | 476 ++ deps/openssl/openssl/doc/crypto/rand.pod | 175 + deps/openssl/openssl/doc/crypto/rc4.pod | 62 + deps/openssl/openssl/doc/crypto/ripemd.pod | 66 + deps/openssl/openssl/doc/crypto/rsa.pod | 123 + deps/openssl/openssl/doc/crypto/sha.pod | 70 + deps/openssl/openssl/doc/crypto/threads.pod | 210 + deps/openssl/openssl/doc/crypto/ui.pod | 194 + deps/openssl/openssl/doc/crypto/ui_compat.pod | 57 + deps/openssl/openssl/doc/crypto/x509.pod | 64 + deps/openssl/openssl/doc/fingerprints.txt | 57 + deps/openssl/openssl/doc/openssl-shared.txt | 32 + deps/openssl/openssl/doc/openssl.txt | 1254 +++ deps/openssl/openssl/doc/openssl_button.gif | Bin 0 -> 2063 bytes deps/openssl/openssl/doc/openssl_button.html | 7 + .../openssl/doc/ssl/SSL_CIPHER_get_name.pod | 112 + .../ssl/SSL_COMP_add_compression_method.pod | 70 + .../doc/ssl/SSL_CTX_add_extra_chain_cert.pod | 39 + .../openssl/doc/ssl/SSL_CTX_add_session.pod | 73 + deps/openssl/openssl/doc/ssl/SSL_CTX_ctrl.pod | 34 + .../doc/ssl/SSL_CTX_flush_sessions.pod | 49 + deps/openssl/openssl/doc/ssl/SSL_CTX_free.pod | 41 + .../doc/ssl/SSL_CTX_get_ex_new_index.pod | 53 + .../doc/ssl/SSL_CTX_get_verify_mode.pod | 50 + .../doc/ssl/SSL_CTX_load_verify_locations.pod | 124 + deps/openssl/openssl/doc/ssl/SSL_CTX_new.pod | 94 + .../openssl/doc/ssl/SSL_CTX_sess_number.pod | 76 + .../doc/ssl/SSL_CTX_sess_set_cache_size.pod | 51 + .../doc/ssl/SSL_CTX_sess_set_get_cb.pod | 87 + .../openssl/doc/ssl/SSL_CTX_sessions.pod | 34 + .../doc/ssl/SSL_CTX_set_cert_store.pod | 57 + .../ssl/SSL_CTX_set_cert_verify_callback.pod | 75 + .../doc/ssl/SSL_CTX_set_cipher_list.pod | 70 + .../doc/ssl/SSL_CTX_set_client_CA_list.pod | 94 + .../doc/ssl/SSL_CTX_set_client_cert_cb.pod | 94 + .../doc/ssl/SSL_CTX_set_default_passwd_cb.pod | 76 + .../ssl/SSL_CTX_set_generate_session_id.pod | 150 + .../doc/ssl/SSL_CTX_set_info_callback.pod | 153 + .../doc/ssl/SSL_CTX_set_max_cert_list.pod | 77 + .../openssl/doc/ssl/SSL_CTX_set_mode.pod | 91 + .../doc/ssl/SSL_CTX_set_msg_callback.pod | 99 + .../openssl/doc/ssl/SSL_CTX_set_options.pod | 346 + .../ssl/SSL_CTX_set_psk_client_callback.pod | 81 + .../doc/ssl/SSL_CTX_set_quiet_shutdown.pod | 63 + .../ssl/SSL_CTX_set_session_cache_mode.pod | 137 + .../ssl/SSL_CTX_set_session_id_context.pod | 83 + .../doc/ssl/SSL_CTX_set_ssl_version.pod | 61 + .../openssl/doc/ssl/SSL_CTX_set_timeout.pod | 59 + .../doc/ssl/SSL_CTX_set_tmp_dh_callback.pod | 170 + .../doc/ssl/SSL_CTX_set_tmp_rsa_callback.pod | 166 + .../openssl/doc/ssl/SSL_CTX_set_verify.pod | 294 + .../doc/ssl/SSL_CTX_use_certificate.pod | 169 + .../doc/ssl/SSL_CTX_use_psk_identity_hint.pod | 102 + .../openssl/doc/ssl/SSL_SESSION_free.pod | 55 + .../doc/ssl/SSL_SESSION_get_ex_new_index.pod | 61 + .../openssl/doc/ssl/SSL_SESSION_get_time.pod | 64 + deps/openssl/openssl/doc/ssl/SSL_accept.pod | 76 + .../openssl/doc/ssl/SSL_alert_type_string.pod | 228 + deps/openssl/openssl/doc/ssl/SSL_clear.pod | 75 + deps/openssl/openssl/doc/ssl/SSL_connect.pod | 73 + .../openssl/doc/ssl/SSL_do_handshake.pod | 75 + deps/openssl/openssl/doc/ssl/SSL_free.pod | 44 + .../openssl/doc/ssl/SSL_get_SSL_CTX.pod | 26 + .../openssl/doc/ssl/SSL_get_ciphers.pod | 42 + .../doc/ssl/SSL_get_client_CA_list.pod | 53 + .../doc/ssl/SSL_get_current_cipher.pod | 43 + .../doc/ssl/SSL_get_default_timeout.pod | 41 + .../openssl/openssl/doc/ssl/SSL_get_error.pod | 114 + .../SSL_get_ex_data_X509_STORE_CTX_idx.pod | 61 + .../openssl/doc/ssl/SSL_get_ex_new_index.pod | 59 + deps/openssl/openssl/doc/ssl/SSL_get_fd.pod | 44 + .../doc/ssl/SSL_get_peer_cert_chain.pod | 52 + .../doc/ssl/SSL_get_peer_certificate.pod | 55 + .../openssl/doc/ssl/SSL_get_psk_identity.pod | 63 + deps/openssl/openssl/doc/ssl/SSL_get_rbio.pod | 40 + .../openssl/doc/ssl/SSL_get_session.pod | 73 + .../openssl/doc/ssl/SSL_get_verify_result.pod | 57 + .../openssl/doc/ssl/SSL_get_version.pod | 46 + .../openssl/doc/ssl/SSL_library_init.pod | 57 + .../doc/ssl/SSL_load_client_CA_file.pod | 62 + deps/openssl/openssl/doc/ssl/SSL_new.pod | 44 + deps/openssl/openssl/doc/ssl/SSL_pending.pod | 43 + deps/openssl/openssl/doc/ssl/SSL_read.pod | 124 + .../openssl/doc/ssl/SSL_rstate_string.pod | 59 + .../openssl/doc/ssl/SSL_session_reused.pod | 45 + deps/openssl/openssl/doc/ssl/SSL_set_bio.pod | 34 + .../openssl/doc/ssl/SSL_set_connect_state.pod | 55 + deps/openssl/openssl/doc/ssl/SSL_set_fd.pod | 54 + .../openssl/doc/ssl/SSL_set_session.pod | 57 + .../openssl/doc/ssl/SSL_set_shutdown.pod | 72 + .../openssl/doc/ssl/SSL_set_verify_result.pod | 38 + deps/openssl/openssl/doc/ssl/SSL_shutdown.pod | 125 + .../openssl/doc/ssl/SSL_state_string.pod | 45 + deps/openssl/openssl/doc/ssl/SSL_want.pod | 77 + deps/openssl/openssl/doc/ssl/SSL_write.pod | 109 + .../openssl/doc/ssl/d2i_SSL_SESSION.pod | 66 + deps/openssl/openssl/doc/ssl/ssl.pod | 758 ++ deps/openssl/openssl/doc/ssleay.txt | 7030 +++++++++++++++++ deps/openssl/openssl/doc/standards.txt | 285 + deps/openssl/openssl/e_os.h | 104 +- deps/openssl/openssl/e_os2.h | 32 +- deps/openssl/openssl/engines/Makefile | 247 +- deps/openssl/openssl/engines/axp.opt | 1 + deps/openssl/openssl/engines/capierr.bat | 1 + deps/openssl/openssl/engines/ccgost/Makefile | 275 + .../openssl/engines/ccgost/README.gost | 300 + .../openssl/engines/ccgost/e_gost_err.c | 212 + .../openssl/engines/ccgost/e_gost_err.h | 156 + .../ccgost/e_gost_err.proto} | 35 +- deps/openssl/openssl/engines/ccgost/gost.ec | 5 + .../openssl/openssl/engines/ccgost/gost2001.c | 343 + .../openssl/engines/ccgost/gost2001_keyx.c | 308 + .../openssl/engines/ccgost/gost2001_keyx.h | 10 + deps/openssl/openssl/engines/ccgost/gost89.c | 409 + deps/openssl/openssl/engines/ccgost/gost89.h | 96 + .../openssl/engines/ccgost/gost94_keyx.c | 291 + .../openssl/engines/ccgost/gost_ameth.c | 908 +++ .../openssl/engines/ccgost/gost_asn1.c | 55 + .../openssl/engines/ccgost/gost_crypt.c | 617 ++ .../openssl/openssl/engines/ccgost/gost_ctl.c | 89 + .../openssl/openssl/engines/ccgost/gost_eng.c | 273 + .../openssl/engines/ccgost/gost_keywrap.c | 109 + .../openssl/engines/ccgost/gost_keywrap.h | 56 + .../openssl/openssl/engines/ccgost/gost_lcl.h | 218 + deps/openssl/openssl/engines/ccgost/gost_md.c | 75 + .../openssl/engines/ccgost/gost_params.c | 198 + .../openssl/engines/ccgost/gost_params.h | 34 + .../openssl/engines/ccgost/gost_pmeth.c | 621 ++ .../openssl/engines/ccgost/gost_sign.c | 321 + .../openssl/openssl/engines/ccgost/gosthash.c | 255 + .../openssl/openssl/engines/ccgost/gosthash.h | 48 + deps/openssl/openssl/engines/ccgost/gostsum.c | 210 + deps/openssl/openssl/engines/e_4758cca.c | 17 +- deps/openssl/openssl/engines/e_aep.c | 10 +- deps/openssl/openssl/engines/e_capi.c | 29 +- deps/openssl/openssl/engines/e_capi_err.c | 2 +- deps/openssl/openssl/engines/e_capi_err.h | 4 + deps/openssl/openssl/engines/e_chil.c | 3 - deps/openssl/openssl/engines/e_gmp.c | 6 +- .../eng_padlock.c => engines/e_padlock.c} | 30 +- deps/openssl/openssl/engines/e_padlock.ec | 1 + deps/openssl/openssl/engines/e_sureware.c | 2 - deps/openssl/openssl/engines/e_ubsec.c | 15 +- deps/openssl/openssl/engines/makeengines.com | 384 +- deps/openssl/openssl/fips/Makefile | 230 - deps/openssl/openssl/fips/aes/Makefile | 111 - .../openssl/fips/aes/fips_aes_selftest.c | 101 - deps/openssl/openssl/fips/aes/fips_aesavs.c | 939 --- deps/openssl/openssl/fips/des/Makefile | 111 - .../openssl/fips/des/fips_des_selftest.c | 137 - deps/openssl/openssl/fips/des/fips_desmovs.c | 702 -- deps/openssl/openssl/fips/dh/Makefile | 115 - deps/openssl/openssl/fips/dh/dh_gen.c | 179 - deps/openssl/openssl/fips/dh/fips_dh_check.c | 147 - deps/openssl/openssl/fips/dh/fips_dh_gen.c | 192 - deps/openssl/openssl/fips/dh/fips_dh_key.c | 276 - deps/openssl/openssl/fips/dsa/Makefile | 191 - deps/openssl/openssl/fips/dsa/fips_dsa_gen.c | 339 - deps/openssl/openssl/fips/dsa/fips_dsa_key.c | 169 - deps/openssl/openssl/fips/dsa/fips_dsa_ossl.c | 435 - .../openssl/fips/dsa/fips_dsa_selftest.c | 180 - deps/openssl/openssl/fips/dsa/fips_dsa_sign.c | 258 - deps/openssl/openssl/fips/dsa/fips_dsatest.c | 271 - deps/openssl/openssl/fips/dsa/fips_dssvs.c | 537 -- deps/openssl/openssl/fips/fips-lib.com | 1198 --- deps/openssl/openssl/fips/fips-nodiff.txt | 7 - deps/openssl/openssl/fips/fips.c | 519 -- deps/openssl/openssl/fips/fips.h | 163 - deps/openssl/openssl/fips/fips_canister.c | 187 - deps/openssl/openssl/fips/fips_premain.c | 176 - deps/openssl/openssl/fips/fips_premain.c.sha1 | 1 - deps/openssl/openssl/fips/fips_test_suite.c | 579 -- deps/openssl/openssl/fips/fips_utl.h | 359 - deps/openssl/openssl/fips/fipsalgtest.pl | 887 --- deps/openssl/openssl/fips/fipsld | 178 - deps/openssl/openssl/fips/fipstests.bat | 229 - deps/openssl/openssl/fips/fipstests.sh | 400 - deps/openssl/openssl/fips/hmac/Makefile | 123 - deps/openssl/openssl/fips/hmac/fips_hmac.c | 191 - .../openssl/fips/hmac/fips_hmac_selftest.c | 135 - .../openssl/openssl/fips/hmac/fips_hmactest.c | 328 - deps/openssl/openssl/fips/install.com | 65 - deps/openssl/openssl/fips/mkfipsscr.pl | 657 -- .../openssl/fips/openssl_fips_fingerprint | 31 - deps/openssl/openssl/fips/rand/Makefile | 149 - deps/openssl/openssl/fips/rand/fips_rand.c | 410 - .../openssl/fips/rand/fips_rand_selftest.c | 371 - .../openssl/openssl/fips/rand/fips_randtest.c | 248 - deps/openssl/openssl/fips/rand/fips_rngvs.c | 230 - deps/openssl/openssl/fips/rsa/Makefile | 215 - deps/openssl/openssl/fips/rsa/fips_rsa_eay.c | 934 --- deps/openssl/openssl/fips/rsa/fips_rsa_gen.c | 310 - .../openssl/fips/rsa/fips_rsa_selftest.c | 432 - deps/openssl/openssl/fips/rsa/fips_rsa_sign.c | 554 -- .../openssl/openssl/fips/rsa/fips_rsa_x931g.c | 280 - deps/openssl/openssl/fips/rsa/fips_rsagtest.c | 390 - deps/openssl/openssl/fips/rsa/fips_rsastest.c | 370 - deps/openssl/openssl/fips/rsa/fips_rsavtest.c | 378 - deps/openssl/openssl/fips/sha/Makefile | 162 - .../openssl/fips/sha/fips_sha1_selftest.c | 97 - deps/openssl/openssl/fips/sha/fips_shatest.c | 388 - .../openssl/fips/sha/fips_standalone_sha1.c | 173 - .../openssl/include/openssl/camellia.h | 1 + deps/openssl/openssl/include/openssl/cms.h | 1 + deps/openssl/openssl/include/openssl/fips.h | 1 - .../openssl/include/openssl/fips_rand.h | 1 - deps/openssl/openssl/include/openssl/mdc2.h | 1 + deps/openssl/openssl/include/openssl/modes.h | 1 + .../openssl/include/openssl/pq_compat.h | 1 - deps/openssl/openssl/include/openssl/seed.h | 1 + deps/openssl/openssl/include/openssl/tmdiff.h | 1 - deps/openssl/openssl/include/openssl/ts.h | 1 + .../openssl/include/openssl/whrlpool.h | 1 + deps/openssl/openssl/install.com | 219 +- deps/openssl/openssl/makevms.com | 761 +- deps/openssl/openssl/ms/README | 2 +- deps/openssl/openssl/ms/bcb4.bat | 12 +- deps/openssl/openssl/ms/do_fips.bat | 204 - deps/openssl/openssl/ms/do_masm.bat | 74 - deps/openssl/openssl/ms/do_nasm.bat | 72 - deps/openssl/openssl/ms/do_nt.bat | 14 +- deps/openssl/openssl/ms/do_win64a.bat | 18 +- deps/openssl/openssl/ms/do_win64i.bat | 18 +- deps/openssl/openssl/ms/mingw32.bat | 6 +- deps/openssl/openssl/ms/mw.bat | 52 +- deps/openssl/openssl/ms/segrenam.pl | 65 - deps/openssl/openssl/ms/tenc.bat | 28 +- deps/openssl/openssl/ms/tencce.bat | 38 +- deps/openssl/openssl/ms/test.bat | 5 - deps/openssl/openssl/ms/testenc.bat | 188 +- deps/openssl/openssl/ms/testencce.bat | 194 +- deps/openssl/openssl/ms/testpem.bat | 64 +- deps/openssl/openssl/ms/testpemce.bat | 84 +- deps/openssl/openssl/ms/testss.bat | 196 +- deps/openssl/openssl/ms/testssce.bat | 208 +- deps/openssl/openssl/ms/tpem.bat | 12 +- deps/openssl/openssl/ms/tpemce.bat | 16 +- deps/openssl/openssl/ms/uplink-common.pl | 22 + deps/openssl/openssl/ms/uplink-ia64.pl | 50 + deps/openssl/openssl/ms/uplink-x86.pl | 33 + deps/openssl/openssl/ms/uplink-x86_64.pl | 64 + deps/openssl/openssl/ms/uplink.c | 3 +- deps/openssl/openssl/ms/x86asm.bat | 30 +- deps/openssl/openssl/openssl.spec | 8 +- deps/openssl/openssl/shlib/win32.bat | 2 +- deps/openssl/openssl/shlib/win32dll.bat | 4 +- deps/openssl/openssl/ssl/Makefile | 1173 ++- deps/openssl/openssl/ssl/bio_ssl.c | 25 +- deps/openssl/openssl/ssl/d1_both.c | 163 +- deps/openssl/openssl/ssl/d1_clnt.c | 356 +- deps/openssl/openssl/ssl/d1_enc.c | 27 +- deps/openssl/openssl/ssl/d1_lib.c | 103 +- deps/openssl/openssl/ssl/d1_meth.c | 4 +- deps/openssl/openssl/ssl/d1_pkt.c | 372 +- deps/openssl/openssl/ssl/d1_srvr.c | 334 +- deps/openssl/openssl/ssl/dtls1.h | 10 +- deps/openssl/openssl/ssl/fnv1a64.c | 37 - deps/openssl/openssl/ssl/fnv1a64.h | 18 - deps/openssl/openssl/ssl/install-ssl.com | 136 + deps/openssl/openssl/ssl/install.com | 90 - deps/openssl/openssl/ssl/kssl.c | 20 +- deps/openssl/openssl/ssl/kssl_lcl.h | 2 +- deps/openssl/openssl/ssl/s23_clnt.c | 222 +- deps/openssl/openssl/ssl/s23_lib.c | 11 +- deps/openssl/openssl/ssl/s23_meth.c | 4 +- deps/openssl/openssl/ssl/s23_srvr.c | 39 +- deps/openssl/openssl/ssl/s2_clnt.c | 12 +- deps/openssl/openssl/ssl/s2_enc.c | 9 +- deps/openssl/openssl/ssl/s2_lib.c | 178 +- deps/openssl/openssl/ssl/s2_meth.c | 10 +- deps/openssl/openssl/ssl/s2_pkt.c | 23 +- deps/openssl/openssl/ssl/s2_srvr.c | 8 +- deps/openssl/openssl/ssl/s3_both.c | 261 +- deps/openssl/openssl/ssl/s3_clnt.c | 610 +- deps/openssl/openssl/ssl/s3_enc.c | 200 +- deps/openssl/openssl/ssl/s3_lib.c | 2254 ++++-- deps/openssl/openssl/ssl/s3_meth.c | 10 +- deps/openssl/openssl/ssl/s3_pkt.c | 332 +- deps/openssl/openssl/ssl/s3_srvr.c | 1056 ++- deps/openssl/openssl/ssl/ssl-lib.com | 311 +- deps/openssl/openssl/ssl/ssl.h | 594 +- deps/openssl/openssl/ssl/ssl3.h | 192 +- deps/openssl/openssl/ssl/ssl_algs.c | 7 +- deps/openssl/openssl/ssl/ssl_asn1.c | 104 +- deps/openssl/openssl/ssl/ssl_cert.c | 8 +- deps/openssl/openssl/ssl/ssl_ciph.c | 1063 ++- deps/openssl/openssl/ssl/ssl_err.c | 45 +- deps/openssl/openssl/ssl/ssl_lib.c | 888 ++- deps/openssl/openssl/ssl/ssl_locl.h | 294 +- deps/openssl/openssl/ssl/ssl_rsa.c | 36 + deps/openssl/openssl/ssl/ssl_sess.c | 253 +- deps/openssl/openssl/ssl/ssl_stat.c | 50 + deps/openssl/openssl/ssl/ssl_txt.c | 35 +- deps/openssl/openssl/ssl/ssltest.c | 257 +- deps/openssl/openssl/ssl/t1_clnt.c | 4 +- deps/openssl/openssl/ssl/t1_enc.c | 604 +- deps/openssl/openssl/ssl/t1_lib.c | 1004 ++- deps/openssl/openssl/ssl/t1_meth.c | 4 +- deps/openssl/openssl/ssl/t1_srvr.c | 4 +- deps/openssl/openssl/ssl/tls1.h | 147 +- deps/openssl/openssl/test/CAss.cnf | 76 + deps/openssl/openssl/test/CAssdh.cnf | 24 + deps/openssl/openssl/test/CAssdsa.cnf | 23 + deps/openssl/openssl/test/CAssrsa.cnf | 24 + deps/openssl/openssl/test/CAtsa.cnf | 163 + deps/openssl/openssl/test/Makefile | 698 ++ deps/openssl/openssl/test/P1ss.cnf | 37 + deps/openssl/openssl/test/P2ss.cnf | 45 + deps/openssl/openssl/test/Sssdsa.cnf | 27 + deps/openssl/openssl/test/Sssrsa.cnf | 26 + deps/openssl/openssl/test/Uss.cnf | 36 + deps/openssl/openssl/test/VMSca-response.1 | 1 + deps/openssl/openssl/test/VMSca-response.2 | 2 + deps/openssl/openssl/test/asn1test.c | 22 + deps/openssl/openssl/test/bctest | 111 + deps/openssl/openssl/test/bctest.com | 152 + deps/openssl/openssl/test/bftest.c | 1 + deps/openssl/openssl/test/bntest.c | 1 + deps/openssl/openssl/test/bntest.com | 76 + deps/openssl/openssl/test/casttest.c | 1 + deps/openssl/openssl/test/clean_test.com | 35 + deps/openssl/openssl/test/cms-examples.pl | 409 + deps/openssl/openssl/test/cms-test.pl | 457 ++ deps/openssl/openssl/test/destest.c | 1 + deps/openssl/openssl/test/dhtest.c | 1 + deps/openssl/openssl/test/dsatest.c | 1 + deps/openssl/openssl/test/dummytest.c | 48 + deps/openssl/openssl/test/ecdhtest.c | 1 + deps/openssl/openssl/test/ecdsatest.c | 1 + deps/openssl/openssl/test/ectest.c | 1 + deps/openssl/openssl/test/enginetest.c | 1 + deps/openssl/openssl/test/evp_test.c | 1 + deps/openssl/openssl/test/evptests.txt | 321 + deps/openssl/openssl/test/exptest.c | 1 + deps/openssl/openssl/test/fips_aesavs.c | 1 + deps/openssl/openssl/test/fips_desmovs.c | 1 + deps/openssl/openssl/test/fips_dsatest.c | 1 + deps/openssl/openssl/test/fips_dssvs.c | 1 + deps/openssl/openssl/test/fips_hmactest.c | 1 + deps/openssl/openssl/test/fips_randtest.c | 1 + deps/openssl/openssl/test/fips_rngvs.c | 1 + deps/openssl/openssl/test/fips_rsagtest.c | 1 + deps/openssl/openssl/test/fips_rsastest.c | 1 + deps/openssl/openssl/test/fips_rsavtest.c | 1 + deps/openssl/openssl/test/fips_shatest.c | 1 + deps/openssl/openssl/test/fips_test_suite.c | 1 + deps/openssl/openssl/test/hmactest.c | 1 + deps/openssl/openssl/test/ideatest.c | 1 + deps/openssl/openssl/test/igetest.c | 503 ++ deps/openssl/openssl/test/jpaketest.c | 1 + deps/openssl/openssl/test/maketests.com | 1085 +++ deps/openssl/openssl/test/md2test.c | 1 + deps/openssl/openssl/test/md4test.c | 1 + deps/openssl/openssl/test/md5test.c | 1 + deps/openssl/openssl/test/mdc2test.c | 1 + .../{crypto/dsa/dsa_utl.c => test/methtest.c} | 76 +- deps/openssl/openssl/test/pkcs7-1.pem | 15 + deps/openssl/openssl/test/pkcs7.pem | 54 + deps/openssl/openssl/test/pkits-test.pl | 940 +++ .../{crypto/err/err_bio.c => test/r160test.c} | 20 +- deps/openssl/openssl/test/randtest.c | 1 + deps/openssl/openssl/test/rc2test.c | 1 + deps/openssl/openssl/test/rc4test.c | 1 + deps/openssl/openssl/test/rc5test.c | 1 + deps/openssl/openssl/test/rmdtest.c | 1 + deps/openssl/openssl/test/rsa_test.c | 1 + deps/openssl/openssl/test/sha1test.c | 1 + deps/openssl/openssl/test/sha256t.c | 1 + deps/openssl/openssl/test/sha512t.c | 1 + deps/openssl/openssl/test/shatest.c | 1 + deps/openssl/openssl/test/smcont.txt | 1 + .../openssl/test/smime-certs/smdsa1.pem | 34 + .../openssl/test/smime-certs/smdsa2.pem | 34 + .../openssl/test/smime-certs/smdsa3.pem | 34 + .../openssl/test/smime-certs/smdsap.pem | 9 + .../openssl/test/smime-certs/smroot.pem | 30 + .../openssl/test/smime-certs/smrsa1.pem | 31 + .../openssl/test/smime-certs/smrsa2.pem | 31 + .../openssl/test/smime-certs/smrsa3.pem | 31 + deps/openssl/openssl/test/ssltest.c | 1 + deps/openssl/openssl/test/tcrl | 78 + deps/openssl/openssl/test/tcrl.com | 88 + deps/openssl/openssl/test/test.cnf | 88 + deps/openssl/openssl/test/test_padlock | 64 + deps/openssl/openssl/test/testca | 51 + deps/openssl/openssl/test/testca.com | 52 + deps/openssl/openssl/test/testcrl.pem | 16 + deps/openssl/openssl/test/testenc | 54 + deps/openssl/openssl/test/testenc.com | 66 + deps/openssl/openssl/test/testgen | 44 + deps/openssl/openssl/test/testgen.com | 58 + deps/openssl/openssl/test/testp7.pem | 46 + deps/openssl/openssl/test/testreq2.pem | 7 + deps/openssl/openssl/test/testrsa.pem | 9 + deps/openssl/openssl/test/tests.com | 366 + deps/openssl/openssl/test/testsid.pem | 12 + deps/openssl/openssl/test/testss | 163 + deps/openssl/openssl/test/testss.com | 123 + deps/openssl/openssl/test/testssl | 163 + deps/openssl/openssl/test/testssl.com | 208 + deps/openssl/openssl/test/testsslproxy | 10 + deps/openssl/openssl/test/testtsa | 238 + deps/openssl/openssl/test/testtsa.com | 255 + deps/openssl/openssl/test/testx509.pem | 10 + deps/openssl/openssl/test/times | 113 + deps/openssl/openssl/test/tpkcs7 | 48 + deps/openssl/openssl/test/tpkcs7.com | 59 + deps/openssl/openssl/test/tpkcs7d | 41 + deps/openssl/openssl/test/tpkcs7d.com | 52 + deps/openssl/openssl/test/treq | 83 + deps/openssl/openssl/test/treq.com | 88 + deps/openssl/openssl/test/trsa | 83 + deps/openssl/openssl/test/trsa.com | 99 + deps/openssl/openssl/test/tsid | 78 + deps/openssl/openssl/test/tsid.com | 88 + deps/openssl/openssl/test/tverify.com | 65 + deps/openssl/openssl/test/tx509 | 78 + deps/openssl/openssl/test/tx509.com | 88 + deps/openssl/openssl/test/v3-cert1.pem | 16 + deps/openssl/openssl/test/v3-cert2.pem | 16 + deps/openssl/openssl/test/wp_test.c | 1 + deps/openssl/openssl/times/090/586-100.nt | 32 + deps/openssl/openssl/times/091/486-50.nt | 30 + deps/openssl/openssl/times/091/586-100.lnx | 32 + deps/openssl/openssl/times/091/68000.bsd | 32 + deps/openssl/openssl/times/091/686-200.lnx | 32 + deps/openssl/openssl/times/091/alpha064.osf | 32 + deps/openssl/openssl/times/091/alpha164.lnx | 32 + deps/openssl/openssl/times/091/alpha164.osf | 31 + deps/openssl/openssl/times/091/mips-rel.pl | 21 + deps/openssl/openssl/times/091/r10000.irx | 37 + deps/openssl/openssl/times/091/r3000.ult | 32 + deps/openssl/openssl/times/091/r4400.irx | 32 + deps/openssl/openssl/times/100.lnx | 32 + deps/openssl/openssl/times/100.nt | 29 + deps/openssl/openssl/times/200.lnx | 30 + deps/openssl/openssl/times/486-66.dos | 22 + deps/openssl/openssl/times/486-66.nt | 22 + deps/openssl/openssl/times/486-66.w31 | 23 + deps/openssl/openssl/times/5.lnx | 29 + deps/openssl/openssl/times/586-085i.nt | 29 + deps/openssl/openssl/times/586-100.LN3 | 26 + deps/openssl/openssl/times/586-100.NT2 | 26 + deps/openssl/openssl/times/586-100.dos | 24 + deps/openssl/openssl/times/586-100.ln4 | 26 + deps/openssl/openssl/times/586-100.lnx | 23 + deps/openssl/openssl/times/586-100.nt | 23 + deps/openssl/openssl/times/586-100.ntx | 30 + deps/openssl/openssl/times/586-100.w31 | 27 + deps/openssl/openssl/times/586-1002.lnx | 26 + deps/openssl/openssl/times/586p-100.lnx | 26 + deps/openssl/openssl/times/686-200.bsd | 25 + deps/openssl/openssl/times/686-200.lnx | 26 + deps/openssl/openssl/times/686-200.nt | 24 + deps/openssl/openssl/times/L1 | 27 + deps/openssl/openssl/times/R10000.t | 24 + deps/openssl/openssl/times/R4400.t | 26 + deps/openssl/openssl/times/aix.t | 34 + deps/openssl/openssl/times/aixold.t | 23 + deps/openssl/openssl/times/alpha.t | 81 + deps/openssl/openssl/times/alpha400.t | 25 + deps/openssl/openssl/times/cyrix100.lnx | 22 + deps/openssl/openssl/times/dgux-x86.t | 23 + deps/openssl/openssl/times/dgux.t | 17 + deps/openssl/openssl/times/hpux-acc.t | 25 + deps/openssl/openssl/times/hpux-kr.t | 23 + deps/openssl/openssl/times/hpux.t | 86 + deps/openssl/openssl/times/p2.w95 | 22 + deps/openssl/openssl/times/pent2.t | 24 + deps/openssl/openssl/times/readme | 11 + deps/openssl/openssl/times/s586-100.lnx | 25 + deps/openssl/openssl/times/s586-100.nt | 23 + deps/openssl/openssl/times/sgi.t | 29 + deps/openssl/openssl/times/sparc.t | 26 + deps/openssl/openssl/times/sparc2 | 21 + deps/openssl/openssl/times/sparcLX.t | 22 + deps/openssl/openssl/times/usparc.t | 25 + deps/openssl/openssl/times/x86/bfs.cpp | 67 + deps/openssl/openssl/times/x86/casts.cpp | 67 + deps/openssl/openssl/times/x86/des3s.cpp | 67 + deps/openssl/openssl/times/x86/dess.cpp | 67 + deps/openssl/openssl/times/x86/md4s.cpp | 78 + deps/openssl/openssl/times/x86/md5s.cpp | 78 + deps/openssl/openssl/times/x86/rc4s.cpp | 73 + .../{crypto/sha => times/x86}/sha1s.cpp | 5 +- deps/openssl/openssl/tools/Makefile | 1 + deps/openssl/openssl/tools/c_rehash | 29 +- deps/openssl/openssl/tools/c_rehash.in | 29 +- deps/openssl/openssl/util/FreeBSD.sh | 6 + .../{crypto/des/des_lib.c => util/add_cr.pl} | 115 +- deps/openssl/openssl/util/bat.sh | 134 + deps/openssl/openssl/util/ck_errf.pl | 64 + deps/openssl/openssl/util/clean-depend.pl | 58 + deps/openssl/openssl/util/copy.pl | 59 + deps/openssl/openssl/util/cygwin.sh | 146 + deps/openssl/openssl/util/deleof.pl | 7 + deps/openssl/openssl/util/deltree.com | 34 + deps/openssl/openssl/util/dirname.pl | 18 + deps/openssl/openssl/util/do_ms.sh | 19 + deps/openssl/openssl/util/domd | 38 + deps/openssl/openssl/util/err-ins.pl | 33 + deps/openssl/openssl/util/extract-names.pl | 26 + deps/openssl/openssl/util/extract-section.pl | 12 + deps/openssl/openssl/util/files.pl | 61 + deps/openssl/openssl/util/fixNT.sh | 14 + deps/openssl/openssl/util/install.sh | 108 + deps/openssl/openssl/util/libeay.num | 4196 ++++++++++ deps/openssl/openssl/util/mk1mf.pl | 1164 +++ deps/openssl/openssl/util/mkcerts.sh | 220 + deps/openssl/openssl/util/mkdef.pl | 1509 ++++ deps/openssl/openssl/util/mkdir-p.pl | 34 + deps/openssl/openssl/util/mkerr.pl | 810 ++ deps/openssl/openssl/util/mkfiles.pl | 141 + deps/openssl/openssl/util/mklink.pl | 73 + deps/openssl/openssl/util/mkrc.pl | 71 + deps/openssl/openssl/util/mkstack.pl | 192 + deps/openssl/openssl/util/opensslwrap.sh | 26 + deps/openssl/openssl/util/perlpath.pl | 35 + deps/openssl/openssl/util/pl/BC-32.pl | 139 + deps/openssl/openssl/util/pl/Mingw32.pl | 104 + deps/openssl/openssl/util/pl/OS2-EMX.pl | 120 + deps/openssl/openssl/util/pl/VC-32.pl | 338 + deps/openssl/openssl/util/pl/linux.pl | 104 + deps/openssl/openssl/util/pl/netware.pl | 532 ++ deps/openssl/openssl/util/pl/ultrix.pl | 38 + deps/openssl/openssl/util/pl/unix.pl | 96 + deps/openssl/openssl/util/pod2man.pl | 1184 +++ deps/openssl/openssl/util/pod2mantest | 58 + deps/openssl/openssl/util/pod2mantest.pod | 15 + deps/openssl/openssl/util/point.sh | 10 + deps/openssl/openssl/util/selftest.pl | 201 + deps/openssl/openssl/util/shlib_wrap.sh | 93 + deps/openssl/openssl/util/sp-diff.pl | 80 + deps/openssl/openssl/util/speed.sh | 39 + deps/openssl/openssl/util/src-dep.pl | 147 + deps/openssl/openssl/util/ssleay.num | 261 + deps/openssl/openssl/util/tab_num.pl | 17 + deps/openssl/openssl/util/x86asm.sh | 42 + .../patches/empty_OPENSSL_cpuid_setup.patch | 11 + .../patches/handshake_cutthrough.patch | 153 +- deps/openssl/patches/jsse.patch | 426 + deps/openssl/patches/missing_stddef.patch | 71 - .../{next_proto_neg.patch => npn.patch} | 819 +- deps/openssl/patches/openssl_no_dtls1.patch | 13 + deps/openssl/patches/posix_c_source.patch | 15 - deps/openssl/patches/progs.patch | 54 + deps/openssl/patches/sha1_armv4_large.patch | 21 + deps/openssl/patches/small_records.patch | 337 + deps/openssl/patches/snap_start.patch | 780 -- deps/openssl/patches/tls_exporter.patch | 220 + .../x509_hash_name_algorithm_change.patch | 31 + 1534 files changed, 172834 insertions(+), 57085 deletions(-) rename deps/openssl/config/{k8/openssl/opensslconf-posix.h => android/openssl/opensslconf.h} (80%) delete mode 100644 deps/openssl/config/k8/openssl/opensslconf-win32.h delete mode 100644 deps/openssl/config/piii/openssl/opensslconf-posix.h delete mode 100644 deps/openssl/config/piii/openssl/opensslconf-win32.h create mode 100644 deps/openssl/openssl/VMS/install-vms.com delete mode 100644 deps/openssl/openssl/VMS/install.com create mode 100644 deps/openssl/openssl/VMS/openssl_startup.com create mode 100644 deps/openssl/openssl/VMS/openssl_undo.com create mode 100644 deps/openssl/openssl/apps/genpkey.c create mode 100644 deps/openssl/openssl/apps/install-apps.com delete mode 100644 deps/openssl/openssl/apps/install.com create mode 100644 deps/openssl/openssl/apps/pkey.c create mode 100644 deps/openssl/openssl/apps/pkeyparam.c create mode 100644 deps/openssl/openssl/apps/pkeyutl.c create mode 100644 deps/openssl/openssl/apps/ts.c create mode 100644 deps/openssl/openssl/apps/tsget create mode 100644 deps/openssl/openssl/apps/vms_decc_init.c create mode 100644 deps/openssl/openssl/crypto/aes/aes_x86core.c create mode 100644 deps/openssl/openssl/crypto/aes/asm/aes-armv4.pl create mode 100644 deps/openssl/openssl/crypto/aes/asm/aes-ppc.pl create mode 100644 deps/openssl/openssl/crypto/aes/asm/aes-s390x.pl create mode 100644 deps/openssl/openssl/crypto/aes/asm/aes-sparcv9.pl create mode 100644 deps/openssl/openssl/crypto/alphacpuid.pl delete mode 100644 deps/openssl/openssl/crypto/asn1/a_hdr.c delete mode 100644 deps/openssl/openssl/crypto/asn1/a_meth.c create mode 100644 deps/openssl/openssl/crypto/asn1/ameth_lib.c create mode 100644 deps/openssl/openssl/crypto/asn1/asn1_locl.h create mode 100644 deps/openssl/openssl/crypto/asn1/bio_asn1.c create mode 100644 deps/openssl/openssl/crypto/asn1/bio_ndef.c delete mode 100644 deps/openssl/openssl/crypto/asn1/p8_key.c rename deps/openssl/openssl/{fips/dh/fips_dh_lib.c => crypto/asn1/x_nx509.c} (73%) create mode 100644 deps/openssl/openssl/crypto/bn/asm/alpha-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/armv4-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/mips3-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/ppc-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/ppc64-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/s390x-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/s390x.S create mode 100644 deps/openssl/openssl/crypto/bn/asm/sparcv9-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/sparcv9a-mont.pl create mode 100644 deps/openssl/openssl/crypto/bn/asm/via-mont.pl rename deps/openssl/openssl/crypto/bn/asm/{mo-586.pl => x86-mont.pl} (97%) delete mode 100644 deps/openssl/openssl/crypto/bn/bn_x931p.c create mode 100644 deps/openssl/openssl/crypto/camellia/asm/cmll-x86.pl create mode 100644 deps/openssl/openssl/crypto/camellia/asm/cmll-x86_64.pl delete mode 100644 deps/openssl/openssl/crypto/des/asm/des686.pl create mode 100644 deps/openssl/openssl/crypto/dh/dh_ameth.c create mode 100644 deps/openssl/openssl/crypto/dh/dh_pmeth.c rename deps/openssl/openssl/crypto/{bn/bn_opt.c => dh/dh_prn.c} (86%) create mode 100644 deps/openssl/openssl/crypto/dsa/dsa_ameth.c rename deps/openssl/openssl/{fips/rand/fips_rand.h => crypto/dsa/dsa_locl.h} (79%) create mode 100644 deps/openssl/openssl/crypto/dsa/dsa_pmeth.c rename deps/openssl/openssl/{fips/rsa/fips_rsa_lib.c => crypto/dsa/dsa_prn.c} (69%) create mode 100644 deps/openssl/openssl/crypto/dso/dso_beos.c delete mode 100644 deps/openssl/openssl/crypto/dyn_lck.c delete mode 100644 deps/openssl/openssl/crypto/ec/ec2_smpt.c create mode 100644 deps/openssl/openssl/crypto/ec/ec_ameth.c create mode 100644 deps/openssl/openssl/crypto/ec/ec_pmeth.c create mode 100644 deps/openssl/openssl/crypto/ec/eck_prn.c create mode 100644 deps/openssl/openssl/crypto/engine/tb_asnmth.c create mode 100644 deps/openssl/openssl/crypto/engine/tb_pkmeth.c delete mode 100644 deps/openssl/openssl/crypto/err/err_def.c delete mode 100644 deps/openssl/openssl/crypto/err/err_str.c delete mode 100644 deps/openssl/openssl/crypto/evp/dig_eng.c delete mode 100644 deps/openssl/openssl/crypto/evp/enc_min.c create mode 100644 deps/openssl/openssl/crypto/evp/m_sigver.c create mode 100644 deps/openssl/openssl/crypto/evp/m_wp.c create mode 100644 deps/openssl/openssl/crypto/evp/pmeth_fn.c create mode 100644 deps/openssl/openssl/crypto/evp/pmeth_gn.c create mode 100644 deps/openssl/openssl/crypto/evp/pmeth_lib.c delete mode 100644 deps/openssl/openssl/crypto/fips_err.c delete mode 100644 deps/openssl/openssl/crypto/fips_err.h rename deps/openssl/openssl/crypto/{evp/evp_cnf.c => hmac/hm_ameth.c} (59%) create mode 100644 deps/openssl/openssl/crypto/hmac/hm_pmeth.c create mode 100644 deps/openssl/openssl/crypto/install-crypto.com delete mode 100644 deps/openssl/openssl/crypto/install.com create mode 100644 deps/openssl/openssl/crypto/md5/asm/md5-ia64.S create mode 100644 deps/openssl/openssl/crypto/modes/Makefile create mode 100644 deps/openssl/openssl/crypto/modes/cbc128.c create mode 100644 deps/openssl/openssl/crypto/modes/cfb128.c create mode 100644 deps/openssl/openssl/crypto/modes/ctr128.c create mode 100644 deps/openssl/openssl/crypto/modes/cts128.c create mode 100644 deps/openssl/openssl/crypto/modes/modes.h rename deps/openssl/openssl/crypto/{o_init.c => modes/ofb128.c} (58%) create mode 100644 deps/openssl/openssl/crypto/objects/obj_xref.c create mode 100644 deps/openssl/openssl/crypto/objects/obj_xref.h create mode 100644 deps/openssl/openssl/crypto/objects/obj_xref.txt create mode 100644 deps/openssl/openssl/crypto/objects/objxref.pl create mode 100644 deps/openssl/openssl/crypto/pem/pvkfmt.c create mode 100644 deps/openssl/openssl/crypto/perlasm/ppc-xlate.pl create mode 100644 deps/openssl/openssl/crypto/perlasm/x86gas.pl create mode 100644 deps/openssl/openssl/crypto/perlasm/x86masm.pl delete mode 100644 deps/openssl/openssl/crypto/perlasm/x86ms.pl delete mode 100644 deps/openssl/openssl/crypto/perlasm/x86unix.pl rename deps/openssl/openssl/crypto/{rc4/rc4_fblk.c => pkcs7/bio_pk7.c} (84%) create mode 100644 deps/openssl/openssl/crypto/ppccpuid.pl delete mode 100644 deps/openssl/openssl/crypto/pqueue/pq_compat.h delete mode 100644 deps/openssl/openssl/crypto/rand/rand_eng.c delete mode 100644 deps/openssl/openssl/crypto/rc4/asm/rc4-ia64.S create mode 100644 deps/openssl/openssl/crypto/rc4/asm/rc4-ia64.pl create mode 100644 deps/openssl/openssl/crypto/rc4/asm/rc4-s390x.pl create mode 100644 deps/openssl/openssl/crypto/rsa/rsa_ameth.c delete mode 100644 deps/openssl/openssl/crypto/rsa/rsa_eng.c create mode 100644 deps/openssl/openssl/crypto/rsa/rsa_locl.h create mode 100644 deps/openssl/openssl/crypto/rsa/rsa_pmeth.c rename deps/openssl/openssl/{fips/dsa/fips_dsa_lib.c => crypto/rsa/rsa_prn.c} (74%) delete mode 100644 deps/openssl/openssl/crypto/rsa/rsa_x931g.c create mode 100644 deps/openssl/openssl/crypto/s390xcap.c create mode 100644 deps/openssl/openssl/crypto/s390xcpuid.S create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha1-armv4-large.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha1-ppc.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha1-s390x.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha1-sparcv9.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha1-sparcv9a.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha1-thumb.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha256-586.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha256-armv4.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha512-586.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha512-armv4.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha512-ppc.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha512-s390x.pl create mode 100644 deps/openssl/openssl/crypto/sha/asm/sha512-sparcv9.pl delete mode 100644 deps/openssl/openssl/crypto/sha/asm/sha512-sse2.pl create mode 100644 deps/openssl/openssl/crypto/sparcv9cap.c delete mode 100644 deps/openssl/openssl/crypto/tmdiff.c delete mode 100644 deps/openssl/openssl/crypto/tmdiff.h create mode 100644 deps/openssl/openssl/crypto/ts/Makefile create mode 100644 deps/openssl/openssl/crypto/ts/ts.h create mode 100644 deps/openssl/openssl/crypto/ts/ts_asn1.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_conf.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_err.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_lib.c rename deps/openssl/openssl/crypto/{buffer/buf_str.c => ts/ts_req_print.c} (70%) create mode 100644 deps/openssl/openssl/crypto/ts/ts_req_utils.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_rsp_print.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_rsp_sign.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_rsp_utils.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_rsp_verify.c create mode 100644 deps/openssl/openssl/crypto/ts/ts_verify_ctx.c create mode 100644 deps/openssl/openssl/crypto/vms_rms.h create mode 100644 deps/openssl/openssl/crypto/whrlpool/Makefile create mode 100644 deps/openssl/openssl/crypto/whrlpool/asm/wp-mmx.pl create mode 100644 deps/openssl/openssl/crypto/whrlpool/asm/wp-x86_64.pl create mode 100644 deps/openssl/openssl/crypto/whrlpool/whrlpool.h create mode 100644 deps/openssl/openssl/crypto/whrlpool/wp_block.c create mode 100644 deps/openssl/openssl/crypto/whrlpool/wp_dgst.c create mode 100644 deps/openssl/openssl/crypto/whrlpool/wp_locl.h create mode 100644 deps/openssl/openssl/crypto/whrlpool/wp_test.c create mode 100644 deps/openssl/openssl/demos/cms/cacert.pem create mode 100644 deps/openssl/openssl/demos/cms/cakey.pem create mode 100644 deps/openssl/openssl/demos/cms/cms_comp.c create mode 100644 deps/openssl/openssl/demos/cms/cms_ddec.c create mode 100644 deps/openssl/openssl/demos/cms/cms_dec.c create mode 100644 deps/openssl/openssl/demos/cms/cms_denc.c create mode 100644 deps/openssl/openssl/demos/cms/cms_enc.c create mode 100644 deps/openssl/openssl/demos/cms/cms_sign.c create mode 100644 deps/openssl/openssl/demos/cms/cms_sign2.c create mode 100644 deps/openssl/openssl/demos/cms/cms_uncomp.c create mode 100644 deps/openssl/openssl/demos/cms/cms_ver.c create mode 100644 deps/openssl/openssl/demos/cms/comp.txt create mode 100644 deps/openssl/openssl/demos/cms/encr.txt create mode 100644 deps/openssl/openssl/demos/cms/sign.txt create mode 100644 deps/openssl/openssl/demos/cms/signer.pem create mode 100644 deps/openssl/openssl/demos/cms/signer2.pem delete mode 100644 deps/openssl/openssl/demos/jpake/Makefile delete mode 100644 deps/openssl/openssl/demos/jpake/jpakedemo.c create mode 100644 deps/openssl/openssl/demos/smime/cacert.pem create mode 100644 deps/openssl/openssl/demos/smime/cakey.pem create mode 100644 deps/openssl/openssl/demos/smime/encr.txt create mode 100644 deps/openssl/openssl/demos/smime/sign.txt create mode 100644 deps/openssl/openssl/demos/smime/signer.pem create mode 100644 deps/openssl/openssl/demos/smime/signer2.pem create mode 100644 deps/openssl/openssl/demos/smime/smdec.c create mode 100644 deps/openssl/openssl/demos/smime/smenc.c create mode 100644 deps/openssl/openssl/demos/smime/smsign.c create mode 100644 deps/openssl/openssl/demos/smime/smsign2.c create mode 100644 deps/openssl/openssl/demos/smime/smver.c create mode 100644 deps/openssl/openssl/doc/HOWTO/certificates.txt create mode 100644 deps/openssl/openssl/doc/HOWTO/keys.txt create mode 100644 deps/openssl/openssl/doc/HOWTO/proxy_certificates.txt create mode 100644 deps/openssl/openssl/doc/README create mode 100644 deps/openssl/openssl/doc/apps/CA.pl.pod create mode 100644 deps/openssl/openssl/doc/apps/asn1parse.pod create mode 100644 deps/openssl/openssl/doc/apps/ca.pod create mode 100644 deps/openssl/openssl/doc/apps/ciphers.pod create mode 100644 deps/openssl/openssl/doc/apps/cms.pod create mode 100644 deps/openssl/openssl/doc/apps/config.pod create mode 100644 deps/openssl/openssl/doc/apps/crl.pod create mode 100644 deps/openssl/openssl/doc/apps/crl2pkcs7.pod create mode 100644 deps/openssl/openssl/doc/apps/dgst.pod create mode 100644 deps/openssl/openssl/doc/apps/dhparam.pod create mode 100644 deps/openssl/openssl/doc/apps/dsa.pod create mode 100644 deps/openssl/openssl/doc/apps/dsaparam.pod create mode 100644 deps/openssl/openssl/doc/apps/ec.pod create mode 100644 deps/openssl/openssl/doc/apps/ecparam.pod create mode 100644 deps/openssl/openssl/doc/apps/enc.pod create mode 100644 deps/openssl/openssl/doc/apps/errstr.pod create mode 100644 deps/openssl/openssl/doc/apps/gendsa.pod create mode 100644 deps/openssl/openssl/doc/apps/genpkey.pod create mode 100644 deps/openssl/openssl/doc/apps/genrsa.pod create mode 100644 deps/openssl/openssl/doc/apps/nseq.pod create mode 100644 deps/openssl/openssl/doc/apps/ocsp.pod create mode 100644 deps/openssl/openssl/doc/apps/openssl.pod create mode 100644 deps/openssl/openssl/doc/apps/passwd.pod create mode 100644 deps/openssl/openssl/doc/apps/pkcs12.pod create mode 100644 deps/openssl/openssl/doc/apps/pkcs7.pod create mode 100644 deps/openssl/openssl/doc/apps/pkcs8.pod create mode 100644 deps/openssl/openssl/doc/apps/pkey.pod create mode 100644 deps/openssl/openssl/doc/apps/pkeyparam.pod create mode 100644 deps/openssl/openssl/doc/apps/pkeyutl.pod create mode 100644 deps/openssl/openssl/doc/apps/rand.pod create mode 100644 deps/openssl/openssl/doc/apps/req.pod create mode 100644 deps/openssl/openssl/doc/apps/rsa.pod create mode 100644 deps/openssl/openssl/doc/apps/rsautl.pod create mode 100644 deps/openssl/openssl/doc/apps/s_client.pod create mode 100644 deps/openssl/openssl/doc/apps/s_server.pod create mode 100644 deps/openssl/openssl/doc/apps/s_time.pod create mode 100644 deps/openssl/openssl/doc/apps/sess_id.pod create mode 100644 deps/openssl/openssl/doc/apps/smime.pod create mode 100644 deps/openssl/openssl/doc/apps/speed.pod create mode 100644 deps/openssl/openssl/doc/apps/spkac.pod create mode 100644 deps/openssl/openssl/doc/apps/ts.pod create mode 100644 deps/openssl/openssl/doc/apps/tsget.pod create mode 100644 deps/openssl/openssl/doc/apps/verify.pod create mode 100644 deps/openssl/openssl/doc/apps/version.pod create mode 100644 deps/openssl/openssl/doc/apps/x509.pod create mode 100644 deps/openssl/openssl/doc/apps/x509v3_config.pod create mode 100644 deps/openssl/openssl/doc/c-indentation.el create mode 100644 deps/openssl/openssl/doc/crypto/ASN1_OBJECT_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/ASN1_STRING_length.pod create mode 100644 deps/openssl/openssl/doc/crypto/ASN1_STRING_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/ASN1_STRING_print_ex.pod create mode 100644 deps/openssl/openssl/doc/crypto/ASN1_generate_nconf.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_ctrl.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_f_base64.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_f_buffer.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_f_cipher.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_f_md.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_f_null.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_f_ssl.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_find_type.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_new_CMS.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_push.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_read.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_accept.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_bio.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_connect.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_fd.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_file.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_mem.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_null.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_s_socket.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_set_callback.pod create mode 100644 deps/openssl/openssl/doc/crypto/BIO_should_retry.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_BLINDING_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_CTX_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_CTX_start.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_add.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_add_word.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_bn2bin.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_cmp.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_copy.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_generate_prime.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_mod_inverse.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_mod_mul_montgomery.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_mod_mul_reciprocal.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_num_bytes.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_rand.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_set_bit.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_swap.pod create mode 100644 deps/openssl/openssl/doc/crypto/BN_zero.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_add0_cert.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_add1_recipient_cert.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_compress.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_decrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_encrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_final.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_get0_RecipientInfos.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_get0_SignerInfos.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_get0_type.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_get1_ReceiptRequest.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_sign.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_sign_add1_signer.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_sign_receipt.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_uncompress.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_verify.pod create mode 100644 deps/openssl/openssl/doc/crypto/CMS_verify_receipt.pod create mode 100644 deps/openssl/openssl/doc/crypto/CONF_modules_free.pod create mode 100644 deps/openssl/openssl/doc/crypto/CONF_modules_load_file.pod create mode 100644 deps/openssl/openssl/doc/crypto/CRYPTO_set_ex_data.pod create mode 100644 deps/openssl/openssl/doc/crypto/DH_generate_key.pod create mode 100644 deps/openssl/openssl/doc/crypto/DH_generate_parameters.pod create mode 100644 deps/openssl/openssl/doc/crypto/DH_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/crypto/DH_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/DH_set_method.pod create mode 100644 deps/openssl/openssl/doc/crypto/DH_size.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_SIG_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_do_sign.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_dup_DH.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_generate_key.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_generate_parameters.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_set_method.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_sign.pod create mode 100644 deps/openssl/openssl/doc/crypto/DSA_size.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_GET_LIB.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_clear_error.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_error_string.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_get_error.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_load_crypto_strings.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_load_strings.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_print_errors.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_put_error.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_remove_state.pod create mode 100644 deps/openssl/openssl/doc/crypto/ERR_set_mark.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_BytesToKey.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_DigestInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_DigestSignInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_DigestVerifyInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_EncryptInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_OpenInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_CTX_ctrl.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_CTX_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_cmp.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_decrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_derive.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_encrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_get_default_digest.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_keygen.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_print_private.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_set1_RSA.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_sign.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_verify.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_PKEY_verifyrecover.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_SealInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_SignInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/EVP_VerifyInit.pod create mode 100644 deps/openssl/openssl/doc/crypto/OBJ_nid2obj.pod create mode 100644 deps/openssl/openssl/doc/crypto/OPENSSL_Applink.pod create mode 100644 deps/openssl/openssl/doc/crypto/OPENSSL_VERSION_NUMBER.pod create mode 100644 deps/openssl/openssl/doc/crypto/OPENSSL_config.pod create mode 100644 deps/openssl/openssl/doc/crypto/OPENSSL_ia32cap.pod create mode 100644 deps/openssl/openssl/doc/crypto/OPENSSL_load_builtin_modules.pod create mode 100644 deps/openssl/openssl/doc/crypto/OpenSSL_add_all_algorithms.pod create mode 100644 deps/openssl/openssl/doc/crypto/PEM_write_bio_CMS_stream.pod create mode 100644 deps/openssl/openssl/doc/crypto/PEM_write_bio_PKCS7_stream.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS12_create.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS12_parse.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS7_decrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS7_encrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS7_sign.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS7_sign_add_signer.pod create mode 100644 deps/openssl/openssl/doc/crypto/PKCS7_verify.pod create mode 100644 deps/openssl/openssl/doc/crypto/RAND_add.pod create mode 100644 deps/openssl/openssl/doc/crypto/RAND_bytes.pod create mode 100644 deps/openssl/openssl/doc/crypto/RAND_cleanup.pod create mode 100644 deps/openssl/openssl/doc/crypto/RAND_egd.pod create mode 100644 deps/openssl/openssl/doc/crypto/RAND_load_file.pod create mode 100644 deps/openssl/openssl/doc/crypto/RAND_set_rand_method.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_blinding_on.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_check_key.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_generate_key.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_padding_add_PKCS1_type_1.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_print.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_private_encrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_public_encrypt.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_set_method.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_sign.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_sign_ASN1_OCTET_STRING.pod create mode 100644 deps/openssl/openssl/doc/crypto/RSA_size.pod create mode 100644 deps/openssl/openssl/doc/crypto/SMIME_read_CMS.pod create mode 100644 deps/openssl/openssl/doc/crypto/SMIME_read_PKCS7.pod create mode 100644 deps/openssl/openssl/doc/crypto/SMIME_write_CMS.pod create mode 100644 deps/openssl/openssl/doc/crypto/SMIME_write_PKCS7.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_NAME_ENTRY_get_object.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_NAME_add_entry_by_txt.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_NAME_get_index_by_NID.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_NAME_print_ex.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_STORE_CTX_get_error.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_STORE_CTX_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_STORE_CTX_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_STORE_CTX_set_verify_cb.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_STORE_set_verify_cb_func.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_VERIFY_PARAM_set_flags.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_new.pod create mode 100644 deps/openssl/openssl/doc/crypto/X509_verify_cert.pod create mode 100644 deps/openssl/openssl/doc/crypto/bio.pod create mode 100644 deps/openssl/openssl/doc/crypto/blowfish.pod create mode 100644 deps/openssl/openssl/doc/crypto/bn.pod create mode 100644 deps/openssl/openssl/doc/crypto/bn_internal.pod create mode 100644 deps/openssl/openssl/doc/crypto/buffer.pod create mode 100644 deps/openssl/openssl/doc/crypto/crypto.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_ASN1_OBJECT.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_DHparams.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_DSAPublicKey.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_PKCS8PrivateKey.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_RSAPublicKey.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_X509.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_X509_ALGOR.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_X509_CRL.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_X509_NAME.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_X509_REQ.pod create mode 100644 deps/openssl/openssl/doc/crypto/d2i_X509_SIG.pod create mode 100644 deps/openssl/openssl/doc/crypto/des.pod create mode 100644 deps/openssl/openssl/doc/crypto/des_modes.pod create mode 100644 deps/openssl/openssl/doc/crypto/dh.pod create mode 100644 deps/openssl/openssl/doc/crypto/dsa.pod create mode 100644 deps/openssl/openssl/doc/crypto/ecdsa.pod create mode 100644 deps/openssl/openssl/doc/crypto/engine.pod create mode 100644 deps/openssl/openssl/doc/crypto/err.pod create mode 100644 deps/openssl/openssl/doc/crypto/evp.pod create mode 100644 deps/openssl/openssl/doc/crypto/hmac.pod create mode 100644 deps/openssl/openssl/doc/crypto/i2d_CMS_bio_stream.pod create mode 100644 deps/openssl/openssl/doc/crypto/i2d_PKCS7_bio_stream.pod create mode 100644 deps/openssl/openssl/doc/crypto/lh_stats.pod create mode 100644 deps/openssl/openssl/doc/crypto/lhash.pod create mode 100644 deps/openssl/openssl/doc/crypto/md5.pod create mode 100644 deps/openssl/openssl/doc/crypto/mdc2.pod create mode 100644 deps/openssl/openssl/doc/crypto/pem.pod create mode 100644 deps/openssl/openssl/doc/crypto/rand.pod create mode 100644 deps/openssl/openssl/doc/crypto/rc4.pod create mode 100644 deps/openssl/openssl/doc/crypto/ripemd.pod create mode 100644 deps/openssl/openssl/doc/crypto/rsa.pod create mode 100644 deps/openssl/openssl/doc/crypto/sha.pod create mode 100644 deps/openssl/openssl/doc/crypto/threads.pod create mode 100644 deps/openssl/openssl/doc/crypto/ui.pod create mode 100644 deps/openssl/openssl/doc/crypto/ui_compat.pod create mode 100644 deps/openssl/openssl/doc/crypto/x509.pod create mode 100644 deps/openssl/openssl/doc/fingerprints.txt create mode 100644 deps/openssl/openssl/doc/openssl-shared.txt create mode 100644 deps/openssl/openssl/doc/openssl.txt create mode 100644 deps/openssl/openssl/doc/openssl_button.gif create mode 100644 deps/openssl/openssl/doc/openssl_button.html create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CIPHER_get_name.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_COMP_add_compression_method.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_add_extra_chain_cert.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_add_session.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_ctrl.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_flush_sessions.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_free.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_get_verify_mode.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_load_verify_locations.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_new.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_sess_number.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_sess_set_cache_size.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_sess_set_get_cb.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_sessions.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_cert_store.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_cert_verify_callback.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_cipher_list.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_client_CA_list.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_client_cert_cb.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_default_passwd_cb.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_generate_session_id.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_info_callback.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_max_cert_list.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_mode.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_msg_callback.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_options.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_psk_client_callback.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_quiet_shutdown.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_session_cache_mode.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_session_id_context.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_ssl_version.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_timeout.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_tmp_dh_callback.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_tmp_rsa_callback.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_set_verify.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_use_certificate.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_CTX_use_psk_identity_hint.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_SESSION_free.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_SESSION_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_SESSION_get_time.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_accept.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_alert_type_string.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_clear.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_connect.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_do_handshake.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_free.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_SSL_CTX.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_ciphers.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_client_CA_list.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_current_cipher.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_default_timeout.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_error.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_ex_new_index.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_fd.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_peer_cert_chain.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_peer_certificate.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_psk_identity.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_rbio.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_session.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_verify_result.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_get_version.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_library_init.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_load_client_CA_file.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_new.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_pending.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_read.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_rstate_string.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_session_reused.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_set_bio.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_set_connect_state.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_set_fd.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_set_session.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_set_shutdown.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_set_verify_result.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_shutdown.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_state_string.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_want.pod create mode 100644 deps/openssl/openssl/doc/ssl/SSL_write.pod create mode 100644 deps/openssl/openssl/doc/ssl/d2i_SSL_SESSION.pod create mode 100644 deps/openssl/openssl/doc/ssl/ssl.pod create mode 100644 deps/openssl/openssl/doc/ssleay.txt create mode 100644 deps/openssl/openssl/doc/standards.txt create mode 100644 deps/openssl/openssl/engines/axp.opt create mode 100644 deps/openssl/openssl/engines/capierr.bat create mode 100644 deps/openssl/openssl/engines/ccgost/Makefile create mode 100644 deps/openssl/openssl/engines/ccgost/README.gost create mode 100644 deps/openssl/openssl/engines/ccgost/e_gost_err.c create mode 100644 deps/openssl/openssl/engines/ccgost/e_gost_err.h rename deps/openssl/openssl/{fips/fips_locl.h => engines/ccgost/e_gost_err.proto} (80%) create mode 100644 deps/openssl/openssl/engines/ccgost/gost.ec create mode 100644 deps/openssl/openssl/engines/ccgost/gost2001.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost2001_keyx.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost2001_keyx.h create mode 100644 deps/openssl/openssl/engines/ccgost/gost89.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost89.h create mode 100644 deps/openssl/openssl/engines/ccgost/gost94_keyx.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_ameth.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_asn1.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_crypt.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_ctl.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_eng.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_keywrap.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_keywrap.h create mode 100644 deps/openssl/openssl/engines/ccgost/gost_lcl.h create mode 100644 deps/openssl/openssl/engines/ccgost/gost_md.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_params.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_params.h create mode 100644 deps/openssl/openssl/engines/ccgost/gost_pmeth.c create mode 100644 deps/openssl/openssl/engines/ccgost/gost_sign.c create mode 100644 deps/openssl/openssl/engines/ccgost/gosthash.c create mode 100644 deps/openssl/openssl/engines/ccgost/gosthash.h create mode 100644 deps/openssl/openssl/engines/ccgost/gostsum.c rename deps/openssl/openssl/{crypto/engine/eng_padlock.c => engines/e_padlock.c} (98%) create mode 100644 deps/openssl/openssl/engines/e_padlock.ec delete mode 100644 deps/openssl/openssl/fips/Makefile delete mode 100644 deps/openssl/openssl/fips/aes/Makefile delete mode 100644 deps/openssl/openssl/fips/aes/fips_aes_selftest.c delete mode 100644 deps/openssl/openssl/fips/aes/fips_aesavs.c delete mode 100644 deps/openssl/openssl/fips/des/Makefile delete mode 100644 deps/openssl/openssl/fips/des/fips_des_selftest.c delete mode 100644 deps/openssl/openssl/fips/des/fips_desmovs.c delete mode 100644 deps/openssl/openssl/fips/dh/Makefile delete mode 100644 deps/openssl/openssl/fips/dh/dh_gen.c delete mode 100644 deps/openssl/openssl/fips/dh/fips_dh_check.c delete mode 100644 deps/openssl/openssl/fips/dh/fips_dh_gen.c delete mode 100644 deps/openssl/openssl/fips/dh/fips_dh_key.c delete mode 100644 deps/openssl/openssl/fips/dsa/Makefile delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dsa_gen.c delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dsa_key.c delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dsa_ossl.c delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dsa_selftest.c delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dsa_sign.c delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dsatest.c delete mode 100644 deps/openssl/openssl/fips/dsa/fips_dssvs.c delete mode 100644 deps/openssl/openssl/fips/fips-lib.com delete mode 100644 deps/openssl/openssl/fips/fips-nodiff.txt delete mode 100644 deps/openssl/openssl/fips/fips.c delete mode 100644 deps/openssl/openssl/fips/fips.h delete mode 100644 deps/openssl/openssl/fips/fips_canister.c delete mode 100644 deps/openssl/openssl/fips/fips_premain.c delete mode 100644 deps/openssl/openssl/fips/fips_premain.c.sha1 delete mode 100644 deps/openssl/openssl/fips/fips_test_suite.c delete mode 100644 deps/openssl/openssl/fips/fips_utl.h delete mode 100644 deps/openssl/openssl/fips/fipsalgtest.pl delete mode 100755 deps/openssl/openssl/fips/fipsld delete mode 100644 deps/openssl/openssl/fips/fipstests.bat delete mode 100644 deps/openssl/openssl/fips/fipstests.sh delete mode 100644 deps/openssl/openssl/fips/hmac/Makefile delete mode 100644 deps/openssl/openssl/fips/hmac/fips_hmac.c delete mode 100644 deps/openssl/openssl/fips/hmac/fips_hmac_selftest.c delete mode 100644 deps/openssl/openssl/fips/hmac/fips_hmactest.c delete mode 100644 deps/openssl/openssl/fips/install.com delete mode 100644 deps/openssl/openssl/fips/mkfipsscr.pl delete mode 100755 deps/openssl/openssl/fips/openssl_fips_fingerprint delete mode 100644 deps/openssl/openssl/fips/rand/Makefile delete mode 100644 deps/openssl/openssl/fips/rand/fips_rand.c delete mode 100644 deps/openssl/openssl/fips/rand/fips_rand_selftest.c delete mode 100644 deps/openssl/openssl/fips/rand/fips_randtest.c delete mode 100644 deps/openssl/openssl/fips/rand/fips_rngvs.c delete mode 100644 deps/openssl/openssl/fips/rsa/Makefile delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsa_eay.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsa_gen.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsa_selftest.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsa_sign.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsa_x931g.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsagtest.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsastest.c delete mode 100644 deps/openssl/openssl/fips/rsa/fips_rsavtest.c delete mode 100644 deps/openssl/openssl/fips/sha/Makefile delete mode 100644 deps/openssl/openssl/fips/sha/fips_sha1_selftest.c delete mode 100644 deps/openssl/openssl/fips/sha/fips_shatest.c delete mode 100644 deps/openssl/openssl/fips/sha/fips_standalone_sha1.c create mode 100644 deps/openssl/openssl/include/openssl/camellia.h create mode 100644 deps/openssl/openssl/include/openssl/cms.h delete mode 100644 deps/openssl/openssl/include/openssl/fips.h delete mode 100644 deps/openssl/openssl/include/openssl/fips_rand.h create mode 100644 deps/openssl/openssl/include/openssl/mdc2.h create mode 100644 deps/openssl/openssl/include/openssl/modes.h delete mode 100644 deps/openssl/openssl/include/openssl/pq_compat.h create mode 100644 deps/openssl/openssl/include/openssl/seed.h delete mode 100644 deps/openssl/openssl/include/openssl/tmdiff.h create mode 100644 deps/openssl/openssl/include/openssl/ts.h create mode 100644 deps/openssl/openssl/include/openssl/whrlpool.h delete mode 100644 deps/openssl/openssl/ms/do_fips.bat delete mode 100755 deps/openssl/openssl/ms/do_masm.bat delete mode 100644 deps/openssl/openssl/ms/segrenam.pl create mode 100644 deps/openssl/openssl/ms/uplink-common.pl create mode 100644 deps/openssl/openssl/ms/uplink-ia64.pl create mode 100644 deps/openssl/openssl/ms/uplink-x86.pl create mode 100644 deps/openssl/openssl/ms/uplink-x86_64.pl delete mode 100644 deps/openssl/openssl/ssl/fnv1a64.c delete mode 100644 deps/openssl/openssl/ssl/fnv1a64.h create mode 100644 deps/openssl/openssl/ssl/install-ssl.com delete mode 100644 deps/openssl/openssl/ssl/install.com create mode 100644 deps/openssl/openssl/test/CAss.cnf create mode 100644 deps/openssl/openssl/test/CAssdh.cnf create mode 100644 deps/openssl/openssl/test/CAssdsa.cnf create mode 100644 deps/openssl/openssl/test/CAssrsa.cnf create mode 100644 deps/openssl/openssl/test/CAtsa.cnf create mode 100644 deps/openssl/openssl/test/Makefile create mode 100644 deps/openssl/openssl/test/P1ss.cnf create mode 100644 deps/openssl/openssl/test/P2ss.cnf create mode 100644 deps/openssl/openssl/test/Sssdsa.cnf create mode 100644 deps/openssl/openssl/test/Sssrsa.cnf create mode 100644 deps/openssl/openssl/test/Uss.cnf create mode 100644 deps/openssl/openssl/test/VMSca-response.1 create mode 100644 deps/openssl/openssl/test/VMSca-response.2 create mode 100644 deps/openssl/openssl/test/asn1test.c create mode 100755 deps/openssl/openssl/test/bctest create mode 100644 deps/openssl/openssl/test/bctest.com create mode 120000 deps/openssl/openssl/test/bftest.c create mode 120000 deps/openssl/openssl/test/bntest.c create mode 100644 deps/openssl/openssl/test/bntest.com create mode 120000 deps/openssl/openssl/test/casttest.c create mode 100644 deps/openssl/openssl/test/clean_test.com create mode 100644 deps/openssl/openssl/test/cms-examples.pl create mode 100644 deps/openssl/openssl/test/cms-test.pl create mode 120000 deps/openssl/openssl/test/destest.c create mode 120000 deps/openssl/openssl/test/dhtest.c create mode 120000 deps/openssl/openssl/test/dsatest.c create mode 100644 deps/openssl/openssl/test/dummytest.c create mode 120000 deps/openssl/openssl/test/ecdhtest.c create mode 120000 deps/openssl/openssl/test/ecdsatest.c create mode 120000 deps/openssl/openssl/test/ectest.c create mode 120000 deps/openssl/openssl/test/enginetest.c create mode 120000 deps/openssl/openssl/test/evp_test.c create mode 100644 deps/openssl/openssl/test/evptests.txt create mode 120000 deps/openssl/openssl/test/exptest.c create mode 120000 deps/openssl/openssl/test/fips_aesavs.c create mode 120000 deps/openssl/openssl/test/fips_desmovs.c create mode 120000 deps/openssl/openssl/test/fips_dsatest.c create mode 120000 deps/openssl/openssl/test/fips_dssvs.c create mode 120000 deps/openssl/openssl/test/fips_hmactest.c create mode 120000 deps/openssl/openssl/test/fips_randtest.c create mode 120000 deps/openssl/openssl/test/fips_rngvs.c create mode 120000 deps/openssl/openssl/test/fips_rsagtest.c create mode 120000 deps/openssl/openssl/test/fips_rsastest.c create mode 120000 deps/openssl/openssl/test/fips_rsavtest.c create mode 120000 deps/openssl/openssl/test/fips_shatest.c create mode 120000 deps/openssl/openssl/test/fips_test_suite.c create mode 120000 deps/openssl/openssl/test/hmactest.c create mode 120000 deps/openssl/openssl/test/ideatest.c create mode 100644 deps/openssl/openssl/test/igetest.c create mode 120000 deps/openssl/openssl/test/jpaketest.c create mode 100644 deps/openssl/openssl/test/maketests.com create mode 120000 deps/openssl/openssl/test/md2test.c create mode 120000 deps/openssl/openssl/test/md4test.c create mode 120000 deps/openssl/openssl/test/md5test.c create mode 120000 deps/openssl/openssl/test/mdc2test.c rename deps/openssl/openssl/{crypto/dsa/dsa_utl.c => test/methtest.c} (72%) create mode 100644 deps/openssl/openssl/test/pkcs7-1.pem create mode 100644 deps/openssl/openssl/test/pkcs7.pem create mode 100644 deps/openssl/openssl/test/pkits-test.pl rename deps/openssl/openssl/{crypto/err/err_bio.c => test/r160test.c} (89%) create mode 120000 deps/openssl/openssl/test/randtest.c create mode 120000 deps/openssl/openssl/test/rc2test.c create mode 120000 deps/openssl/openssl/test/rc4test.c create mode 120000 deps/openssl/openssl/test/rc5test.c create mode 120000 deps/openssl/openssl/test/rmdtest.c create mode 120000 deps/openssl/openssl/test/rsa_test.c create mode 120000 deps/openssl/openssl/test/sha1test.c create mode 120000 deps/openssl/openssl/test/sha256t.c create mode 120000 deps/openssl/openssl/test/sha512t.c create mode 120000 deps/openssl/openssl/test/shatest.c create mode 100644 deps/openssl/openssl/test/smcont.txt create mode 100644 deps/openssl/openssl/test/smime-certs/smdsa1.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smdsa2.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smdsa3.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smdsap.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smroot.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smrsa1.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smrsa2.pem create mode 100644 deps/openssl/openssl/test/smime-certs/smrsa3.pem create mode 120000 deps/openssl/openssl/test/ssltest.c create mode 100644 deps/openssl/openssl/test/tcrl create mode 100644 deps/openssl/openssl/test/tcrl.com create mode 100644 deps/openssl/openssl/test/test.cnf create mode 100644 deps/openssl/openssl/test/test_padlock create mode 100644 deps/openssl/openssl/test/testca create mode 100644 deps/openssl/openssl/test/testca.com create mode 100644 deps/openssl/openssl/test/testcrl.pem create mode 100644 deps/openssl/openssl/test/testenc create mode 100644 deps/openssl/openssl/test/testenc.com create mode 100644 deps/openssl/openssl/test/testgen create mode 100644 deps/openssl/openssl/test/testgen.com create mode 100644 deps/openssl/openssl/test/testp7.pem create mode 100644 deps/openssl/openssl/test/testreq2.pem create mode 100644 deps/openssl/openssl/test/testrsa.pem create mode 100644 deps/openssl/openssl/test/tests.com create mode 100644 deps/openssl/openssl/test/testsid.pem create mode 100644 deps/openssl/openssl/test/testss create mode 100644 deps/openssl/openssl/test/testss.com create mode 100644 deps/openssl/openssl/test/testssl create mode 100644 deps/openssl/openssl/test/testssl.com create mode 100644 deps/openssl/openssl/test/testsslproxy create mode 100644 deps/openssl/openssl/test/testtsa create mode 100644 deps/openssl/openssl/test/testtsa.com create mode 100644 deps/openssl/openssl/test/testx509.pem create mode 100644 deps/openssl/openssl/test/times create mode 100644 deps/openssl/openssl/test/tpkcs7 create mode 100644 deps/openssl/openssl/test/tpkcs7.com create mode 100644 deps/openssl/openssl/test/tpkcs7d create mode 100644 deps/openssl/openssl/test/tpkcs7d.com create mode 100644 deps/openssl/openssl/test/treq create mode 100644 deps/openssl/openssl/test/treq.com create mode 100644 deps/openssl/openssl/test/trsa create mode 100644 deps/openssl/openssl/test/trsa.com create mode 100644 deps/openssl/openssl/test/tsid create mode 100644 deps/openssl/openssl/test/tsid.com create mode 100644 deps/openssl/openssl/test/tverify.com create mode 100644 deps/openssl/openssl/test/tx509 create mode 100644 deps/openssl/openssl/test/tx509.com create mode 100644 deps/openssl/openssl/test/v3-cert1.pem create mode 100644 deps/openssl/openssl/test/v3-cert2.pem create mode 100644 deps/openssl/openssl/test/wp_test.c create mode 100644 deps/openssl/openssl/times/090/586-100.nt create mode 100644 deps/openssl/openssl/times/091/486-50.nt create mode 100644 deps/openssl/openssl/times/091/586-100.lnx create mode 100644 deps/openssl/openssl/times/091/68000.bsd create mode 100644 deps/openssl/openssl/times/091/686-200.lnx create mode 100644 deps/openssl/openssl/times/091/alpha064.osf create mode 100644 deps/openssl/openssl/times/091/alpha164.lnx create mode 100644 deps/openssl/openssl/times/091/alpha164.osf create mode 100644 deps/openssl/openssl/times/091/mips-rel.pl create mode 100644 deps/openssl/openssl/times/091/r10000.irx create mode 100644 deps/openssl/openssl/times/091/r3000.ult create mode 100644 deps/openssl/openssl/times/091/r4400.irx create mode 100644 deps/openssl/openssl/times/100.lnx create mode 100644 deps/openssl/openssl/times/100.nt create mode 100644 deps/openssl/openssl/times/200.lnx create mode 100644 deps/openssl/openssl/times/486-66.dos create mode 100644 deps/openssl/openssl/times/486-66.nt create mode 100644 deps/openssl/openssl/times/486-66.w31 create mode 100644 deps/openssl/openssl/times/5.lnx create mode 100644 deps/openssl/openssl/times/586-085i.nt create mode 100644 deps/openssl/openssl/times/586-100.LN3 create mode 100644 deps/openssl/openssl/times/586-100.NT2 create mode 100644 deps/openssl/openssl/times/586-100.dos create mode 100644 deps/openssl/openssl/times/586-100.ln4 create mode 100644 deps/openssl/openssl/times/586-100.lnx create mode 100644 deps/openssl/openssl/times/586-100.nt create mode 100644 deps/openssl/openssl/times/586-100.ntx create mode 100644 deps/openssl/openssl/times/586-100.w31 create mode 100644 deps/openssl/openssl/times/586-1002.lnx create mode 100644 deps/openssl/openssl/times/586p-100.lnx create mode 100644 deps/openssl/openssl/times/686-200.bsd create mode 100644 deps/openssl/openssl/times/686-200.lnx create mode 100644 deps/openssl/openssl/times/686-200.nt create mode 100644 deps/openssl/openssl/times/L1 create mode 100644 deps/openssl/openssl/times/R10000.t create mode 100644 deps/openssl/openssl/times/R4400.t create mode 100644 deps/openssl/openssl/times/aix.t create mode 100644 deps/openssl/openssl/times/aixold.t create mode 100644 deps/openssl/openssl/times/alpha.t create mode 100644 deps/openssl/openssl/times/alpha400.t create mode 100644 deps/openssl/openssl/times/cyrix100.lnx create mode 100644 deps/openssl/openssl/times/dgux-x86.t create mode 100644 deps/openssl/openssl/times/dgux.t create mode 100644 deps/openssl/openssl/times/hpux-acc.t create mode 100644 deps/openssl/openssl/times/hpux-kr.t create mode 100644 deps/openssl/openssl/times/hpux.t create mode 100644 deps/openssl/openssl/times/p2.w95 create mode 100644 deps/openssl/openssl/times/pent2.t create mode 100644 deps/openssl/openssl/times/readme create mode 100644 deps/openssl/openssl/times/s586-100.lnx create mode 100644 deps/openssl/openssl/times/s586-100.nt create mode 100644 deps/openssl/openssl/times/sgi.t create mode 100644 deps/openssl/openssl/times/sparc.t create mode 100644 deps/openssl/openssl/times/sparc2 create mode 100644 deps/openssl/openssl/times/sparcLX.t create mode 100644 deps/openssl/openssl/times/usparc.t create mode 100644 deps/openssl/openssl/times/x86/bfs.cpp create mode 100644 deps/openssl/openssl/times/x86/casts.cpp create mode 100644 deps/openssl/openssl/times/x86/des3s.cpp create mode 100644 deps/openssl/openssl/times/x86/dess.cpp create mode 100644 deps/openssl/openssl/times/x86/md4s.cpp create mode 100644 deps/openssl/openssl/times/x86/md5s.cpp create mode 100644 deps/openssl/openssl/times/x86/rc4s.cpp rename deps/openssl/openssl/{crypto/sha => times/x86}/sha1s.cpp (92%) create mode 100755 deps/openssl/openssl/util/FreeBSD.sh rename deps/openssl/openssl/{crypto/des/des_lib.c => util/add_cr.pl} (73%) mode change 100644 => 100755 create mode 100755 deps/openssl/openssl/util/bat.sh create mode 100755 deps/openssl/openssl/util/ck_errf.pl create mode 100755 deps/openssl/openssl/util/clean-depend.pl create mode 100644 deps/openssl/openssl/util/copy.pl create mode 100755 deps/openssl/openssl/util/cygwin.sh create mode 100755 deps/openssl/openssl/util/deleof.pl create mode 100644 deps/openssl/openssl/util/deltree.com create mode 100644 deps/openssl/openssl/util/dirname.pl create mode 100755 deps/openssl/openssl/util/do_ms.sh create mode 100755 deps/openssl/openssl/util/domd create mode 100755 deps/openssl/openssl/util/err-ins.pl create mode 100644 deps/openssl/openssl/util/extract-names.pl create mode 100644 deps/openssl/openssl/util/extract-section.pl create mode 100755 deps/openssl/openssl/util/files.pl create mode 100755 deps/openssl/openssl/util/fixNT.sh create mode 100755 deps/openssl/openssl/util/install.sh create mode 100755 deps/openssl/openssl/util/libeay.num create mode 100755 deps/openssl/openssl/util/mk1mf.pl create mode 100755 deps/openssl/openssl/util/mkcerts.sh create mode 100755 deps/openssl/openssl/util/mkdef.pl create mode 100755 deps/openssl/openssl/util/mkdir-p.pl create mode 100644 deps/openssl/openssl/util/mkerr.pl create mode 100755 deps/openssl/openssl/util/mkfiles.pl create mode 100755 deps/openssl/openssl/util/mklink.pl create mode 100644 deps/openssl/openssl/util/mkrc.pl create mode 100755 deps/openssl/openssl/util/mkstack.pl create mode 100755 deps/openssl/openssl/util/opensslwrap.sh create mode 100755 deps/openssl/openssl/util/perlpath.pl create mode 100644 deps/openssl/openssl/util/pl/BC-32.pl create mode 100644 deps/openssl/openssl/util/pl/Mingw32.pl create mode 100644 deps/openssl/openssl/util/pl/OS2-EMX.pl create mode 100644 deps/openssl/openssl/util/pl/VC-32.pl create mode 100644 deps/openssl/openssl/util/pl/linux.pl create mode 100644 deps/openssl/openssl/util/pl/netware.pl create mode 100644 deps/openssl/openssl/util/pl/ultrix.pl create mode 100644 deps/openssl/openssl/util/pl/unix.pl create mode 100755 deps/openssl/openssl/util/pod2man.pl create mode 100755 deps/openssl/openssl/util/pod2mantest create mode 100644 deps/openssl/openssl/util/pod2mantest.pod create mode 100755 deps/openssl/openssl/util/point.sh create mode 100644 deps/openssl/openssl/util/selftest.pl create mode 100755 deps/openssl/openssl/util/shlib_wrap.sh create mode 100755 deps/openssl/openssl/util/sp-diff.pl create mode 100755 deps/openssl/openssl/util/speed.sh create mode 100755 deps/openssl/openssl/util/src-dep.pl create mode 100755 deps/openssl/openssl/util/ssleay.num create mode 100755 deps/openssl/openssl/util/tab_num.pl create mode 100755 deps/openssl/openssl/util/x86asm.sh create mode 100644 deps/openssl/patches/empty_OPENSSL_cpuid_setup.patch create mode 100644 deps/openssl/patches/jsse.patch delete mode 100644 deps/openssl/patches/missing_stddef.patch rename deps/openssl/patches/{next_proto_neg.patch => npn.patch} (58%) create mode 100644 deps/openssl/patches/openssl_no_dtls1.patch delete mode 100644 deps/openssl/patches/posix_c_source.patch create mode 100644 deps/openssl/patches/progs.patch create mode 100644 deps/openssl/patches/sha1_armv4_large.patch create mode 100644 deps/openssl/patches/small_records.patch delete mode 100644 deps/openssl/patches/snap_start.patch create mode 100755 deps/openssl/patches/tls_exporter.patch create mode 100644 deps/openssl/patches/x509_hash_name_algorithm_change.patch diff --git a/deps/openssl/README.chromium b/deps/openssl/README.chromium index 83647756042..aec361b66dc 100644 --- a/deps/openssl/README.chromium +++ b/deps/openssl/README.chromium @@ -1,20 +1,34 @@ Name: openssl URL: http://openssl.org/source/ -Version: 0.9.8o +Version: 1.0.0f License: BSDish License File: openssl/LICENSE Description: -This is OpenSSL, the standard SSL/TLS library, which is used only for testing. +This is OpenSSL, the standard SSL/TLS library, which is used only in Android. + It's an unmodified, upstream source except for the patches listed below. -Patches are applied in this order: +******************************************************************************** +The following patches are taken from Android Open Source Project. + + +progs.patch: -missing_stddef.patch +Fixup sources under the apps/ directory that are not built under the android environment. -Add stddef.h to header files which use size_t, otherwise apps that include -those headers get compiler errors. + +small_records.patch: + +Reduce OpenSSL memory consumption. +SSL records may be as large as 16K, but are typically < 2K. In +addition, a historic bug in Windows allowed records to be as large +32K. OpenSSL statically allocates read and write buffers (34K and +18K respectively) used for processing records. +With this patch, OpenSSL statically allocates 4K + 4K buffers, with +the option of dynamically growing buffers to 34K + 4K, which is a +saving of 44K per connection for the typical case. handshake_cutthrough.patch @@ -25,24 +39,58 @@ clients can negotiate SSL connections in 1-RTT even when performing full-handshakes. -next_proto_neg.patch +jsse.patch + +Support for JSSE implementation based on OpenSSL. + + +npn.patch + +Transport Layer Security (TLS) Next Protocol Negotiation Extension + + +sha1_armv4_large.patch + +This patch eliminates memory stores to addresses below SP. + + +openssl_no_dtls1.patch + +Add missing #ifndef OPENSSL_NO_DTLS1 + + +******************************************************************************** +The following patches are needed to compile this openssl on Chromium and pass +the related net unit tests. + + +empty_OPENSSL_cpuid_setup.patch + +Use a empty implementation for function OPENSSL_cpuid_setup to resolve link +error. We should figure out how to geenrate platform specific implementation +of OPENSSL_cpuid_setup by leveraging crypto/*cpuid.pl. + -Adds next-protocol-negotation support: - http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-00 +x509_hash_name_algorithm_change.patch -EXPERIMENTAL: this patches uses extension and handshake numbers that are not -assigned by IANA. +There are many symbolic links under /etc/ssl/certs created by using hash of +the pem certificates in order for OpenSSL to find those certificate. +Openssl has a tool to help you create hash symbolic links. (See tools/c_rehash) +However the new openssl changed the hash algorithm, Unless you compile/install +the latest openssl library and re-create all related symbolic links, the new +openssl can not find some certificates because the links of those certificates +were created by using old hash algorithm, which causes some tests failed. +This patch gives a way to find a certificate according to its hash by using both +new algorithm and old algorithm. +crbug.com/111045 is used to track this issue. -This patch implements server and client side support. Additionally, it includes -code that assumes the structure of the 'opaque' protocol strings in the draft. +tls_exporter.patch -snap_start.patch +Keying Material Exporters for Transport Layer Security (RFC 5705). -Adds server-side support for Snap Start. This allows for 0-RTT handshakes in -the case that the application protocol involves the client side speaking first. -http://tools.ietf.org/html/draft-agl-tls-snapstart-00 +Android platform support -EXPERIMENTAL: this patches uses an extension number that is not assigned by -IANA. +Copy config/android/openssl/opensslconf.h from Android's +external/openssl/include/openssl/opensslconf.h diff --git a/deps/openssl/config/k8/openssl/opensslconf-posix.h b/deps/openssl/config/android/openssl/opensslconf.h similarity index 80% rename from deps/openssl/config/k8/openssl/opensslconf-posix.h rename to deps/openssl/config/android/openssl/opensslconf.h index f47e7b61747..26ac6ba3aa7 100644 --- a/deps/openssl/config/k8/openssl/opensslconf-posix.h +++ b/deps/openssl/config/android/openssl/opensslconf.h @@ -5,17 +5,8 @@ #ifndef OPENSSL_DOING_MAKEDEPEND -#ifndef OPENSSL_NO_CAMELLIA -# define OPENSSL_NO_CAMELLIA -#endif -#ifndef OPENSSL_NO_CAPIENG -# define OPENSSL_NO_CAPIENG -#endif -#ifndef OPENSSL_NO_CMS -# define OPENSSL_NO_CMS -#endif -#ifndef OPENSSL_NO_FIPS -# define OPENSSL_NO_FIPS +#ifndef OPENSSL_NO_CAST +# define OPENSSL_NO_CAST #endif #ifndef OPENSSL_NO_GMP # define OPENSSL_NO_GMP @@ -29,8 +20,8 @@ #ifndef OPENSSL_NO_KRB5 # define OPENSSL_NO_KRB5 #endif -#ifndef OPENSSL_NO_MDC2 -# define OPENSSL_NO_MDC2 +#ifndef OPENSSL_NO_MD2 +# define OPENSSL_NO_MD2 #endif #ifndef OPENSSL_NO_RC5 # define OPENSSL_NO_RC5 @@ -41,8 +32,14 @@ #ifndef OPENSSL_NO_SEED # define OPENSSL_NO_SEED #endif -#ifndef OPENSSL_NO_ASM -# define OPENSSL_NO_ASM +#ifndef OPENSSL_NO_SHA0 +# define OPENSSL_NO_SHA0 +#endif +#ifndef OPENSSL_NO_STORE +# define OPENSSL_NO_STORE +#endif +#ifndef OPENSSL_NO_WHRLPOOL +# define OPENSSL_NO_WHRLPOOL #endif #endif /* OPENSSL_DOING_MAKEDEPEND */ @@ -59,17 +56,8 @@ who haven't had the time to do the appropriate changes in their applications. */ #ifdef OPENSSL_ALGORITHM_DEFINES -# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) -# define NO_CAMELLIA -# endif -# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) -# define NO_CAPIENG -# endif -# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) -# define NO_CMS -# endif -# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS) -# define NO_FIPS +# if defined(OPENSSL_NO_CAST) && !defined(NO_CAST) +# define NO_CAST # endif # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) # define NO_GMP @@ -83,8 +71,8 @@ # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) # define NO_KRB5 # endif -# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) -# define NO_MDC2 +# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) +# define NO_MD2 # endif # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) # define NO_RC5 @@ -95,27 +83,19 @@ # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) # define NO_SEED # endif +# if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0) +# define NO_SHA0 +# endif +# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) +# define NO_STORE +# endif +# if defined(OPENSSL_NO_WHRLPOOL) && !defined(NO_WHRLPOOL) +# define NO_WHRLPOOL +# endif #endif -#define OPENSSL_CPUID_OBJ - /* crypto/opensslconf.h.in */ -#ifdef OPENSSL_DOING_MAKEDEPEND - -/* Include any symbols here that have to be explicitly set to enable a feature - * that should be visible to makedepend. - * - * [Our "make depend" doesn't actually look at this, we use actual build settings - * instead; we want to make it easy to remove subdirectories with disabled algorithms.] - */ - -#ifndef OPENSSL_FIPS -#define OPENSSL_FIPS -#endif - -#endif - /* Generate 80386 code? */ #undef I386_ONLY @@ -128,9 +108,6 @@ #undef OPENSSL_UNISTD #define OPENSSL_UNISTD -#if !defined(SWIG) -#include -#endif #undef OPENSSL_EXPORT_VAR_AS_FUNCTION @@ -156,7 +133,7 @@ * - Intel P6 because partial register stalls are very expensive; * - elder Alpha because it lacks byte load/store instructions; */ -#define RC4_INT unsigned int +#define RC4_INT unsigned char #endif #if !defined(RC4_CHUNK) /* @@ -177,19 +154,14 @@ #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) #define CONFIG_HEADER_BN_H -#undef BN_LLONG +#define BN_LLONG /* Should we define BN_DIV2W here? */ /* Only one for the following should be defined */ -/* The prime number generation stuff may not work when - * EIGHT_BIT but I don't care since I've only used this mode - * for debuging the bignum libraries */ -#define SIXTY_FOUR_BIT_LONG +#undef SIXTY_FOUR_BIT_LONG #undef SIXTY_FOUR_BIT -#undef THIRTY_TWO_BIT -#undef SIXTEEN_BIT -#undef EIGHT_BIT +#define THIRTY_TWO_BIT #endif #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) @@ -201,7 +173,7 @@ #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) #define CONFIG_HEADER_BF_LOCL_H -#undef BF_PTR +#define BF_PTR #endif /* HEADER_BF_LOCL_H */ #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) diff --git a/deps/openssl/config/k8/openssl/opensslconf-win32.h b/deps/openssl/config/k8/openssl/opensslconf-win32.h deleted file mode 100644 index c57a235ed4a..00000000000 --- a/deps/openssl/config/k8/openssl/opensslconf-win32.h +++ /dev/null @@ -1,262 +0,0 @@ -/* opensslconf.h */ -/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ - -/* OpenSSL was configured with the following options: */ -#ifndef OPENSSL_SYSNAME_WIN32 -# define OPENSSL_SYSNAME_WIN32 -#endif -#ifndef OPENSSL_DOING_MAKEDEPEND - - -#ifndef OPENSSL_NO_CAMELLIA -# define OPENSSL_NO_CAMELLIA -#endif -#ifndef OPENSSL_NO_CAPIENG -# define OPENSSL_NO_CAPIENG -#endif -#ifndef OPENSSL_NO_CMS -# define OPENSSL_NO_CMS -#endif -#ifndef OPENSSL_NO_GMP -# define OPENSSL_NO_GMP -#endif -#ifndef OPENSSL_NO_IDEA -# define OPENSSL_NO_IDEA -#endif -#ifndef OPENSSL_NO_JPAKE -# define OPENSSL_NO_JPAKE -#endif -#ifndef OPENSSL_NO_KRB5 -# define OPENSSL_NO_KRB5 -#endif -#ifndef OPENSSL_NO_MDC2 -# define OPENSSL_NO_MDC2 -#endif -#ifndef OPENSSL_NO_RC5 -# define OPENSSL_NO_RC5 -#endif -#ifndef OPENSSL_NO_RFC3779 -# define OPENSSL_NO_RFC3779 -#endif -#ifndef OPENSSL_NO_SEED -# define OPENSSL_NO_SEED -#endif - -#endif /* OPENSSL_DOING_MAKEDEPEND */ - -#ifndef OPENSSL_THREADS -# define OPENSSL_THREADS -#endif - -/* The OPENSSL_NO_* macros are also defined as NO_* if the application - asks for it. This is a transient feature that is provided for those - who haven't had the time to do the appropriate changes in their - applications. */ -#ifdef OPENSSL_ALGORITHM_DEFINES -# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) -# define NO_CAMELLIA -# endif -# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) -# define NO_CAPIENG -# endif -# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) -# define NO_CMS -# endif -# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) -# define NO_GMP -# endif -# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) -# define NO_JPAKE -# endif -# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) -# define NO_KRB5 -# endif -# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) -# define NO_MDC2 -# endif -# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) -# define NO_RC5 -# endif -# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) -# define NO_RFC3779 -# endif -# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) -# define NO_SEED -# endif -#endif - -/* crypto/opensslconf.h.in */ - -#ifdef OPENSSL_DOING_MAKEDEPEND - -/* Include any symbols here that have to be explicitly set to enable a feature - * that should be visible to makedepend. - * - * [Our "make depend" doesn't actually look at this, we use actual build settings - * instead; we want to make it easy to remove subdirectories with disabled algorithms.] - */ - -#ifndef OPENSSL_FIPS -#define OPENSSL_FIPS -#endif - -#endif - -/* Generate 80386 code? */ -#undef I386_ONLY - -#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ -#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) -#define ENGINESDIR "ssl/lib/engines" -#define OPENSSLDIR "ssl" -#endif -#endif - -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD - -#undef OPENSSL_EXPORT_VAR_AS_FUNCTION -#define OPENSSL_EXPORT_VAR_AS_FUNCTION - -#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) -#define IDEA_INT unsigned int -#endif - -#if defined(HEADER_MD2_H) && !defined(MD2_INT) -#define MD2_INT unsigned int -#endif - -#if defined(HEADER_RC2_H) && !defined(RC2_INT) -/* I need to put in a mod for the alpha - eay */ -#define RC2_INT unsigned int -#endif - -#if defined(HEADER_RC4_H) -#if !defined(RC4_INT) -/* using int types make the structure larger but make the code faster - * on most boxes I have tested - up to %20 faster. */ -/* - * I don't know what does "most" mean, but declaring "int" is a must on: - * - Intel P6 because partial register stalls are very expensive; - * - elder Alpha because it lacks byte load/store instructions; - */ -#define RC4_INT unsigned int -#endif -#if !defined(RC4_CHUNK) -/* - * This enables code handling data aligned at natural CPU word - * boundary. See crypto/rc4/rc4_enc.c for further details. - */ -#define RC4_CHUNK unsigned long long -#endif -#endif - -#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) -/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a - * %20 speed up (longs are 8 bytes, int's are 4). */ -#ifndef DES_LONG -#define DES_LONG unsigned int -#endif -#endif - -#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) -#define CONFIG_HEADER_BN_H -#undef BN_LLONG - -/* Should we define BN_DIV2W here? */ - -/* Only one for the following should be defined */ -/* The prime number generation stuff may not work when - * EIGHT_BIT but I don't care since I've only used this mode - * for debuging the bignum libraries */ -#undef SIXTY_FOUR_BIT_LONG -#define SIXTY_FOUR_BIT -#undef THIRTY_TWO_BIT -#undef SIXTEEN_BIT -#undef EIGHT_BIT -#endif - -#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) -#define CONFIG_HEADER_RC4_LOCL_H -/* if this is defined data[i] is used instead of *data, this is a %20 - * speedup on x86 */ -#undef RC4_INDEX -#endif - -#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) -#define CONFIG_HEADER_BF_LOCL_H -#undef BF_PTR -#endif /* HEADER_BF_LOCL_H */ - -#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) -#define CONFIG_HEADER_DES_LOCL_H -#ifndef DES_DEFAULT_OPTIONS -/* the following is tweaked from a config script, that is why it is a - * protected undef/define */ -#ifndef DES_PTR -#undef DES_PTR -#endif - -/* This helps C compiler generate the correct code for multiple functional - * units. It reduces register dependancies at the expense of 2 more - * registers */ -#ifndef DES_RISC1 -#undef DES_RISC1 -#endif - -#ifndef DES_RISC2 -#undef DES_RISC2 -#endif - -#if defined(DES_RISC1) && defined(DES_RISC2) -YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! -#endif - -/* Unroll the inner loop, this sometimes helps, sometimes hinders. - * Very mucy CPU dependant */ -#ifndef DES_UNROLL -#undef DES_UNROLL -#endif - -/* These default values were supplied by - * Peter Gutman - * They are only used if nothing else has been defined */ -#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) -/* Special defines which change the way the code is built depending on the - CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find - even newer MIPS CPU's, but at the moment one size fits all for - optimization options. Older Sparc's work better with only UNROLL, but - there's no way to tell at compile time what it is you're running on */ - -#if defined( sun ) /* Newer Sparc's */ -# define DES_PTR -# define DES_RISC1 -# define DES_UNROLL -#elif defined( __ultrix ) /* Older MIPS */ -# define DES_PTR -# define DES_RISC2 -# define DES_UNROLL -#elif defined( __osf1__ ) /* Alpha */ -# define DES_PTR -# define DES_RISC2 -#elif defined ( _AIX ) /* RS6000 */ - /* Unknown */ -#elif defined( __hpux ) /* HP-PA */ - /* Unknown */ -#elif defined( __aux ) /* 68K */ - /* Unknown */ -#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ -# define DES_UNROLL -#elif defined( __sgi ) /* Newer MIPS */ -# define DES_PTR -# define DES_RISC2 -# define DES_UNROLL -#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ -# define DES_PTR -# define DES_RISC1 -# define DES_UNROLL -#endif /* Systems-specific speed defines */ -#endif - -#endif /* DES_DEFAULT_OPTIONS */ -#endif /* HEADER_DES_LOCL_H */ diff --git a/deps/openssl/config/k8/openssl/opensslconf.h b/deps/openssl/config/k8/openssl/opensslconf.h index 0ea58de1bce..f47e7b61747 100644 --- a/deps/openssl/config/k8/openssl/opensslconf.h +++ b/deps/openssl/config/k8/openssl/opensslconf.h @@ -1,5 +1,278 @@ -#ifdef WIN32 -#include "opensslconf-win32.h" -#else -#include "opensslconf-posix.h" +/* opensslconf.h */ +/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ + +/* OpenSSL was configured with the following options: */ +#ifndef OPENSSL_DOING_MAKEDEPEND + + +#ifndef OPENSSL_NO_CAMELLIA +# define OPENSSL_NO_CAMELLIA #endif +#ifndef OPENSSL_NO_CAPIENG +# define OPENSSL_NO_CAPIENG +#endif +#ifndef OPENSSL_NO_CMS +# define OPENSSL_NO_CMS +#endif +#ifndef OPENSSL_NO_FIPS +# define OPENSSL_NO_FIPS +#endif +#ifndef OPENSSL_NO_GMP +# define OPENSSL_NO_GMP +#endif +#ifndef OPENSSL_NO_IDEA +# define OPENSSL_NO_IDEA +#endif +#ifndef OPENSSL_NO_JPAKE +# define OPENSSL_NO_JPAKE +#endif +#ifndef OPENSSL_NO_KRB5 +# define OPENSSL_NO_KRB5 +#endif +#ifndef OPENSSL_NO_MDC2 +# define OPENSSL_NO_MDC2 +#endif +#ifndef OPENSSL_NO_RC5 +# define OPENSSL_NO_RC5 +#endif +#ifndef OPENSSL_NO_RFC3779 +# define OPENSSL_NO_RFC3779 +#endif +#ifndef OPENSSL_NO_SEED +# define OPENSSL_NO_SEED +#endif +#ifndef OPENSSL_NO_ASM +# define OPENSSL_NO_ASM +#endif + +#endif /* OPENSSL_DOING_MAKEDEPEND */ + +#ifndef OPENSSL_THREADS +# define OPENSSL_THREADS +#endif +#ifndef OPENSSL_NO_DYNAMIC_ENGINE +# define OPENSSL_NO_DYNAMIC_ENGINE +#endif + +/* The OPENSSL_NO_* macros are also defined as NO_* if the application + asks for it. This is a transient feature that is provided for those + who haven't had the time to do the appropriate changes in their + applications. */ +#ifdef OPENSSL_ALGORITHM_DEFINES +# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) +# define NO_CAMELLIA +# endif +# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) +# define NO_CAPIENG +# endif +# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) +# define NO_CMS +# endif +# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS) +# define NO_FIPS +# endif +# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) +# define NO_GMP +# endif +# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) +# define NO_IDEA +# endif +# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) +# define NO_JPAKE +# endif +# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) +# define NO_KRB5 +# endif +# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) +# define NO_MDC2 +# endif +# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) +# define NO_RC5 +# endif +# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) +# define NO_RFC3779 +# endif +# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) +# define NO_SEED +# endif +#endif + +#define OPENSSL_CPUID_OBJ + +/* crypto/opensslconf.h.in */ + +#ifdef OPENSSL_DOING_MAKEDEPEND + +/* Include any symbols here that have to be explicitly set to enable a feature + * that should be visible to makedepend. + * + * [Our "make depend" doesn't actually look at this, we use actual build settings + * instead; we want to make it easy to remove subdirectories with disabled algorithms.] + */ + +#ifndef OPENSSL_FIPS +#define OPENSSL_FIPS +#endif + +#endif + +/* Generate 80386 code? */ +#undef I386_ONLY + +#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ +#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) +#define ENGINESDIR "/usr/local/ssl/lib/engines" +#define OPENSSLDIR "/usr/local/ssl" +#endif +#endif + +#undef OPENSSL_UNISTD +#define OPENSSL_UNISTD +#if !defined(SWIG) +#include +#endif + +#undef OPENSSL_EXPORT_VAR_AS_FUNCTION + +#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) +#define IDEA_INT unsigned int +#endif + +#if defined(HEADER_MD2_H) && !defined(MD2_INT) +#define MD2_INT unsigned int +#endif + +#if defined(HEADER_RC2_H) && !defined(RC2_INT) +/* I need to put in a mod for the alpha - eay */ +#define RC2_INT unsigned int +#endif + +#if defined(HEADER_RC4_H) +#if !defined(RC4_INT) +/* using int types make the structure larger but make the code faster + * on most boxes I have tested - up to %20 faster. */ +/* + * I don't know what does "most" mean, but declaring "int" is a must on: + * - Intel P6 because partial register stalls are very expensive; + * - elder Alpha because it lacks byte load/store instructions; + */ +#define RC4_INT unsigned int +#endif +#if !defined(RC4_CHUNK) +/* + * This enables code handling data aligned at natural CPU word + * boundary. See crypto/rc4/rc4_enc.c for further details. + */ +#define RC4_CHUNK unsigned long +#endif +#endif + +#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) +/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a + * %20 speed up (longs are 8 bytes, int's are 4). */ +#ifndef DES_LONG +#define DES_LONG unsigned int +#endif +#endif + +#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) +#define CONFIG_HEADER_BN_H +#undef BN_LLONG + +/* Should we define BN_DIV2W here? */ + +/* Only one for the following should be defined */ +/* The prime number generation stuff may not work when + * EIGHT_BIT but I don't care since I've only used this mode + * for debuging the bignum libraries */ +#define SIXTY_FOUR_BIT_LONG +#undef SIXTY_FOUR_BIT +#undef THIRTY_TWO_BIT +#undef SIXTEEN_BIT +#undef EIGHT_BIT +#endif + +#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) +#define CONFIG_HEADER_RC4_LOCL_H +/* if this is defined data[i] is used instead of *data, this is a %20 + * speedup on x86 */ +#undef RC4_INDEX +#endif + +#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) +#define CONFIG_HEADER_BF_LOCL_H +#undef BF_PTR +#endif /* HEADER_BF_LOCL_H */ + +#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) +#define CONFIG_HEADER_DES_LOCL_H +#ifndef DES_DEFAULT_OPTIONS +/* the following is tweaked from a config script, that is why it is a + * protected undef/define */ +#ifndef DES_PTR +#undef DES_PTR +#endif + +/* This helps C compiler generate the correct code for multiple functional + * units. It reduces register dependancies at the expense of 2 more + * registers */ +#ifndef DES_RISC1 +#undef DES_RISC1 +#endif + +#ifndef DES_RISC2 +#undef DES_RISC2 +#endif + +#if defined(DES_RISC1) && defined(DES_RISC2) +YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! +#endif + +/* Unroll the inner loop, this sometimes helps, sometimes hinders. + * Very mucy CPU dependant */ +#ifndef DES_UNROLL +#define DES_UNROLL +#endif + +/* These default values were supplied by + * Peter Gutman + * They are only used if nothing else has been defined */ +#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) +/* Special defines which change the way the code is built depending on the + CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find + even newer MIPS CPU's, but at the moment one size fits all for + optimization options. Older Sparc's work better with only UNROLL, but + there's no way to tell at compile time what it is you're running on */ + +#if defined( sun ) /* Newer Sparc's */ +# define DES_PTR +# define DES_RISC1 +# define DES_UNROLL +#elif defined( __ultrix ) /* Older MIPS */ +# define DES_PTR +# define DES_RISC2 +# define DES_UNROLL +#elif defined( __osf1__ ) /* Alpha */ +# define DES_PTR +# define DES_RISC2 +#elif defined ( _AIX ) /* RS6000 */ + /* Unknown */ +#elif defined( __hpux ) /* HP-PA */ + /* Unknown */ +#elif defined( __aux ) /* 68K */ + /* Unknown */ +#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ +# define DES_UNROLL +#elif defined( __sgi ) /* Newer MIPS */ +# define DES_PTR +# define DES_RISC2 +# define DES_UNROLL +#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ +# define DES_PTR +# define DES_RISC1 +# define DES_UNROLL +#endif /* Systems-specific speed defines */ +#endif + +#endif /* DES_DEFAULT_OPTIONS */ +#endif /* HEADER_DES_LOCL_H */ diff --git a/deps/openssl/config/piii/openssl/opensslconf-posix.h b/deps/openssl/config/piii/openssl/opensslconf-posix.h deleted file mode 100644 index 9f87f271f05..00000000000 --- a/deps/openssl/config/piii/openssl/opensslconf-posix.h +++ /dev/null @@ -1,290 +0,0 @@ -/* opensslconf.h */ -/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ - -/* OpenSSL was configured with the following options: */ -#ifndef OPENSSL_DOING_MAKEDEPEND - - -#ifndef OPENSSL_NO_CAMELLIA -# define OPENSSL_NO_CAMELLIA -#endif -#ifndef OPENSSL_NO_CAPIENG -# define OPENSSL_NO_CAPIENG -#endif -#ifndef OPENSSL_NO_CMS -# define OPENSSL_NO_CMS -#endif -#ifndef OPENSSL_NO_FIPS -# define OPENSSL_NO_FIPS -#endif -#ifndef OPENSSL_NO_GMP -# define OPENSSL_NO_GMP -#endif -#ifndef OPENSSL_NO_IDEA -# define OPENSSL_NO_IDEA -#endif -#ifndef OPENSSL_NO_JPAKE -# define OPENSSL_NO_JPAKE -#endif -#ifndef OPENSSL_NO_KRB5 -# define OPENSSL_NO_KRB5 -#endif -#ifndef OPENSSL_NO_MDC2 -# define OPENSSL_NO_MDC2 -#endif -#ifndef OPENSSL_NO_RC5 -# define OPENSSL_NO_RC5 -#endif -#ifndef OPENSSL_NO_RFC3779 -# define OPENSSL_NO_RFC3779 -#endif -#ifndef OPENSSL_NO_SEED -# define OPENSSL_NO_SEED -#endif -#ifndef OPENSSL_NO_ASM -# define OPENSSL_NO_ASM -#endif - -#endif /* OPENSSL_DOING_MAKEDEPEND */ - -#ifndef OPENSSL_THREADS -# define OPENSSL_THREADS -#endif -#ifndef OPENSSL_NO_DYNAMIC_ENGINE -# define OPENSSL_NO_DYNAMIC_ENGINE -#endif - -/* The OPENSSL_NO_* macros are also defined as NO_* if the application - asks for it. This is a transient feature that is provided for those - who haven't had the time to do the appropriate changes in their - applications. */ -#ifdef OPENSSL_ALGORITHM_DEFINES -# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) -# define NO_CAMELLIA -# endif -# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) -# define NO_CAPIENG -# endif -# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) -# define NO_CMS -# endif -# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS) -# define NO_FIPS -# endif -# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) -# define NO_GMP -# endif -# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) -# define NO_IDEA -# endif -# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) -# define NO_JPAKE -# endif -# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) -# define NO_KRB5 -# endif -# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) -# define NO_MDC2 -# endif -# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) -# define NO_RC5 -# endif -# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) -# define NO_RFC3779 -# endif -# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) -# define NO_SEED -# endif -#endif - -#define OPENSSL_CPUID_OBJ - -/* crypto/opensslconf.h.in */ - -#ifdef OPENSSL_DOING_MAKEDEPEND - -/* Include any symbols here that have to be explicitly set to enable a feature - * that should be visible to makedepend. - * - * [Our "make depend" doesn't actually look at this, we use actual build settings - * instead; we want to make it easy to remove subdirectories with disabled algorithms.] - */ - -#ifndef OPENSSL_FIPS -#define OPENSSL_FIPS -#endif - -#endif - -/* Generate 80386 code? */ -#undef I386_ONLY - -#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ -#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) -#define ENGINESDIR "/usr/local/ssl/lib/engines" -#define OPENSSLDIR "/usr/local/ssl" -#endif -#endif - -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD -#if !defined(SWIG) -#include -#endif - -#undef OPENSSL_EXPORT_VAR_AS_FUNCTION - -#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) -#define IDEA_INT unsigned int -#endif - -#if defined(HEADER_MD2_H) && !defined(MD2_INT) -#define MD2_INT unsigned int -#endif - -#if defined(HEADER_RC2_H) && !defined(RC2_INT) -/* I need to put in a mod for the alpha - eay */ -#define RC2_INT unsigned int -#endif - -#if defined(HEADER_RC4_H) -#if !defined(RC4_INT) -/* using int types make the structure larger but make the code faster - * on most boxes I have tested - up to %20 faster. */ -/* - * I don't know what does "most" mean, but declaring "int" is a must on: - * - Intel P6 because partial register stalls are very expensive; - * - elder Alpha because it lacks byte load/store instructions; - */ -#define RC4_INT unsigned int -#endif -#if !defined(RC4_CHUNK) -/* - * This enables code handling data aligned at natural CPU word - * boundary. See crypto/rc4/rc4_enc.c for further details. - */ -#undef RC4_CHUNK -#endif -#endif - -#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) -/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a - * %20 speed up (longs are 8 bytes, int's are 4). */ -#ifndef DES_LONG -#define DES_LONG unsigned long -#endif -#endif - -#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) -#define CONFIG_HEADER_BN_H -#define BN_LLONG - -/* Should we define BN_DIV2W here? */ - -/* Only one for the following should be defined */ -/* The prime number generation stuff may not work when - * EIGHT_BIT but I don't care since I've only used this mode - * for debuging the bignum libraries */ -#undef SIXTY_FOUR_BIT_LONG -#undef SIXTY_FOUR_BIT -#undef THIRTY_TWO_BIT -#undef SIXTEEN_BIT -#undef EIGHT_BIT - -/* Let's hope ARM never releases a 64 bits CPU... */ -#if __x86_64__ -# define SIXTY_FOUR_BIT -#else -# define THIRTY_TWO_BIT -#endif - -#endif /* defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) */ - -#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) -#define CONFIG_HEADER_RC4_LOCL_H -/* if this is defined data[i] is used instead of *data, this is a %20 - * speedup on x86 */ -#define RC4_INDEX -#endif - -#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) -#define CONFIG_HEADER_BF_LOCL_H -#undef BF_PTR -#endif /* HEADER_BF_LOCL_H */ - -#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) -#define CONFIG_HEADER_DES_LOCL_H -#ifndef DES_DEFAULT_OPTIONS -/* the following is tweaked from a config script, that is why it is a - * protected undef/define */ -#ifndef DES_PTR -#define DES_PTR -#endif - -#if __x86_64__ -#undef DES_PTR -#endif - -/* This helps C compiler generate the correct code for multiple functional - * units. It reduces register dependancies at the expense of 2 more - * registers */ -#ifndef DES_RISC1 -#define DES_RISC1 -#endif - -#ifndef DES_RISC2 -#undef DES_RISC2 -#endif - -#if defined(DES_RISC1) && defined(DES_RISC2) -YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! -#endif - -/* Unroll the inner loop, this sometimes helps, sometimes hinders. - * Very mucy CPU dependant */ -#ifndef DES_UNROLL -#define DES_UNROLL -#endif - -/* These default values were supplied by - * Peter Gutman - * They are only used if nothing else has been defined */ -#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) -/* Special defines which change the way the code is built depending on the - CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find - even newer MIPS CPU's, but at the moment one size fits all for - optimization options. Older Sparc's work better with only UNROLL, but - there's no way to tell at compile time what it is you're running on */ - -#if defined( sun ) /* Newer Sparc's */ -# define DES_PTR -# define DES_RISC1 -# define DES_UNROLL -#elif defined( __ultrix ) /* Older MIPS */ -# define DES_PTR -# define DES_RISC2 -# define DES_UNROLL -#elif defined( __osf1__ ) /* Alpha */ -# define DES_PTR -# define DES_RISC2 -#elif defined ( _AIX ) /* RS6000 */ - /* Unknown */ -#elif defined( __hpux ) /* HP-PA */ - /* Unknown */ -#elif defined( __aux ) /* 68K */ - /* Unknown */ -#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ -# define DES_UNROLL -#elif defined( __sgi ) /* Newer MIPS */ -# define DES_PTR -# define DES_RISC2 -# define DES_UNROLL -#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ -# define DES_PTR -# define DES_RISC1 -# define DES_UNROLL -#endif /* Systems-specific speed defines */ -#endif - -#endif /* DES_DEFAULT_OPTIONS */ -#endif /* HEADER_DES_LOCL_H */ diff --git a/deps/openssl/config/piii/openssl/opensslconf-win32.h b/deps/openssl/config/piii/openssl/opensslconf-win32.h deleted file mode 100644 index c27b4924271..00000000000 --- a/deps/openssl/config/piii/openssl/opensslconf-win32.h +++ /dev/null @@ -1,279 +0,0 @@ -/* opensslconf.h */ -/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ - -/* OpenSSL was configured with the following options: */ -#ifndef OPENSSL_SYSNAME_WIN32 -# define OPENSSL_SYSNAME_WIN32 -#endif -#ifndef OPENSSL_DOING_MAKEDEPEND - - -#ifndef OPENSSL_NO_CAMELLIA -# define OPENSSL_NO_CAMELLIA -#endif -#ifndef OPENSSL_NO_CAPIENG -# define OPENSSL_NO_CAPIENG -#endif -#ifndef OPENSSL_NO_CMS -# define OPENSSL_NO_CMS -#endif -#ifndef OPENSSL_NO_FIPS -# define OPENSSL_NO_FIPS -#endif -#ifndef OPENSSL_NO_GMP -# define OPENSSL_NO_GMP -#endif -#ifndef OPENSSL_NO_IDEA -# define OPENSSL_NO_IDEA -#endif -#ifndef OPENSSL_NO_JPAKE -# define OPENSSL_NO_JPAKE -#endif -#ifndef OPENSSL_NO_KRB5 -# define OPENSSL_NO_KRB5 -#endif -#ifndef OPENSSL_NO_MDC2 -# define OPENSSL_NO_MDC2 -#endif -#ifndef OPENSSL_NO_RC5 -# define OPENSSL_NO_RC5 -#endif -#ifndef OPENSSL_NO_RFC3779 -# define OPENSSL_NO_RFC3779 -#endif -#ifndef OPENSSL_NO_SEED -# define OPENSSL_NO_SEED -#endif -#ifndef OPENSSL_NO_ASM -# define OPENSSL_NO_ASM -#endif - -#endif /* OPENSSL_DOING_MAKEDEPEND */ - -#ifndef OPENSSL_THREADS -# define OPENSSL_THREADS -#endif -#ifndef OPENSSL_NO_DYNAMIC_ENGINE -# define OPENSSL_NO_DYNAMIC_ENGINE -#endif - -/* The OPENSSL_NO_* macros are also defined as NO_* if the application - asks for it. This is a transient feature that is provided for those - who haven't had the time to do the appropriate changes in their - applications. */ -#ifdef OPENSSL_ALGORITHM_DEFINES -# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) -# define NO_CAMELLIA -# endif -# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) -# define NO_CAPIENG -# endif -# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) -# define NO_CMS -# endif -# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS) -# define NO_FIPS -# endif -# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) -# define NO_GMP -# endif -# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) -# define NO_IDEA -# endif -# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) -# define NO_JPAKE -# endif -# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) -# define NO_KRB5 -# endif -# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) -# define NO_MDC2 -# endif -# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) -# define NO_RC5 -# endif -# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) -# define NO_RFC3779 -# endif -# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) -# define NO_SEED -# endif -#endif - -#define OPENSSL_CPUID_OBJ - -/* crypto/opensslconf.h.in */ - -#ifdef OPENSSL_DOING_MAKEDEPEND - -/* Include any symbols here that have to be explicitly set to enable a feature - * that should be visible to makedepend. - * - * [Our "make depend" doesn't actually look at this, we use actual build settings - * instead; we want to make it easy to remove subdirectories with disabled algorithms.] - */ - -#ifndef OPENSSL_FIPS -#define OPENSSL_FIPS -#endif - -#endif - -/* Generate 80386 code? */ -#undef I386_ONLY - -#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ -#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) -#define ENGINESDIR "ssl/lib/engines" -#define OPENSSLDIR "ssl" -#endif -#endif - -#undef OPENSSL_UNISTD -#define OPENSSL_UNISTD - -#undef OPENSSL_EXPORT_VAR_AS_FUNCTION -#define OPENSSL_EXPORT_VAR_AS_FUNCTION - -#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) -#define IDEA_INT unsigned int -#endif - -#if defined(HEADER_MD2_H) && !defined(MD2_INT) -#define MD2_INT unsigned int -#endif - -#if defined(HEADER_RC2_H) && !defined(RC2_INT) -/* I need to put in a mod for the alpha - eay */ -#define RC2_INT unsigned int -#endif - -#if defined(HEADER_RC4_H) -#if !defined(RC4_INT) -/* using int types make the structure larger but make the code faster - * on most boxes I have tested - up to %20 faster. */ -/* - * I don't know what does "most" mean, but declaring "int" is a must on: - * - Intel P6 because partial register stalls are very expensive; - * - elder Alpha because it lacks byte load/store instructions; - */ -#define RC4_INT unsigned int -#endif -#if !defined(RC4_CHUNK) -/* - * This enables code handling data aligned at natural CPU word - * boundary. See crypto/rc4/rc4_enc.c for further details. - */ -#undef RC4_CHUNK -#endif -#endif - -#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) -/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a - * %20 speed up (longs are 8 bytes, int's are 4). */ -#ifndef DES_LONG -#define DES_LONG unsigned long -#endif -#endif - -#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) -#define CONFIG_HEADER_BN_H -#define BN_LLONG - -/* Should we define BN_DIV2W here? */ - -/* Only one for the following should be defined */ -/* The prime number generation stuff may not work when - * EIGHT_BIT but I don't care since I've only used this mode - * for debuging the bignum libraries */ -#undef SIXTY_FOUR_BIT_LONG -#undef SIXTY_FOUR_BIT -#define THIRTY_TWO_BIT -#undef SIXTEEN_BIT -#undef EIGHT_BIT -#endif - -#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) -#define CONFIG_HEADER_RC4_LOCL_H -/* if this is defined data[i] is used instead of *data, this is a %20 - * speedup on x86 */ -#define RC4_INDEX -#endif - -#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) -#define CONFIG_HEADER_BF_LOCL_H -#undef BF_PTR -#endif /* HEADER_BF_LOCL_H */ - -#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) -#define CONFIG_HEADER_DES_LOCL_H -#ifndef DES_DEFAULT_OPTIONS -/* the following is tweaked from a config script, that is why it is a - * protected undef/define */ -#ifndef DES_PTR -#undef DES_PTR -#endif - -/* This helps C compiler generate the correct code for multiple functional - * units. It reduces register dependancies at the expense of 2 more - * registers */ -#ifndef DES_RISC1 -#undef DES_RISC1 -#endif - -#ifndef DES_RISC2 -#undef DES_RISC2 -#endif - -#if defined(DES_RISC1) && defined(DES_RISC2) -YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! -#endif - -/* Unroll the inner loop, this sometimes helps, sometimes hinders. - * Very mucy CPU dependant */ -#ifndef DES_UNROLL -#undef DES_UNROLL -#endif - -/* These default values were supplied by - * Peter Gutman - * They are only used if nothing else has been defined */ -#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) -/* Special defines which change the way the code is built depending on the - CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find - even newer MIPS CPU's, but at the moment one size fits all for - optimization options. Older Sparc's work better with only UNROLL, but - there's no way to tell at compile time what it is you're running on */ - -#if defined( sun ) /* Newer Sparc's */ -# define DES_PTR -# define DES_RISC1 -# define DES_UNROLL -#elif defined( __ultrix ) /* Older MIPS */ -# define DES_PTR -# define DES_RISC2 -# define DES_UNROLL -#elif defined( __osf1__ ) /* Alpha */ -# define DES_PTR -# define DES_RISC2 -#elif defined ( _AIX ) /* RS6000 */ - /* Unknown */ -#elif defined( __hpux ) /* HP-PA */ - /* Unknown */ -#elif defined( __aux ) /* 68K */ - /* Unknown */ -#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ -# define DES_UNROLL -#elif defined( __sgi ) /* Newer MIPS */ -# define DES_PTR -# define DES_RISC2 -# define DES_UNROLL -#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ -# define DES_PTR -# define DES_RISC1 -# define DES_UNROLL -#endif /* Systems-specific speed defines */ -#endif - -#endif /* DES_DEFAULT_OPTIONS */ -#endif /* HEADER_DES_LOCL_H */ diff --git a/deps/openssl/config/piii/openssl/opensslconf.h b/deps/openssl/config/piii/openssl/opensslconf.h index 0ea58de1bce..9725efadae4 100644 --- a/deps/openssl/config/piii/openssl/opensslconf.h +++ b/deps/openssl/config/piii/openssl/opensslconf.h @@ -1,5 +1,278 @@ -#ifdef WIN32 -#include "opensslconf-win32.h" -#else -#include "opensslconf-posix.h" +/* opensslconf.h */ +/* WARNING: Generated automatically from opensslconf.h.in by Configure. */ + +/* OpenSSL was configured with the following options: */ +#ifndef OPENSSL_DOING_MAKEDEPEND + + +#ifndef OPENSSL_NO_CAMELLIA +# define OPENSSL_NO_CAMELLIA #endif +#ifndef OPENSSL_NO_CAPIENG +# define OPENSSL_NO_CAPIENG +#endif +#ifndef OPENSSL_NO_CMS +# define OPENSSL_NO_CMS +#endif +#ifndef OPENSSL_NO_FIPS +# define OPENSSL_NO_FIPS +#endif +#ifndef OPENSSL_NO_GMP +# define OPENSSL_NO_GMP +#endif +#ifndef OPENSSL_NO_IDEA +# define OPENSSL_NO_IDEA +#endif +#ifndef OPENSSL_NO_JPAKE +# define OPENSSL_NO_JPAKE +#endif +#ifndef OPENSSL_NO_KRB5 +# define OPENSSL_NO_KRB5 +#endif +#ifndef OPENSSL_NO_MDC2 +# define OPENSSL_NO_MDC2 +#endif +#ifndef OPENSSL_NO_RC5 +# define OPENSSL_NO_RC5 +#endif +#ifndef OPENSSL_NO_RFC3779 +# define OPENSSL_NO_RFC3779 +#endif +#ifndef OPENSSL_NO_SEED +# define OPENSSL_NO_SEED +#endif +#ifndef OPENSSL_NO_ASM +# define OPENSSL_NO_ASM +#endif + +#endif /* OPENSSL_DOING_MAKEDEPEND */ + +#ifndef OPENSSL_THREADS +# define OPENSSL_THREADS +#endif +#ifndef OPENSSL_NO_DYNAMIC_ENGINE +# define OPENSSL_NO_DYNAMIC_ENGINE +#endif + +/* The OPENSSL_NO_* macros are also defined as NO_* if the application + asks for it. This is a transient feature that is provided for those + who haven't had the time to do the appropriate changes in their + applications. */ +#ifdef OPENSSL_ALGORITHM_DEFINES +# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) +# define NO_CAMELLIA +# endif +# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG) +# define NO_CAPIENG +# endif +# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) +# define NO_CMS +# endif +# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS) +# define NO_FIPS +# endif +# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) +# define NO_GMP +# endif +# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) +# define NO_IDEA +# endif +# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) +# define NO_JPAKE +# endif +# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) +# define NO_KRB5 +# endif +# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) +# define NO_MDC2 +# endif +# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) +# define NO_RC5 +# endif +# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) +# define NO_RFC3779 +# endif +# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) +# define NO_SEED +# endif +#endif + +#define OPENSSL_CPUID_OBJ + +/* crypto/opensslconf.h.in */ + +#ifdef OPENSSL_DOING_MAKEDEPEND + +/* Include any symbols here that have to be explicitly set to enable a feature + * that should be visible to makedepend. + * + * [Our "make depend" doesn't actually look at this, we use actual build settings + * instead; we want to make it easy to remove subdirectories with disabled algorithms.] + */ + +#ifndef OPENSSL_FIPS +#define OPENSSL_FIPS +#endif + +#endif + +/* Generate 80386 code? */ +#undef I386_ONLY + +#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ +#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) +#define ENGINESDIR "/usr/local/ssl/lib/engines" +#define OPENSSLDIR "/usr/local/ssl" +#endif +#endif + +#undef OPENSSL_UNISTD +#define OPENSSL_UNISTD +#if !defined(SWIG) +#include +#endif + +#undef OPENSSL_EXPORT_VAR_AS_FUNCTION + +#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) +#define IDEA_INT unsigned int +#endif + +#if defined(HEADER_MD2_H) && !defined(MD2_INT) +#define MD2_INT unsigned int +#endif + +#if defined(HEADER_RC2_H) && !defined(RC2_INT) +/* I need to put in a mod for the alpha - eay */ +#define RC2_INT unsigned int +#endif + +#if defined(HEADER_RC4_H) +#if !defined(RC4_INT) +/* using int types make the structure larger but make the code faster + * on most boxes I have tested - up to %20 faster. */ +/* + * I don't know what does "most" mean, but declaring "int" is a must on: + * - Intel P6 because partial register stalls are very expensive; + * - elder Alpha because it lacks byte load/store instructions; + */ +#define RC4_INT unsigned int +#endif +#if !defined(RC4_CHUNK) +/* + * This enables code handling data aligned at natural CPU word + * boundary. See crypto/rc4/rc4_enc.c for further details. + */ +#undef RC4_CHUNK +#endif +#endif + +#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) +/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a + * %20 speed up (longs are 8 bytes, int's are 4). */ +#ifndef DES_LONG +#define DES_LONG unsigned long +#endif +#endif + +#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) +#define CONFIG_HEADER_BN_H +#define BN_LLONG + +/* Should we define BN_DIV2W here? */ + +/* Only one for the following should be defined */ +/* The prime number generation stuff may not work when + * EIGHT_BIT but I don't care since I've only used this mode + * for debuging the bignum libraries */ +#undef SIXTY_FOUR_BIT_LONG +#undef SIXTY_FOUR_BIT +#define THIRTY_TWO_BIT +#undef SIXTEEN_BIT +#undef EIGHT_BIT +#endif + +#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) +#define CONFIG_HEADER_RC4_LOCL_H +/* if this is defined data[i] is used instead of *data, this is a %20 + * speedup on x86 */ +#define RC4_INDEX +#endif + +#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) +#define CONFIG_HEADER_BF_LOCL_H +#undef BF_PTR +#endif /* HEADER_BF_LOCL_H */ + +#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) +#define CONFIG_HEADER_DES_LOCL_H +#ifndef DES_DEFAULT_OPTIONS +/* the following is tweaked from a config script, that is why it is a + * protected undef/define */ +#ifndef DES_PTR +#define DES_PTR +#endif + +/* This helps C compiler generate the correct code for multiple functional + * units. It reduces register dependancies at the expense of 2 more + * registers */ +#ifndef DES_RISC1 +#define DES_RISC1 +#endif + +#ifndef DES_RISC2 +#undef DES_RISC2 +#endif + +#if defined(DES_RISC1) && defined(DES_RISC2) +YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! +#endif + +/* Unroll the inner loop, this sometimes helps, sometimes hinders. + * Very mucy CPU dependant */ +#ifndef DES_UNROLL +#define DES_UNROLL +#endif + +/* These default values were supplied by + * Peter Gutman + * They are only used if nothing else has been defined */ +#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) +/* Special defines which change the way the code is built depending on the + CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find + even newer MIPS CPU's, but at the moment one size fits all for + optimization options. Older Sparc's work better with only UNROLL, but + there's no way to tell at compile time what it is you're running on */ + +#if defined( sun ) /* Newer Sparc's */ +# define DES_PTR +# define DES_RISC1 +# define DES_UNROLL +#elif defined( __ultrix ) /* Older MIPS */ +# define DES_PTR +# define DES_RISC2 +# define DES_UNROLL +#elif defined( __osf1__ ) /* Alpha */ +# define DES_PTR +# define DES_RISC2 +#elif defined ( _AIX ) /* RS6000 */ + /* Unknown */ +#elif defined( __hpux ) /* HP-PA */ + /* Unknown */ +#elif defined( __aux ) /* 68K */ + /* Unknown */ +#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ +# define DES_UNROLL +#elif defined( __sgi ) /* Newer MIPS */ +# define DES_PTR +# define DES_RISC2 +# define DES_UNROLL +#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ +# define DES_PTR +# define DES_RISC1 +# define DES_UNROLL +#endif /* Systems-specific speed defines */ +#endif + +#endif /* DES_DEFAULT_OPTIONS */ +#endif /* HEADER_DES_LOCL_H */ diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index 9578ac4df02..c9bf79fafb4 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -1,4 +1,4 @@ -# Copyright (c) 2010 The Chromium Authors. All rights reserved. +# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -9,63 +9,12 @@ 'type': '<(library)', 'defines': [ 'L_ENDIAN', - 'OPENSSLDIR="ssl"', - 'ENGINESDIR="ssl/lib/engines"', 'OPENSSL_THREADS', 'PURIFY', + 'TERMIO', '_REENTRANT', - ], - - 'cflags!': [ - '-ansi' - ], - - 'conditions': [ - ['OS=="win"', { - 'defines': [ - 'WIN32_LEAN_AND_MEAN', # needed to avoid some name clashes that break the build. - 'MK1MF_BUILD', # trick buildinf.h into believing that we're building from nmake - 'MK1MF_PLATFORM_VC_WIN32', # ditto - ], - }], - ['OS=="mac"', { - 'defines': [ - 'TERMIOS' - ], - }], - ['OS=="linux"', { - 'defines': [ - 'TERMIO', - ], - }], - ['target_arch=="ia32" or target_arch=="x64"', { - 'include_dirs': [ - 'config/piii', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'openssl/include', - 'config/piii', - ], - }, - }], - ['target_arch=="x64"', { - 'include_dirs': [ - 'config/k8', - ], - 'direct_dependent_settings': { - 'include_dirs': [ - 'openssl/include', - 'config/k8', - ], - }, - }], - ], - - 'copts': [ - '-w', - '-Wno-cast-qual', - '-Wno-error', + # We do not use TLS over UDP on Chromium so far. + 'OPENSSL_NO_DTLS1', ], 'sources': [ 'openssl/ssl/bio_ssl.c', @@ -76,7 +25,6 @@ 'openssl/ssl/d1_meth.c', 'openssl/ssl/d1_pkt.c', 'openssl/ssl/d1_srvr.c', - 'openssl/ssl/fnv1a64.c', 'openssl/ssl/kssl.c', 'openssl/ssl/s23_clnt.c', 'openssl/ssl/s23_lib.c', @@ -131,11 +79,9 @@ 'openssl/crypto/asn1/a_dup.c', 'openssl/crypto/asn1/a_enum.c', 'openssl/crypto/asn1/a_gentm.c', - 'openssl/crypto/asn1/a_hdr.c', 'openssl/crypto/asn1/a_i2d_fp.c', 'openssl/crypto/asn1/a_int.c', 'openssl/crypto/asn1/a_mbstr.c', - 'openssl/crypto/asn1/a_meth.c', 'openssl/crypto/asn1/a_object.c', 'openssl/crypto/asn1/a_octet.c', 'openssl/crypto/asn1/a_print.c', @@ -148,6 +94,7 @@ 'openssl/crypto/asn1/a_utctm.c', 'openssl/crypto/asn1/a_utf8.c', 'openssl/crypto/asn1/a_verify.c', + 'openssl/crypto/asn1/ameth_lib.c', 'openssl/crypto/asn1/asn1_err.c', 'openssl/crypto/asn1/asn1_gen.c', 'openssl/crypto/asn1/asn1_lib.c', @@ -155,6 +102,8 @@ 'openssl/crypto/asn1/asn_mime.c', 'openssl/crypto/asn1/asn_moid.c', 'openssl/crypto/asn1/asn_pack.c', + 'openssl/crypto/asn1/bio_asn1.c', + 'openssl/crypto/asn1/bio_ndef.c', 'openssl/crypto/asn1/d2i_pr.c', 'openssl/crypto/asn1/d2i_pu.c', 'openssl/crypto/asn1/evp_asn1.c', @@ -179,6 +128,7 @@ 'openssl/crypto/asn1/tasn_enc.c', 'openssl/crypto/asn1/tasn_fre.c', 'openssl/crypto/asn1/tasn_new.c', + 'openssl/crypto/asn1/tasn_prn.c', 'openssl/crypto/asn1/tasn_typ.c', 'openssl/crypto/asn1/tasn_utl.c', 'openssl/crypto/asn1/x_algor.c', @@ -189,6 +139,7 @@ 'openssl/crypto/asn1/x_info.c', 'openssl/crypto/asn1/x_long.c', 'openssl/crypto/asn1/x_name.c', + 'openssl/crypto/asn1/x_nx509.c', 'openssl/crypto/asn1/x_pkey.c', 'openssl/crypto/asn1/x_pubkey.c', 'openssl/crypto/asn1/x_req.c', @@ -241,7 +192,6 @@ 'openssl/crypto/bn/bn_mpi.c', 'openssl/crypto/bn/bn_mul.c', 'openssl/crypto/bn/bn_nist.c', - 'openssl/crypto/bn/bn_opt.c', 'openssl/crypto/bn/bn_prime.c', 'openssl/crypto/bn/bn_print.c', 'openssl/crypto/bn/bn_rand.c', @@ -250,15 +200,32 @@ 'openssl/crypto/bn/bn_sqr.c', 'openssl/crypto/bn/bn_sqrt.c', 'openssl/crypto/bn/bn_word.c', - 'openssl/crypto/bn/bn_x931p.c', 'openssl/crypto/buffer/buf_err.c', - 'openssl/crypto/buffer/buf_str.c', 'openssl/crypto/buffer/buffer.c', + 'openssl/crypto/camellia/camellia.c', + 'openssl/crypto/camellia/cmll_cbc.c', + 'openssl/crypto/camellia/cmll_cfb.c', + 'openssl/crypto/camellia/cmll_ctr.c', + 'openssl/crypto/camellia/cmll_ecb.c', + 'openssl/crypto/camellia/cmll_misc.c', + 'openssl/crypto/camellia/cmll_ofb.c', 'openssl/crypto/cast/c_cfb64.c', 'openssl/crypto/cast/c_ecb.c', 'openssl/crypto/cast/c_enc.c', 'openssl/crypto/cast/c_ofb64.c', 'openssl/crypto/cast/c_skey.c', + 'openssl/crypto/cms/cms_asn1.c', + 'openssl/crypto/cms/cms_att.c', + 'openssl/crypto/cms/cms_cd.c', + 'openssl/crypto/cms/cms_dd.c', + 'openssl/crypto/cms/cms_enc.c', + 'openssl/crypto/cms/cms_env.c', + 'openssl/crypto/cms/cms_err.c', + 'openssl/crypto/cms/cms_ess.c', + 'openssl/crypto/cms/cms_io.c', + 'openssl/crypto/cms/cms_lib.c', + 'openssl/crypto/cms/cms_sd.c', + 'openssl/crypto/cms/cms_smime.c', 'openssl/crypto/comp/c_rle.c', 'openssl/crypto/comp/c_zlib.c', 'openssl/crypto/comp/comp_err.c', @@ -279,7 +246,6 @@ 'openssl/crypto/des/cfb64enc.c', 'openssl/crypto/des/cfb_enc.c', 'openssl/crypto/des/des_enc.c', - 'openssl/crypto/des/des_lib.c', 'openssl/crypto/des/des_old.c', 'openssl/crypto/des/des_old2.c', 'openssl/crypto/des/ecb3_enc.c', @@ -300,6 +266,7 @@ 'openssl/crypto/des/set_key.c', 'openssl/crypto/des/str2key.c', 'openssl/crypto/des/xcbc_enc.c', + 'openssl/crypto/dh/dh_ameth.c', 'openssl/crypto/dh/dh_asn1.c', 'openssl/crypto/dh/dh_check.c', 'openssl/crypto/dh/dh_depr.c', @@ -307,6 +274,9 @@ 'openssl/crypto/dh/dh_gen.c', 'openssl/crypto/dh/dh_key.c', 'openssl/crypto/dh/dh_lib.c', + 'openssl/crypto/dh/dh_pmeth.c', + 'openssl/crypto/dh/dh_prn.c', + 'openssl/crypto/dsa/dsa_ameth.c', 'openssl/crypto/dsa/dsa_asn1.c', 'openssl/crypto/dsa/dsa_depr.c', 'openssl/crypto/dsa/dsa_err.c', @@ -314,18 +284,20 @@ 'openssl/crypto/dsa/dsa_key.c', 'openssl/crypto/dsa/dsa_lib.c', 'openssl/crypto/dsa/dsa_ossl.c', + 'openssl/crypto/dsa/dsa_pmeth.c', + 'openssl/crypto/dsa/dsa_prn.c', 'openssl/crypto/dsa/dsa_sign.c', - 'openssl/crypto/dsa/dsa_utl.c', 'openssl/crypto/dsa/dsa_vrf.c', + 'openssl/crypto/dso/dso_beos.c', 'openssl/crypto/dso/dso_err.c', 'openssl/crypto/dso/dso_lib.c', 'openssl/crypto/dso/dso_null.c', 'openssl/crypto/dso/dso_openssl.c', - 'openssl/crypto/dyn_lck.c', 'openssl/crypto/ebcdic.c', 'openssl/crypto/ec/ec2_mult.c', 'openssl/crypto/ec/ec2_smpl.c', 'openssl/crypto/ec/ec_asn1.c', + 'openssl/crypto/ec/ec_ameth.c', 'openssl/crypto/ec/ec_check.c', 'openssl/crypto/ec/ec_curve.c', 'openssl/crypto/ec/ec_cvt.c', @@ -333,7 +305,9 @@ 'openssl/crypto/ec/ec_key.c', 'openssl/crypto/ec/ec_lib.c', 'openssl/crypto/ec/ec_mult.c', + 'openssl/crypto/ec/ec_pmeth.c', 'openssl/crypto/ec/ec_print.c', + 'openssl/crypto/ec/eck_prn.c', 'openssl/crypto/ec/ecp_mont.c', 'openssl/crypto/ec/ecp_nist.c', 'openssl/crypto/ec/ecp_smpl.c', @@ -358,24 +332,22 @@ 'openssl/crypto/engine/eng_lib.c', 'openssl/crypto/engine/eng_list.c', 'openssl/crypto/engine/eng_openssl.c', - 'openssl/crypto/engine/eng_padlock.c', 'openssl/crypto/engine/eng_pkey.c', 'openssl/crypto/engine/eng_table.c', + 'openssl/crypto/engine/tb_asnmth.c', 'openssl/crypto/engine/tb_cipher.c', 'openssl/crypto/engine/tb_dh.c', 'openssl/crypto/engine/tb_digest.c', 'openssl/crypto/engine/tb_dsa.c', 'openssl/crypto/engine/tb_ecdh.c', 'openssl/crypto/engine/tb_ecdsa.c', + 'openssl/crypto/engine/tb_pkmeth.c', 'openssl/crypto/engine/tb_rand.c', 'openssl/crypto/engine/tb_rsa.c', 'openssl/crypto/engine/tb_store.c', 'openssl/crypto/err/err.c', 'openssl/crypto/err/err_all.c', - 'openssl/crypto/err/err_bio.c', - 'openssl/crypto/err/err_def.c', 'openssl/crypto/err/err_prn.c', - 'openssl/crypto/err/err_str.c', 'openssl/crypto/evp/bio_b64.c', 'openssl/crypto/evp/bio_enc.c', 'openssl/crypto/evp/bio_md.c', @@ -383,7 +355,6 @@ 'openssl/crypto/evp/c_all.c', 'openssl/crypto/evp/c_allc.c', 'openssl/crypto/evp/c_alld.c', - 'openssl/crypto/evp/dig_eng.c', 'openssl/crypto/evp/digest.c', 'openssl/crypto/evp/e_aes.c', 'openssl/crypto/evp/e_bf.c', @@ -398,10 +369,8 @@ 'openssl/crypto/evp/e_rc5.c', 'openssl/crypto/evp/e_seed.c', 'openssl/crypto/evp/e_xcbc_d.c', - 'openssl/crypto/evp/enc_min.c', 'openssl/crypto/evp/encode.c', 'openssl/crypto/evp/evp_acnf.c', - 'openssl/crypto/evp/evp_cnf.c', 'openssl/crypto/evp/evp_enc.c', 'openssl/crypto/evp/evp_err.c', 'openssl/crypto/evp/evp_key.c', @@ -419,6 +388,8 @@ 'openssl/crypto/evp/m_ripemd.c', 'openssl/crypto/evp/m_sha.c', 'openssl/crypto/evp/m_sha1.c', + 'openssl/crypto/evp/m_sigver.c', + 'openssl/crypto/evp/m_wp.c', 'openssl/crypto/evp/names.c', 'openssl/crypto/evp/p5_crpt.c', 'openssl/crypto/evp/p5_crpt2.c', @@ -429,8 +400,12 @@ 'openssl/crypto/evp/p_seal.c', 'openssl/crypto/evp/p_sign.c', 'openssl/crypto/evp/p_verify.c', + 'openssl/crypto/evp/pmeth_fn.c', + 'openssl/crypto/evp/pmeth_gn.c', + 'openssl/crypto/evp/pmeth_lib.c', 'openssl/crypto/ex_data.c', - 'openssl/crypto/fips_err.c', + 'openssl/crypto/hmac/hm_ameth.c', + 'openssl/crypto/hmac/hm_pmeth.c', 'openssl/crypto/hmac/hmac.c', 'openssl/crypto/krb5/krb5_asn.c', 'openssl/crypto/lhash/lh_stats.c', @@ -441,17 +416,24 @@ 'openssl/crypto/md4/md4_one.c', 'openssl/crypto/md5/md5_dgst.c', 'openssl/crypto/md5/md5_one.c', + 'openssl/crypto/mdc2/mdc2dgst.c', + 'openssl/crypto/mdc2/mdc2_one.c', 'openssl/crypto/mem.c', 'openssl/crypto/mem_clr.c', 'openssl/crypto/mem_dbg.c', + 'openssl/crypto/modes/cbc128.c', + 'openssl/crypto/modes/cfb128.c', + 'openssl/crypto/modes/ctr128.c', + 'openssl/crypto/modes/cts128.c', + 'openssl/crypto/modes/ofb128.c', 'openssl/crypto/o_dir.c', - 'openssl/crypto/o_init.c', 'openssl/crypto/o_str.c', 'openssl/crypto/o_time.c', 'openssl/crypto/objects/o_names.c', 'openssl/crypto/objects/obj_dat.c', 'openssl/crypto/objects/obj_err.c', 'openssl/crypto/objects/obj_lib.c', + 'openssl/crypto/objects/obj_xref.c', 'openssl/crypto/ocsp/ocsp_asn.c', 'openssl/crypto/ocsp/ocsp_cl.c', 'openssl/crypto/ocsp/ocsp_err.c', @@ -472,6 +454,7 @@ 'openssl/crypto/pem/pem_sign.c', 'openssl/crypto/pem/pem_x509.c', 'openssl/crypto/pem/pem_xaux.c', + 'openssl/crypto/pem/pvkfmt.c', 'openssl/crypto/pkcs12/p12_add.c', 'openssl/crypto/pkcs12/p12_asn.c', 'openssl/crypto/pkcs12/p12_attr.c', @@ -487,6 +470,7 @@ 'openssl/crypto/pkcs12/p12_p8e.c', 'openssl/crypto/pkcs12/p12_utl.c', 'openssl/crypto/pkcs12/pk12err.c', + 'openssl/crypto/pkcs7/bio_pk7.c', 'openssl/crypto/pkcs7/pk7_asn1.c', 'openssl/crypto/pkcs7/pk7_attr.c', 'openssl/crypto/pkcs7/pk7_doit.c', @@ -497,7 +481,6 @@ 'openssl/crypto/pqueue/pqueue.c', 'openssl/crypto/rand/md_rand.c', 'openssl/crypto/rand/rand_egd.c', - 'openssl/crypto/rand/rand_eng.c', 'openssl/crypto/rand/rand_err.c', 'openssl/crypto/rand/rand_lib.c', 'openssl/crypto/rand/rand_nw.c', @@ -511,15 +494,14 @@ 'openssl/crypto/rc2/rc2cfb64.c', 'openssl/crypto/rc2/rc2ofb64.c', 'openssl/crypto/rc4/rc4_enc.c', - 'openssl/crypto/rc4/rc4_fblk.c', 'openssl/crypto/rc4/rc4_skey.c', 'openssl/crypto/ripemd/rmd_dgst.c', 'openssl/crypto/ripemd/rmd_one.c', + 'openssl/crypto/rsa/rsa_ameth.c', 'openssl/crypto/rsa/rsa_asn1.c', 'openssl/crypto/rsa/rsa_chk.c', 'openssl/crypto/rsa/rsa_depr.c', 'openssl/crypto/rsa/rsa_eay.c', - 'openssl/crypto/rsa/rsa_eng.c', 'openssl/crypto/rsa/rsa_err.c', 'openssl/crypto/rsa/rsa_gen.c', 'openssl/crypto/rsa/rsa_lib.c', @@ -527,12 +509,13 @@ 'openssl/crypto/rsa/rsa_null.c', 'openssl/crypto/rsa/rsa_oaep.c', 'openssl/crypto/rsa/rsa_pk1.c', + 'openssl/crypto/rsa/rsa_pmeth.c', + 'openssl/crypto/rsa/rsa_prn.c', 'openssl/crypto/rsa/rsa_pss.c', 'openssl/crypto/rsa/rsa_saos.c', 'openssl/crypto/rsa/rsa_sign.c', 'openssl/crypto/rsa/rsa_ssl.c', 'openssl/crypto/rsa/rsa_x931.c', - 'openssl/crypto/rsa/rsa_x931g.c', 'openssl/crypto/sha/sha1_one.c', 'openssl/crypto/sha/sha1dgst.c', 'openssl/crypto/sha/sha256.c', @@ -544,7 +527,17 @@ 'openssl/crypto/store/str_lib.c', 'openssl/crypto/store/str_mem.c', 'openssl/crypto/store/str_meth.c', - 'openssl/crypto/tmdiff.c', + 'openssl/crypto/ts/ts_asn1.c', + 'openssl/crypto/ts/ts_conf.c', + 'openssl/crypto/ts/ts_err.c', + 'openssl/crypto/ts/ts_lib.c', + 'openssl/crypto/ts/ts_req_print.c', + 'openssl/crypto/ts/ts_req_utils.c', + 'openssl/crypto/ts/ts_rsp_print.c', + 'openssl/crypto/ts/ts_rsp_sign.c', + 'openssl/crypto/ts/ts_rsp_utils.c', + 'openssl/crypto/ts/ts_rsp_verify.c', + 'openssl/crypto/ts/ts_verify_ctx.c', 'openssl/crypto/txt_db/txt_db.c', 'openssl/crypto/ui/ui_compat.c', 'openssl/crypto/ui/ui_err.c', @@ -552,6 +545,8 @@ 'openssl/crypto/ui/ui_openssl.c', 'openssl/crypto/ui/ui_util.c', 'openssl/crypto/uid.c', + 'openssl/crypto/whrlpool/wp_block.c', + 'openssl/crypto/whrlpool/wp_dgst.c', 'openssl/crypto/x509/by_dir.c', 'openssl/crypto/x509/by_file.c', 'openssl/crypto/x509/x509_att.c', @@ -623,14 +618,72 @@ 'openssl/engines/e_sureware.c', 'openssl/engines/e_ubsec.c', ], + 'conditions': [ + ['os_posix==1 and OS!="android"', { + 'defines': [ + # ENGINESDIR must be defined if OPENSSLDIR is. + 'ENGINESDIR="/dev/null"', + # Set to ubuntu default path for convenience. If necessary, override + # this at runtime with the SSL_CERT_DIR environment variable. + 'OPENSSLDIR="/etc/ssl"', + ], + 'variables': { + 'conditions': [ + ['target_arch=="ia32"', { + 'openssl_config_path': 'config/piii', + }, { + 'openssl_config_path': 'config/k8', + }], + ], + }, + }], + ['OS=="android"', { + 'variables': { + 'openssl_config_path': 'config/android', + }, + 'sources/': [ + ['exclude', 'cast/.*$'], + ['exclude', 'crypto/md2/.*$'], + ['exclude', 'crypto/store/.*$'], + ['exclude', 'crypto/whrlpool/.$'], + ], + }, { + 'sources/': [ + ['exclude', 'camellia/.*$'], + ['exclude', 'cms/.*$'], + ['exclude', 'mdc2/.*$'], + ], + }], + ['clang==1', { + 'cflags': [ + # OpenSSL has a few |if ((foo == NULL))| checks. + '-Wno-parentheses-equality', + # OpenSSL uses several function-style macros and then ignores the + # returned value. + '-Wno-unused-value', + ], + }, { # Not clang. Disable all warnings. + 'cflags': [ + '-w', + ], + }] + ], 'include_dirs': [ '.', 'openssl', 'openssl/crypto', 'openssl/crypto/asn1', 'openssl/crypto/evp', + 'openssl/crypto/store', 'openssl/include', + '<@(openssl_config_path)', ], + 'direct_dependent_settings': { + 'include_dirs': [ + 'openssl/include', + '<@(openssl_config_path)', + ], + }, }, ], } diff --git a/deps/openssl/openssl/CHANGES b/deps/openssl/openssl/CHANGES index a0442b5306b..03e744a0498 100644 --- a/deps/openssl/openssl/CHANGES +++ b/deps/openssl/openssl/CHANGES @@ -2,9 +2,1007 @@ OpenSSL CHANGES _______________ + Changes between 1.0.0e and 1.0.0f [4 Jan 2012] + + *) Nadhem Alfardan and Kenny Paterson have discovered an extension + of the Vaudenay padding oracle attack on CBC mode encryption + which enables an efficient plaintext recovery attack against + the OpenSSL implementation of DTLS. Their attack exploits timing + differences arising during decryption processing. A research + paper describing this attack can be found at: + http://www.isg.rhul.ac.uk/~kp/dtls.pdf + Thanks go to Nadhem Alfardan and Kenny Paterson of the Information + Security Group at Royal Holloway, University of London + (www.isg.rhul.ac.uk) for discovering this flaw and to Robin Seggelmann + and Michael Tuexen + for preparing the fix. (CVE-2011-4108) + [Robin Seggelmann, Michael Tuexen] + + *) Clear bytes used for block padding of SSL 3.0 records. + (CVE-2011-4576) + [Adam Langley (Google)] + + *) Only allow one SGC handshake restart for SSL/TLS. (CVE-2011-4619) + [Adam Langley (Google)] + + *) Check parameters are not NULL in GOST ENGINE. (CVE-2012-0027) + [Andrey Kulikov ] + + *) Prevent malformed RFC3779 data triggering an assertion failure. + Thanks to Andrew Chi, BBN Technologies, for discovering the flaw + and Rob Austein for fixing it. (CVE-2011-4577) + [Rob Austein ] + + *) Improved PRNG seeding for VOS. + [Paul Green ] + + *) Fix ssl_ciph.c set-up race. + [Adam Langley (Google)] + + *) Fix spurious failures in ecdsatest.c. + [Emilia Käsper (Google)] + + *) Fix the BIO_f_buffer() implementation (which was mixing different + interpretations of the '..._len' fields). + [Adam Langley (Google)] + + *) Fix handling of BN_BLINDING: now BN_BLINDING_invert_ex (rather than + BN_BLINDING_invert_ex) calls BN_BLINDING_update, ensuring that concurrent + threads won't reuse the same blinding coefficients. + + This also avoids the need to obtain the CRYPTO_LOCK_RSA_BLINDING + lock to call BN_BLINDING_invert_ex, and avoids one use of + BN_BLINDING_update for each BN_BLINDING structure (previously, + the last update always remained unused). + [Emilia Käsper (Google)] + + *) In ssl3_clear, preserve s3->init_extra along with s3->rbuf. + [Bob Buckholz (Google)] + + Changes between 1.0.0d and 1.0.0e [6 Sep 2011] + + *) Fix bug where CRLs with nextUpdate in the past are sometimes accepted + by initialising X509_STORE_CTX properly. (CVE-2011-3207) + [Kaspar Brand ] + + *) Fix SSL memory handling for (EC)DH ciphersuites, in particular + for multi-threaded use of ECDH. (CVE-2011-3210) + [Adam Langley (Google)] + + *) Fix x509_name_ex_d2i memory leak on bad inputs. + [Bodo Moeller] + + *) Remove hard coded ecdsaWithSHA1 signature tests in ssl code and check + signature public key algorithm by using OID xref utilities instead. + Before this you could only use some ECC ciphersuites with SHA1 only. + [Steve Henson] + + *) Add protection against ECDSA timing attacks as mentioned in the paper + by Billy Bob Brumley and Nicola Tuveri, see: + + http://eprint.iacr.org/2011/232.pdf + + [Billy Bob Brumley and Nicola Tuveri] + + Changes between 1.0.0c and 1.0.0d [8 Feb 2011] + + *) Fix parsing of OCSP stapling ClientHello extension. CVE-2011-0014 + [Neel Mehta, Adam Langley, Bodo Moeller (Google)] + + *) Fix bug in string printing code: if *any* escaping is enabled we must + escape the escape character (backslash) or the resulting string is + ambiguous. + [Steve Henson] + + Changes between 1.0.0b and 1.0.0c [2 Dec 2010] + + *) Disable code workaround for ancient and obsolete Netscape browsers + and servers: an attacker can use it in a ciphersuite downgrade attack. + Thanks to Martin Rex for discovering this bug. CVE-2010-4180 + [Steve Henson] + + *) Fixed J-PAKE implementation error, originally discovered by + Sebastien Martini, further info and confirmation from Stefan + Arentz and Feng Hao. Note that this fix is a security fix. CVE-2010-4252 + [Ben Laurie] + + Changes between 1.0.0a and 1.0.0b [16 Nov 2010] + + *) Fix extension code to avoid race conditions which can result in a buffer + overrun vulnerability: resumed sessions must not be modified as they can + be shared by multiple threads. CVE-2010-3864 + [Steve Henson] + + *) Fix WIN32 build system to correctly link an ENGINE directory into + a DLL. + [Steve Henson] + + Changes between 1.0.0 and 1.0.0a [01 Jun 2010] + + *) Check return value of int_rsa_verify in pkey_rsa_verifyrecover + (CVE-2010-1633) + [Steve Henson, Peter-Michael Hager ] + + Changes between 0.9.8n and 1.0.0 [29 Mar 2010] + + *) Add "missing" function EVP_CIPHER_CTX_copy(). This copies a cipher + context. The operation can be customised via the ctrl mechanism in + case ENGINEs want to include additional functionality. + [Steve Henson] + + *) Tolerate yet another broken PKCS#8 key format: private key value negative. + [Steve Henson] + + *) Add new -subject_hash_old and -issuer_hash_old options to x509 utility to + output hashes compatible with older versions of OpenSSL. + [Willy Weisz ] + + *) Fix compression algorithm handling: if resuming a session use the + compression algorithm of the resumed session instead of determining + it from client hello again. Don't allow server to change algorithm. + [Steve Henson] + + *) Add load_crls() function to apps tidying load_certs() too. Add option + to verify utility to allow additional CRLs to be included. + [Steve Henson] + + *) Update OCSP request code to permit adding custom headers to the request: + some responders need this. + [Steve Henson] + + *) The function EVP_PKEY_sign() returns <=0 on error: check return code + correctly. + [Julia Lawall ] + + *) Update verify callback code in apps/s_cb.c and apps/verify.c, it + needlessly dereferenced structures, used obsolete functions and + didn't handle all updated verify codes correctly. + [Steve Henson] + + *) Disable MD2 in the default configuration. + [Steve Henson] + + *) In BIO_pop() and BIO_push() use the ctrl argument (which was NULL) to + indicate the initial BIO being pushed or popped. This makes it possible + to determine whether the BIO is the one explicitly called or as a result + of the ctrl being passed down the chain. Fix BIO_pop() and SSL BIOs so + it handles reference counts correctly and doesn't zero out the I/O bio + when it is not being explicitly popped. WARNING: applications which + included workarounds for the old buggy behaviour will need to be modified + or they could free up already freed BIOs. + [Steve Henson] + + *) Extend the uni2asc/asc2uni => OPENSSL_uni2asc/OPENSSL_asc2uni + renaming to all platforms (within the 0.9.8 branch, this was + done conditionally on Netware platforms to avoid a name clash). + [Guenter ] + + *) Add ECDHE and PSK support to DTLS. + [Michael Tuexen ] + + *) Add CHECKED_STACK_OF macro to safestack.h, otherwise safestack can't + be used on C++. + [Steve Henson] + + *) Add "missing" function EVP_MD_flags() (without this the only way to + retrieve a digest flags is by accessing the structure directly. Update + EVP_MD_do_all*() and EVP_CIPHER_do_all*() to include the name a digest + or cipher is registered as in the "from" argument. Print out all + registered digests in the dgst usage message instead of manually + attempting to work them out. + [Steve Henson] + + *) If no SSLv2 ciphers are used don't use an SSLv2 compatible client hello: + this allows the use of compression and extensions. Change default cipher + string to remove SSLv2 ciphersuites. This effectively avoids ancient SSLv2 + by default unless an application cipher string requests it. + [Steve Henson] + + *) Alter match criteria in PKCS12_parse(). It used to try to use local + key ids to find matching certificates and keys but some PKCS#12 files + don't follow the (somewhat unwritten) rules and this strategy fails. + Now just gather all certificates together and the first private key + then look for the first certificate that matches the key. + [Steve Henson] + + *) Support use of registered digest and cipher names for dgst and cipher + commands instead of having to add each one as a special case. So now + you can do: + + openssl sha256 foo + + as well as: + + openssl dgst -sha256 foo + + and this works for ENGINE based algorithms too. + + [Steve Henson] + + *) Update Gost ENGINE to support parameter files. + [Victor B. Wagner ] + + *) Support GeneralizedTime in ca utility. + [Oliver Martin , Steve Henson] + + *) Enhance the hash format used for certificate directory links. The new + form uses the canonical encoding (meaning equivalent names will work + even if they aren't identical) and uses SHA1 instead of MD5. This form + is incompatible with the older format and as a result c_rehash should + be used to rebuild symbolic links. + [Steve Henson] + + *) Make PKCS#8 the default write format for private keys, replacing the + traditional format. This form is standardised, more secure and doesn't + include an implicit MD5 dependency. + [Steve Henson] + + *) Add a $gcc_devteam_warn option to Configure. The idea is that any code + committed to OpenSSL should pass this lot as a minimum. + [Steve Henson] + + *) Add session ticket override functionality for use by EAP-FAST. + [Jouni Malinen ] + + *) Modify HMAC functions to return a value. Since these can be implemented + in an ENGINE errors can occur. + [Steve Henson] + + *) Type-checked OBJ_bsearch_ex. + [Ben Laurie] + + *) Type-checked OBJ_bsearch. Also some constification necessitated + by type-checking. Still to come: TXT_DB, bsearch(?), + OBJ_bsearch_ex, qsort, CRYPTO_EX_DATA, ASN1_VALUE, ASN1_STRING, + CONF_VALUE. + [Ben Laurie] + + *) New function OPENSSL_gmtime_adj() to add a specific number of days and + seconds to a tm structure directly, instead of going through OS + specific date routines. This avoids any issues with OS routines such + as the year 2038 bug. New *_adj() functions for ASN1 time structures + and X509_time_adj_ex() to cover the extended range. The existing + X509_time_adj() is still usable and will no longer have any date issues. + [Steve Henson] + + *) Delta CRL support. New use deltas option which will attempt to locate + and search any appropriate delta CRLs available. + + This work was sponsored by Google. + [Steve Henson] + + *) Support for CRLs partitioned by reason code. Reorganise CRL processing + code and add additional score elements. Validate alternate CRL paths + as part of the CRL checking and indicate a new error "CRL path validation + error" in this case. Applications wanting additional details can use + the verify callback and check the new "parent" field. If this is not + NULL CRL path validation is taking place. Existing applications wont + see this because it requires extended CRL support which is off by + default. + + This work was sponsored by Google. + [Steve Henson] + + *) Support for freshest CRL extension. + + This work was sponsored by Google. + [Steve Henson] + + *) Initial indirect CRL support. Currently only supported in the CRLs + passed directly and not via lookup. Process certificate issuer + CRL entry extension and lookup CRL entries by bother issuer name + and serial number. Check and process CRL issuer entry in IDP extension. + + This work was sponsored by Google. + [Steve Henson] + + *) Add support for distinct certificate and CRL paths. The CRL issuer + certificate is validated separately in this case. Only enabled if + an extended CRL support flag is set: this flag will enable additional + CRL functionality in future. + + This work was sponsored by Google. + [Steve Henson] + + *) Add support for policy mappings extension. + + This work was sponsored by Google. + [Steve Henson] + + *) Fixes to pathlength constraint, self issued certificate handling, + policy processing to align with RFC3280 and PKITS tests. + + This work was sponsored by Google. + [Steve Henson] + + *) Support for name constraints certificate extension. DN, email, DNS + and URI types are currently supported. + + This work was sponsored by Google. + [Steve Henson] + + *) To cater for systems that provide a pointer-based thread ID rather + than numeric, deprecate the current numeric thread ID mechanism and + replace it with a structure and associated callback type. This + mechanism allows a numeric "hash" to be extracted from a thread ID in + either case, and on platforms where pointers are larger than 'long', + mixing is done to help ensure the numeric 'hash' is usable even if it + can't be guaranteed unique. The default mechanism is to use "&errno" + as a pointer-based thread ID to distinguish between threads. + + Applications that want to provide their own thread IDs should now use + CRYPTO_THREADID_set_callback() to register a callback that will call + either CRYPTO_THREADID_set_numeric() or CRYPTO_THREADID_set_pointer(). + + Note that ERR_remove_state() is now deprecated, because it is tied + to the assumption that thread IDs are numeric. ERR_remove_state(0) + to free the current thread's error state should be replaced by + ERR_remove_thread_state(NULL). + + (This new approach replaces the functions CRYPTO_set_idptr_callback(), + CRYPTO_get_idptr_callback(), and CRYPTO_thread_idptr() that existed in + OpenSSL 0.9.9-dev between June 2006 and August 2008. Also, if an + application was previously providing a numeric thread callback that + was inappropriate for distinguishing threads, then uniqueness might + have been obtained with &errno that happened immediately in the + intermediate development versions of OpenSSL; this is no longer the + case, the numeric thread callback will now override the automatic use + of &errno.) + [Geoff Thorpe, with help from Bodo Moeller] + + *) Initial support for different CRL issuing certificates. This covers a + simple case where the self issued certificates in the chain exist and + the real CRL issuer is higher in the existing chain. + + This work was sponsored by Google. + [Steve Henson] + + *) Removed effectively defunct crypto/store from the build. + [Ben Laurie] + + *) Revamp of STACK to provide stronger type-checking. Still to come: + TXT_DB, bsearch(?), OBJ_bsearch, qsort, CRYPTO_EX_DATA, ASN1_VALUE, + ASN1_STRING, CONF_VALUE. + [Ben Laurie] + + *) Add a new SSL_MODE_RELEASE_BUFFERS mode flag to release unused buffer + RAM on SSL connections. This option can save about 34k per idle SSL. + [Nick Mathewson] + + *) Revamp of LHASH to provide stronger type-checking. Still to come: + STACK, TXT_DB, bsearch, qsort. + [Ben Laurie] + + *) Initial support for Cryptographic Message Syntax (aka CMS) based + on RFC3850, RFC3851 and RFC3852. New cms directory and cms utility, + support for data, signedData, compressedData, digestedData and + encryptedData, envelopedData types included. Scripts to check against + RFC4134 examples draft and interop and consistency checks of many + content types and variants. + [Steve Henson] + + *) Add options to enc utility to support use of zlib compression BIO. + [Steve Henson] + + *) Extend mk1mf to support importing of options and assembly language + files from Configure script, currently only included in VC-WIN32. + The assembly language rules can now optionally generate the source + files from the associated perl scripts. + [Steve Henson] + + *) Implement remaining functionality needed to support GOST ciphersuites. + Interop testing has been performed using CryptoPro implementations. + [Victor B. Wagner ] + + *) s390x assembler pack. + [Andy Polyakov] + + *) ARMv4 assembler pack. ARMv4 refers to v4 and later ISA, not CPU + "family." + [Andy Polyakov] + + *) Implement Opaque PRF Input TLS extension as specified in + draft-rescorla-tls-opaque-prf-input-00.txt. Since this is not an + official specification yet and no extension type assignment by + IANA exists, this extension (for now) will have to be explicitly + enabled when building OpenSSL by providing the extension number + to use. For example, specify an option + + -DTLSEXT_TYPE_opaque_prf_input=0x9527 + + to the "config" or "Configure" script to enable the extension, + assuming extension number 0x9527 (which is a completely arbitrary + and unofficial assignment based on the MD5 hash of the Internet + Draft). Note that by doing so, you potentially lose + interoperability with other TLS implementations since these might + be using the same extension number for other purposes. + + SSL_set_tlsext_opaque_prf_input(ssl, src, len) is used to set the + opaque PRF input value to use in the handshake. This will create + an interal copy of the length-'len' string at 'src', and will + return non-zero for success. + + To get more control and flexibility, provide a callback function + by using + + SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb) + SSL_CTX_set_tlsext_opaque_prf_input_callback_arg(ctx, arg) + + where + + int (*cb)(SSL *, void *peerinput, size_t len, void *arg); + void *arg; + + Callback function 'cb' will be called in handshakes, and is + expected to use SSL_set_tlsext_opaque_prf_input() as appropriate. + Argument 'arg' is for application purposes (the value as given to + SSL_CTX_set_tlsext_opaque_prf_input_callback_arg() will directly + be provided to the callback function). The callback function + has to return non-zero to report success: usually 1 to use opaque + PRF input just if possible, or 2 to enforce use of the opaque PRF + input. In the latter case, the library will abort the handshake + if opaque PRF input is not successfully negotiated. + + Arguments 'peerinput' and 'len' given to the callback function + will always be NULL and 0 in the case of a client. A server will + see the client's opaque PRF input through these variables if + available (NULL and 0 otherwise). Note that if the server + provides an opaque PRF input, the length must be the same as the + length of the client's opaque PRF input. + + Note that the callback function will only be called when creating + a new session (session resumption can resume whatever was + previously negotiated), and will not be called in SSL 2.0 + handshakes; thus, SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2) or + SSL_set_options(ssl, SSL_OP_NO_SSLv2) is especially recommended + for applications that need to enforce opaque PRF input. + + [Bodo Moeller] + + *) Update ssl code to support digests other than SHA1+MD5 for handshake + MAC. + + [Victor B. Wagner ] + + *) Add RFC4507 support to OpenSSL. This includes the corrections in + RFC4507bis. The encrypted ticket format is an encrypted encoded + SSL_SESSION structure, that way new session features are automatically + supported. + + If a client application caches session in an SSL_SESSION structure + support is transparent because tickets are now stored in the encoded + SSL_SESSION. + + The SSL_CTX structure automatically generates keys for ticket + protection in servers so again support should be possible + with no application modification. + + If a client or server wishes to disable RFC4507 support then the option + SSL_OP_NO_TICKET can be set. + + Add a TLS extension debugging callback to allow the contents of any client + or server extensions to be examined. + + This work was sponsored by Google. + [Steve Henson] + + *) Final changes to avoid use of pointer pointer casts in OpenSSL. + OpenSSL should now compile cleanly on gcc 4.2 + [Peter Hartley , Steve Henson] + + *) Update SSL library to use new EVP_PKEY MAC API. Include generic MAC + support including streaming MAC support: this is required for GOST + ciphersuite support. + [Victor B. Wagner , Steve Henson] + + *) Add option -stream to use PKCS#7 streaming in smime utility. New + function i2d_PKCS7_bio_stream() and PEM_write_PKCS7_bio_stream() + to output in BER and PEM format. + [Steve Henson] + + *) Experimental support for use of HMAC via EVP_PKEY interface. This + allows HMAC to be handled via the EVP_DigestSign*() interface. The + EVP_PKEY "key" in this case is the HMAC key, potentially allowing + ENGINE support for HMAC keys which are unextractable. New -mac and + -macopt options to dgst utility. + [Steve Henson] + + *) New option -sigopt to dgst utility. Update dgst to use + EVP_Digest{Sign,Verify}*. These two changes make it possible to use + alternative signing paramaters such as X9.31 or PSS in the dgst + utility. + [Steve Henson] + + *) Change ssl_cipher_apply_rule(), the internal function that does + the work each time a ciphersuite string requests enabling + ("foo+bar"), moving ("+foo+bar"), disabling ("-foo+bar", or + removing ("!foo+bar") a class of ciphersuites: Now it maintains + the order of disabled ciphersuites such that those ciphersuites + that most recently went from enabled to disabled not only stay + in order with respect to each other, but also have higher priority + than other disabled ciphersuites the next time ciphersuites are + enabled again. + + This means that you can now say, e.g., "PSK:-PSK:HIGH" to enable + the same ciphersuites as with "HIGH" alone, but in a specific + order where the PSK ciphersuites come first (since they are the + most recently disabled ciphersuites when "HIGH" is parsed). + + Also, change ssl_create_cipher_list() (using this new + funcionality) such that between otherwise identical + cihpersuites, ephemeral ECDH is preferred over ephemeral DH in + the default order. + [Bodo Moeller] + + *) Change ssl_create_cipher_list() so that it automatically + arranges the ciphersuites in reasonable order before starting + to process the rule string. Thus, the definition for "DEFAULT" + (SSL_DEFAULT_CIPHER_LIST) now is just "ALL:!aNULL:!eNULL", but + remains equivalent to "AES:ALL:!aNULL:!eNULL:+aECDH:+kRSA:+RC4:@STRENGTH". + This makes it much easier to arrive at a reasonable default order + in applications for which anonymous ciphers are OK (meaning + that you can't actually use DEFAULT). + [Bodo Moeller; suggested by Victor Duchovni] + + *) Split the SSL/TLS algorithm mask (as used for ciphersuite string + processing) into multiple integers instead of setting + "SSL_MKEY_MASK" bits, "SSL_AUTH_MASK" bits, "SSL_ENC_MASK", + "SSL_MAC_MASK", and "SSL_SSL_MASK" bits all in a single integer. + (These masks as well as the individual bit definitions are hidden + away into the non-exported interface ssl/ssl_locl.h, so this + change to the definition of the SSL_CIPHER structure shouldn't + affect applications.) This give us more bits for each of these + categories, so there is no longer a need to coagulate AES128 and + AES256 into a single algorithm bit, and to coagulate Camellia128 + and Camellia256 into a single algorithm bit, which has led to all + kinds of kludges. + + Thus, among other things, the kludge introduced in 0.9.7m and + 0.9.8e for masking out AES256 independently of AES128 or masking + out Camellia256 independently of AES256 is not needed here in 0.9.9. + + With the change, we also introduce new ciphersuite aliases that + so far were missing: "AES128", "AES256", "CAMELLIA128", and + "CAMELLIA256". + [Bodo Moeller] + + *) Add support for dsa-with-SHA224 and dsa-with-SHA256. + Use the leftmost N bytes of the signature input if the input is + larger than the prime q (with N being the size in bytes of q). + [Nils Larsch] + + *) Very *very* experimental PKCS#7 streaming encoder support. Nothing uses + it yet and it is largely untested. + [Steve Henson] + + *) Add support for the ecdsa-with-SHA224/256/384/512 signature types. + [Nils Larsch] + + *) Initial incomplete changes to avoid need for function casts in OpenSSL + some compilers (gcc 4.2 and later) reject their use. Safestack is + reimplemented. Update ASN1 to avoid use of legacy functions. + [Steve Henson] + + *) Win32/64 targets are linked with Winsock2. + [Andy Polyakov] + + *) Add an X509_CRL_METHOD structure to allow CRL processing to be redirected + to external functions. This can be used to increase CRL handling + efficiency especially when CRLs are very large by (for example) storing + the CRL revoked certificates in a database. + [Steve Henson] + + *) Overhaul of by_dir code. Add support for dynamic loading of CRLs so + new CRLs added to a directory can be used. New command line option + -verify_return_error to s_client and s_server. This causes real errors + to be returned by the verify callback instead of carrying on no matter + what. This reflects the way a "real world" verify callback would behave. + [Steve Henson] + + *) GOST engine, supporting several GOST algorithms and public key formats. + Kindly donated by Cryptocom. + [Cryptocom] + + *) Partial support for Issuing Distribution Point CRL extension. CRLs + partitioned by DP are handled but no indirect CRL or reason partitioning + (yet). Complete overhaul of CRL handling: now the most suitable CRL is + selected via a scoring technique which handles IDP and AKID in CRLs. + [Steve Henson] + + *) New X509_STORE_CTX callbacks lookup_crls() and lookup_certs() which + will ultimately be used for all verify operations: this will remove the + X509_STORE dependency on certificate verification and allow alternative + lookup methods. X509_STORE based implementations of these two callbacks. + [Steve Henson] + + *) Allow multiple CRLs to exist in an X509_STORE with matching issuer names. + Modify get_crl() to find a valid (unexpired) CRL if possible. + [Steve Henson] + + *) New function X509_CRL_match() to check if two CRLs are identical. Normally + this would be called X509_CRL_cmp() but that name is already used by + a function that just compares CRL issuer names. Cache several CRL + extensions in X509_CRL structure and cache CRLDP in X509. + [Steve Henson] + + *) Store a "canonical" representation of X509_NAME structure (ASN1 Name) + this maps equivalent X509_NAME structures into a consistent structure. + Name comparison can then be performed rapidly using memcmp(). + [Steve Henson] + + *) Non-blocking OCSP request processing. Add -timeout option to ocsp + utility. + [Steve Henson] + + *) Allow digests to supply their own micalg string for S/MIME type using + the ctrl EVP_MD_CTRL_MICALG. + [Steve Henson] + + *) During PKCS7 signing pass the PKCS7 SignerInfo structure to the + EVP_PKEY_METHOD before and after signing via the EVP_PKEY_CTRL_PKCS7_SIGN + ctrl. It can then customise the structure before and/or after signing + if necessary. + [Steve Henson] + + *) New function OBJ_add_sigid() to allow application defined signature OIDs + to be added to OpenSSLs internal tables. New function OBJ_sigid_free() + to free up any added signature OIDs. + [Steve Henson] + + *) New functions EVP_CIPHER_do_all(), EVP_CIPHER_do_all_sorted(), + EVP_MD_do_all() and EVP_MD_do_all_sorted() to enumerate internal + digest and cipher tables. New options added to openssl utility: + list-message-digest-algorithms and list-cipher-algorithms. + [Steve Henson] + + *) Change the array representation of binary polynomials: the list + of degrees of non-zero coefficients is now terminated with -1. + Previously it was terminated with 0, which was also part of the + value; thus, the array representation was not applicable to + polynomials where t^0 has coefficient zero. This change makes + the array representation useful in a more general context. + [Douglas Stebila] + + *) Various modifications and fixes to SSL/TLS cipher string + handling. For ECC, the code now distinguishes between fixed ECDH + with RSA certificates on the one hand and with ECDSA certificates + on the other hand, since these are separate ciphersuites. The + unused code for Fortezza ciphersuites has been removed. + + For consistency with EDH, ephemeral ECDH is now called "EECDH" + (not "ECDHE"). For consistency with the code for DH + certificates, use of ECDH certificates is now considered ECDH + authentication, not RSA or ECDSA authentication (the latter is + merely the CA's signing algorithm and not actively used in the + protocol). + + The temporary ciphersuite alias "ECCdraft" is no longer + available, and ECC ciphersuites are no longer excluded from "ALL" + and "DEFAULT". The following aliases now exist for RFC 4492 + ciphersuites, most of these by analogy with the DH case: + + kECDHr - ECDH cert, signed with RSA + kECDHe - ECDH cert, signed with ECDSA + kECDH - ECDH cert (signed with either RSA or ECDSA) + kEECDH - ephemeral ECDH + ECDH - ECDH cert or ephemeral ECDH + + aECDH - ECDH cert + aECDSA - ECDSA cert + ECDSA - ECDSA cert + + AECDH - anonymous ECDH + EECDH - non-anonymous ephemeral ECDH (equivalent to "kEECDH:-AECDH") + + [Bodo Moeller] + + *) Add additional S/MIME capabilities for AES and GOST ciphers if supported. + Use correct micalg parameters depending on digest(s) in signed message. + [Steve Henson] + + *) Add engine support for EVP_PKEY_ASN1_METHOD. Add functions to process + an ENGINE asn1 method. Support ENGINE lookups in the ASN1 code. + [Steve Henson] + + *) Initial engine support for EVP_PKEY_METHOD. New functions to permit + an engine to register a method. Add ENGINE lookups for methods and + functional reference processing. + [Steve Henson] + + *) New functions EVP_Digest{Sign,Verify)*. These are enchance versions of + EVP_{Sign,Verify}* which allow an application to customise the signature + process. + [Steve Henson] + + *) New -resign option to smime utility. This adds one or more signers + to an existing PKCS#7 signedData structure. Also -md option to use an + alternative message digest algorithm for signing. + [Steve Henson] + + *) Tidy up PKCS#7 routines and add new functions to make it easier to + create PKCS7 structures containing multiple signers. Update smime + application to support multiple signers. + [Steve Henson] + + *) New -macalg option to pkcs12 utility to allow setting of an alternative + digest MAC. + [Steve Henson] + + *) Initial support for PKCS#5 v2.0 PRFs other than default SHA1 HMAC. + Reorganize PBE internals to lookup from a static table using NIDs, + add support for HMAC PBE OID translation. Add a EVP_CIPHER ctrl: + EVP_CTRL_PBE_PRF_NID this allows a cipher to specify an alternative + PRF which will be automatically used with PBES2. + [Steve Henson] + + *) Replace the algorithm specific calls to generate keys in "req" with the + new API. + [Steve Henson] + + *) Update PKCS#7 enveloped data routines to use new API. This is now + supported by any public key method supporting the encrypt operation. A + ctrl is added to allow the public key algorithm to examine or modify + the PKCS#7 RecipientInfo structure if it needs to: for RSA this is + a no op. + [Steve Henson] + + *) Add a ctrl to asn1 method to allow a public key algorithm to express + a default digest type to use. In most cases this will be SHA1 but some + algorithms (such as GOST) need to specify an alternative digest. The + return value indicates how strong the prefernce is 1 means optional and + 2 is mandatory (that is it is the only supported type). Modify + ASN1_item_sign() to accept a NULL digest argument to indicate it should + use the default md. Update openssl utilities to use the default digest + type for signing if it is not explicitly indicated. + [Steve Henson] + + *) Use OID cross reference table in ASN1_sign() and ASN1_verify(). New + EVP_MD flag EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. This uses the relevant + signing method from the key type. This effectively removes the link + between digests and public key types. + [Steve Henson] + + *) Add an OID cross reference table and utility functions. Its purpose is to + translate between signature OIDs such as SHA1WithrsaEncryption and SHA1, + rsaEncryption. This will allow some of the algorithm specific hackery + needed to use the correct OID to be removed. + [Steve Henson] + + *) Remove algorithm specific dependencies when setting PKCS7_SIGNER_INFO + structures for PKCS7_sign(). They are now set up by the relevant public + key ASN1 method. + [Steve Henson] + + *) Add provisional EC pkey method with support for ECDSA and ECDH. + [Steve Henson] + + *) Add support for key derivation (agreement) in the API, DH method and + pkeyutl. + [Steve Henson] + + *) Add DSA pkey method and DH pkey methods, extend DH ASN1 method to support + public and private key formats. As a side effect these add additional + command line functionality not previously available: DSA signatures can be + generated and verified using pkeyutl and DH key support and generation in + pkey, genpkey. + [Steve Henson] + + *) BeOS support. + [Oliver Tappe ] + + *) New make target "install_html_docs" installs HTML renditions of the + manual pages. + [Oliver Tappe ] + + *) New utility "genpkey" this is analagous to "genrsa" etc except it can + generate keys for any algorithm. Extend and update EVP_PKEY_METHOD to + support key and parameter generation and add initial key generation + functionality for RSA. + [Steve Henson] + + *) Add functions for main EVP_PKEY_method operations. The undocumented + functions EVP_PKEY_{encrypt,decrypt} have been renamed to + EVP_PKEY_{encrypt,decrypt}_old. + [Steve Henson] + + *) Initial definitions for EVP_PKEY_METHOD. This will be a high level public + key API, doesn't do much yet. + [Steve Henson] + + *) New function EVP_PKEY_asn1_get0_info() to retrieve information about + public key algorithms. New option to openssl utility: + "list-public-key-algorithms" to print out info. + [Steve Henson] + + *) Implement the Supported Elliptic Curves Extension for + ECC ciphersuites from draft-ietf-tls-ecc-12.txt. + [Douglas Stebila] + + *) Don't free up OIDs in OBJ_cleanup() if they are in use by EVP_MD or + EVP_CIPHER structures to avoid later problems in EVP_cleanup(). + [Steve Henson] + + *) New utilities pkey and pkeyparam. These are similar to algorithm specific + utilities such as rsa, dsa, dsaparam etc except they process any key + type. + [Steve Henson] + + *) Transfer public key printing routines to EVP_PKEY_ASN1_METHOD. New + functions EVP_PKEY_print_public(), EVP_PKEY_print_private(), + EVP_PKEY_print_param() to print public key data from an EVP_PKEY + structure. + [Steve Henson] + + *) Initial support for pluggable public key ASN1. + De-spaghettify the public key ASN1 handling. Move public and private + key ASN1 handling to a new EVP_PKEY_ASN1_METHOD structure. Relocate + algorithm specific handling to a single module within the relevant + algorithm directory. Add functions to allow (near) opaque processing + of public and private key structures. + [Steve Henson] + + *) Implement the Supported Point Formats Extension for + ECC ciphersuites from draft-ietf-tls-ecc-12.txt. + [Douglas Stebila] + + *) Add initial support for RFC 4279 PSK TLS ciphersuites. Add members + for the psk identity [hint] and the psk callback functions to the + SSL_SESSION, SSL and SSL_CTX structure. + + New ciphersuites: + PSK-RC4-SHA, PSK-3DES-EDE-CBC-SHA, PSK-AES128-CBC-SHA, + PSK-AES256-CBC-SHA + + New functions: + SSL_CTX_use_psk_identity_hint + SSL_get_psk_identity_hint + SSL_get_psk_identity + SSL_use_psk_identity_hint + + [Mika Kousa and Pasi Eronen of Nokia Corporation] + + *) Add RFC 3161 compliant time stamp request creation, response generation + and response verification functionality. + [Zoltán Glózik , The OpenTSA Project] + + *) Add initial support for TLS extensions, specifically for the server_name + extension so far. The SSL_SESSION, SSL_CTX, and SSL data structures now + have new members for a host name. The SSL data structure has an + additional member SSL_CTX *initial_ctx so that new sessions can be + stored in that context to allow for session resumption, even after the + SSL has been switched to a new SSL_CTX in reaction to a client's + server_name extension. + + New functions (subject to change): + + SSL_get_servername() + SSL_get_servername_type() + SSL_set_SSL_CTX() + + New CTRL codes and macros (subject to change): + + SSL_CTRL_SET_TLSEXT_SERVERNAME_CB + - SSL_CTX_set_tlsext_servername_callback() + SSL_CTRL_SET_TLSEXT_SERVERNAME_ARG + - SSL_CTX_set_tlsext_servername_arg() + SSL_CTRL_SET_TLSEXT_HOSTNAME - SSL_set_tlsext_host_name() + + openssl s_client has a new '-servername ...' option. + + openssl s_server has new options '-servername_host ...', '-cert2 ...', + '-key2 ...', '-servername_fatal' (subject to change). This allows + testing the HostName extension for a specific single host name ('-cert' + and '-key' remain fallbacks for handshakes without HostName + negotiation). If the unrecogninzed_name alert has to be sent, this by + default is a warning; it becomes fatal with the '-servername_fatal' + option. + + [Peter Sylvester, Remy Allais, Christophe Renou] + + *) Whirlpool hash implementation is added. + [Andy Polyakov] + + *) BIGNUM code on 64-bit SPARCv9 targets is switched from bn(64,64) to + bn(64,32). Because of instruction set limitations it doesn't have + any negative impact on performance. This was done mostly in order + to make it possible to share assembler modules, such as bn_mul_mont + implementations, between 32- and 64-bit builds without hassle. + [Andy Polyakov] + + *) Move code previously exiled into file crypto/ec/ec2_smpt.c + to ec2_smpl.c, and no longer require the OPENSSL_EC_BIN_PT_COMP + macro. + [Bodo Moeller] + + *) New candidate for BIGNUM assembler implementation, bn_mul_mont, + dedicated Montgomery multiplication procedure, is introduced. + BN_MONT_CTX is modified to allow bn_mul_mont to reach for higher + "64-bit" performance on certain 32-bit targets. + [Andy Polyakov] + + *) New option SSL_OP_NO_COMP to disable use of compression selectively + in SSL structures. New SSL ctrl to set maximum send fragment size. + Save memory by seeting the I/O buffer sizes dynamically instead of + using the maximum available value. + [Steve Henson] + + *) New option -V for 'openssl ciphers'. This prints the ciphersuite code + in addition to the text details. + [Bodo Moeller] + + *) Very, very preliminary EXPERIMENTAL support for printing of general + ASN1 structures. This currently produces rather ugly output and doesn't + handle several customised structures at all. + [Steve Henson] + + *) Integrated support for PVK file format and some related formats such + as MS PUBLICKEYBLOB and PRIVATEKEYBLOB. Command line switches to support + these in the 'rsa' and 'dsa' utilities. + [Steve Henson] + + *) Support for PKCS#1 RSAPublicKey format on rsa utility command line. + [Steve Henson] + + *) Remove the ancient ASN1_METHOD code. This was only ever used in one + place for the (very old) "NETSCAPE" format certificates which are now + handled using new ASN1 code equivalents. + [Steve Henson] + + *) Let the TLSv1_method() etc. functions return a 'const' SSL_METHOD + pointer and make the SSL_METHOD parameter in SSL_CTX_new, + SSL_CTX_set_ssl_version and SSL_set_ssl_method 'const'. + [Nils Larsch] + + *) Modify CRL distribution points extension code to print out previously + unsupported fields. Enhance extension setting code to allow setting of + all fields. + [Steve Henson] + + *) Add print and set support for Issuing Distribution Point CRL extension. + [Steve Henson] + + *) Change 'Configure' script to enable Camellia by default. + [NTT] + + Changes between 0.9.8r and 0.9.8s [xx XXX xxxx] + + *) Fix ssl_ciph.c set-up race. + [Adam Langley (Google)] + + *) Fix spurious failures in ecdsatest.c. + [Emilia Käsper (Google)] + + *) Fix the BIO_f_buffer() implementation (which was mixing different + interpretations of the '..._len' fields). + [Adam Langley (Google)] + + *) Fix handling of BN_BLINDING: now BN_BLINDING_invert_ex (rather than + BN_BLINDING_invert_ex) calls BN_BLINDING_update, ensuring that concurrent + threads won't reuse the same blinding coefficients. + + This also avoids the need to obtain the CRYPTO_LOCK_RSA_BLINDING + lock to call BN_BLINDING_invert_ex, and avoids one use of + BN_BLINDING_update for each BN_BLINDING structure (previously, + the last update always remained unused). + [Emilia Käsper (Google)] + + *) Fix SSL memory handling for (EC)DH ciphersuites, in particular + for multi-threaded use of ECDH. + [Adam Langley (Google)] + + *) Fix x509_name_ex_d2i memory leak on bad inputs. + [Bodo Moeller] + + *) Add protection against ECDSA timing attacks as mentioned in the paper + by Billy Bob Brumley and Nicola Tuveri, see: + + http://eprint.iacr.org/2011/232.pdf + + [Billy Bob Brumley and Nicola Tuveri] + Changes between 0.9.8q and 0.9.8r [8 Feb 2011] - *) Fix parsing of OCSP stapling ClientHello extension. CVE-2011-0014 + *) Fix parsing of OCSP stapling ClientHello extension. CVE-2011-0014 [Neel Mehta, Adam Langley, Bodo Moeller (Google)] *) Fix bug in string printing code: if *any* escaping is enabled we must diff --git a/deps/openssl/openssl/CHANGES.SSLeay b/deps/openssl/openssl/CHANGES.SSLeay index dbb80b003d8..ca5cd729767 100644 --- a/deps/openssl/openssl/CHANGES.SSLeay +++ b/deps/openssl/openssl/CHANGES.SSLeay @@ -148,7 +148,7 @@ eric (about to go bushwalking for the 4 day easter break :-) This would tend to cause memory overwrites since SSLv3 has a maximum packet size of 16k. If your program uses buffers <= 16k, you would probably never see this problem. - - Fixed a new errors that were cause by malloc() not returning + - Fixed a few errors that were cause by malloc() not returning 0 initialised memory.. - SSL_OP_NETSCAPE_CA_DN_BUG was being switched on when using SSL_CTX_set_options(ssl_ctx,SSL_OP_ALL); which was a bad thing diff --git a/deps/openssl/openssl/Configure b/deps/openssl/openssl/Configure index ec87f24f343..7941c93f64c 100755 --- a/deps/openssl/openssl/Configure +++ b/deps/openssl/openssl/Configure @@ -6,13 +6,11 @@ eval 'exec perl -S $0 ${1+"$@"}' ## require 5.000; -eval 'use strict;'; - -print STDERR "Warning: perl module strict not found.\n" if ($@); +use strict; # see INSTALL for instructions. -my $usage="Usage: Configure [no- ...] [enable- ...] [experimental- ...] [-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"; +my $usage="Usage: Configure [no- ...] [enable- ...] [experimental- ...] [-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"; # Options: # @@ -40,6 +38,8 @@ my $usage="Usage: Configure [no- ...] [enable- ...] [experimenta # --test-sanity Make a number of sanity checks on the data in this file. # This is a debugging tool for OpenSSL developers. # +# --cross-compile-prefix Add specified prefix to binutils components. +# # no-hw-xxx do not compile support for specific crypto hardware. # Generic OpenSSL-style methods relating to this support # are always compiled but return NULL if the hardware @@ -56,8 +56,6 @@ my $usage="Usage: Configure [no- ...] [enable- ...] [experimenta # [no-]zlib [don't] compile support for zlib compression. # zlib-dynamic Like "zlib", but the zlib library is expected to be a shared # library and will be loaded in run-time by the OpenSSL library. -# enable-montasm 0.9.8 branch only: enable Montgomery x86 assembler backport -# from 0.9.9 # 386 generate 80386 code # no-sse2 disables IA-32 SSE2 code, above option implies no-sse2 # no- build without specified algorithm (rsa, idea, rc5, ...) @@ -125,14 +123,21 @@ my $tlib="-lnsl -lsocket"; my $bits1="THIRTY_TWO_BIT "; my $bits2="SIXTY_FOUR_BIT "; -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"; -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"; -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"; +my $x86_asm="x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes-586.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o:cmll-x86.o"; -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::"; -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::"; +my $x86_elf_asm="$x86_asm:elf"; -my $no_asm="::::::::::"; +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:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o"; +my $ia64_asm="ia64cpuid.o:bn-ia64.o::aes_core.o aes_cbc.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o::rc4-ia64.o rc4_skey.o:::::void"; +my $sparcv9_asm="sparcv9cap.o sparccpuid.o:bn-sparcv9.o sparcv9-mont.o sparcv9a-mont.o:des_enc-sparc.o fcrypt_b.o:aes_core.o aes_cbc.o aes-sparcv9.o:::sha1-sparcv9.o sha256-sparcv9.o sha512-sparcv9.o:::::::void"; +my $sparcv8_asm=":sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::::void"; +my $alpha_asm="alphacpuid.o:bn_asm.o alpha-mont.o::::::::::::void"; +my $mips3_asm=":bn-mips3.o::::::::::::void"; +my $s390x_asm="s390xcap.o s390xcpuid.o:bn-s390x.o s390x-mont.o::aes-s390x.o:::sha1-s390x.o sha256-s390x.o sha512-s390x.o::rc4-s390x.o:::::void"; +my $armv4_asm=":bn_asm.o armv4-mont.o::aes_cbc.o aes-armv4.o:::sha1-armv4-large.o sha256-armv4.o sha512-armv4.o:::::::void"; +my $ppc32_asm="ppccpuid.o:bn-ppc.o::aes_core.o aes_cbc.o aes-ppc.o:::sha1-ppc.o sha256-ppc.o::::::"; +my $ppc64_asm="ppccpuid.o:bn-ppc.o ppc-mont.o::aes_core.o aes_cbc.o aes-ppc.o:::sha1-ppc.o sha256-ppc.o sha512-ppc.o::::::"; +my $no_asm=":::::::::::::void"; # As for $BSDthreads. Idea is to maintain "collective" set of flags, # which would cover all BSD flavors. -pthread applies to them all, @@ -143,7 +148,7 @@ my $no_asm="::::::::::"; # seems to be sufficient? my $BSDthreads="-pthread -D_THREAD_SAFE -D_REENTRANT"; -#config-string $cc : $cflags : $unistd : $thread_cflag : $sys_id : $lflags : $bn_ops : $cpuid_obj : $bn_obj : $des_obj : $aes_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $dso_scheme : $shared_target : $shared_cflag : $shared_ldflag : $shared_extension : $ranlib : $arflags +#config-string $cc : $cflags : $unistd : $thread_cflag : $sys_id : $lflags : $bn_ops : $cpuid_obj : $bn_obj : $des_obj : $aes_obj : $bf_obj : $md5_obj : $sha1_obj : $cast_obj : $rc4_obj : $rmd160_obj : $rc5_obj : $wp_obj : $cmll_obj : $dso_scheme : $shared_target : $shared_cflag : $shared_ldflag : $shared_extension : $ranlib : $arflags : $multilib my %table=( # File 'TABLE' (created by 'make TABLE') contains the data from this list, @@ -158,32 +163,32 @@ my %table=( # Our development configs "purify", "purify gcc:-g -DPURIFY -Wall::(unknown)::-lsocket -lnsl::::", "debug", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DOPENSSL_NO_ASM -ggdb -g2 -Wformat -Wshadow -Wmissing-prototypes -Wmissing-declarations -Werror::(unknown)::-lefence::::", -"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", +"debug-ben", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DDEBUG_UNUSED -O2 -pedantic -Wall -Wshadow -Werror -pipe::(unknown):::::bn86-elf.o co86-elf.o", "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)::::", "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)::::", -"debug-ben-debug", "gcc:$gcc_devteam_warn -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DDEBUG_SAFESTACK -ggdb3 -O2 -pipe::(unknown)::::::", -"debug-ben-debug-noopt", "gcc:$gcc_devteam_warn -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DDEBUG_SAFESTACK -ggdb3 -pipe::(unknown)::::::", +"debug-ben-debug", "gcc44:$gcc_devteam_warn -DBN_DEBUG -DCONF_DEBUG -DDEBUG_SAFESTACK -DDEBUG_UNUSED -g3 -O2 -pipe::(unknown)::::::", +"debug-ben-no-opt", "gcc: -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -DDEBUG_SAFESTACK -DCRYPTO_MDEBUG -Werror -DL_ENDIAN -DTERMIOS -Wall -g3::(unknown)::::::", "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)::::::", "debug-rse","cc:-DTERMIOS -DL_ENDIAN -pipe -O -g -ggdb3 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", -"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}", +"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::-D_REENTRANT:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}", "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", -"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 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"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 DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "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)", -"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 DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"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", -"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", +"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 DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "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)", "debug-levitte-linux-noasm","gcc:-DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_DEBUG -DBN_DEBUG_RAND -DCRYPTO_MDEBUG -DENGINE_CONF_DEBUG -DOPENSSL_NO_ASM -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}:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "debug-levitte-linux-elf-extreme","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 -W -Wundef -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)", "debug-levitte-linux-noasm-extreme","gcc:-DLEVITTE_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_DEBUG -DBN_DEBUG_RAND -DCRYPTO_MDEBUG -DENGINE_CONF_DEBUG -DOPENSSL_NO_ASM -DL_ENDIAN -DTERMIO -D_POSIX_SOURCE -DPEDANTIC -ggdb -g3 -mcpu=i486 -pedantic -ansi -Wall -W -Wundef -Wshadow -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wundef -Wconversion -pipe::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"debug-geoff","gcc:-DBN_DEBUG -DBN_DEBUG_RAND -DBN_STRICT -DPURIFY -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DL_ENDIAN -DTERMIO -DPEDANTIC -O1 -ggdb2 -Wall -Werror -Wundef -pedantic -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Wmissing-prototypes -Wmissing-declarations -Wno-long-long::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"debug-linux-pentium","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -mcpu=pentium -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", -"debug-linux-ppro","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -mcpu=pentiumpro -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", -"debug-linux-elf","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -march=i486 -Wall::-D_REENTRANT::-lefence -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"debug-linux-elf-noefence","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -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)", -"debug-linux-generic32","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-geoff32","gcc:-DBN_DEBUG -DBN_DEBUG_RAND -DBN_STRICT -DPURIFY -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DL_ENDIAN -DTERMIO -DPEDANTIC -DMD32_REG_T=int -O1 -ggdb2 -Wall -Werror -Wundef -pedantic -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Wmissing-prototypes -Wmissing-declarations -Wno-long-long::-D_REENTRANT::-ldl:BN_LLONG:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-geoff64","gcc:-DBN_DEBUG -DBN_DEBUG_RAND -DBN_STRICT -DPURIFY -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_ASM -DOPENSSL_NO_INLINE_ASM -DL_ENDIAN -DTERMIO -DPEDANTIC -DMD32_REG_T=int -O1 -ggdb2 -Wall -Werror -Wundef -pedantic -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-align -Wsign-compare -Wmissing-prototypes -Wmissing-declarations -Wno-long-long::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-linux-pentium","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -mcpu=pentium -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", +"debug-linux-ppro","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -mcpu=pentiumpro -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn", +"debug-linux-elf","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -g -march=i486 -Wall::-D_REENTRANT::-lefence -ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-linux-elf-noefence","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DL_ENDIAN -DTERMIO -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)", +"debug-linux-ia32-aes", "gcc:-DAES_EXPERIMENTAL -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:x86cpuid.o:bn-586.o co-586.o x86-mont.o:des-586.o crypt586.o:aes_x86core.o aes_cbc.o:bf-586.o:md5-586.o:sha1-586.o sha256-586.o sha512-586.o:cast-586.o:rc4-586.o:rmd-586.o:rc5-586.o:wp_block.o wp-mmx.o::elf:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-linux-generic32","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "debug-linux-generic64","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DTERMIO -g -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"debug-linux-x86_64","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-linux-x86_64", "gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -m64 -DL_ENDIAN -DTERMIO -g -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", "dist", "cc:-O::(unknown)::::::", # Basic configs that should work on any (32 and less bit) box @@ -191,8 +196,8 @@ my %table=( "cc", "cc:-O::(unknown)::::::", ####VOS Configurations -"vos-gcc","gcc:-O3 -Wall -D_POSIX_C_SOURCE=200112L -D_BSD -DB_ENDIAN::(unknown):VOS:-Wl,-map:BN_LLONG:${no_asm}:::::.so:", -"debug-vos-gcc","gcc:-O0 -g -Wall -D_POSIX_C_SOURCE=200112L -D_BSD -DB_ENDIAN -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG::(unknown):VOS:-Wl,-map:BN_LLONG:${no_asm}:::::.so:", +"vos-gcc","gcc:-O3 -Wall -DOPENSSL_SYSNAME_VOS -D_POSIX_C_SOURCE=200112L -D_BSD -D_VOS_EXTENDED_NAMES -DB_ENDIAN::(unknown):VOS:-Wl,-map:BN_LLONG:${no_asm}:::::.so:", +"debug-vos-gcc","gcc:-O0 -g -Wall -DOPENSSL_SYSNAME_VOS -D_POSIX_C_SOURCE=200112L -D_BSD -D_VOS_EXTENDED_NAMES -DB_ENDIAN -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG::(unknown):VOS:-Wl,-map:BN_LLONG:${no_asm}:::::.so:", #### Solaris x86 with GNU C setups # -DOPENSSL_NO_INLINE_ASM switches off inline assembler. We have to do it @@ -209,33 +214,33 @@ my %table=( # actually recommend to consider using gcc shared build even with vendor # compiler:-) # -"solaris64-x86_64-gcc","gcc:-m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int::-D_REENTRANT::-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:solaris-shared:-fPIC:-m64 -shared -static-libgcc:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"solaris64-x86_64-gcc","gcc:-m64 -O3 -Wall -DL_ENDIAN -DMD32_REG_T=int::-D_REENTRANT::-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:solaris-shared:-fPIC:-m64 -shared -static-libgcc:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/64", #### Solaris x86 with Sun C setups "solaris-x86-cc","cc:-fast -O -Xa::-D_REENTRANT::-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL BF_PTR:${no_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"solaris64-x86_64-cc","cc:-fast -xarch=amd64 -xstrconst -Xa -DL_ENDIAN::-D_REENTRANT::-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:solaris-shared:-KPIC:-xarch=amd64 -G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"solaris64-x86_64-cc","cc:-fast -xarch=amd64 -xstrconst -Xa -DL_ENDIAN::-D_REENTRANT::-lsocket -lnsl -ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:solaris-shared:-KPIC:-xarch=amd64 -G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/64", #### SPARC Solaris with GNU C setups "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)", -"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)", +"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_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", # -m32 should be safe to add as long as driver recognizes -mcpu=ultrasparc -"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)", -"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)", +"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:${sparcv9_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"solaris64-sparcv9-gcc","gcc:-m64 -mcpu=ultrasparc -O3 -Wall -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:solaris-shared:-fPIC:-m64 -shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/64", #### -"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)", -"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)", +"debug-solaris-sparcv8-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_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_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-solaris-sparcv9-gcc","gcc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_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:${sparcv9_asm}:dlfcn:solaris-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", #### SPARC Solaris with Sun C setups # SC4.0 doesn't pass 'make test', upgrade to SC5.0 or SC4.2. # SC4.2 is ok, better than gcc even on bn as long as you tell it -xarch=v8 # SC5.0 note: Compiler common patch 107357-01 or later is required! "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)", -"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)", -"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)", -"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", +"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_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"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:${sparcv9_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"solaris64-sparcv9-cc","cc:-xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:solaris-shared:-KPIC:-xarch=v9 -G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):/usr/ccs/bin/ar rs::/64", #### -"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)", -"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)", +"debug-solaris-sparcv8-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_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_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"debug-solaris-sparcv9-cc","cc:-DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_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:${sparcv9_asm}:dlfcn:solaris-shared:-KPIC:-G -dy -z text:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", #### SunOS configs, assuming sparc for the gcc one. #"sunos-cc", "cc:-O4 -DNOPROTO -DNOCONST::(unknown):SUNOS::DES_UNROLL:${no_asm}::", @@ -248,11 +253,11 @@ my %table=( #### IRIX 6.x configs # Only N32 and N64 ABIs are supported. If you need O32 ABI build, invoke # './Configure irix-cc -o32' manually. -"irix-mips3-gcc","gcc:-mabi=n32 -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL DES_RISC2 DES_PTR BF_PTR SIXTY_FOUR_BIT::bn-mips3.o::::::::::dlfcn:irix-shared::-mabi=n32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"irix-mips3-cc", "cc:-n32 -mips3 -O2 -use_readonly_const -G0 -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL BF_PTR SIXTY_FOUR_BIT::bn-mips3.o::::::::::dlfcn:irix-shared::-n32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"irix-mips3-gcc","gcc:-mabi=n32 -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::MD2_CHAR RC4_INDEX RC4_CHAR RC4_CHUNK_LL DES_UNROLL DES_RISC2 DES_PTR BF_PTR SIXTY_FOUR_BIT:${mips3_asm}:dlfcn:irix-shared::-mabi=n32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::32", +"irix-mips3-cc", "cc:-n32 -mips3 -O2 -use_readonly_const -G0 -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::DES_PTR RC4_CHAR RC4_CHUNK_LL DES_RISC2 DES_UNROLL BF_PTR SIXTY_FOUR_BIT:${mips3_asm}:dlfcn:irix-shared::-n32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::32", # N64 ABI builds. -"irix64-mips4-gcc","gcc:-mabi=64 -mips4 -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG::bn-mips3.o::::::::::dlfcn:irix-shared::-mabi=64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -G0 -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG::bn-mips3.o::::::::::dlfcn:irix-shared::-64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"irix64-mips4-gcc","gcc:-mabi=64 -mips4 -O3 -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:${mips3_asm}:dlfcn:irix-shared::-mabi=64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", +"irix64-mips4-cc", "cc:-64 -mips4 -O2 -use_readonly_const -G0 -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W::-D_SGI_MP_SOURCE:::RC4_CHAR RC4_CHUNK DES_RISC2 DES_UNROLL SIXTY_FOUR_BIT_LONG:${mips3_asm}:dlfcn:irix-shared::-64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", #### Unified HP-UX ANSI C configs. # Special notes: @@ -285,8 +290,8 @@ my %table=( # Since there is mention of this in shlib/hpux10-cc.sh "hpux-parisc-cc-o4","cc:-Ae +O4 +ESlit -z -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::-D_REENTRANT::-ldld:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:${no_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "hpux-parisc-gcc","gcc:-O3 -DB_ENDIAN -DBN_DIV2W::-D_REENTRANT::-Wl,+s -ldld:BN_LLONG DES_PTR DES_UNROLL DES_RISC1:${no_asm}:dl:hpux-shared:-fPIC:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"hpux-parisc2-gcc","gcc:-march=2.0 -O3 -DB_ENDIAN -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL DES_RISC1::pa-risc2.o::::::::::dl:hpux-shared:-fPIC:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"hpux64-parisc2-gcc","gcc:-O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o::::::::::dlfcn:hpux-shared:-fpic:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux-parisc2-gcc","gcc:-march=2.0 -O3 -DB_ENDIAN -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT RC4_CHAR RC4_CHUNK DES_PTR DES_UNROLL DES_RISC1::pa-risc2.o::::::::::::void:dl:hpux-shared:-fPIC:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux64-parisc2-gcc","gcc:-O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o::::::::::::void:dlfcn:hpux-shared:-fpic:-shared:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64", # More attempts at unified 10.X and 11.X targets for HP C compiler. # @@ -294,17 +299,17 @@ my %table=( # Kevin Steves "hpux-parisc-cc","cc:+O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY::-D_REENTRANT::-Wl,+s -ldld:MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:${no_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "hpux-parisc1_0-cc","cc:+DAportable +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY::-D_REENTRANT::-Wl,+s -ldld:MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT:${no_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2.o::::::::::dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"hpux64-parisc2-cc","cc:+DD64 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o::::::::::dlfcn:hpux-shared:+Z:+DD64 -b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux-parisc2-cc","cc:+DA2.0 +DS2.0 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-Wl,+s -ldld:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2.o::::::::::::void:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux64-parisc2-cc","cc:+DD64 +O3 +Optrs_strongly_typed -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX RC4_CHAR DES_UNROLL DES_RISC1 DES_INT::pa-risc2W.o::::::::::::void:dlfcn:hpux-shared:+Z:+DD64 -b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/pa20_64", # HP/UX IA-64 targets -"hpux-ia64-cc","cc:-Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:+Z:+DD32 -b:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux-ia64-cc","cc:-Ae +DD32 +O2 +Olit=all -z -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:+Z:+DD32 -b:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/hpux32", # Frank Geurts has patiently assisted with # with debugging of the following config. -"hpux64-ia64-cc","cc:-Ae +DD64 +O3 +Olit=all -z -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:+Z:+DD64 -b:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux64-ia64-cc","cc:-Ae +DD64 +O3 +Olit=all -z -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:+Z:+DD64 -b:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/hpux64", # GCC builds... -"hpux-ia64-gcc","gcc:-O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:-fpic:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"hpux64-ia64-gcc","gcc:-mlp64 -O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:-fpic:-mlp64 -shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"hpux-ia64-gcc","gcc:-O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:-fpic:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/hpux32", +"hpux64-ia64-gcc","gcc:-mlp64 -O3 -DB_ENDIAN -D_REENTRANT::::-ldl:SIXTY_FOUR_BIT_LONG MD2_CHAR RC4_INDEX DES_UNROLL DES_RISC1 DES_INT:${ia64_asm}:dlfcn:hpux-shared:-fpic:-mlp64 -shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::/hpux64", # Legacy HPUX 9.X configs... "hpux-cc", "cc:-DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY -Ae +ESlit +O2 -z::(unknown)::-Wl,+s -ldld:DES_PTR DES_UNROLL DES_RISC1:${no_asm}:dl:hpux-shared:+Z:-b:.sl.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", @@ -322,9 +327,9 @@ my %table=( # # For gcc, the following gave a %50 speedup on a 164 over the 'DES_INT' version # -"osf1-alpha-gcc", "gcc:-O3::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_RISC1:${no_asm}:dlfcn:alpha-osf1-shared:::.so", -"osf1-alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${no_asm}:dlfcn:alpha-osf1-shared:::.so", -"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", +"osf1-alpha-gcc", "gcc:-O3::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_RISC1:${alpha_asm}:dlfcn:alpha-osf1-shared:::.so", +"osf1-alpha-cc", "cc:-std1 -tune host -O4 -readonly_strings::(unknown):::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:alpha-osf1-shared:::.so", +"tru64-alpha-cc", "cc:-std1 -tune host -fast -readonly_strings::-pthread:::SIXTY_FOUR_BIT_LONG RC4_CHUNK:${alpha_asm}:dlfcn:alpha-osf1-shared::-msym:.so", #### #### Variety of LINUX:-) @@ -332,27 +337,31 @@ my %table=( # *-generic* is endian-neutral target, but ./config is free to # throw in -D[BL]_ENDIAN, whichever appropriate... "linux-generic32","gcc:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::linux_ppc32.o::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-ppc", "gcc:-DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc32_asm}:linux32:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +# It's believed that majority of ARM toolchains predefine appropriate -march. +# If you compiler does not, do complement config command line with one! +"linux-armv4", "gcc:-DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${armv4_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", #### IA-32 targets... "linux-ia32-icc", "icc:-DL_ENDIAN -DTERMIO -O2 -no_cpprt::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "linux-elf", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-aout", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=i486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}", +"linux-aout", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -march=i486 -Wall::(unknown):::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_asm}:a.out", #### "linux-generic64","gcc:-DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-ppc64", "gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -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)", -"linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-ia64-ecc","ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-ia64-icc","icc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-ppc64", "gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${ppc64_asm}:linux64:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", +"linux-ia64", "gcc:-DL_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-ia64-ecc","ecc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-ia64-icc","icc:-DL_ENDIAN -DTERMIO -O2 -Wall -no_cpprt::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_INT:${ia64_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-x86_64", "gcc:-m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", +"linux-s390x", "gcc:-m64 -DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:${s390x_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", #### SPARC Linux setups # Ray Miller has patiently # assisted with debugging of following two configs. -"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)", +"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_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", # it's a real mess with -mcpu=ultrasparc option under Linux, but # -Wa,-Av8plus should do the trick no matter what. -"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)", +"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:${sparcv9_asm}:dlfcn:linux-shared:-fPIC:-m32:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", # GCC 3.1 is a requirement -"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)", +"linux64-sparcv9","gcc:-m64 -mcpu=ultrasparc -DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT:ULTRASPARC:-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL BF_PTR:${sparcv9_asm}:dlfcn:linux-shared:-fPIC:-m64:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):::64", #### Alpha Linux with GNU C and Compaq C setups # Special notes: # - linux-alpha+bwx-gcc is ment to be used from ./config only. If you @@ -366,28 +375,25 @@ my %table=( # # # -"linux-alpha-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${no_asm}", -"linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${no_asm}", - -# Android: Linux but without -DTERMIO and pointers to headers and libs. -"android","gcc:-mandroid -I\$(ANDROID_DEV)/include -B\$(ANDROID_DEV)/lib -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-alpha-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-alpha+bwx-gcc","gcc:-O3 -DL_ENDIAN -DTERMIO::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL:${alpha_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"linux-alpha-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", +"linux-alpha+bwx-ccc","ccc:-fast -readonly_strings -DL_ENDIAN -DTERMIO::-D_REENTRANT:::SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL:${alpha_asm}", #### *BSD [do see comment about ${BSDthreads} above!] "BSD-generic32","gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"BSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"BSD-x86", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_asm}:a.out:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "debug-BSD-x86-elf", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall -g::${BSDthreads}:::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", -"BSD-sparcv8", "gcc:-DB_ENDIAN -DTERMIOS -O3 -mv8 -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL::sparcv8.o:des_enc-sparc.o fcrypt_b.o:::::::::dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"BSD-sparcv8", "gcc:-DB_ENDIAN -DTERMIOS -O3 -mv8 -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_INDEX DES_INT DES_UNROLL:${sparcv8_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "BSD-generic64","gcc:-DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_INT DES_UNROLL:${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", # -DMD32_REG_T=int doesn't actually belong in sparc64 target, it # simply *happens* to work around a compiler bug in gcc 3.3.3, # triggered by RIPEMD160 code. -"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)", -"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)", -"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)", +"BSD-sparc64", "gcc:-DB_ENDIAN -DTERMIOS -O3 -DMD32_REG_T=int -Wall::${BSDthreads}:::BN_LLONG RC2_CHAR RC4_CHUNK DES_INT DES_PTR DES_RISC2 BF_PTR:${sparcv9_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"BSD-ia64", "gcc:-DL_ENDIAN -DTERMIOS -O3 -Wall::${BSDthreads}:::SIXTY_FOUR_BIT_LONG RC4_CHUNK DES_UNROLL DES_INT:${ia64_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +"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}:elf:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall::(unknown)::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", @@ -402,6 +408,10 @@ my %table=( "QNX6", "gcc:-DTERMIOS::::-lsocket::${no_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", "QNX6-i386", "gcc:-DL_ENDIAN -DTERMIOS -O2 -Wall::::-lsocket:${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:bsd-gcc-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)", +# BeOS +"beos-x86-r5", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -mcpu=pentium -Wall::-D_REENTRANT:BEOS:-lbe -lnet:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:beos:beos-shared:-fPIC -DPIC:-shared:.so", +"beos-x86-bone", "gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -mcpu=pentium -Wall::-D_REENTRANT:BEOS:-lbe -lbind -lsocket:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:beos:beos-shared:-fPIC:-shared:.so", + #### SCO/Caldera targets. # # Originally we had like unixware-*, unixware-*-pentium, unixware-*-p6, etc. @@ -424,12 +434,12 @@ my %table=( #### IBM's AIX. "aix3-cc", "cc:-O -DB_ENDIAN -qmaxmem=16384::(unknown):AIX::BN_LLONG RC4_CHAR:::", -"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", -"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", +"aix-gcc", "gcc:-O -DB_ENDIAN::-pthread:AIX::BN_LLONG RC4_CHAR:${ppc32_asm}:aix32:dlfcn:aix-shared::-shared -Wl,-G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X32", +"aix64-gcc","gcc:-maix64 -O -DB_ENDIAN::-pthread:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR:${ppc64_asm}:aix64:dlfcn:aix-shared::-maix64 -shared -Wl,-G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X64", # Below targets assume AIX 5. Idea is to effectively disregard $OBJECT_MODE # at build time. $OBJECT_MODE is respected at ./config stage! -"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", -"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", +"aix-cc", "cc:-q32 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst::-qthreaded:AIX::BN_LLONG RC4_CHAR:${ppc32_asm}:aix32:dlfcn:aix-shared::-q32 -G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 32", +"aix64-cc", "cc:-q64 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst::-qthreaded:AIX::SIXTY_FOUR_BIT_LONG RC4_CHAR:${ppc64_asm}:aix64:dlfcn:aix-shared::-q64 -G:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)::-X 64", # # Cray T90 and similar (SDSC) @@ -477,28 +487,41 @@ my %table=( # "OS390-Unix","c89.sh:-O -DB_ENDIAN -DCHARSET_EBCDIC -DNO_SYS_PARAM_H -D_ALL_SOURCE::(unknown):::THIRTY_TWO_BIT DES_PTR DES_UNROLL MD2_CHAR RC4_INDEX RC4_CHAR BF_PTR:::", -# Win64 targets, WIN64I denotes IA-64 and WIN64A - AMD64 -"VC-WIN64I","cl::::WIN64I::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${no_asm}:win32", -"VC-WIN64A","cl::::WIN64A::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${no_asm}:win32", - # Visual C targets -"VC-NT","cl::::WINNT::BN_LLONG RC4_INDEX EXPORT_VAR_AS_FN ${x86_gcc_opts}:${no_asm}:win32", +# +# Win64 targets, WIN64I denotes IA-64 and WIN64A - AMD64 +"VC-WIN64I","cl:-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64I::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:ia64cpuid.o:ia64.o::aes_core.o aes_cbc.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o:::::::ias:win32", +"VC-WIN64A","cl:-W3 -Gs0 -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64A::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:x86_64cpuid.o:bn_asm.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:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o:auto:win32", +"debug-VC-WIN64I","cl:-W3 -Gs0 -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64I::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:ia64cpuid.o:ia64.o::aes_core.o aes_cbc.o aes-ia64.o::md5-ia64.o:sha1-ia64.o sha256-ia64.o sha512-ia64.o:::::::ias:win32", +"debug-VC-WIN64A","cl:-W3 -Gs0 -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DUNICODE -D_UNICODE -D_CRT_SECURE_NO_DEPRECATE:::WIN64A::SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:x86_64cpuid.o:bn_asm.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:::wp-x86_64.o:cmll-x86_64.o cmll_misc.o:auto:win32", +# x86 Win32 target defaults to ANSI API, if you want UNICODE, complement +# 'perl Configure VC-WIN32' with '-DUNICODE -D_UNICODE' +"VC-WIN32","cl:-W3 -WX -Gs0 -GF -Gy -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE:::WIN32::BN_LLONG RC4_INDEX EXPORT_VAR_AS_FN ${x86_gcc_opts}:${x86_asm}:win32n:win32", +# Unified CE target +"debug-VC-WIN32","cl:-W3 -WX -Gs0 -GF -Gy -Zi -nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -D_CRT_SECURE_NO_DEPRECATE:::WIN32::BN_LLONG RC4_INDEX EXPORT_VAR_AS_FN ${x86_gcc_opts}:${x86_asm}:win32n:win32", "VC-CE","cl::::WINCE::BN_LLONG RC4_INDEX EXPORT_VAR_AS_FN ${x86_gcc_opts}:${no_asm}:win32", -"VC-WIN32","cl::::WIN32::BN_LLONG RC4_INDEX EXPORT_VAR_AS_FN ${x86_gcc_opts}:${no_asm}:win32", # Borland C++ 4.5 "BC-32","bcc32::::WIN32::BN_LLONG DES_PTR RC4_INDEX EXPORT_VAR_AS_FN:${no_asm}:win32", # MinGW -"mingw", "gcc:-mno-cygwin -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall -D_WIN32_WINNT=0x333:::MINGW32:-lwsock32 -lgdi32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_coff_asm}:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin -shared:.dll.a", +"mingw", "gcc:-mno-cygwin -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall::-D_MT:MINGW32:-lws2_32 -lgdi32 -lcrypt32:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts} EXPORT_VAR_AS_FN:${x86_asm}:coff:win32:cygwin-shared:-D_WINDLL -DOPENSSL_USE_APPLINK:-mno-cygwin:.dll.a", +# As for OPENSSL_USE_APPLINK. Applink makes it possible to use .dll +# compiled with one compiler with application compiled with another +# compiler. It's possible to engage Applink support in mingw64 build, +# but it's not done, because till mingw64 supports structured exception +# handling, one can't seriously consider its binaries for using with +# non-mingw64 run-time environment. And as mingw64 is always consistent +# with itself, Applink is never engaged and can as well be omitted. +"mingw64", "gcc:-mno-cygwin -DL_ENDIAN -O3 -Wall -DWIN32_LEAN_AND_MEAN -DUNICODE -D_UNICODE::-D_MT:MINGW64:-lws2_32 -lgdi32 -lcrypt32:SIXTY_FOUR_BIT RC4_CHUNK_LL DES_INT EXPORT_VAR_AS_FN:${x86_64_asm}:mingw64:win32:cygwin-shared:-D_WINDLL:-mno-cygwin:.dll.a", # UWIN "UWIN", "cc:-DTERMIOS -DL_ENDIAN -O -Wall:::UWIN::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${no_asm}:win32", # Cygwin "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", -"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", -"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", +"Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_asm}:coff:dlfcn:cygwin-shared:-D_WINDLL:-shared:.dll.a", +"debug-Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -march=i486 -Wall -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_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", # NetWare from David Ward (dsward@novell.com) # requires either MetroWerks NLM development tools, or gcc / nlmconv @@ -516,7 +539,7 @@ my %table=( "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}::", # DJGPP -"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}:", +"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_asm}:a.out:", # Ultrix from Bernhard Simon "ultrix-cc","cc:-std1 -O -Olimit 2500 -DL_ENDIAN::(unknown):::::::", @@ -526,12 +549,12 @@ my %table=( ##### MacOS X (a.k.a. Rhapsody or Darwin) setup "rhapsody-ppc-cc","cc:-O3 -DB_ENDIAN::(unknown):MACOSX_RHAPSODY::BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${no_asm}::", -"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", -"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", -"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", -"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", -"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 DES_INT DES_UNROLL:${no_asm}:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", -"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", +"darwin-ppc-cc","cc:-arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusubtype_ALL::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:${ppc32_asm}:osx32:dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", +"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:${ppc64_asm}:osx64:dlfcn:darwin-shared:-fPIC -fno-common:-arch ppc64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", +"darwin-i386-cc","cc:-arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_INT RC4_CHUNK DES_UNROLL BF_PTR:${x86_asm}:macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", +"debug-darwin-i386-cc","cc:-arch i386 -g3 -DL_ENDIAN::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:BN_LLONG RC4_INT RC4_CHUNK DES_UNROLL BF_PTR:${x86_asm}:macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch i386 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", +"darwin64-x86_64-cc","cc:-arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall::-D_REENTRANT:MACOSX:-Wl,-search_paths_first%:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL:".eval{my $asm=$x86_64_asm;$asm=~s/rc4\-[^:]+//;$asm}.":macosx:dlfcn:darwin-shared:-fPIC -fno-common:-arch x86_64 -dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", +"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:${ppc32_asm}:osx32:dlfcn:darwin-shared:-fPIC:-dynamiclib:.\$(SHLIB_MAJOR).\$(SHLIB_MINOR).dylib", ##### A/UX "aux3-gcc","gcc:-O2 -DTERMIO::(unknown):AUX:-lbsd:RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:::", @@ -548,18 +571,23 @@ my %table=( ##### VxWorks for various targets "vxworks-ppc405","ccppc:-g -msoft-float -mlongcall -DCPU=PPC405 -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::", "vxworks-ppc750","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h \$(DEBUG_FLAG):::VXWORKS:-r:::::", -"vxworks-ppc750-debug","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DDEBUG -g:::VXWORKS:-r:::::", +"vxworks-ppc750-debug","ccppc:-ansi -nostdinc -DPPC750 -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -fsigned-char -Wall -msoft-float -mlongcall -DCPU=PPC604 -I\$(WIND_BASE)/target/h -DBN_DEBUG -DREF_CHECK -DCONF_DEBUG -DBN_CTX_DEBUG -DCRYPTO_MDEBUG -DPEDANTIC -DDEBUG_SAFESTACK -DDEBUG -g:::VXWORKS:-r:::::", "vxworks-ppc860","ccppc:-nostdinc -msoft-float -DCPU=PPC860 -DNO_STRINGS_H -I\$(WIND_BASE)/target/h:::VXWORKS:-r:::::", "vxworks-mipsle","ccmips:-B\$(WIND_BASE)/host/\$(WIND_HOST_TYPE)/lib/gcc-lib/ -DL_ENDIAN -EL -Wl,-EL -mips2 -mno-branch-likely -G 0 -fno-builtin -msoft-float -DCPU=MIPS32 -DMIPSEL -DNO_STRINGS_H -I\$(WIND_BASE)/target/h:::VXWORKS:-r::${no_asm}::::::ranlibmips:", ##### Compaq Non-Stop Kernel (Tandem) "tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::", +# uClinux +"uClinux-dist","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):BN_LLONG:::::::::::::::$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::", +"uClinux-dist64","$ENV{'CC'}:\$(CFLAGS)::-D_REENTRANT::\$(LDFLAGS) \$(LDLIBS):SIXTY_FOUR_BIT_LONG:::::::::::::::$ENV{'LIBSSL_dlfcn'}:linux-shared:-fPIC:-shared:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):$ENV{'RANLIB'}::", + ); my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A - VC-NT VC-CE VC-WIN32 - BC-32 OS2-EMX + debug-VC-WIN64I debug-VC-WIN64A + VC-NT VC-CE VC-WIN32 debug-VC-WIN32 + BC-32 netware-clib netware-clib-bsdsock netware-libc netware-libc-bsdsock); @@ -582,6 +610,9 @@ my $idx_cast_obj = $idx++; my $idx_rc4_obj = $idx++; my $idx_rmd160_obj = $idx++; my $idx_rc5_obj = $idx++; +my $idx_wp_obj = $idx++; +my $idx_cmll_obj = $idx++; +my $idx_perlasm_scheme = $idx++; my $idx_dso_scheme = $idx++; my $idx_shared_target = $idx++; my $idx_shared_cflag = $idx++; @@ -589,6 +620,7 @@ my $idx_shared_ldflag = $idx++; my $idx_shared_extension = $idx++; my $idx_ranlib = $idx++; my $idx_arflags = $idx++; +my $idx_multilib = $idx++; my $prefix=""; my $libdir=""; @@ -596,18 +628,12 @@ my $openssldir=""; my $exe_ext=""; my $install_prefix= "$ENV{'INSTALL_PREFIX'}"; my $cross_compile_prefix=""; -my $fipslibdir="/usr/local/ssl/fips-1.0/lib/"; -my $nofipscanistercheck=0; -my $fipsdso=0; -my $fipscanisterinternal="n"; -my $baseaddr="0xFB00000"; my $no_threads=0; my $threads=0; my $no_shared=0; # but "no-shared" is default my $zlib=1; # but "no-zlib" is default my $no_krb5=0; # but "no-krb5" is implied unless "--with-krb5-..." is used my $no_rfc3779=1; # but "no-rfc3779" is default -my $montasm=1; # but "no-montasm" is default my $no_asm=0; my $no_dso=0; my $no_gmp=0; @@ -624,7 +650,6 @@ my $rc2 ="crypto/rc2/rc2.h"; my $bf ="crypto/bf/bf_locl.h"; my $bn_asm ="bn_asm.o"; my $des_enc="des_enc.o fcrypt_b.o"; -my $fips_des_enc="fips_des_enc.o"; my $aes_enc="aes_core.o aes_cbc.o"; my $bf_enc ="bf_enc.o"; my $cast_enc="c_enc.o"; @@ -633,26 +658,22 @@ my $rc5_enc="rc5_enc.o"; my $md5_obj=""; my $sha1_obj=""; my $rmd160_obj=""; +my $cmll_enc="camellia.o cmll_misc.o cmll_cbc.o"; my $processor=""; my $default_ranlib; my $perl; -my $fips=0; # All of the following is disabled by default (RC5 was enabled before 0.9.8): my %disabled = ( # "what" => "comment" [or special keyword "experimental"] - "camellia" => "default", - "capieng" => "default", - "cms" => "default", - "gmp" => "default", + "gmp" => "default", "jpake" => "experimental", - "mdc2" => "default", - "montasm" => "default", # explicit option in 0.9.8 only (implicitly enabled in 0.9.9) + "md2" => "default", "rc5" => "default", - "rfc3779" => "default", - "seed" => "default", + "rfc3779" => "default", "shared" => "default", + "store" => "experimental", "zlib" => "default", "zlib-dynamic" => "default" ); @@ -660,8 +681,7 @@ my @experimental = (); # This is what $depflags will look like with the above defaults # (we need this to see if we should advise the user to run "make depend"): -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"; - +my $default_depflags = " -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_STORE"; # Explicit "no-..." options will be collected in %disabled along with the defaults. # To remove something from %disabled, use "enable-foo" (unless it's experimental). @@ -740,8 +760,8 @@ PROCESS_ARGS: { $disabled{$1} = "option"; } - } - } + } + } elsif (/^enable-(.+)$/ || /^experimental-(.+)$/) { my $algo = $1; @@ -788,39 +808,15 @@ PROCESS_ARGS: } elsif (/^386$/) { $processor=386; } - elsif (/^fips$/) - { - $fips=1; - } elsif (/^rsaref$/) { # No RSAref support any more since it's not needed. # The check for the option is there so scripts aren't # broken } - elsif (/^nofipscanistercheck$/) - { - $fips = 1; - $nofipscanistercheck = 1; - } - elsif (/^fipscanisterbuild$/) - { - $fips = 1; - $nofipscanistercheck = 1; - $fipslibdir=""; - $fipscanisterinternal="y"; - } - elsif (/^fipsdso$/) - { - $fips = 1; - $nofipscanistercheck = 1; - $fipslibdir=""; - $fipscanisterinternal="y"; - $fipsdso = 1; - } elsif (/^[-+]/) { - if (/^-[lL](.*)$/) + if (/^-[lL](.*)$/ or /^-Wl,/) { $libs.=$_." "; } @@ -856,13 +852,9 @@ PROCESS_ARGS: { $withargs{"zlib-include"}="-I$1"; } - elsif (/^--with-fipslibdir=(.*)$/) - { - $fipslibdir="$1/"; - } - elsif (/^--with-baseaddr=(.*)$/) + elsif (/^--cross-compile-prefix=(.*)$/) { - $baseaddr="$1"; + $cross_compile_prefix=$1; } else { @@ -948,6 +940,12 @@ if (defined($disabled{"tls1"})) $disabled{"tlsext"} = "forced"; } +if (defined($disabled{"ec"}) || defined($disabled{"dsa"}) + || defined($disabled{"dh"})) + { + $disabled{"gost"} = "forced"; + } + if ($target eq "TABLE") { foreach $target (sort keys %table) { print_table_entry($target); @@ -971,55 +969,6 @@ print "Configuring for $target\n"; &usage if (!defined($table{$target})); -my @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); -my $cc = $fields[$idx_cc]; -# Allow environment CC to override compiler... -if($ENV{CC}) { - $cc = $ENV{CC}; -} -my $cflags = $fields[$idx_cflags]; -my $unistd = $fields[$idx_unistd]; -my $thread_cflag = $fields[$idx_thread_cflag]; -my $sys_id = $fields[$idx_sys_id]; -my $lflags = $fields[$idx_lflags]; -my $bn_ops = $fields[$idx_bn_ops]; -my $cpuid_obj = $fields[$idx_cpuid_obj]; -my $bn_obj = $fields[$idx_bn_obj]; -my $des_obj = $fields[$idx_des_obj]; -my $aes_obj = $fields[$idx_aes_obj]; -my $bf_obj = $fields[$idx_bf_obj]; -my $md5_obj = $fields[$idx_md5_obj]; -my $sha1_obj = $fields[$idx_sha1_obj]; -my $cast_obj = $fields[$idx_cast_obj]; -my $rc4_obj = $fields[$idx_rc4_obj]; -my $rmd160_obj = $fields[$idx_rmd160_obj]; -my $rc5_obj = $fields[$idx_rc5_obj]; -my $dso_scheme = $fields[$idx_dso_scheme]; -my $shared_target = $fields[$idx_shared_target]; -my $shared_cflag = $fields[$idx_shared_cflag]; -my $shared_ldflag = $fields[$idx_shared_ldflag]; -my $shared_extension = $fields[$idx_shared_extension]; -my $ranlib = $ENV{'RANLIB'} || $fields[$idx_ranlib]; -my $ar = $ENV{'AR'} || "ar"; -my $arflags = $fields[$idx_arflags]; - -if ($fips) - { - delete $disabled{"shared"} if ($disabled{"shared"} eq "default"); - $disabled{"asm"}="forced" - if ($target !~ "VC\-.*" && - "$cpuid_obj:$bn_obj:$aes_obj:$des_obj:$sha1_obj" eq "::::"); - } - -foreach (sort @experimental) - { - my $ALGO; - ($ALGO = $_) =~ tr/[a-z]/[A-Z]/; - - # opensslconf.h will set OPENSSL_NO_... unless OPENSSL_EXPERIMENTAL_... is defined - $openssl_experimental_defines .= "#define OPENSSL_NO_$ALGO\n"; - $cflags .= " -DOPENSSL_EXPERIMENTAL_$ALGO"; - } foreach (sort (keys %disabled)) { @@ -1035,8 +984,6 @@ foreach (sort (keys %disabled)) { $no_shared = 1; } elsif (/^zlib$/) { $zlib = 0; } - elsif (/^montasm$/) - { $montasm = 0; } elsif (/^static-engine$/) { } elsif (/^zlib-dynamic$/) @@ -1078,30 +1025,25 @@ foreach (sort (keys %disabled)) print "\n"; } -my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds; +my $exp_cflags = ""; +foreach (sort @experimental) + { + my $ALGO; + ($ALGO = $_) =~ tr/[a-z]/[A-Z]/; -$IsMK1MF=1 if ($target eq "mingw" && $^O ne "cygwin" && !is_msys()); + # opensslconf.h will set OPENSSL_NO_... unless OPENSSL_EXPERIMENTAL_... is defined + $openssl_experimental_defines .= "#define OPENSSL_NO_$ALGO\n"; + $exp_cflags .= " -DOPENSSL_EXPERIMENTAL_$ALGO"; + } -$no_shared = 0 if ($fipsdso && !$IsMK1MF); +my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds; -$exe_ext=".exe" if ($target eq "Cygwin" || $target eq "DJGPP" || $target eq "mingw"); +$exe_ext=".exe" if ($target eq "Cygwin" || $target eq "DJGPP" || $target =~ /^mingw/); $exe_ext=".nlm" if ($target =~ /netware/); $exe_ext=".pm" if ($target =~ /vos/); -if ($openssldir eq "" and $prefix eq "") - { - if ($fips) - { - $openssldir="/usr/local/ssl/fips"; - } - else - { - $openssldir="/usr/local/ssl"; - } - } +$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq ""); $prefix=$openssldir if $prefix eq ""; -$libdir="lib" if $libdir eq ""; - $default_ranlib= &which("ranlib") or $default_ranlib="true"; $perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl") or $perl="perl"; @@ -1118,10 +1060,62 @@ $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/] print "IsMK1MF=$IsMK1MF\n"; +my @fields = split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); +my $cc = $fields[$idx_cc]; +# Allow environment CC to override compiler... +if($ENV{CC}) { + $cc = $ENV{CC}; +} +my $cflags = $fields[$idx_cflags]; +my $unistd = $fields[$idx_unistd]; +my $thread_cflag = $fields[$idx_thread_cflag]; +my $sys_id = $fields[$idx_sys_id]; +my $lflags = $fields[$idx_lflags]; +my $bn_ops = $fields[$idx_bn_ops]; +my $cpuid_obj = $fields[$idx_cpuid_obj]; +my $bn_obj = $fields[$idx_bn_obj]; +my $des_obj = $fields[$idx_des_obj]; +my $aes_obj = $fields[$idx_aes_obj]; +my $bf_obj = $fields[$idx_bf_obj]; +my $md5_obj = $fields[$idx_md5_obj]; +my $sha1_obj = $fields[$idx_sha1_obj]; +my $cast_obj = $fields[$idx_cast_obj]; +my $rc4_obj = $fields[$idx_rc4_obj]; +my $rmd160_obj = $fields[$idx_rmd160_obj]; +my $rc5_obj = $fields[$idx_rc5_obj]; +my $wp_obj = $fields[$idx_wp_obj]; +my $cmll_obj = $fields[$idx_cmll_obj]; +my $perlasm_scheme = $fields[$idx_perlasm_scheme]; +my $dso_scheme = $fields[$idx_dso_scheme]; +my $shared_target = $fields[$idx_shared_target]; +my $shared_cflag = $fields[$idx_shared_cflag]; +my $shared_ldflag = $fields[$idx_shared_ldflag]; +my $shared_extension = $fields[$idx_shared_extension]; +my $ranlib = $ENV{'RANLIB'} || $fields[$idx_ranlib]; +my $ar = $ENV{'AR'} || "ar"; +my $arflags = $fields[$idx_arflags]; +my $multilib = $fields[$idx_multilib]; + +# if $prefix/lib$multilib is not an existing directory, then +# assume that it's not searched by linker automatically, in +# which case adding $multilib suffix causes more grief than +# we're ready to tolerate, so don't... +$multilib="" if !-d "$prefix/lib$multilib"; + +$libdir="lib$multilib" if $libdir eq ""; + +$cflags = "$cflags$exp_cflags"; + # '%' in $lflags is used to split flags to "pre-" and post-flags my ($prelflags,$postlflags)=split('%',$lflags); -if (defined($postlflags)) { $lflags=$postlflags; } -else { $lflags=$prelflags; undef $prelflags; } +if (defined($postlflags)) { $lflags=$postlflags; } +else { $lflags=$prelflags; undef $prelflags; } + +if ($target =~ /^mingw/ && `$cc --target-help 2>&1` !~ m/\-mno\-cygwin/m) + { + $cflags =~ s/\-mno\-cygwin\s*//; + $shared_ldflag =~ s/\-mno\-cygwin\s*//; + } my $no_shared_warn=0; my $no_user_cflags=0; @@ -1249,18 +1243,9 @@ $lflags="$libs$lflags" if ($libs ne ""); if ($no_asm) { - $cpuid_obj=$bn_obj=$des_obj=$aes_obj=$bf_obj=$cast_obj=$rc4_obj=$rc5_obj=""; - $sha1_obj=$md5_obj=$rmd160_obj=""; - $cflags=~s/\-D[BL]_ENDIAN// if ($fips); - $thread_cflags=~s/\-D[BL]_ENDIAN// if ($fips); - } -if ($montasm) - { - $bn_obj =~ s/MAYBE-MO86-/mo86-/; - } -else - { - $bn_obj =~ s/MAYBE-MO86-[a-z.]*//; + $cpuid_obj=$bn_obj= + $des_obj=$aes_obj=$bf_obj=$cast_obj=$rc4_obj=$rc5_obj=$cmll_obj= + $sha1_obj=$md5_obj=$rmd160_obj=$wp_obj=""; } if (!$no_shared) @@ -1279,7 +1264,14 @@ if ($zlib) $cflags = "-DZLIB $cflags"; if (defined($disabled{"zlib-dynamic"})) { - $lflags = "$lflags -lz"; + if (defined($withargs{"zlib-lib"})) + { + $lflags = "$lflags -L" . $withargs{"zlib-lib"} . " -lz"; + } + else + { + $lflags = "$lflags -lz"; + } } else { @@ -1291,7 +1283,7 @@ if ($zlib) my $shared_mark = ""; if ($shared_target eq "") { - $no_shared_warn = 1 if !$no_shared && !$fips; + $no_shared_warn = 1 if !$no_shared; $no_shared = 1; } if (!$no_shared) @@ -1304,13 +1296,16 @@ if (!$no_shared) if (!$IsMK1MF) { + # add {no-}static-engine to options to allow mkdef.pl to work without extra arguments if ($no_shared) { $openssl_other_defines.="#define OPENSSL_NO_DYNAMIC_ENGINE\n"; + $options.=" static-engine"; } else { $openssl_other_defines.="#define OPENSSL_NO_STATIC_ENGINE\n"; + $options.=" no-static-engine"; } } @@ -1377,17 +1372,13 @@ if ($ranlib eq "") $cpuid_obj="" if ($processor eq "386"); $bn_obj = $bn_asm unless $bn_obj ne ""; -# bn86* is the only one implementing bn_*_part_words -$cflags.=" -DOPENSSL_BN_ASM_PART_WORDS" if ($bn_obj =~ /bn86/); -$cflags.=" -DOPENSSL_IA32_SSE2" if (!$no_sse2 && $bn_obj =~ /bn86/); - -$cflags.=" -DOPENSSL_BN_ASM_MONT" if ($bn_obj =~ /\-mont|mo86\-/); +# bn-586 is the only one implementing bn_*_part_words +$cflags.=" -DOPENSSL_BN_ASM_PART_WORDS" if ($bn_obj =~ /bn-586/); +$cflags.=" -DOPENSSL_IA32_SSE2" if (!$no_sse2 && $bn_obj =~ /86/); -if ($fips) - { - $openssl_other_defines.="#define OPENSSL_FIPS\n"; - } +$cflags.=" -DOPENSSL_BN_ASM_MONT" if ($bn_obj =~ /-mont/); +$cpuid_obj="mem_clr.o" unless ($cpuid_obj =~ /\.o$/); $des_obj=$des_enc unless ($des_obj =~ /\.o$/); $bf_obj=$bf_enc unless ($bf_obj =~ /\.o$/); $cast_obj=$cast_enc unless ($cast_obj =~ /\.o$/); @@ -1423,6 +1414,15 @@ if ($aes_obj =~ /\.o$/) else { $aes_obj=$aes_enc; } +$wp_obj="" if ($wp_obj =~ /mmx/ && $processor eq "386"); +if ($wp_obj =~ /\.o$/) + { + $cflags.=" -DWHIRLPOOL_ASM"; + } +else { + $wp_obj="wp_block.o"; + } +$cmll_obj=$cmll_enc unless ($cmll_obj =~ /.o$/); # "Stringify" the C flags string. This permits it to be made part of a string # and works as well on command lines. @@ -1482,13 +1482,13 @@ while () if ($sdirs) { my $dir; foreach $dir (@skip) { - s/(\s)$dir\s/$1/; + s/(\s)$dir /$1/; s/\s$dir$//; } } $sdirs = 0 unless /\\$/; - s/fips // if (/^DIRS=/ && !$fips); s/engines // if (/^DIRS=/ && $disabled{"engine"}); + s/ccgost// if (/^ENGDIRS=/ && $disabled{"gost"}); s/^VERSION=.*/VERSION=$version/; s/^MAJOR=.*/MAJOR=$major/; s/^MINOR=.*/MINOR=$minor/; @@ -1498,6 +1498,7 @@ while () s/^SHLIB_MINOR=.*/SHLIB_MINOR=$shlib_minor/; s/^SHLIB_EXT=.*/SHLIB_EXT=$shared_extension/; s/^INSTALLTOP=.*$/INSTALLTOP=$prefix/; + s/^MULTILIB=.*$/MULTILIB=$multilib/; s/^OPENSSLDIR=.*$/OPENSSLDIR=$openssldir/; s/^LIBDIR=.*$/LIBDIR=$libdir/; s/^INSTALL_PREFIX=.*$/INSTALL_PREFIX=$install_prefix/; @@ -1508,14 +1509,16 @@ while () { s/^CC=.*$/CROSS_COMPILE= $cross_compile_prefix\nCC= \$\(CROSS_COMPILE\)$cc/; s/^AR=\s*/AR= \$\(CROSS_COMPILE\)/; + s/^NM=\s*/NM= \$\(CROSS_COMPILE\)/; s/^RANLIB=\s*/RANLIB= \$\(CROSS_COMPILE\)/; + s/^MAKEDEPPROG=.*$/MAKEDEPPROG= \$\(CROSS_COMPILE\)$cc/ if $cc eq "gcc"; } else { s/^CC=.*$/CC= $cc/; s/^AR=\s*ar/AR= $ar/; s/^RANLIB=.*/RANLIB= $ranlib/; + s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc"; } - s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc"; s/^CFLAG=.*$/CFLAG= $cflags/; s/^DEPFLAG=.*$/DEPFLAG=$depflags/; s/^PEX_LIBS=.*$/PEX_LIBS= $prelflags/; @@ -1524,7 +1527,7 @@ while () s/^CPUID_OBJ=.*$/CPUID_OBJ= $cpuid_obj/; s/^BN_ASM=.*$/BN_ASM= $bn_obj/; s/^DES_ENC=.*$/DES_ENC= $des_obj/; - s/^AES_ASM_OBJ=.*$/AES_ASM_OBJ= $aes_obj/; + s/^AES_ENC=.*$/AES_ENC= $aes_obj/; s/^BF_ENC=.*$/BF_ENC= $bf_obj/; s/^CAST_ENC=.*$/CAST_ENC= $cast_obj/; s/^RC4_ENC=.*$/RC4_ENC= $rc4_obj/; @@ -1532,6 +1535,9 @@ while () s/^MD5_ASM_OBJ=.*$/MD5_ASM_OBJ= $md5_obj/; s/^SHA1_ASM_OBJ=.*$/SHA1_ASM_OBJ= $sha1_obj/; s/^RMD160_ASM_OBJ=.*$/RMD160_ASM_OBJ= $rmd160_obj/; + s/^WP_ASM_OBJ=.*$/WP_ASM_OBJ= $wp_obj/; + s/^CMLL_ENC=.*$/CMLL_ENC= $cmll_obj/; + s/^PERLASM_SCHEME=.*$/PERLASM_SCHEME= $perlasm_scheme/; s/^PROCESSOR=.*/PROCESSOR= $processor/; s/^ARFLAGS=.*/ARFLAGS= $arflags/; s/^PERL=.*/PERL= $perl/; @@ -1539,24 +1545,9 @@ while () s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/; s/^LIBZLIB=.*/LIBZLIB=$withargs{"zlib-lib"}/; s/^ZLIB_INCLUDE=.*/ZLIB_INCLUDE=$withargs{"zlib-include"}/; - s/^FIPSLIBDIR=.*/FIPSLIBDIR=$fipslibdir/; - if ($fipsdso) - { - s/^FIPSCANLIB=.*/FIPSCANLIB=libfips/; - s/^SHARED_FIPS=.*/SHARED_FIPS=libfips\$(SHLIB_EXT)/; - s/^SHLIBDIRS=.*/SHLIBDIRS= crypto ssl fips/; - } - else - { - s/^FIPSCANLIB=.*/FIPSCANLIB=libcrypto/ if $fips; - s/^SHARED_FIPS=.*/SHARED_FIPS=/; - s/^SHLIBDIRS=.*/SHLIBDIRS= crypto ssl/; - } - s/^FIPSCANISTERINTERNAL=.*/FIPSCANISTERINTERNAL=$fipscanisterinternal/; - s/^BASEADDR=.*/BASEADDR=$baseaddr/; s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/; s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/; - s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_FIPS) \$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared); + s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared); if ($shared_extension ne "" && $shared_extension =~ /^\.s([ol])\.[^\.]*$/) { my $sotmp = $1; @@ -1589,7 +1580,7 @@ print "EX_LIBS =$lflags\n"; print "CPUID_OBJ =$cpuid_obj\n"; print "BN_ASM =$bn_obj\n"; print "DES_ENC =$des_obj\n"; -print "AES_ASM_OBJ =$aes_obj\n"; +print "AES_ENC =$aes_obj\n"; print "BF_ENC =$bf_obj\n"; print "CAST_ENC =$cast_obj\n"; print "RC4_ENC =$rc4_obj\n"; @@ -1597,6 +1588,7 @@ print "RC5_ENC =$rc5_obj\n"; print "MD5_OBJ_ASM =$md5_obj\n"; print "SHA1_OBJ_ASM =$sha1_obj\n"; print "RMD160_OBJ_ASM=$rmd160_obj\n"; +print "CMLL_ENC= =$cmll_obj\n"; print "PROCESSOR =$processor\n"; print "RANLIB =$ranlib\n"; print "ARFLAGS =$arflags\n"; @@ -1684,7 +1676,7 @@ print OUT "#ifdef OPENSSL_ALGORITHM_DEFINES\n"; print OUT $openssl_algorithm_defines_trans; print OUT "#endif\n\n"; -print OUT "#define OPENSSL_CPUID_OBJ\n\n" if ($cpuid_obj); +print OUT "#define OPENSSL_CPUID_OBJ\n\n" if ($cpuid_obj ne "mem_clr.o"); while () { @@ -1696,10 +1688,7 @@ while () } elsif (/^#define\s+ENGINESDIR/) { - # $foo is to become "$prefix/lib$multilib/engines"; - # as Makefile.org and engines/Makefile are adapted for - # $multilib suffix. - my $foo = "$prefix/lib/engines"; + my $foo = "$prefix/$libdir/engines"; $foo =~ s/\\/\\\\/g; print OUT "#define ENGINESDIR \"$foo\"\n"; } @@ -1865,16 +1854,9 @@ BEGIN BEGIN BLOCK "040904b0" BEGIN -#if defined(FIPS) - VALUE "Comments", "WARNING: TEST VERSION ONLY ***NOT*** FIPS 140-2 VALIDATED.\\0" -#endif // Required: VALUE "CompanyName", "The OpenSSL Project, http://www.openssl.org/\\0" -#if defined(FIPS) - VALUE "FileDescription", "TEST UNVALIDATED FIPS140-2 DLL\\0" -#else VALUE "FileDescription", "OpenSSL Shared Library\\0" -#endif VALUE "FileVersion", "$version\\0" #if defined(CRYPTO) VALUE "InternalName", "libeay32\\0" @@ -1882,15 +1864,12 @@ BEGIN #elif defined(SSL) VALUE "InternalName", "ssleay32\\0" VALUE "OriginalFilename", "ssleay32.dll\\0" -#elif defined(FIPS) - VALUE "InternalName", "libosslfips\\0" - VALUE "OriginalFilename", "libosslfips.dll\\0" #endif VALUE "ProductName", "The OpenSSL Toolkit\\0" VALUE "ProductVersion", "$version\\0" // Optional: //VALUE "Comments", "\\0" - VALUE "LegalCopyright", "Copyright © 1998-2007 The OpenSSL Project. Copyright © 1995-1998 Eric A. Young, Tim J. Hudson. All rights reserved.\\0" + VALUE "LegalCopyright", "Copyright © 1998-2005 The OpenSSL Project. Copyright © 1995-1998 Eric A. Young, Tim J. Hudson. All rights reserved.\\0" //VALUE "LegalTrademarks", "\\0" //VALUE "PrivateBuild", "\\0" //VALUE "SpecialBuild", "\\0" @@ -1927,21 +1906,6 @@ libraries on this platform, they will at least look at it and try their best (but please first make sure you have tried with a current version of OpenSSL). EOF -print <<\EOF if ($fipscanisterinternal eq "y"); - -WARNING: OpenSSL has been configured using unsupported option(s) to internally -generate a fipscanister.o object module for TESTING PURPOSES ONLY; that -compiled module is NOT FIPS 140-2 validated and CANNOT be used to replace the -OpenSSL FIPS Object Module as identified by the CMVP -(http://csrc.nist.gov/cryptval/) in any application requiring the use of FIPS -140-2 validated software. - -This is an OpenSSL 0.9.8 test version. - -See the file README.FIPS for details of how to build a test library. - -EOF - exit(0); sub usage @@ -2017,8 +1981,8 @@ sub print_table_entry (my $cc,my $cflags,my $unistd,my $thread_cflag,my $sys_id,my $lflags, my $bn_ops,my $cpuid_obj,my $bn_obj,my $des_obj,my $aes_obj, my $bf_obj, my $md5_obj,my $sha1_obj,my $cast_obj,my $rc4_obj,my $rmd160_obj, - my $rc5_obj,my $dso_scheme,my $shared_target,my $shared_cflag, - my $shared_ldflag,my $shared_extension,my $ranlib,my $arflags)= + my $rc5_obj,my $wp_obj,my $cmll_obj,my $perlasm_scheme,my $dso_scheme,my $shared_target,my $shared_cflag, + my $shared_ldflag,my $shared_extension,my $ranlib,my $arflags,my $multilib)= split(/\s*:\s*/,$table{$target} . ":" x 30 , -1); print <. -OpenSSL 1.0.0d was released on Feb 8th, 2011. +OpenSSL 1.0.0f was released on Jan 4th, 2012. In addition to the current stable release, you can also access daily snapshots of the OpenSSL development version at directory can be removed after running "make depend". - -Dxxx, -lxxx, -Lxxx, -fxxx, -mxxx, -Kxxx These system specific options will + -Dxxx, -lxxx, -Lxxx, -fxxx, -mXXX, -Kxxx These system specific options will be passed through to the compiler to allow you to define preprocessor symbols, specify additional libraries, library directories or other compiler options. + -DHAVE_CRYPTODEV Enable the BSD cryptodev engine even if we are not using + BSD. Useful if you are running ocf-linux or something + similar. Once enabled you can also enable the use of + cryptodev digests, which is usually slower unless you have + large amounts data. Use -DUSE_CRYPTODEV_DIGESTS to force + it. Installation in Detail ---------------------- @@ -206,6 +212,10 @@ compile programs with libcrypto or libssl. lib Contains the OpenSSL library files themselves. + Use "make install_sw" to install the software without documentation, + and "install_docs_html" to install HTML renditions of the manual + pages. + Package builders who want to configure the library for standard locations, but have the package installed somewhere else so that it can easily be packaged, can use diff --git a/deps/openssl/openssl/INSTALL.VMS b/deps/openssl/openssl/INSTALL.VMS index 7658f64e1d7..e5d43a57ab5 100644 --- a/deps/openssl/openssl/INSTALL.VMS +++ b/deps/openssl/openssl/INSTALL.VMS @@ -71,7 +71,7 @@ the top to understand how to use them. However, if you want to compile all you can get, the simplest is to use MAKEVMS.COM in the top directory. The syntax is the following: - @MAKEVMS