axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject svn commit: r638288 - /webservices/axis2/trunk/c/util/src/digest_calc.c
Date Tue, 18 Mar 2008 09:44:06 GMT
Author: pini
Date: Tue Mar 18 02:44:05 2008
New Revision: 638288

URL: http://svn.apache.org/viewvc?rev=638288&view=rev
Log:
Fixed typos

Modified:
    webservices/axis2/trunk/c/util/src/digest_calc.c

Modified: webservices/axis2/trunk/c/util/src/digest_calc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/src/digest_calc.c?rev=638288&r1=638287&r2=638288&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/src/digest_calc.c (original)
+++ webservices/axis2/trunk/c/util/src/digest_calc.c Tue Mar 18 02:44:05 2008
@@ -48,7 +48,7 @@
     axutil_md5_update(ctx, env, password, strlen(password));
     axutil_md5_final(ctx, env, ha1);
     axutil_md5_ctx_free(ctx, env);
-    if (axutil_strcasecmp(algorithm, "md5-sess") == 0)
+    if (!axutil_strcasecmp(algorithm, "md5-sess"))
     {
         ctx = axutil_md5_ctx_create(env);
         if (!ctx)
@@ -89,7 +89,7 @@
     axutil_md5_update(ctx, env, method, strlen(method));
     axutil_md5_update(ctx, env, ":", 1);
     axutil_md5_update(ctx, env, digest_uri, strlen(digest_uri));
-    if (axutil_strcasecmp(qop, "auth-int") == 0)
+    if (!axutil_strcasecmp(qop, "auth-int"))
     {
         axutil_md5_update(ctx, env, ":", 1);
         axutil_md5_update(ctx, env, h_entity, AXIS2_DIGEST_HASH_HEX_LEN);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message