aboutsummaryrefslogtreecommitdiff
path: root/include/openssl/trace.h
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-03-21 18:59:13 +0100
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-03-30 00:04:37 +0100
commit3a8269b3194f7528e3657cef70fe2db1ed38b755 (patch)
tree94025c25171cb2aa390151825998c388cc02349d /include/openssl/trace.h
parent02bd2d7f5ce30928baf11226fa31125337251e49 (diff)
downloadopenssl-3a8269b3194f7528e3657cef70fe2db1ed38b755.zip
openssl-3a8269b3194f7528e3657cef70fe2db1ed38b755.tar.gz
openssl-3a8269b3194f7528e3657cef70fe2db1ed38b755.tar.bz2
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 'include/openssl/trace.h')
-rw-r--r--include/openssl/trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/trace.h b/include/openssl/trace.h
index 13cd2dd..48c98ca 100644
--- a/include/openssl/trace.h
+++ b/include/openssl/trace.h
@@ -30,13 +30,13 @@ extern "C" {
* BIO which sends all trace output it receives to the registered application
* callback.
*
- * The ANY category can be used as a fallback category to register a single
+ * The ALL category can be used as a fallback category to register a single
* channel which receives the output from all categories. However, if the
* application intends to print the trace channel name in the line prefix,
* it is better to register channels for all categories separately.
* (This is how the openssl application does it.)
*/
-# define OSSL_TRACE_CATEGORY_ANY 0 /* The fallback */
+# define OSSL_TRACE_CATEGORY_ALL 0 /* The fallback */
# define OSSL_TRACE_CATEGORY_TRACE 1
# define OSSL_TRACE_CATEGORY_INIT 2
# define OSSL_TRACE_CATEGORY_TLS 3