mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-04 04:32:24 -05:00 
			
		
		
		
	Fix stupid bug in rsa_copy()
This commit is contained in:
		
							parent
							
								
									e01af4cd37
								
							
						
					
					
						commit
						fdddac90a6
					
				@ -51,6 +51,7 @@ Bugfix
 | 
				
			|||||||
     containing a client certificate
 | 
					     containing a client certificate
 | 
				
			||||||
   * ssl_init() was leaving a dirty pointer in ssl_context if malloc of
 | 
					   * ssl_init() was leaving a dirty pointer in ssl_context if malloc of
 | 
				
			||||||
     out_ctr failed
 | 
					     out_ctr failed
 | 
				
			||||||
 | 
					   * Fix typo in rsa_copy() that impacted PKCS#1 v2 contexts
 | 
				
			||||||
 | 
					
 | 
				
			||||||
= PolarSSL 1.3.4 released on 2014-01-27
 | 
					= PolarSSL 1.3.4 released on 2014-01-27
 | 
				
			||||||
Features
 | 
					Features
 | 
				
			||||||
 | 
				
			|||||||
@ -1381,7 +1381,7 @@ int rsa_copy( rsa_context *dst, const rsa_context *src )
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    dst->padding = src->padding;
 | 
					    dst->padding = src->padding;
 | 
				
			||||||
    dst->hash_id = src->padding;
 | 
					    dst->hash_id = src->hash_id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cleanup:
 | 
					cleanup:
 | 
				
			||||||
    if( ret != 0 )
 | 
					    if( ret != 0 )
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user