(copy_heim_integer): copy the negative flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16478 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -106,6 +106,7 @@ copy_heim_integer (const heim_integer *from, heim_integer *to)
 | 
				
			|||||||
    if(to->length != 0 && to->data == NULL)
 | 
					    if(to->length != 0 && to->data == NULL)
 | 
				
			||||||
	return ENOMEM;
 | 
						return ENOMEM;
 | 
				
			||||||
    memcpy(to->data, from->data, to->length);
 | 
					    memcpy(to->data, from->data, to->length);
 | 
				
			||||||
 | 
					    to->negative = from->negative;
 | 
				
			||||||
    return 0;
 | 
					    return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user