mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	- Fixed signed status of ret
This commit is contained in:
		
							parent
							
								
									8913f82c26
								
							
						
					
					
						commit
						ed375caa3b
					
				@ -362,7 +362,8 @@ int rsa_pkcs1_encrypt( rsa_context *ctx,
 | 
			
		||||
                       const unsigned char *input,
 | 
			
		||||
                       unsigned char *output )
 | 
			
		||||
{
 | 
			
		||||
    size_t nb_pad, olen, ret;
 | 
			
		||||
    size_t nb_pad, olen;
 | 
			
		||||
    int ret;
 | 
			
		||||
    unsigned char *p = output;
 | 
			
		||||
#if defined(POLARSSL_PKCS1_V21)
 | 
			
		||||
    unsigned int hlen;
 | 
			
		||||
@ -592,7 +593,8 @@ int rsa_pkcs1_sign( rsa_context *ctx,
 | 
			
		||||
    unsigned char *p = sig;
 | 
			
		||||
#if defined(POLARSSL_PKCS1_V21)
 | 
			
		||||
    unsigned char salt[POLARSSL_MD_MAX_SIZE];
 | 
			
		||||
    unsigned int slen, hlen, offset = 0, ret;
 | 
			
		||||
    unsigned int slen, hlen, offset = 0;
 | 
			
		||||
    int ret;
 | 
			
		||||
    size_t msb;
 | 
			
		||||
    const md_info_t *md_info;
 | 
			
		||||
    md_context_t md_ctx;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user