Fix no-stdio build
authorDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 11 Sep 2015 18:56:32 +0000 (14:56 -0400)
committerRich Salz <rsalz@openssl.org>
Wed, 30 Sep 2015 01:59:19 +0000 (21:59 -0400)
commit984d6c6052169bcae8010de33f7796e455536d61
tree0448e92cb3b120f8e685fa2d390007c57f13dee3
parent57ebe74831d9875dde98d5088bb78f5c89396d6b
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>
34 files changed:
CHANGES
Configure
crypto/asn1/Makefile
crypto/asn1/a_strex.c
crypto/asn1/tasn_utl.c
crypto/bio/bss_file.c
crypto/conf/conf_sap.c
crypto/cryptlib.c
crypto/des/read2pwd.c
crypto/ec/Makefile
crypto/ec/ec_key.c
crypto/engine/eng_openssl.c
crypto/include/internal/cryptlib.h
crypto/lock.c
crypto/pem/pem_pk8.c
crypto/ts/Makefile
crypto/ui/ui_util.c
crypto/x509/by_dir.c
crypto/x509/by_file.c
crypto/x509/x509_d2.c
e_os.h
include/openssl/bio.h
include/openssl/conf.h
include/openssl/pem.h
include/openssl/ssl.h
include/openssl/ts.h
include/openssl/x509_vfy.h
include/openssl/x509v3.h
ssl/ssl_cert.c
ssl/ssl_lib.c
ssl/ssl_rsa.c
test/Makefile
util/libeay.num
util/ssleay.num