boringssl/crypto/bio
David Benjamin 3fc138eccd Don't bother sampling __func__.
Removing the function codes continued to sample __func__ for compatibility with
ERR_print_errors_cb, but not ERR_error_string_n. We can just emit
OPENSSL_internal for both. ERR_print_errors_cb already has the file and line
number available which is strictly more information than the function name.
(ERR_error_string_n does not, but we'd already turned that to
OPENSSL_internal.)

This shaves 100kb from a release build of the bssl tool.

In doing so, put an unused function code parameter back into ERR_put_error to
align with OpenSSL. We don't need to pass an additional string in anymore, so
OpenSSL compatibility with anything which uses ERR_LIB_USER or
ERR_get_next_error_library costs nothing. (Not that we need it.)

Change-Id: If6af34628319ade4145190b6f30a0d820e00b20d
Reviewed-on: https://boringssl-review.googlesource.com/6387
Reviewed-by: Adam Langley <agl@google.com>
2015-11-03 22:50:59 +00:00
..
bio_mem.c Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
bio_test.cc Add |BIO_read_asn1| to read a single ASN.1 object. 2015-05-27 15:21:56 -07:00
bio.c Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
buffer.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
connect.c Don't bother sampling __func__. 2015-11-03 22:50:59 +00:00
fd.c Align BIO_get_fd with upstream. 2015-10-12 22:18:17 +00:00
file.c Don't bother sampling __func__. 2015-11-03 22:50:59 +00:00
hexdump.c Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
internal.h
pair.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
printf.c Fix all sign/unsigned warnings with Clang and GCC. 2015-10-27 22:48:00 +00:00
socket_helper.c Don't bother sampling __func__. 2015-11-03 22:50:59 +00:00
socket.c Lowercase some Windows headers. 2015-03-31 22:21:42 +00:00