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
..
2015-11-03 21:47:19 +00:00
2015-07-01 21:33:29 +00:00
2015-10-26 21:06:01 +00:00
2015-07-16 02:02:08 +00:00
2015-05-12 00:09:57 +00:00
2015-08-20 21:33:21 +00:00
2015-10-26 18:47:51 +00:00
2015-07-16 02:02:08 +00:00
2015-10-26 23:39:47 +00:00
2015-08-17 20:32:51 +00:00
2015-09-28 22:18:40 +00:00
2015-07-16 02:02:08 +00:00
2015-05-08 18:02:02 +00:00
2015-07-20 20:39:43 +00:00
2015-10-27 17:00:25 +00:00
2015-05-20 19:15:26 +00:00
2015-11-03 22:50:59 +00:00
2015-06-10 22:06:01 +00:00
2015-07-16 02:02:08 +00:00
2015-06-02 01:07:07 +00:00
2015-10-26 18:47:51 +00:00
2015-07-29 19:23:51 +00:00
2015-05-27 21:49:39 +00:00
2015-10-26 18:47:51 +00:00
2015-07-16 02:02:08 +00:00
2015-09-29 20:30:35 +00:00
2014-09-03 21:38:19 +00:00
2015-04-08 17:32:55 -07:00
2015-10-19 23:54:47 +00:00
2015-09-14 23:59:37 +00:00
2015-11-03 21:58:13 +00:00
2015-07-31 01:12:00 +00:00
2015-08-05 21:30:08 +00:00
2015-10-26 18:47:51 +00:00
2015-07-16 02:02:08 +00:00