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