Skip to content

Commit f670a35

Browse files
committed
Fix build error for wolfProvider with FIPS enabled
1 parent 819f8d5 commit f670a35

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/wp_wolfprov.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,21 +1131,21 @@ static const OSSL_DISPATCH wolfprov_dispatch_table[] = {
11311131
(void)ok;
11321132
(void)err;
11331133
(void)hash;
1134-
WOLFPROVIDER_MSG(WE_LOG_PROVIDER,
1134+
WOLFPROV_MSG(WP_LOG_PROVIDER,
11351135
"in my Fips callback, ok = %d, err = %d\n", ok, err);
1136-
WOLFPROVIDER_MSG(WE_LOG_PROVIDER,
1136+
WOLFPROV_MSG(WP_LOG_PROVIDER,
11371137
"message = %s\n", wc_GetErrorString(err));
1138-
WOLFPROVIDER_MSG(WE_LOG_PROVIDER,
1138+
WOLFPROV_MSG(WP_LOG_PROVIDER,
11391139
"hash = %s\n", hash);
11401140

11411141
#ifdef WC_NO_ERR_TRACE
11421142
if (err == WC_NO_ERR_TRACE(IN_CORE_FIPS_E)) {
11431143
#else
11441144
if (err == IN_CORE_FIPS_E) {
11451145
#endif
1146-
WOLFPROVIDER_MSG(WE_LOG_PROVIDER,
1146+
WOLFPROV_MSG(WP_LOG_PROVIDER,
11471147
"In core integrity hash check failure, copy above hash\n");
1148-
WOLFPROVIDER_MSG(WE_LOG_PROVIDER,
1148+
WOLFPROV_MSG(WP_LOG_PROVIDER,
11491149
"into verifyCore[] in fips_test.c and rebuild\n");
11501150
}
11511151
}

0 commit comments

Comments
 (0)