Commit ecbfaef2 authored by Dr. Matthias St. Pierre's avatar Dr. Matthias St. Pierre
Browse files

trace: add PROVIDER_CONF trace category

parent 69539990
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ static const struct trace_category_st trace_categories[] = {
    TRACE_CATEGORY_(PKCS12_DECRYPT),
    TRACE_CATEGORY_(X509V3_POLICY),
    TRACE_CATEGORY_(BN_CTX),
    TRACE_CATEGORY_(PROVIDER_CONF),
};

const char *OSSL_trace_get_category_name(int num)
+4 −0
Original line number Diff line number Diff line
@@ -176,6 +176,10 @@ point during evaluation.

Traces BIGNUM context operations.

=item C<OSSL_TRACE_CATEGORY_PROVIDER_CONF>

Traces the OSSL_PROVIDER configuration.

=back

There is also C<OSSL_TRACE_CATEGORY_ALL>, which works as a fallback
+2 −1
Original line number Diff line number Diff line
@@ -49,7 +49,8 @@ extern "C" {
# define OSSL_TRACE_CATEGORY_PKCS12_DECRYPT     10
# define OSSL_TRACE_CATEGORY_X509V3_POLICY      11
# define OSSL_TRACE_CATEGORY_BN_CTX             12
# define OSSL_TRACE_CATEGORY_NUM                13
# define OSSL_TRACE_CATEGORY_PROVIDER_CONF      13
# define OSSL_TRACE_CATEGORY_NUM                14

/* Returns the trace category number for the given |name| */
int OSSL_trace_get_category_num(const char *name);