mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Adding a trace category for PROVIDER calls
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25630)
This commit is contained in:
parent
5c5b8d2d7c
commit
193296eaaa
@ -140,6 +140,7 @@ static const struct trace_category_st
|
|||||||
TRACE_CATEGORY_(ENCODER),
|
TRACE_CATEGORY_(ENCODER),
|
||||||
TRACE_CATEGORY_(REF_COUNT),
|
TRACE_CATEGORY_(REF_COUNT),
|
||||||
TRACE_CATEGORY_(HTTP),
|
TRACE_CATEGORY_(HTTP),
|
||||||
|
TRACE_CATEGORY_(PROVIDER),
|
||||||
}; /* KEEP THIS LIST IN SYNC with #define OSSL_TRACE_CATEGORY_... in trace.h */
|
}; /* KEEP THIS LIST IN SYNC with #define OSSL_TRACE_CATEGORY_... in trace.h */
|
||||||
|
|
||||||
const char *OSSL_trace_get_category_name(int num)
|
const char *OSSL_trace_get_category_name(int num)
|
||||||
|
@ -56,8 +56,10 @@ extern "C" {
|
|||||||
# define OSSL_TRACE_CATEGORY_ENCODER 16
|
# define OSSL_TRACE_CATEGORY_ENCODER 16
|
||||||
# define OSSL_TRACE_CATEGORY_REF_COUNT 17
|
# define OSSL_TRACE_CATEGORY_REF_COUNT 17
|
||||||
# define OSSL_TRACE_CATEGORY_HTTP 18
|
# define OSSL_TRACE_CATEGORY_HTTP 18
|
||||||
|
# define OSSL_TRACE_CATEGORY_PROVIDER 19
|
||||||
|
|
||||||
/* Count of available categories. */
|
/* Count of available categories. */
|
||||||
# define OSSL_TRACE_CATEGORY_NUM 19
|
# define OSSL_TRACE_CATEGORY_NUM 20
|
||||||
/* KEEP THIS LIST IN SYNC with trace_categories[] in crypto/trace.c */
|
/* KEEP THIS LIST IN SYNC with trace_categories[] in crypto/trace.c */
|
||||||
|
|
||||||
/* Returns the trace category number for the given |name| */
|
/* Returns the trace category number for the given |name| */
|
||||||
|
Loading…
Reference in New Issue
Block a user