first try to decrease the size of openssl 0.9.8a
[openwrt/svn-archive/archive.git] / openwrt / package / openssl / patches / 150-no_engines.patch
1 diff -udrNP openssl-0.9.8-stable-SNAP-20050703.orig/util/libeay.num openssl-0.9.8-stable-SNAP-20050703/util/libeay.num
2 --- openssl-0.9.8-stable-SNAP-20050703.orig/util/libeay.num 2005-07-04 00:27:14.653639088 +0200
3 +++ openssl-0.9.8-stable-SNAP-20050703/util/libeay.num 2005-07-04 22:50:07.986576664 +0200
4 @@ -2071,7 +2071,6 @@
5 UI_add_error_string 2633 EXIST::FUNCTION:
6 KRB5_CHECKSUM_free 2634 EXIST::FUNCTION:
7 OCSP_REQUEST_get_ext 2635 EXIST::FUNCTION:
8 -ENGINE_load_ubsec 2636 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
9 ENGINE_register_all_digests 2637 EXIST::FUNCTION:ENGINE
10 PKEY_USAGE_PERIOD_it 2638 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
11 PKEY_USAGE_PERIOD_it 2638 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
12 @@ -2545,7 +2544,6 @@
13 AES_set_encrypt_key 3024 EXIST::FUNCTION:AES
14 OCSP_resp_count 3025 EXIST::FUNCTION:
15 KRB5_CHECKSUM_new 3026 EXIST::FUNCTION:
16 -ENGINE_load_cswift 3027 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
17 OCSP_onereq_get0_id 3028 EXIST::FUNCTION:
18 ENGINE_set_default_ciphers 3029 EXIST::FUNCTION:ENGINE
19 NOTICEREF_it 3030 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
20 @@ -2576,7 +2574,6 @@
21 i2d_EXTENDED_KEY_USAGE 3052 EXIST::FUNCTION:
22 i2d_OCSP_SIGNATURE 3053 EXIST::FUNCTION:
23 asn1_enc_save 3054 EXIST::FUNCTION:
24 -ENGINE_load_nuron 3055 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
25 _ossl_old_des_pcbc_encrypt 3056 EXIST::FUNCTION:DES
26 PKCS12_MAC_DATA_it 3057 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
27 PKCS12_MAC_DATA_it 3057 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
28 @@ -2600,7 +2597,6 @@
29 i2d_KRB5_CHECKSUM 3072 EXIST::FUNCTION:
30 ENGINE_set_table_flags 3073 EXIST::FUNCTION:ENGINE
31 AES_options 3074 EXIST::FUNCTION:AES
32 -ENGINE_load_chil 3075 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
33 OCSP_id_cmp 3076 EXIST::FUNCTION:
34 OCSP_BASICRESP_new 3077 EXIST::FUNCTION:
35 OCSP_REQUEST_get_ext_by_NID 3078 EXIST::FUNCTION:
36 @@ -2667,7 +2663,6 @@
37 OCSP_CRLID_it 3127 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
38 i2d_KRB5_AUTHENTBODY 3128 EXIST::FUNCTION:
39 OCSP_REQUEST_get_ext_count 3129 EXIST::FUNCTION:
40 -ENGINE_load_atalla 3130 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
41 X509_NAME_it 3131 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
42 X509_NAME_it 3131 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
43 USERNOTICE_it 3132 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
44 @@ -2762,8 +2757,6 @@
45 DES_read_password 3207 EXIST::FUNCTION:DES
46 UI_UTIL_read_pw 3208 EXIST::FUNCTION:
47 UI_UTIL_read_pw_string 3209 EXIST::FUNCTION:
48 -ENGINE_load_aep 3210 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
49 -ENGINE_load_sureware 3211 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
50 OPENSSL_add_all_algorithms_noconf 3212 EXIST:!VMS:FUNCTION:
51 OPENSSL_add_all_algo_noconf 3212 EXIST:VMS:FUNCTION:
52 OPENSSL_add_all_algorithms_conf 3213 EXIST:!VMS:FUNCTION:
53 @@ -2772,7 +2765,6 @@
54 AES_ofb128_encrypt 3215 EXIST::FUNCTION:AES
55 AES_ctr128_encrypt 3216 EXIST::FUNCTION:AES
56 AES_cfb128_encrypt 3217 EXIST::FUNCTION:AES
57 -ENGINE_load_4758cca 3218 EXIST::FUNCTION:ENGINE,STATIC_ENGINE
58 _ossl_096_des_random_seed 3219 EXIST::FUNCTION:DES
59 EVP_aes_256_ofb 3220 EXIST::FUNCTION:AES
60 EVP_aes_192_ofb 3221 EXIST::FUNCTION:AES
61 @@ -3107,7 +3099,6 @@
62 STORE_method_set_modify_function 3530 EXIST:!VMS:FUNCTION:
63 STORE_meth_set_modify_fn 3530 EXIST:VMS:FUNCTION:
64 STORE_parse_attrs_next 3531 EXIST::FUNCTION:
65 -ENGINE_load_padlock 3532 EXIST::FUNCTION:ENGINE
66 EC_GROUP_set_curve_name 3533 EXIST::FUNCTION:EC
67 X509_CERT_PAIR_it 3534 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE:
68 X509_CERT_PAIR_it 3534 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION:
69 diff -udrNP openssl-0.9.8-stable-SNAP-20050703.orig/Configure openssl-0.9.8-stable-SNAP-20050703/Configure
70 --- openssl-0.9.8-stable-SNAP-20050703.orig/Configure 2005-07-04 00:27:11.169168808 +0200
71 +++ openssl-0.9.8-stable-SNAP-20050703/Configure 2005-07-05 00:02:12.590136992 +0200
72 @@ -1623,6 +1624,11 @@
73 close(OUT);
74 }
75
76 +# ugly hack to disable engines
77 +if($target eq "mingwx") {
78 + system("sed -e s/^LIB/XLIB/g -i engines/Makefile");
79 +}
80 +
81 print <<EOF;
82
83 Configured for $target.