mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Merge pull request #3705 from ctron/feature/fix_return_code_1
Fix return code expression in pkparse
This commit is contained in:
		
						commit
						9b33eb3284
					
				@ -662,7 +662,7 @@ int mbedtls_pk_parse_subpubkey( unsigned char **p, const unsigned char *end,
 | 
			
		||||
        ret = MBEDTLS_ERR_PK_UNKNOWN_PK_ALG;
 | 
			
		||||
 | 
			
		||||
    if( ret == 0 && *p != end )
 | 
			
		||||
        ret = MBEDTLS_ERR_PK_INVALID_PUBKEY
 | 
			
		||||
        ret = MBEDTLS_ERR_PK_INVALID_PUBKEY +
 | 
			
		||||
              MBEDTLS_ERR_ASN1_LENGTH_MISMATCH;
 | 
			
		||||
 | 
			
		||||
    if( ret != 0 )
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user