summaryrefslogtreecommitdiff
path: root/lib/util/tests
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-09-26 01:34:17 +0300
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-01 23:13:00 +0200
commita51571bf410ac2f9fb6c6dd0854cfcfcc5c58cea (patch)
tree9b30b9068186ea2bd7f2a2b09cd636915e3823ef /lib/util/tests
parent97e7f48f7504132ca7f661c6ed56905c235f5715 (diff)
downloadsamba-a51571bf410ac2f9fb6c6dd0854cfcfcc5c58cea.tar.gz
samba-a51571bf410ac2f9fb6c6dd0854cfcfcc5c58cea.tar.bz2
samba-a51571bf410ac2f9fb6c6dd0854cfcfcc5c58cea.zip
s4/asn1: fixed typo in torture messages
Diffstat (limited to 'lib/util/tests')
-rw-r--r--lib/util/tests/asn1_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/tests/asn1_tests.c b/lib/util/tests/asn1_tests.c
index bc7af85306..ab2e242be3 100644
--- a/lib/util/tests/asn1_tests.c
+++ b/lib/util/tests/asn1_tests.c
@@ -164,7 +164,7 @@ static bool test_ber_write_partial_OID_String(struct torture_context *tctx)
/* ber_write_partial_OID_String() should work with not partial OIDs also */
for (i = 0; i < ARRAY_SIZE(oid_data_ok); i++) {
torture_assert(tctx, ber_write_partial_OID_String(&blob, data[i].oid),
- "ber_write_OID_String failed");
+ "ber_write_partial_OID_String failed");
hex_str = hex_encode_talloc(mem_ctx, blob.data, blob.length);
torture_assert(tctx, hex_str, "No memory!");
@@ -179,7 +179,7 @@ static bool test_ber_write_partial_OID_String(struct torture_context *tctx)
data = partial_oid_data_ok;
for (i = 0; i < ARRAY_SIZE(partial_oid_data_ok); i++) {
torture_assert(tctx, ber_write_partial_OID_String(&blob, data[i].oid),
- "ber_write_OID_String failed");
+ "ber_write_partial_OID_String failed");
hex_str = hex_encode_talloc(mem_ctx, blob.data, blob.length);
torture_assert(tctx, hex_str, "No memory!");