From d08df96d28f66894336771e59d8cfbbaff82d577 Mon Sep 17 00:00:00 2001 From: damitha Date: Wed, 1 Jun 2011 10:05:43 +0000 Subject: update test git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1130081 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/sender/ntlm/test/client.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'src/core') diff --git a/src/core/transport/http/sender/ntlm/test/client.c b/src/core/transport/http/sender/ntlm/test/client.c index c7273e9..5ed984c 100755 --- a/src/core/transport/http/sender/ntlm/test/client.c +++ b/src/core/transport/http/sender/ntlm/test/client.c @@ -42,14 +42,8 @@ int main() printf("axis2_ntlm_auth_create_type1_message call failed\n"); return 1; } - if(0 == axutil_strcmp(encoded, "TlRMTVNTUAABAAAABRIAAAgACAAYAAAAbXlkb21haW4=") && elen == 45) - { - printf("creating type1 message test passed\n"); - } - else - { - printf("creating type1 message test failed!!!\n"); - } + printf("encoded:***%s***\n", encoded); + printf("elen:***%d***\n", elen); } { int elen = 0; @@ -67,14 +61,8 @@ int main() printf("axis2_ntlm_auth_create_type3_message call failed\n"); return 1; } - if(0 == axutil_strcmp(encoded, "TlRMTVNTUAADAAAAAAAAADQAAAAYABgANAAAAB4AHgBMAAAADgAOAGoAAAAWABYAeAAAACkOCQbnz6muRsRit954E//a+AQM6Dk8g1cASQBOAC0ANwAxAE0ARQBQAEgANAA2AE4AUQAzAG4AYQBuAGQAaQBrAGEAdwBvAHIAawBzAHQAYQB0AGkAbwBuAA==") && elen == 193) - { - printf("creating type3 message test passed\n"); - } - else - { - printf("creating type3 message test failed!!!\n"); - } + printf("encoded:***%s***\n", encoded); + printf("elen:***%d***\n", elen); } return 0; -- cgit v1.1-32-gdbae