We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445f6ac commit bc04f84Copy full SHA for bc04f84
1 file changed
src/wp_wolfprov.c
@@ -33,6 +33,8 @@
33
#include "wolfprovider/wp_wolfprov.h"
34
#include "wolfprovider/alg_funcs.h"
35
36
+#include "wolfssl/wolfcrypt/logging.h"
37
+
38
const char* wolfprovider_id = "libwolfprov";
39
40
/* Core function that gets the table of parameters. */
@@ -1133,6 +1135,11 @@ int wolfssl_provider_init(const OSSL_CORE_HANDLE* handle,
1133
1135
int ok = 1;
1134
1136
OSSL_FUNC_core_get_libctx_fn* c_get_libctx = NULL;
1137
1138
+#ifdef WOLFPROV_DEBUG
1139
+ ok = (wolfProv_Debugging_ON() == 0) && (wolfSSL_Debugging_ON() == 0);
1140
+ wolfSSL_SetLoggingPrefix("wolfSSL");
1141
+#endif
1142
1143
for (; in->function_id != 0; in++) {
1144
switch (in->function_id) {
1145
case OSSL_FUNC_CORE_GETTABLE_PARAMS:
0 commit comments