File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ static int wolfkmod_init(void)
124124 printf ("error: wolfSSL_Init failed: %s\n" , wc_GetErrorString (error ));
125125 return (ECANCELED );
126126 }
127- #endif
127+ #endif /* WOLFCRYPT_ONLY */
128128
129129 #ifdef HAVE_FIPS
130130 error = wc_RunAllCast_fips ();
@@ -134,33 +134,33 @@ static int wolfkmod_init(void)
134134 return (ECANCELED );
135135 }
136136 else {
137- printf ("FIPS 140-3 wolfCrypt-fips v%d.%d.%d%s%s startup "
137+ printf ("info: FIPS 140-3 wolfCrypt-fips v%d.%d.%d%s%s startup "
138138 "self-test succeeded.\n" ,
139- #ifdef HAVE_FIPS_VERSION_MAJOR
139+ #ifdef HAVE_FIPS_VERSION_MAJOR
140140 HAVE_FIPS_VERSION_MAJOR ,
141- #else
141+ #else
142142 HAVE_FIPS_VERSION ,
143- #endif
144- #ifdef HAVE_FIPS_VERSION_MINOR
143+ #endif
144+ #ifdef HAVE_FIPS_VERSION_MINOR
145145 HAVE_FIPS_VERSION_MINOR ,
146- #else
146+ #else
147147 0 ,
148- #endif
149- #ifdef HAVE_FIPS_VERSION_PATCH
148+ #endif
149+ #ifdef HAVE_FIPS_VERSION_PATCH
150150 HAVE_FIPS_VERSION_PATCH ,
151- #else
151+ #else
152152 0 ,
153- #endif
154- #ifdef HAVE_FIPS_VERSION_PORT
153+ #endif
154+ #ifdef HAVE_FIPS_VERSION_PORT
155155 "-" ,
156156 HAVE_FIPS_VERSION_PORT
157- #else
157+ #else
158158 "" ,
159159 ""
160- #endif
160+ #endif
161161 );
162162 }
163- #endif
163+ #endif /* HAVE_FIPS */
164164
165165 return (0 );
166166}
@@ -209,9 +209,7 @@ static int wolfkmod_load(void)
209209 (void )wolfkmod_cleanup ();
210210 return (ECANCELED );
211211 }
212- #if defined(WOLFSSL_BSDKM_VERBOSE_DEBUG )
213212 printf ("info: wolfCrypt self-test passed.\n" );
214- #endif /* WOLFSSL_BSDKM_VERBOSE_DEBUG */
215213 #endif /* NO_CRYPT_TEST */
216214
217215 /**
You can’t perform that action at this time.
0 commit comments