summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordjm <>2012-10-13 21:31:56 +0000
committerdjm <>2012-10-13 21:31:56 +0000
commit7cb16bf14a2edab57faf5a6c166c77525ba57ab2 (patch)
tree9beee213390c7fe7c871fe08bb1fa191121ea7a1
parent89d6af5bf262e3e549c575ee56ad8c11b03f8c35 (diff)
downloadopenbsd-7cb16bf14a2edab57faf5a6c166c77525ba57ab2.tar.gz
openbsd-7cb16bf14a2edab57faf5a6c166c77525ba57ab2.tar.bz2
openbsd-7cb16bf14a2edab57faf5a6c166c77525ba57ab2.zip
Makefile and header changes for OpenSSL-1.0.1c
major cranks
-rw-r--r--src/lib/libssl/crypto/Makefile110
-rw-r--r--src/lib/libssl/crypto/arch/alpha/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/amd64/opensslconf.h29
-rw-r--r--src/lib/libssl/crypto/arch/arm/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/hppa/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/hppa64/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/i386/opensslconf.h28
-rw-r--r--src/lib/libssl/crypto/arch/m68k/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/m88k/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/mips64/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/powerpc/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/sh/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/sparc/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/sparc64/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/arch/vax/bn_asm_vax.S2
-rw-r--r--src/lib/libssl/crypto/arch/vax/opensslconf.h26
-rw-r--r--src/lib/libssl/crypto/shlib_version4
-rw-r--r--src/lib/libssl/shlib_version2
-rw-r--r--src/lib/libssl/ssl/Makefile11
-rw-r--r--src/lib/libssl/ssl/shlib_version2
20 files changed, 361 insertions, 139 deletions
diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libssl/crypto/Makefile
index c15f623d57..9f0dbd0263 100644
--- a/src/lib/libssl/crypto/Makefile
+++ b/src/lib/libssl/crypto/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.61 2012/08/02 13:38:39 okan Exp $ 1# $OpenBSD: Makefile,v 1.62 2012/10/13 21:31:50 djm Exp $
2 2
3LIB= crypto 3LIB= crypto
4 4
@@ -26,14 +26,6 @@ PICFLAG=-fPIC
26.endif 26.endif
27 27
28CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH 28CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH
29# Patented algorithms
30CFLAGS+= -DOPENSSL_NO_IDEA
31CFLAGS+= -DOPENSSL_NO_RC5
32CFLAGS+= -DOPENSSL_NO_KRB5
33# NB. MDC2 is off patent now, we can add it whenever we want to
34CFLAGS+= -DOPENSSL_NO_MDC2
35CFLAGS+= -DOPENSSL_NO_GOST
36
37# Hardware engines 29# Hardware engines
38CFLAGS+= -DOPENSSL_NO_HW_4758_CCA 30CFLAGS+= -DOPENSSL_NO_HW_4758_CCA
39CFLAGS+= -DOPENSSL_NO_HW_AEP 31CFLAGS+= -DOPENSSL_NO_HW_AEP
@@ -48,17 +40,18 @@ CFLAGS+= -DOPENSSL_NO_HW_UBSEC
48 40
49CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} 41CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}
50CFLAGS+= -I${LCRYPTO_SRC} 42CFLAGS+= -I${LCRYPTO_SRC}
51CFLAGS+= -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp 43CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp
52 44
53# crypto/ 45# crypto/
54SRCS+= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c 46SRCS+= cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c
55SRCS+= ebcdic.c uid.c o_time.c o_str.c o_dir.c 47SRCS+= ebcdic.c uid.c o_time.c o_str.c o_dir.c o_fips.c o_init.c fips_ers.c
56 48
57# acss/ 49# acss/
58SRCS+= acss_skey.c acss_enc.c 50SRCS+= acss_skey.c acss_enc.c
59 51
60# aes/ 52# aes/
61SRCS+= aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c aes_ctr.c aes_ige.c aes_wrap.c 53SRCS+= aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c
54SRCS+= aes_ctr.c aes_ige.c aes_wrap.c
62 55
63# asn1/ 56# asn1/
64SRCS+= a_object.c a_bitstr.c a_utctm.c a_gentm.c a_time.c a_int.c a_octet.c 57SRCS+= a_object.c a_bitstr.c a_utctm.c a_gentm.c a_time.c a_int.c a_octet.c
@@ -91,20 +84,24 @@ SRCS+= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c bn_mod.c
91SRCS+= bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c 84SRCS+= bn_print.c bn_rand.c bn_shift.c bn_word.c bn_blind.c
92SRCS+= bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c 85SRCS+= bn_kron.c bn_sqrt.c bn_gcd.c bn_prime.c bn_err.c bn_sqr.c
93SRCS+= bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_gf2m.c bn_nist.c 86SRCS+= bn_recp.c bn_mont.c bn_mpi.c bn_exp2.c bn_gf2m.c bn_nist.c
94SRCS+= bn_depr.c bn_const.c 87SRCS+= bn_depr.c bn_const.c bn_x931p.c
95 88
96# buffer/ 89# buffer/
97SRCS+= buffer.c buf_err.c 90SRCS+= buffer.c buf_err.c buf_str.c
98 91
99# camellia/ 92# camellia/
100#SRCS+= cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c 93#SRCS+= cmll_ecb.c cmll_ofb.c cmll_cfb.c cmll_ctr.c cmll_utl.c
101 94
102# cast/ 95# cast/
103SRCS+= c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c 96SRCS+= c_skey.c c_ecb.c c_enc.c c_cfb64.c c_ofb64.c
104 97
98# cmac/
99SRCS+= cmac.c cm_ameth.c cm_pmeth.c
100
105# cms/ 101# cms/
106#SRCS+= cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c 102#SRCS+= cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c
107#SRCS+= cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c 103#SRCS+= cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c
104#SRCS+= cms_pwri.c
108 105
109# comp/ 106# comp/
110SRCS+= comp_lib.c comp_err.c c_rle.c c_zlib.c 107SRCS+= comp_lib.c comp_err.c c_rle.c c_zlib.c
@@ -137,6 +134,8 @@ SRCS+= dso_openssl.c dso_win32.c dso_vms.c dso_beos.c
137SRCS+= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c 134SRCS+= ec_lib.c ecp_smpl.c ecp_mont.c ecp_nist.c ec_cvt.c ec_mult.c
138SRCS+= ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c 135SRCS+= ec_err.c ec_curve.c ec_check.c ec_print.c ec_asn1.c ec_key.c
139SRCS+= ec2_smpl.c ec2_mult.c ec_ameth.c ec_pmeth.c eck_prn.c 136SRCS+= ec2_smpl.c ec2_mult.c ec_ameth.c ec_pmeth.c eck_prn.c
137SRCS+= ecp_nistp224.c ecp_nistp256.c ecp_nistp521.c ecp_nistputil.c
138SRCS+= ecp_oct.c ec2_oct.c ec_oct.c
140 139
141# ecdh/ 140# ecdh/
142SRCS+= ech_lib.c ech_ossl.c ech_key.c ech_err.c 141SRCS+= ech_lib.c ech_ossl.c ech_key.c ech_err.c
@@ -150,7 +149,9 @@ SRCS+= eng_table.c eng_pkey.c eng_fat.c eng_all.c
150SRCS+= tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c 149SRCS+= tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c
151SRCS+= tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c 150SRCS+= tb_cipher.c tb_digest.c tb_pkmeth.c tb_asnmth.c
152SRCS+= eng_openssl.c eng_cnf.c eng_dyn.c hw_cryptodev.c 151SRCS+= eng_openssl.c eng_cnf.c eng_dyn.c hw_cryptodev.c
153SRCS+= eng_aesni.c # local addition 152SRCS+= eng_rsax.c eng_rdrand.c
153# XXX unnecessary? handled in EVP now...
154# SRCS+= eng_aesni.c # local addition
154 155
155# err/ 156# err/
156SRCS+= err.c err_all.c err_prn.c 157SRCS+= err.c err_all.c err_prn.c
@@ -166,14 +167,15 @@ SRCS+= p_open.c p_seal.c p_sign.c p_verify.c p_lib.c p_enc.c p_dec.c
166SRCS+= bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c 167SRCS+= bio_md.c bio_b64.c bio_enc.c evp_err.c e_null.c
167SRCS+= c_all.c c_allc.c c_alld.c evp_lib.c bio_ok.c 168SRCS+= c_all.c c_allc.c c_alld.c evp_lib.c bio_ok.c
168SRCS+= evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c 169SRCS+= evp_pkey.c evp_pbe.c p5_crpt.c p5_crpt2.c
169SRCS+= e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c 170SRCS+= e_old.c pmeth_lib.c pmeth_fn.c pmeth_gn.c m_sigver.c evp_fips.c
171SRCS+= e_aes_cbc_hmac_sha1.c e_rc4_hmac_md5.c
170SRCS+= e_acss.c # Local addition 172SRCS+= e_acss.c # Local addition
171 173
172# hmac/ 174# hmac/
173SRCS+= hmac.c hm_ameth.c hm_pmeth.c 175SRCS+= hmac.c hm_ameth.c hm_pmeth.c
174 176
175# idea/ 177# idea/
176#SRCS+= i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c 178SRCS+= i_cbc.c i_cfb64.c i_ofb64.c i_ecb.c i_skey.c
177 179
178# jpake/ 180# jpake/
179#SRCS+= jpake.c jpake_err.c 181#SRCS+= jpake.c jpake_err.c
@@ -194,10 +196,10 @@ SRCS+= md4_dgst.c md4_one.c
194SRCS+= md5_dgst.c md5_one.c 196SRCS+= md5_dgst.c md5_one.c
195 197
196# mdc2/ 198# mdc2/
197#SRCS+= mdc2dgst.c mdc2_one.c 199SRCS+= mdc2dgst.c mdc2_one.c
198 200
199# modes/ 201# modes/
200SRCS+= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c 202SRCS+= cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c ccm128.c xts128.c
201 203
202# objects/ 204# objects/
203SRCS+= o_names.c obj_dat.c obj_lib.c obj_err.c obj_xref.c 205SRCS+= o_names.c obj_dat.c obj_lib.c obj_err.c obj_xref.c
@@ -229,8 +231,11 @@ SRCS+= rand_win.c rand_unix.c rand_os2.c rand_nw.c
229# rc2/ 231# rc2/
230SRCS+= rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c rc2ofb64.c 232SRCS+= rc2_ecb.c rc2_skey.c rc2_cbc.c rc2cfb64.c rc2ofb64.c
231 233
234# rc4/
235SRCS+= rc4_utl.c
236
232# rc5/ 237# rc5/
233#SRCS+= rc5_skey.c rc5_ecb.c rc5_enc.c rc5cfb64.c rc5ofb64.c 238#SRCS+= rc5_skey.c rc5_ecb.c rc5cfb64.c rc5ofb64.c
234 239
235# ripemd/ 240# ripemd/
236SRCS+= rmd_dgst.c rmd_one.c 241SRCS+= rmd_dgst.c rmd_one.c
@@ -239,7 +244,7 @@ SRCS+= rmd_dgst.c rmd_one.c
239SRCS+= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c 244SRCS+= rsa_eay.c rsa_gen.c rsa_lib.c rsa_sign.c rsa_saos.c rsa_err.c
240SRCS+= rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c 245SRCS+= rsa_pk1.c rsa_ssl.c rsa_none.c rsa_oaep.c rsa_chk.c rsa_null.c
241SRCS+= rsa_pss.c rsa_x931.c rsa_asn1.c rsa_depr.c rsa_ameth.c rsa_prn.c 246SRCS+= rsa_pss.c rsa_x931.c rsa_asn1.c rsa_depr.c rsa_ameth.c rsa_prn.c
242SRCS+= rsa_pmeth.c 247SRCS+= rsa_pmeth.c rsa_crpt.c
243 248
244# seed/ 249# seed/
245#SRCS+= seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c 250#SRCS+= seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
@@ -247,6 +252,9 @@ SRCS+= rsa_pmeth.c
247# sha/ 252# sha/
248SRCS+= sha_dgst.c sha1dgst.c sha_one.c sha1_one.c sha256.c sha512.c 253SRCS+= sha_dgst.c sha1dgst.c sha_one.c sha1_one.c sha256.c sha512.c
249 254
255# srp/
256#SRCS+= srp_lib.c srp_vfy.c
257
250# stack/ 258# stack/
251SRCS+= stack.c 259SRCS+= stack.c
252 260
@@ -295,6 +303,7 @@ SRCS+= v3_asid.c v3_addr.c
295 ${LCRYPTO_SRC}/buffer \ 303 ${LCRYPTO_SRC}/buffer \
296 ${LCRYPTO_SRC}/camellia \ 304 ${LCRYPTO_SRC}/camellia \
297 ${LCRYPTO_SRC}/cast \ 305 ${LCRYPTO_SRC}/cast \
306 ${LCRYPTO_SRC}/cmac \
298 ${LCRYPTO_SRC}/cms \ 307 ${LCRYPTO_SRC}/cms \
299 ${LCRYPTO_SRC}/comp \ 308 ${LCRYPTO_SRC}/comp \
300 ${LCRYPTO_SRC}/conf \ 309 ${LCRYPTO_SRC}/conf \
@@ -357,6 +366,7 @@ HDRS=\
357 crypto/buffer/buffer.h \ 366 crypto/buffer/buffer.h \
358 crypto/camellia/camellia.h \ 367 crypto/camellia/camellia.h \
359 crypto/cast/cast.h \ 368 crypto/cast/cast.h \
369 crypto/cmac/cmac.h \
360 crypto/cms/cms.h \ 370 crypto/cms/cms.h \
361 crypto/comp/comp.h \ 371 crypto/comp/comp.h \
362 crypto/conf/conf.h \ 372 crypto/conf/conf.h \
@@ -400,6 +410,7 @@ HDRS=\
400 crypto/rsa/rsa.h \ 410 crypto/rsa/rsa.h \
401 crypto/seed/seed.h \ 411 crypto/seed/seed.h \
402 crypto/sha/sha.h \ 412 crypto/sha/sha.h \
413 crypto/srp/srp.h \
403 crypto/stack/safestack.h \ 414 crypto/stack/safestack.h \
404 crypto/stack/stack.h \ 415 crypto/stack/stack.h \
405 crypto/store/store.h \ 416 crypto/store/store.h \
@@ -464,29 +475,34 @@ des_enc.po:
464 475
465.if (${MACHINE_ARCH} == "i386") 476.if (${MACHINE_ARCH} == "i386")
466SRCS+= wp_block.c 477SRCS+= wp_block.c
467CFLAGS+= -DAES_ASM 478SRCS+= bf_cbc.c
468CFLAGS+= -DMD5_ASM 479CFLAGS+= -DOPENSSL_BN_ASM_PART_WORDS
480CFLAGS+= -DOPENSSL_IA32_SSE2
481CFLAGS+= -DOPENSSL_BN_ASM_MONT
482CFLAGS+= -DOPENSSL_BN_ASM_GF2m
469CFLAGS+= -DSHA1_ASM 483CFLAGS+= -DSHA1_ASM
470CFLAGS+= -DSHA256_ASM 484CFLAGS+= -DSHA256_ASM
471CFLAGS+= -DSHA512_ASM 485CFLAGS+= -DSHA512_ASM
486CFLAGS+= -DMD5_ASM
472CFLAGS+= -DRMD160_ASM 487CFLAGS+= -DRMD160_ASM
473CFLAGS+= -DOPENBSD_DES_ASM 488CFLAGS+= -DAES_ASM
474CFLAGS+= -DOPENSSL_BN_ASM_PART_WORDS 489CFLAGS+= -DVPAES_ASM
475CFLAGS+= -DOPENSSL_BN_ASM_MONT
476CFLAGS+= -DOPENSSL_CPUID_OBJ
477CFLAGS+= -DWHIRLPOOL_ASM 490CFLAGS+= -DWHIRLPOOL_ASM
478CFLAGS+= -DOPENSSL_IA32_SSE2 491CFLAGS+= -DGHASH_ASM
479# XXX bad relocation in CAST ASM code leads to TEXTREL for shared libcrypto 492CFLAGS+= -DOPENSSL_CPUID_OBJ
480#CFLAGS+= -DOPENBSD_CAST_ASM
481SSLASM=\ 493SSLASM=\
482 aes aes-586 \ 494 aes aes-586 \
495 aes vpaes-x86 \
496 aes aesni-x86 \
483 bf bf-586 \ 497 bf bf-586 \
484 bn bn-586 \ 498 bn bn-586 \
485 bn co-586 \ 499 bn co-586 \
486 bn x86-mont \ 500 bn x86-mont \
501 bn x86-gf2m \
487 des crypt586 \ 502 des crypt586 \
488 des des-586 \ 503 des des-586 \
489 md5 md5-586 \ 504 md5 md5-586 \
505 modes ghash-x86 \
490 rc4 rc4-586 \ 506 rc4 rc4-586 \
491 ripemd rmd-586 \ 507 ripemd rmd-586 \
492 sha sha1-586 \ 508 sha sha1-586 \
@@ -506,25 +522,37 @@ GENERATED+=x86cpuid.S
506x86cpuid.S: ${LCRYPTO_SRC}/x86cpuid.pl ${LCRYPTO_SRC}/perlasm/x86gas.pl 522x86cpuid.S: ${LCRYPTO_SRC}/x86cpuid.pl ${LCRYPTO_SRC}/perlasm/x86gas.pl
507 /usr/bin/perl -I${LCRYPTO_SRC}/perlasm ${LCRYPTO_SRC}/x86cpuid.pl \ 523 /usr/bin/perl -I${LCRYPTO_SRC}/perlasm ${LCRYPTO_SRC}/x86cpuid.pl \
508 openbsd-elf ${CFLAGS} 386 ${PICFLAG} > ${.TARGET} 524 openbsd-elf ${CFLAGS} 386 ${PICFLAG} > ${.TARGET}
509SRCS+= bf_cbc.c
510.elif (${MACHINE_ARCH} == "amd64") 525.elif (${MACHINE_ARCH} == "amd64")
511SRCS+= bf_enc.c des_enc.c 526SRCS+= bf_enc.c des_enc.c fcrypt_b.c
512SRCS+= x86_64-gcc.c 527SRCS+= x86_64-gcc.c
513SRCS+= fcrypt_b.c 528CFLAGS+= -DOPENSSL_CPUID_OBJ
514CFLAGS+= -DAES_ASM 529CFLAGS+= -DOPENSSL_IA32_SSE2
515CFLAGS+= -DMD5_ASM 530CFLAGS+= -DOPENSSL_BN_ASM_MONT
531CFLAGS+= -DOPENSSL_BN_ASM_MONT5
532CFLAGS+= -DOPENSSL_BN_ASM_GF2m
516CFLAGS+= -DSHA1_ASM 533CFLAGS+= -DSHA1_ASM
517CFLAGS+= -DSHA256_ASM 534CFLAGS+= -DSHA256_ASM
518CFLAGS+= -DSHA512_ASM 535CFLAGS+= -DSHA512_ASM
519CFLAGS+= -DOPENSSL_CPUID_OBJ 536CFLAGS+= -DMD5_ASM
520CFLAGS+= -DOPENSSL_BN_ASM_MONT 537CFLAGS+= -DAES_ASM
538CFLAGS+= -DVPAES_ASM
539CFLAGS+= -DBSAES_ASM
521CFLAGS+= -DWHIRLPOOL_ASM 540CFLAGS+= -DWHIRLPOOL_ASM
541CFLAGS+= -DGHASH_ASM
522SSLASM=\ 542SSLASM=\
523 aes aes-x86_64 \ 543 aes aes-x86_64 \
524 aes aesni-x86_64 \ 544 aes aesni-x86_64 \
545 aes aesni-sha1-x86_64 \
546 aes bsaes-x86_64 \
547 aes vpaes-x86_64 \
525 bn x86_64-mont \ 548 bn x86_64-mont \
549 bn x86_64-mont5 \
550 bn x86_64-gf2m \
551 bn modexp512-x86_64 \
526 md5 md5-x86_64 \ 552 md5 md5-x86_64 \
553 modes ghash-x86_64 \
527 rc4 rc4-x86_64 \ 554 rc4 rc4-x86_64 \
555 rc4 rc4-md5-x86_64 \
528 sha sha1-x86_64 \ 556 sha sha1-x86_64 \
529 whrlpool wp-x86_64 557 whrlpool wp-x86_64
530.for dir f in ${SSLASM} 558.for dir f in ${SSLASM}
@@ -546,14 +574,16 @@ sha512-x86_64.S: ${LCRYPTO_SRC}/sha/asm/sha512-x86_64.pl
546 cd ${LCRYPTO_SRC}/sha/asm ; \ 574 cd ${LCRYPTO_SRC}/sha/asm ; \
547 /usr/bin/perl ./sha512-x86_64.pl ${.OBJDIR}/${.TARGET} 575 /usr/bin/perl ./sha512-x86_64.pl ${.OBJDIR}/${.TARGET}
548.else 576.else
549# XXX ppccpuid.pl 577# XXX lots more asm we can turn on for other platforms. Shouldn't require
578# major cranks.
550CFLAGS+=-DOPENSSL_NO_ASM 579CFLAGS+=-DOPENSSL_NO_ASM
551SRCS+= mem_clr.c 580SRCS+= mem_clr.c
552SRCS+= aes_core.c aes_cbc.c 581SRCS+= aes_core.c aes_cbc.c
553SRCS+= bf_enc.c 582SRCS+= bf_enc.c
554SRCS+= bn_asm.c 583SRCS+= bn_asm.c
555SRCS+= des_enc.c fcrypt_b.c 584SRCS+= des_enc.c fcrypt_b.c
556SRCS+= rc4_enc.c rc4_skey.c 585SRCS+= rc4_enc.c rc4_skey.c
586#SRCS+= rc5_enc.c
557SRCS+= wp_block.c 587SRCS+= wp_block.c
558.endif 588.endif
559 589
diff --git a/src/lib/libssl/crypto/arch/alpha/opensslconf.h b/src/lib/libssl/crypto/arch/alpha/opensslconf.h
index 3dfec8c8b7..30f6acfbb1 100644
--- a/src/lib/libssl/crypto/arch/alpha/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/alpha/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/amd64/opensslconf.h b/src/lib/libssl/crypto/arch/amd64/opensslconf.h
index 6a6029013f..f969fd75e4 100644
--- a/src/lib/libssl/crypto/arch/amd64/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/amd64/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
@@ -163,9 +177,6 @@
163/* Should we define BN_DIV2W here? */ 177/* Should we define BN_DIV2W here? */
164 178
165/* Only one for the following should be defined */ 179/* Only one for the following should be defined */
166/* The prime number generation stuff may not work when
167 * EIGHT_BIT but I don't care since I've only used this mode
168 * for debuging the bignum libraries */
169#define SIXTY_FOUR_BIT_LONG 180#define SIXTY_FOUR_BIT_LONG
170#undef SIXTY_FOUR_BIT 181#undef SIXTY_FOUR_BIT
171#undef THIRTY_TWO_BIT 182#undef THIRTY_TWO_BIT
diff --git a/src/lib/libssl/crypto/arch/arm/opensslconf.h b/src/lib/libssl/crypto/arch/arm/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/arm/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/arm/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/hppa/opensslconf.h b/src/lib/libssl/crypto/arch/hppa/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/hppa/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/hppa/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/hppa64/opensslconf.h b/src/lib/libssl/crypto/arch/hppa64/opensslconf.h
index 7199268572..f8f478ff52 100644
--- a/src/lib/libssl/crypto/arch/hppa64/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/hppa64/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/i386/opensslconf.h b/src/lib/libssl/crypto/arch/i386/opensslconf.h
index b9e4249fed..f7b5a6dc38 100644
--- a/src/lib/libssl/crypto/arch/i386/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/i386/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
@@ -152,7 +166,7 @@
152/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a 166/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
153 * %20 speed up (longs are 8 bytes, int's are 4). */ 167 * %20 speed up (longs are 8 bytes, int's are 4). */
154#ifndef DES_LONG 168#ifndef DES_LONG
155#define DES_LONG unsigned int 169#define DES_LONG unsigned long
156#endif 170#endif
157#endif 171#endif
158 172
diff --git a/src/lib/libssl/crypto/arch/m68k/opensslconf.h b/src/lib/libssl/crypto/arch/m68k/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/m68k/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/m68k/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/m88k/opensslconf.h b/src/lib/libssl/crypto/arch/m88k/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/m88k/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/m88k/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/mips64/opensslconf.h b/src/lib/libssl/crypto/arch/mips64/opensslconf.h
index e481da68bf..e55282fd63 100644
--- a/src/lib/libssl/crypto/arch/mips64/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/mips64/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/powerpc/opensslconf.h b/src/lib/libssl/crypto/arch/powerpc/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/powerpc/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/powerpc/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/sh/opensslconf.h b/src/lib/libssl/crypto/arch/sh/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/sh/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/sh/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/sparc/opensslconf.h b/src/lib/libssl/crypto/arch/sparc/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/sparc/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/sparc/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/sparc64/opensslconf.h b/src/lib/libssl/crypto/arch/sparc64/opensslconf.h
index e481da68bf..e55282fd63 100644
--- a/src/lib/libssl/crypto/arch/sparc64/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/sparc64/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/arch/vax/bn_asm_vax.S b/src/lib/libssl/crypto/arch/vax/bn_asm_vax.S
index bd067a55d3..f1e46b2010 100644
--- a/src/lib/libssl/crypto/arch/vax/bn_asm_vax.S
+++ b/src/lib/libssl/crypto/arch/vax/bn_asm_vax.S
@@ -1,4 +1,4 @@
1# $OpenBSD: bn_asm_vax.S,v 1.1 2003/11/18 12:39:05 markus Exp $ 1# $OpenBSD: bn_asm_vax.S,v 1.2 2012/10/13 21:31:56 djm Exp $
2# $NetBSD: bn_asm_vax.S,v 1.1 2003/11/03 10:22:28 ragge Exp $ 2# $NetBSD: bn_asm_vax.S,v 1.1 2003/11/03 10:22:28 ragge Exp $
3 3
4#include <machine/asm.h> 4#include <machine/asm.h>
diff --git a/src/lib/libssl/crypto/arch/vax/opensslconf.h b/src/lib/libssl/crypto/arch/vax/opensslconf.h
index 7c7015c9b7..fc5ea38470 100644
--- a/src/lib/libssl/crypto/arch/vax/opensslconf.h
+++ b/src/lib/libssl/crypto/arch/vax/opensslconf.h
@@ -4,9 +4,13 @@
4/* OpenSSL was configured with the following options: */ 4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND 5#ifndef OPENSSL_DOING_MAKEDEPEND
6 6
7
7#ifndef OPENSSL_NO_CAMELLIA 8#ifndef OPENSSL_NO_CAMELLIA
8# define OPENSSL_NO_CAMELLIA 9# define OPENSSL_NO_CAMELLIA
9#endif 10#endif
11#ifndef OPENSSL_NO_EC_NISTP_64_GCC_128
12# define OPENSSL_NO_EC_NISTP_64_GCC_128
13#endif
10#ifndef OPENSSL_NO_CMS 14#ifndef OPENSSL_NO_CMS
11# define OPENSSL_NO_CMS 15# define OPENSSL_NO_CMS
12#endif 16#endif
@@ -25,18 +29,21 @@
25#ifndef OPENSSL_NO_MD2 29#ifndef OPENSSL_NO_MD2
26# define OPENSSL_NO_MD2 30# define OPENSSL_NO_MD2
27#endif 31#endif
28#ifndef OPENSSL_NO_MDC2
29# define OPENSSL_NO_MDC2
30#endif
31#ifndef OPENSSL_NO_RC5 32#ifndef OPENSSL_NO_RC5
32# define OPENSSL_NO_RC5 33# define OPENSSL_NO_RC5
33#endif 34#endif
34#ifndef OPENSSL_NO_RFC3779 35#ifndef OPENSSL_NO_RFC3779
35# define OPENSSL_NO_RFC3779 36# define OPENSSL_NO_RFC3779
36#endif 37#endif
38#ifndef OPENSSL_NO_SCTP
39# define OPENSSL_NO_SCTP
40#endif
37#ifndef OPENSSL_NO_SEED 41#ifndef OPENSSL_NO_SEED
38# define OPENSSL_NO_SEED 42# define OPENSSL_NO_SEED
39#endif 43#endif
44#ifndef OPENSSL_NO_SRP
45# define OPENSSL_NO_SRP
46#endif
40#ifndef OPENSSL_NO_SSL2 47#ifndef OPENSSL_NO_SSL2
41# define OPENSSL_NO_SSL2 48# define OPENSSL_NO_SSL2
42#endif 49#endif
@@ -45,6 +52,7 @@
45#endif 52#endif
46 53
47#endif /* OPENSSL_DOING_MAKEDEPEND */ 54#endif /* OPENSSL_DOING_MAKEDEPEND */
55
48#ifndef OPENSSL_THREADS 56#ifndef OPENSSL_THREADS
49# define OPENSSL_THREADS 57# define OPENSSL_THREADS
50#endif 58#endif
@@ -60,6 +68,9 @@
60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 68# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)
61# define NO_CAMELLIA 69# define NO_CAMELLIA
62# endif 70# endif
71# if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128)
72# define NO_EC_NISTP_64_GCC_128
73# endif
63# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) 74# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)
64# define NO_CMS 75# define NO_CMS
65# endif 76# endif
@@ -78,18 +89,21 @@
78# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 89# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)
79# define NO_MD2 90# define NO_MD2
80# endif 91# endif
81# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
82# define NO_MDC2
83# endif
84# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 92# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
85# define NO_RC5 93# define NO_RC5
86# endif 94# endif
87# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 95# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)
88# define NO_RFC3779 96# define NO_RFC3779
89# endif 97# endif
98# if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP)
99# define NO_SCTP
100# endif
90# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) 101# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)
91# define NO_SEED 102# define NO_SEED
92# endif 103# endif
104# if defined(OPENSSL_NO_SRP) && !defined(NO_SRP)
105# define NO_SRP
106# endif
93# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) 107# if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2)
94# define NO_SSL2 108# define NO_SSL2
95# endif 109# endif
diff --git a/src/lib/libssl/crypto/shlib_version b/src/lib/libssl/crypto/shlib_version
index dc34974a49..83b2480206 100644
--- a/src/lib/libssl/crypto/shlib_version
+++ b/src/lib/libssl/crypto/shlib_version
@@ -1,2 +1,2 @@
1major=20 1major=21
2minor=1 2minor=0
diff --git a/src/lib/libssl/shlib_version b/src/lib/libssl/shlib_version
index 94727e17b3..0aab0406bf 100644
--- a/src/lib/libssl/shlib_version
+++ b/src/lib/libssl/shlib_version
@@ -1,2 +1,2 @@
1major=18 1major=19
2minor=0 2minor=0
diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile
index 0b8e5dfd53..74e3baa94a 100644
--- a/src/lib/libssl/ssl/Makefile
+++ b/src/lib/libssl/ssl/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.25 2012/08/02 13:38:39 okan Exp $ 1# $OpenBSD: Makefile,v 1.26 2012/10/13 21:31:56 djm Exp $
2 2
3LIB= ssl 3LIB= ssl
4 4
@@ -6,8 +6,7 @@ SSLEAYDIST= src
6 6
7LSSL_SRC= ${.CURDIR}/../${SSLEAYDIST}/ssl 7LSSL_SRC= ${.CURDIR}/../${SSLEAYDIST}/ssl
8 8
9CFLAGS+= -DOPENSSL_NO_IDEA -DTERMIOS -DANSI_SOURCE 9CFLAGS+= -DTERMIOS -DANSI_SOURCE
10CFLAGS+= -DOPENSSL_NO_MDC2
11CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 10CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5
12CFLAGS+= -DOPENSSL_NO_SSL2 11CFLAGS+= -DOPENSSL_NO_SSL2
13CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} -I${.CURDIR}/../${SSLEAYDIST}/crypto 12CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} -I${.CURDIR}/../${SSLEAYDIST}/crypto
@@ -18,13 +17,13 @@ SRCS=\
18 s23_meth.c s23_srvr.c s23_clnt.c s23_lib.c s23_pkt.c \ 17 s23_meth.c s23_srvr.c s23_clnt.c s23_lib.c s23_pkt.c \
19 t1_meth.c t1_srvr.c t1_clnt.c t1_lib.c t1_enc.c \ 18 t1_meth.c t1_srvr.c t1_clnt.c t1_lib.c t1_enc.c \
20 d1_meth.c d1_srvr.c d1_clnt.c d1_lib.c d1_pkt.c \ 19 d1_meth.c d1_srvr.c d1_clnt.c d1_lib.c d1_pkt.c \
21 d1_both.c d1_enc.c \ 20 d1_both.c d1_enc.c d1_srtp.c \
22 ssl_lib.c ssl_err2.c ssl_cert.c ssl_sess.c \ 21 ssl_lib.c ssl_err2.c ssl_cert.c ssl_sess.c \
23 ssl_ciph.c ssl_stat.c ssl_rsa.c \ 22 ssl_ciph.c ssl_stat.c ssl_rsa.c \
24 ssl_asn1.c ssl_txt.c ssl_algs.c \ 23 ssl_asn1.c ssl_txt.c ssl_algs.c \
25 bio_ssl.c ssl_err.c kssl.c t1_reneg.c 24 bio_ssl.c ssl_err.c kssl.c tls_srp.c t1_reneg.c
26 25
27HDRS= ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h kssl.h 26HDRS= srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h kssl.h
28 27
29.PATH: ${LSSL_SRC} 28.PATH: ${LSSL_SRC}
30 29
diff --git a/src/lib/libssl/ssl/shlib_version b/src/lib/libssl/ssl/shlib_version
index 94727e17b3..0aab0406bf 100644
--- a/src/lib/libssl/ssl/shlib_version
+++ b/src/lib/libssl/ssl/shlib_version
@@ -1,2 +1,2 @@
1major=18 1major=19
2minor=0 2minor=0