summaryrefslogtreecommitdiffstats
path: root/apps/errstr.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2016-08-03 15:15:20 -0400
committerRich Salz <rsalz@openssl.org>2016-08-04 14:23:08 -0400
commit412c8507ee61aeb1fcac4b6e84cd7e6501789124 (patch)
tree645b9f9579c5e8b8f78da4b53a92e3d44f641526 /apps/errstr.c
parent20fc103f782bb0bcd41d211c6423187b02146b9d (diff)
Remove "lockit" from internal error-hash function
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1389)
Diffstat (limited to 'apps/errstr.c')
-rw-r--r--apps/errstr.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/apps/errstr.c b/apps/errstr.c
index ae7acf52f8..5fda799d14 100644
--- a/apps/errstr.c
+++ b/apps/errstr.c
@@ -17,16 +17,13 @@
#include <openssl/ssl.h>
typedef enum OPTION_choice {
- OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
- OPT_STATS
+ OPT_ERR = -1, OPT_EOF = 0, OPT_HELP
} OPTION_CHOICE;
OPTIONS errstr_options[] = {
{OPT_HELP_STR, 1, '-', "Usage: %s [options] errnum...\n"},
{OPT_HELP_STR, 1, '-', " errnum Error number\n"},
{"help", OPT_HELP, '-', "Display this summary"},
- {"stats", OPT_STATS, '-',
- "Print internal hashtable statistics (long!)"},
{NULL}
};
@@ -48,14 +45,6 @@ int errstr_main(int argc, char **argv)
opt_help(errstr_options);
ret = 0;
goto end;
- case OPT_STATS:
- lh_ERR_STRING_DATA_node_stats_bio(ERR_get_string_table(),
- bio_out);
- lh_ERR_STRING_DATA_stats_bio(ERR_get_string_table(), bio_out);
- lh_ERR_STRING_DATA_node_usage_stats_bio(ERR_get_string_table(),
- bio_out);
- ret = 0;
- goto end;
}
}