Please pull the following fixes from
   git://git.infradead.org/users/dwmw2/openssl-nostdio.git

These are browsable in gitweb at 
   http://git.infradead.org/users/dwmw2/openssl-nostdio.git

This removes a number of functions which require file access, which is not 
possible when OPENSSL_NO_STDIO is set. In some cases the functions were already 
missing, but the declarations were still present in the header files (and 
causing compilation errors if FILE was not defined). In other cases the 
declarations were correctly made conditional but the actual functions still 
existed.

A couple of places use the BUFSIZ macro for a temporary buffer, and needed an 
alternative.

The unused OPENSSL_stderr() function that does nothing but return stderr is 
removed entirely.

OPENSSL_showfatal() now does nothing for the no-stdio build. It might be 
possible to (re)introduce OPENSSL_std{in,out,err} as BIOs. Even platforms which 
have no file access and no true stdio will often have some form of console 
output, and BIO_printf() to that could certainly work for things like 
OPENSSL_showfatal(). That's left for a later date.

The main thing that I'm *not* happy with is including <stdio.h> to make 
sscanf() work in OPENSSL_cpuid_setup(). That's at the very end of the tree for 
a reason.

David Woodhouse (17):
      Eliminate compiler warning for unused send_fp_chars() with no-stdio
      Disable GOST engine when no-stdio
      Disable TEST_ENG_OPENSSL_PKEY with no-stdio
      Eliminate compiler warning for unused do_pk8pkey_fp() with no-stdio
      Eliminate SRP_VBASE_init() and supporting functions for no-stdio
      Use OPENSSL_showfatal() in CRYPTO_destroy_dynlockid() to fix no-stdio
      Disable X509_LOOKUP_hash_dir() with no-stdio
      Add missing DECLARE_PEM_write_fp_const for no-stdio
      Remove functions taking FILE * from header files for no-stdio
      Disable file-based TS_CONF_* functions for no-stdio build
      Disable file: values in pci_process_value() for no-stdio build
      Add fallback definition of BUFSIZ for no-stdio build
      Remove unviable conf functionality from no-stdio build
      Remove file-based functionality from ssl/ for no-stdio build
      Kill OPENSSL_stderr()
      Make OPENSSL_showfatal do nothing with no-stdio
      Include <stdio.h> for sscanf() even with no-stdio

-- 
                  Sent with Evolution's ActiveSync support.

David Woodhouse                            Open Source Technology Centre
david.woodho...@intel.com                              Intel Corporation


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
openssl-bugs-mod mailing list
openssl-bugs-...@openssl.org
https://mta.openssl.org/mailman/listinfo/openssl-bugs-mod
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to