Skip to content

Commit 0d1ed2e

Browse files
committed
Fix spacing issue in wolfprov init
1 parent 1ae9e85 commit 0d1ed2e

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/wp_wolfprov.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,14 +1193,14 @@ int wolfssl_provider_init(const OSSL_CORE_HANDLE* handle,
11931193
#ifdef WOLFPROV_DEBUG
11941194
ok = (wolfProv_Debugging_ON() == 0);
11951195
if (ok) {
1196-
if (wolfSSL_Debugging_ON() != 0) {
1197-
WOLFPROV_MSG(WP_LOG_PROVIDER,
1198-
"WARNING: wolfProvider built with debug but underlying wolfSSL is not!"
1199-
"Building wolfSSl with debug is highly recommended, proceeding...");
1200-
}
1201-
else {
1202-
wolfSSL_SetLoggingPrefix("wolfSSL");
1203-
}
1196+
if (wolfSSL_Debugging_ON() != 0) {
1197+
WOLFPROV_MSG(WP_LOG_PROVIDER,
1198+
"WARNING: wolfProvider built with debug but underlying wolfSSL is not!"
1199+
"Building wolfSSl with debug is highly recommended, proceeding...");
1200+
}
1201+
else {
1202+
wolfSSL_SetLoggingPrefix("wolfSSL");
1203+
}
12041204
}
12051205
#endif
12061206

@@ -1213,8 +1213,8 @@ int wolfssl_provider_init(const OSSL_CORE_HANDLE* handle,
12131213
#if defined(XGETENV) && !defined(NO_GETENV)
12141214
forceFailEnv = XGETENV("WOLFPROV_FORCE_FAIL");
12151215
if (forceFailEnv != NULL && XATOI(forceFailEnv) == 1) {
1216-
WOLFPROV_MSG(WP_LOG_PROVIDER, "WOLFPROV_FORCE_FAIL=1, Forcing failure\n");
1217-
forceFail = 1;
1216+
WOLFPROV_MSG(WP_LOG_PROVIDER, "WOLFPROV_FORCE_FAIL=1, Forcing failure\n");
1217+
forceFail = 1;
12181218
}
12191219
#else
12201220
#error "Force failure check enabled but impossible to perform without XGETENV, use -DWP_NO_FORCE_FAIL"

0 commit comments

Comments
 (0)