mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-04 07:38:47 +00:00 
			
		
		
		
	service/apt: Fix deliver arg hmac size
This commit is contained in:
		
							parent
							
								
									a13a230511
								
							
						
					
					
						commit
						8f0aebcd4f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -532,7 +532,7 @@ void Module::APTInterface::ReceiveDeliverArg(Kernel::HLERequestContext& ctx) {
 | 
			
		|||
 | 
			
		||||
    auto arg = apt->applet_manager->ReceiveDeliverArg().value_or(AppletManager::DeliverArg{});
 | 
			
		||||
    arg.param.resize(param_size);
 | 
			
		||||
    arg.hmac.resize(std::max<std::size_t>(hmac_size, 0x20));
 | 
			
		||||
    arg.hmac.resize(std::min<std::size_t>(hmac_size, 0x20));
 | 
			
		||||
 | 
			
		||||
    IPC::RequestBuilder rb = rp.MakeBuilder(4, 4);
 | 
			
		||||
    rb.Push(RESULT_SUCCESS);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue