diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-03-21 18:59:13 +0100 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-03-30 00:04:37 +0100 |
commit | 3a8269b3194f7528e3657cef70fe2db1ed38b755 (patch) | |
tree | 94025c25171cb2aa390151825998c388cc02349d /crypto/trace.c | |
parent | trace: apps/openssl: print the correct category name (diff) | |
download | openssl-3a8269b3194f7528e3657cef70fe2db1ed38b755.tar.xz openssl-3a8269b3194f7528e3657cef70fe2db1ed38b755.zip |
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 <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/8552)
Diffstat (limited to 'crypto/trace.c')
-rw-r--r-- | crypto/trace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/trace.c b/crypto/trace.c index 70e93c292d..efcf8be76c 100644 --- a/crypto/trace.c +++ b/crypto/trace.c @@ -119,7 +119,7 @@ struct trace_category_st { #define TRACE_CATEGORY_(name) { #name, OSSL_TRACE_CATEGORY_##name } static const struct trace_category_st trace_categories[] = { - TRACE_CATEGORY_(ANY), + TRACE_CATEGORY_(ALL), TRACE_CATEGORY_(TRACE), TRACE_CATEGORY_(INIT), TRACE_CATEGORY_(TLS), @@ -422,7 +422,7 @@ static int ossl_trace_get_category(int category) return -1; if (trace_channels[category].bio != NULL) return category; - return OSSL_TRACE_CATEGORY_ANY; + return OSSL_TRACE_CATEGORY_ALL; } #endif |