mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			When reading ROT from KVStore the return ROT key size was ignored
							parent
							
								
									b895bf6349
								
							
						
					
					
						commit
						f74d545a9d
					
				| 
						 | 
				
			
			@ -169,7 +169,7 @@ int DeviceKey::read_key_from_kvstore(uint32_t *output, size_t &size)
 | 
			
		|||
        return DEVICEKEY_NOT_FOUND;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    int kvStatus = ((TDBStore *)inner_store)->reserved_data_get(output, size);
 | 
			
		||||
    int kvStatus = ((TDBStore *)inner_store)->reserved_data_get(output, size, &size);
 | 
			
		||||
    if (MBED_ERROR_ITEM_NOT_FOUND == kvStatus) {
 | 
			
		||||
        return DEVICEKEY_NOT_FOUND;
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue