diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2015-09-11 14:56:32 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-09-29 21:59:19 -0400 |
commit | 984d6c6052169bcae8010de33f7796e455536d61 (patch) | |
tree | 0448e92cb3b120f8e685fa2d390007c57f13dee3 /util/libeay.num | |
parent | 57ebe74831d9875dde98d5088bb78f5c89396d6b (diff) |
Fix no-stdio build
Much related/similar work also done by
Ivan Nestlerode <ivan.nestlerode@sonos.com>
+Replace FILE BIO's with dummy ops that fail.
+Include <stdio.h> for sscanf() even with no-stdio (since the declaration
is there). We rely on sscanf() to parse the OPENSSL_ia32cap environment
variable, since it can be larger than a 'long'. And we don't rely on the
availability of strtoull().
+Remove OPENSSL_stderr(); not used.
+Make OPENSSL_showfatal() do nothing (currently without stdio there's
nothing we can do).
+Remove file-based functionality from ssl/. The function
prototypes were already gone, but not the functions themselves.
+Remove unviable conf functionality via SYS_UEFI
+Add fallback definition of BUFSIZ.
+Remove functions taking FILE * from header files.
+Add missing DECLARE_PEM_write_fp_const
+Disable X509_LOOKUP_hash_dir(). X509_LOOKUP_file() was already compiled out,
so remove its prototype.
+Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid().
+Eliminate SRP_VBASE_init() and supporting functions. Users will need to
build the verifier manually instead.
+Eliminate compiler warning for unused do_pk8pkey_fp().
+Disable TEST_ENG_OPENSSL_PKEY.
+Disable GOST engine as is uses [f]printf all over the place.
+Eliminate compiler warning for unused send_fp_chars().
Signed-off-by: Rich Salz <rsalz@akamai.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'util/libeay.num')
-rwxr-xr-x | util/libeay.num | 87 |
1 files changed, 44 insertions, 43 deletions
diff --git a/util/libeay.num b/util/libeay.num index 1ae0f8eab7..1d9e2a51f0 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -75,7 +75,7 @@ BIO_new 78 EXIST::FUNCTION: BIO_new_accept 79 EXIST::FUNCTION: BIO_new_connect 80 EXIST::FUNCTION: BIO_new_fd 81 EXIST::FUNCTION: -BIO_new_file 82 EXIST::FUNCTION:STDIO +BIO_new_file 82 EXIST::FUNCTION: BIO_new_fp 83 EXIST::FUNCTION:STDIO BIO_new_socket 84 EXIST::FUNCTION: BIO_pop 85 EXIST::FUNCTION: @@ -86,7 +86,7 @@ BIO_read 89 EXIST::FUNCTION: BIO_s_accept 90 EXIST::FUNCTION: BIO_s_connect 91 EXIST::FUNCTION: BIO_s_fd 92 EXIST::FUNCTION: -BIO_s_file 93 EXIST::FUNCTION:STDIO +BIO_s_file 93 EXIST::FUNCTION: BIO_s_mem 95 EXIST::FUNCTION: BIO_s_null 96 EXIST::FUNCTION: BIO_s_proxy_client 97 NOEXIST::FUNCTION: @@ -356,9 +356,9 @@ OBJ_nid2sn 363 EXIST::FUNCTION: OBJ_obj2nid 364 EXIST::FUNCTION: OBJ_sn2nid 365 EXIST::FUNCTION: OBJ_txt2nid 366 EXIST::FUNCTION: -PEM_ASN1_read 367 EXIST::FUNCTION: +PEM_ASN1_read 367 EXIST::FUNCTION:STDIO PEM_ASN1_read_bio 368 EXIST::FUNCTION: -PEM_ASN1_write 369 EXIST::FUNCTION: +PEM_ASN1_write 369 EXIST::FUNCTION:STDIO PEM_ASN1_write_bio 370 EXIST::FUNCTION: PEM_SealFinal 371 EXIST::FUNCTION:RSA PEM_SealInit 372 EXIST::FUNCTION:RSA @@ -366,14 +366,14 @@ PEM_SealUpdate 373 EXIST::FUNCTION:RSA PEM_SignFinal 374 EXIST::FUNCTION: PEM_SignInit 375 EXIST::FUNCTION: PEM_SignUpdate 376 EXIST::FUNCTION: -PEM_X509_INFO_read 377 EXIST::FUNCTION: +PEM_X509_INFO_read 377 EXIST::FUNCTION:STDIO PEM_X509_INFO_read_bio 378 EXIST::FUNCTION: PEM_X509_INFO_write_bio 379 EXIST::FUNCTION: PEM_dek_info 380 EXIST::FUNCTION: PEM_do_header 381 EXIST::FUNCTION: PEM_get_EVP_CIPHER_INFO 382 EXIST::FUNCTION: PEM_proc_type 383 EXIST::FUNCTION: -PEM_read 384 EXIST::FUNCTION: +PEM_read 384 EXIST::FUNCTION:STDIO PEM_read_DHparams 385 EXIST::FUNCTION:DH PEM_read_DSAPrivateKey 386 EXIST::FUNCTION:DSA PEM_read_DSAparams 387 EXIST::FUNCTION:DSA @@ -393,7 +393,7 @@ PEM_read_bio_RSAPrivateKey 400 EXIST::FUNCTION:RSA PEM_read_bio_X509 401 EXIST::FUNCTION: PEM_read_bio_X509_CRL 402 EXIST::FUNCTION: PEM_read_bio_X509_REQ 403 EXIST::FUNCTION: -PEM_write 404 EXIST::FUNCTION: +PEM_write 404 EXIST::FUNCTION:STDIO PEM_write_DHparams 405 EXIST::FUNCTION:DH PEM_write_DSAPrivateKey 406 EXIST::FUNCTION:DSA PEM_write_DSAparams 407 EXIST::FUNCTION:DSA @@ -618,9 +618,9 @@ X509_STORE_add_cert 624 EXIST::FUNCTION: X509_STORE_add_lookup 625 EXIST::FUNCTION: X509_STORE_free 626 EXIST::FUNCTION: X509_STORE_get_by_subject 627 EXIST::FUNCTION: -X509_STORE_load_locations 628 EXIST::FUNCTION:STDIO +X509_STORE_load_locations 628 EXIST::FUNCTION: X509_STORE_new 629 EXIST::FUNCTION: -X509_STORE_set_default_paths 630 EXIST::FUNCTION:STDIO +X509_STORE_set_default_paths 630 EXIST::FUNCTION: X509_VAL_free 631 EXIST::FUNCTION: X509_VAL_new 632 EXIST::FUNCTION: X509_add_ext 633 EXIST::FUNCTION: @@ -653,7 +653,7 @@ X509_issuer_and_serial_cmp 659 EXIST::FUNCTION: X509_issuer_and_serial_hash 660 EXIST::FUNCTION: X509_issuer_name_cmp 661 EXIST::FUNCTION: X509_issuer_name_hash 662 EXIST::FUNCTION: -X509_load_cert_file 663 EXIST::FUNCTION:STDIO +X509_load_cert_file 663 EXIST::FUNCTION: X509_new 664 EXIST::FUNCTION: X509_print 665 EXIST::FUNCTION: X509_print_fp 666 EXIST::FUNCTION:STDIO @@ -938,7 +938,7 @@ i2d_RSAPublicKey_fp 954 EXIST::FUNCTION:RSA,STDIO BIO_copy_next_retry 955 EXIST::FUNCTION: RSA_flags 956 EXIST::FUNCTION:RSA X509_STORE_add_crl 957 EXIST::FUNCTION: -X509_load_crl_file 958 EXIST::FUNCTION:STDIO +X509_load_crl_file 958 EXIST::FUNCTION: EVP_rc2_40_cbc 959 EXIST::FUNCTION:RC2 EVP_rc4_40 960 EXIST::FUNCTION:RC4 EVP_CIPHER_CTX_init 961 EXIST::FUNCTION: @@ -1154,7 +1154,7 @@ X509V3_EXT_conf_nid 1177 EXIST::FUNCTION: X509V3_EXT_get 1178 EXIST::FUNCTION: X509V3_EXT_get_nid 1179 EXIST::FUNCTION: X509V3_EXT_print 1180 EXIST::FUNCTION: -X509V3_EXT_print_fp 1181 EXIST::FUNCTION: +X509V3_EXT_print_fp 1181 EXIST::FUNCTION:STDIO X509V3_add_standard_extensions 1182 EXIST::FUNCTION: X509V3_add_value 1183 EXIST::FUNCTION: X509V3_add_value_bool 1184 EXIST::FUNCTION: @@ -1451,7 +1451,7 @@ PKCS5_pbe2_set 1794 EXIST::FUNCTION: PKCS5_PBKDF2_HMAC_SHA1 1795 EXIST::FUNCTION: PKCS5_v2_PBE_keyivgen 1796 EXIST::FUNCTION: PEM_write_bio_PKCS8PrivateKey 1797 EXIST::FUNCTION: -PEM_write_PKCS8PrivateKey 1798 EXIST::FUNCTION: +PEM_write_PKCS8PrivateKey 1798 EXIST::FUNCTION:STDIO BIO_ctrl_get_read_request 1799 EXIST::FUNCTION: BIO_ctrl_pending 1800 EXIST::FUNCTION: BIO_ctrl_wpending 1801 EXIST::FUNCTION: @@ -1549,7 +1549,7 @@ PEM_write_bio_DSA_PUBKEY 1968 EXIST::FUNCTION:DSA X509_STORE_CTX_free 1969 EXIST::FUNCTION: EVP_PKEY_set1_DSA 1970 EXIST::FUNCTION:DSA i2d_DSA_PUBKEY_fp 1971 EXIST::FUNCTION:DSA,STDIO -X509_load_cert_crl_file 1972 EXIST::FUNCTION:STDIO +X509_load_cert_crl_file 1972 EXIST::FUNCTION: ASN1_TIME_new 1973 EXIST::FUNCTION: i2d_RSA_PUBKEY 1974 EXIST::FUNCTION:RSA X509_STORE_CTX_purpose_inherit 1976 EXIST::FUNCTION: @@ -1687,7 +1687,7 @@ CRYPTO_set_mem_debug_functions 2161 EXIST::FUNCTION: CRYPTO_pop_info 2162 EXIST::FUNCTION: CRYPTO_push_info_ 2163 EXIST::FUNCTION: CRYPTO_set_mem_debug_options 2164 EXIST::FUNCTION: -PEM_write_PKCS8PrivateKey_nid 2165 EXIST::FUNCTION: +PEM_write_PKCS8PrivateKey_nid 2165 EXIST::FUNCTION:STDIO PEM_write_bio_PKCS8PrivateKey_nid 2166 EXIST:!VMS:FUNCTION: PEM_write_bio_PKCS8PrivKey_nid 2166 EXIST:VMS:FUNCTION: d2i_PKCS8PrivateKey_bio 2167 EXIST::FUNCTION: @@ -1695,10 +1695,10 @@ ASN1_NULL_free 2168 EXIST::FUNCTION: d2i_ASN1_NULL 2169 EXIST::FUNCTION: ASN1_NULL_new 2170 EXIST::FUNCTION: i2d_PKCS8PrivateKey_bio 2171 EXIST::FUNCTION: -i2d_PKCS8PrivateKey_fp 2172 EXIST::FUNCTION: +i2d_PKCS8PrivateKey_fp 2172 EXIST::FUNCTION:STDIO i2d_ASN1_NULL 2173 EXIST::FUNCTION: -i2d_PKCS8PrivateKey_nid_fp 2174 EXIST::FUNCTION: -d2i_PKCS8PrivateKey_fp 2175 EXIST::FUNCTION: +i2d_PKCS8PrivateKey_nid_fp 2174 EXIST::FUNCTION:STDIO +d2i_PKCS8PrivateKey_fp 2175 EXIST::FUNCTION:STDIO i2d_PKCS8PrivateKey_nid_bio 2176 EXIST::FUNCTION: i2d_PKCS8PrivateKeyInfo_fp 2177 EXIST::FUNCTION:STDIO i2d_PKCS8PrivateKeyInfo_bio 2178 EXIST::FUNCTION: @@ -1786,9 +1786,9 @@ NCONF_new 2279 EXIST::FUNCTION: NCONF_get_string 2280 EXIST::FUNCTION: NCONF_free 2281 EXIST::FUNCTION: NCONF_get_number 2282 NOEXIST::FUNCTION: -CONF_dump_fp 2283 EXIST::FUNCTION: +CONF_dump_fp 2283 EXIST::FUNCTION:STDIO NCONF_load_bio 2284 EXIST::FUNCTION: -NCONF_dump_fp 2285 EXIST::FUNCTION: +NCONF_dump_fp 2285 EXIST::FUNCTION:STDIO NCONF_get_section 2286 EXIST::FUNCTION: NCONF_dump_bio 2287 EXIST::FUNCTION: CONF_dump_bio 2288 EXIST::FUNCTION: @@ -3730,7 +3730,7 @@ ERR_load_JPAKE_strings 4112 EXIST::FUNCTION:JPAKE JPAKE_STEP2_init 4113 EXIST::FUNCTION:JPAKE pqueue_size 4114 EXIST::FUNCTION: i2d_TS_ACCURACY 4115 EXIST::FUNCTION: -i2d_TS_MSG_IMPRINT_fp 4116 EXIST::FUNCTION: +i2d_TS_MSG_IMPRINT_fp 4116 EXIST::FUNCTION:STDIO i2d_TS_MSG_IMPRINT 4117 EXIST::FUNCTION: EVP_PKEY_print_public 4118 EXIST::FUNCTION: EVP_PKEY_CTX_new 4119 EXIST::FUNCTION: @@ -3746,14 +3746,14 @@ TS_RESP_dup 4128 EXIST::FUNCTION: ENGINE_register_pkey_meths 4129 EXIST::FUNCTION:ENGINE EVP_PKEY_asn1_add0 4130 EXIST::FUNCTION: PKCS7_add0_attrib_signing_time 4131 EXIST::FUNCTION: -i2d_TS_TST_INFO_fp 4132 EXIST::FUNCTION: +i2d_TS_TST_INFO_fp 4132 EXIST::FUNCTION:STDIO BIO_asn1_get_prefix 4133 EXIST::FUNCTION: TS_TST_INFO_set_time 4134 EXIST::FUNCTION: EVP_PKEY_meth_set_decrypt 4135 EXIST::FUNCTION: EVP_PKEY_set_type_str 4136 EXIST::FUNCTION: EVP_PKEY_CTX_get_keygen_info 4137 EXIST::FUNCTION: TS_REQ_set_policy_id 4138 EXIST::FUNCTION: -d2i_TS_RESP_fp 4139 EXIST::FUNCTION: +d2i_TS_RESP_fp 4139 EXIST::FUNCTION:STDIO ENGINE_get_pkey_asn1_meth_engine 4140 EXIST:!VMS:FUNCTION:ENGINE ENGINE_get_pkey_asn1_meth_eng 4140 EXIST:VMS:FUNCTION:ENGINE WHIRLPOOL_Init 4141 EXIST::FUNCTION:WHIRLPOOL @@ -3896,7 +3896,7 @@ PKCS7_to_TS_TST_INFO 4273 EXIST::FUNCTION: ASN1_PCTX_get_oid_flags 4274 EXIST::FUNCTION: TS_TST_INFO_add_ext 4275 EXIST::FUNCTION: EVP_PKEY_meth_set_derive 4276 EXIST::FUNCTION: -i2d_TS_RESP_fp 4277 EXIST::FUNCTION: +i2d_TS_RESP_fp 4277 EXIST::FUNCTION:STDIO i2d_TS_MSG_IMPRINT_bio 4278 EXIST::FUNCTION: TS_RESP_CTX_set_accuracy 4279 EXIST::FUNCTION: TS_REQ_set_nonce 4280 EXIST::FUNCTION: @@ -3925,7 +3925,7 @@ TS_REQ_get_cert_req 4302 EXIST::FUNCTION: X509_CRL_set_meth_data 4303 EXIST::FUNCTION: PKCS8_pkey_set0 4304 EXIST::FUNCTION: ASN1_STRING_copy 4305 EXIST::FUNCTION: -d2i_TS_TST_INFO_fp 4306 EXIST::FUNCTION: +d2i_TS_TST_INFO_fp 4306 EXIST::FUNCTION:STDIO X509_CRL_match 4307 EXIST::FUNCTION: EVP_PKEY_asn1_set_private 4308 EXIST::FUNCTION: TS_TST_INFO_get_ext_d2i 4309 EXIST::FUNCTION: @@ -3968,7 +3968,7 @@ TS_REQ_set_cert_req 4345 EXIST::FUNCTION: CRYPTO_THREADID_set_callback 4346 EXIST::FUNCTION: TS_CONF_set_serial 4347 EXIST::FUNCTION: TS_TST_INFO_free 4348 EXIST::FUNCTION: -d2i_TS_REQ_fp 4349 EXIST::FUNCTION: +d2i_TS_REQ_fp 4349 EXIST::FUNCTION:STDIO TS_RESP_verify_response 4350 EXIST::FUNCTION: i2d_ESS_ISSUER_SERIAL 4351 EXIST::FUNCTION: TS_ACCURACY_get_seconds 4352 EXIST::FUNCTION: @@ -4055,7 +4055,7 @@ EVP_CIPHER_do_all_sorted 4429 EXIST::FUNCTION: EVP_PKEY_CTX_free 4430 EXIST::FUNCTION: ISSUING_DIST_POINT_it 4431 EXIST:!EXPORT_VAR_AS_FUNCTION:VARIABLE: ISSUING_DIST_POINT_it 4431 EXIST:EXPORT_VAR_AS_FUNCTION:FUNCTION: -d2i_TS_MSG_IMPRINT_fp 4432 EXIST::FUNCTION: +d2i_TS_MSG_IMPRINT_fp 4432 EXIST::FUNCTION:STDIO X509_STORE_get1_certs 4433 EXIST::FUNCTION: EVP_PKEY_CTX_get_operation 4434 EXIST::FUNCTION: d2i_ESS_SIGNING_CERT 4435 EXIST::FUNCTION: @@ -4135,7 +4135,7 @@ TS_TST_INFO_set_msg_imprint 4505 EXIST::FUNCTION: GENERAL_NAME_cmp 4506 EXIST::FUNCTION: d2i_ASN1_SET_ANY 4507 EXIST::FUNCTION: ENGINE_set_pkey_meths 4508 EXIST::FUNCTION:ENGINE -i2d_TS_REQ_fp 4509 EXIST::FUNCTION: +i2d_TS_REQ_fp 4509 EXIST::FUNCTION:STDIO d2i_ASN1_SEQUENCE_ANY 4510 EXIST::FUNCTION: GENERAL_NAME_get0_otherName 4511 EXIST::FUNCTION: d2i_ESS_CERT_ID 4512 EXIST::FUNCTION: @@ -4305,7 +4305,7 @@ i2d_RSA_PSS_PARAMS 4670 EXIST::FUNCTION:RSA ASN1_item_sign_ctx 4671 EXIST::FUNCTION: EC_GFp_nistp521_method 4672 EXIST:!WIN32:FUNCTION:EC,EC_NISTP_64_GCC_128 EC_GFp_nistp256_method 4673 EXIST:!WIN32:FUNCTION:EC,EC_NISTP_64_GCC_128 -OPENSSL_stderr 4674 EXIST::FUNCTION: +OPENSSL_stderr 4674 NOEXIST::FUNCTION: OPENSSL_cpuid_setup 4675 EXIST::FUNCTION: OPENSSL_showfatal 4676 EXIST::FUNCTION: BIO_new_dgram_sctp 4677 EXIST::FUNCTION:SCTP @@ -4615,21 +4615,22 @@ TS_VERIFY_CTS_set_certs 4973 EXIST::FUNCTION: TS_VERIFY_CTX_add_flags 4974 EXIST::FUNCTION: TS_STATUS_INFO_set_status 4975 EXIST::FUNCTION: TS_VERIFY_CTX_set_store 4976 EXIST::FUNCTION: -EVP_PKEY_meth_get_decrypt 4977 EXIST::FUNCTION: -EVP_PKEY_meth_get_derive 4978 EXIST::FUNCTION: -EVP_PKEY_meth_get_verify 4979 EXIST::FUNCTION: -EVP_PKEY_meth_get_ctrl 4980 EXIST::FUNCTION: -EVP_PKEY_meth_get_verifyctx 4981 EXIST::FUNCTION: -EVP_PKEY_meth_get_paramgen 4982 EXIST::FUNCTION: -EVP_PKEY_meth_get_init 4983 EXIST::FUNCTION: -EVP_PKEY_meth_get_cleanup 4984 EXIST::FUNCTION: -EVP_PKEY_meth_get_keygen 4985 EXIST::FUNCTION: -EVP_PKEY_meth_get_signctx 4986 EXIST::FUNCTION: -EVP_PKEY_meth_get_sign 4987 EXIST::FUNCTION: -EVP_PKEY_meth_get_copy 4988 EXIST::FUNCTION: -EVP_PKEY_meth_get_verify_recover 4989 EXIST::FUNCTION: -EVP_PKEY_meth_get_encrypt 4990 EXIST::FUNCTION: +EVP_PKEY_meth_get_signctx 4977 EXIST::FUNCTION: +EVP_PKEY_meth_get_paramgen 4978 EXIST::FUNCTION: +EVP_PKEY_meth_get_encrypt 4979 EXIST::FUNCTION: +EVP_PKEY_meth_get_keygen 4980 EXIST::FUNCTION: +EVP_PKEY_meth_get_verify_recover 4981 EXIST::FUNCTION: +EVP_PKEY_meth_get_cleanup 4982 EXIST::FUNCTION: +EVP_PKEY_meth_get_verify 4984 EXIST::FUNCTION: +EVP_PKEY_meth_get_init 4985 EXIST::FUNCTION: +EVP_PKEY_meth_get_sign 4986 EXIST::FUNCTION: +EVP_PKEY_meth_get_verifyctx 4987 EXIST::FUNCTION: +EVP_PKEY_meth_get_ctrl 4988 EXIST::FUNCTION: +EVP_PKEY_meth_get_derive 4989 EXIST::FUNCTION: +EVP_PKEY_meth_get_decrypt 4990 EXIST::FUNCTION: +EVP_PKEY_meth_get_copy 4991 EXIST::FUNCTION: X509_get0_subject_key_id 4991 EXIST::FUNCTION: +declare_dh_bn 4992 EXIST::FUNCTION:DH i2d_re_X509_CRL_tbs 4992 EXIST::FUNCTION: X509_REQ_get_X509_PUBKEY 4993 EXIST::FUNCTION: X509_REQ_get0_signature 4994 EXIST::FUNCTION: |