From 3a8269b3194f7528e3657cef70fe2db1ed38b755 Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Thu, 21 Mar 2019 18:59:13 +0100 Subject: trace: rename the default trace category from 'ANY' to 'ALL' It seems more intuitive to set `OPENSSL_TRACE=all` instead of `OPENSSL_TRACE=any` to obtain trace output for all categories. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/8552) --- apps/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/openssl.c') diff --git a/apps/openssl.c b/apps/openssl.c index a63f82b15b..9c0d933d7b 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -226,7 +226,7 @@ static void setup_trace(const char *str) for (valp = val; (item = strtok(valp, ",")) != NULL; valp = NULL) { int category = OSSL_trace_get_category_num(item); - if (category == OSSL_TRACE_CATEGORY_ANY) { + if (category == OSSL_TRACE_CATEGORY_ALL) { while (++category < OSSL_TRACE_CATEGORY_NUM) setup_trace_category(category); break; -- cgit v1.2.3