mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-31 03:30:35 -04:00 
			
		
		
		
	programs: ssl: Fix printf parameter type cast
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
		
							parent
							
								
									9e12f8f425
								
							
						
					
					
						commit
						c9851141a2
					
				| @ -3580,7 +3580,7 @@ exit: | |||||||
|             ( opt.query_config_mode == DFL_QUERY_CONFIG_MODE ) ) |             ( opt.query_config_mode == DFL_QUERY_CONFIG_MODE ) ) | ||||||
|         { |         { | ||||||
|             mbedtls_printf( "Failed to destroy key slot %u - error was %d", |             mbedtls_printf( "Failed to destroy key slot %u - error was %d", | ||||||
|                             (int) slot, (int) status ); |                             (unsigned) slot, (int) status ); | ||||||
|             if( ret == 0 ) |             if( ret == 0 ) | ||||||
|                 ret = MBEDTLS_ERR_SSL_HW_ACCEL_FAILED; |                 ret = MBEDTLS_ERR_SSL_HW_ACCEL_FAILED; | ||||||
|         } |         } | ||||||
|  | |||||||
| @ -4521,7 +4521,7 @@ exit: | |||||||
|             ( opt.query_config_mode == DFL_QUERY_CONFIG_MODE ) ) |             ( opt.query_config_mode == DFL_QUERY_CONFIG_MODE ) ) | ||||||
|         { |         { | ||||||
|             mbedtls_printf( "Failed to destroy key slot %u - error was %d", |             mbedtls_printf( "Failed to destroy key slot %u - error was %d", | ||||||
|                             (int) psk_slot, (int) status ); |                             (unsigned) psk_slot, (int) status ); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| #endif /* MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED && | #endif /* MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED && | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ronald Cron
						Ronald Cron