[svn] commit: r3620 - /branches/trac381/src/lib/dns/tests/tsigkey_unittest.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Nov 23 11:17:30 UTC 2010
Author: jinmei
Date: Tue Nov 23 11:17:30 2010
New Revision: 3620
Log:
made sure the assignment test covers all cases.
Modified:
branches/trac381/src/lib/dns/tests/tsigkey_unittest.cc
Modified: branches/trac381/src/lib/dns/tests/tsigkey_unittest.cc
==============================================================================
--- branches/trac381/src/lib/dns/tests/tsigkey_unittest.cc (original)
+++ branches/trac381/src/lib/dns/tests/tsigkey_unittest.cc Tue Nov 23 11:17:30 2010
@@ -97,7 +97,8 @@
// Check if the copied data is valid even after the original is deleted
TSIGKey* copy2 = new TSIGKey(original);
- TSIGKey copy3 = *copy2;
+ TSIGKey copy3(original);
+ copy3 = *copy2;
delete copy2;
compareTSIGKeys(original, copy3);
More information about the bind10-changes
mailing list