mirror of
				https://github.com/Mbed-TLS/mbedtls.git
				synced 2025-11-03 20:33:16 +03:00 
			
		
		
		
	psa_util: add variable casting in convert_raw_to_der_single_int()
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
		@@ -364,7 +364,7 @@ static int convert_raw_to_der_single_int(const unsigned char *raw_buf, size_t ra
 | 
				
			|||||||
                                         unsigned char *der_buf_end)
 | 
					                                         unsigned char *der_buf_end)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    unsigned char *p = der_buf_end;
 | 
					    unsigned char *p = der_buf_end;
 | 
				
			||||||
    int len = raw_len;
 | 
					    int len = (int) raw_len;
 | 
				
			||||||
    int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
 | 
					    int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /* Copy the raw coordinate to the end of der_buf. */
 | 
					    /* Copy the raw coordinate to the end of der_buf. */
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user