@@ -219,7 +219,7 @@ void wc_CryptoCb_InfoString(wc_CryptoInfo* info)
219219 printf ("Crypto CB: %s %s (%d) (%p ctx)\n" ,
220220 GetAlgoTypeStr (info -> algo_type ),
221221 GetCipherTypeStr (info -> cipher .type ),
222- info -> cipher .type , info -> cipher .ctx );
222+ info -> cipher .type , ( void * ) info -> cipher .ctx );
223223 }
224224#endif /* !NO_AES || !NO_DES3 */
225225#if !defined(NO_SHA ) || !defined(NO_SHA256 ) || \
@@ -228,7 +228,7 @@ void wc_CryptoCb_InfoString(wc_CryptoInfo* info)
228228 printf ("Crypto CB: %s %s (%d) (%p ctx) %s\n" ,
229229 GetAlgoTypeStr (info -> algo_type ),
230230 GetHashTypeStr (info -> hash .type ),
231- info -> hash .type , info -> hash .ctx ,
231+ info -> hash .type , ( void * ) info -> hash .ctx ,
232232 (info -> hash .in != NULL ) ? "Update" : "Final" );
233233 }
234234#endif
@@ -237,7 +237,7 @@ void wc_CryptoCb_InfoString(wc_CryptoInfo* info)
237237 printf ("Crypto CB: %s %s (%d) (%p ctx) %s\n" ,
238238 GetAlgoTypeStr (info -> algo_type ),
239239 GetHashTypeStr (info -> hmac .macType ),
240- info -> hmac .macType , info -> hmac .hmac ,
240+ info -> hmac .macType , ( void * ) info -> hmac .hmac ,
241241 (info -> hmac .in != NULL ) ? "Update" : "Final" );
242242 }
243243#endif
@@ -246,7 +246,7 @@ void wc_CryptoCb_InfoString(wc_CryptoInfo* info)
246246 printf ("Crypto CB: %s %s (%d) (%p ctx) %s %s %s\n" ,
247247 GetAlgoTypeStr (info -> algo_type ),
248248 GetCmacTypeStr (info -> cmac .type ),
249- info -> cmac .type , info -> cmac .cmac ,
249+ info -> cmac .type , ( void * ) info -> cmac .cmac ,
250250 (info -> cmac .key != NULL ) ? "Init " : "" ,
251251 (info -> cmac .in != NULL ) ? "Update " : "" ,
252252 (info -> cmac .out != NULL ) ? "Final" : "" );
0 commit comments