ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r584708 - /webservices/axis2/trunk/c/neethi/src/secpolicy/builder/x509_token_builder.c
Date Mon, 15 Oct 2007 08:31:03 GMT
Author: kaushalye
Date: Mon Oct 15 01:31:02 2007
New Revision: 584708

URL: http://svn.apache.org/viewvc?rev=584708&view=rev
Log:
Fixing x509_token_builder. Missing "if else" check in method "x509_token_process_alternatives".

Modified:
    webservices/axis2/trunk/c/neethi/src/secpolicy/builder/x509_token_builder.c

Modified: webservices/axis2/trunk/c/neethi/src/secpolicy/builder/x509_token_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/neethi/src/secpolicy/builder/x509_token_builder.c?rev=584708&r1=584707&r2=584708&view=diff
==============================================================================
--- webservices/axis2/trunk/c/neethi/src/secpolicy/builder/x509_token_builder.c (original)
+++ webservices/axis2/trunk/c/neethi/src/secpolicy/builder/x509_token_builder.c Mon Oct 15
01:31:02 2007
@@ -136,8 +136,7 @@
             rp_x509_token_set_derivedkeys(x509_token, env, 
                                          AXIS2_TRUE);
         }    
-
-        if (type == ASSERTION_TYPE_REQUIRE_KEY_IDENTIFIRE_REFERENCE)
+        else if (type == ASSERTION_TYPE_REQUIRE_KEY_IDENTIFIRE_REFERENCE)
         {
             rp_x509_token_set_require_key_identifier_reference(x509_token, env,
                                                                AXIS2_TRUE);
@@ -147,7 +146,7 @@
             rp_x509_token_set_require_issuer_serial_reference(x509_token, env,
                                                               AXIS2_TRUE);
         }
-        if (type == ASSERTION_TYPE_REQUIRE_EMBEDDED_TOKEN_REFERENCE)
+        else if (type == ASSERTION_TYPE_REQUIRE_EMBEDDED_TOKEN_REFERENCE)
         {
             rp_x509_token_set_require_embedded_token_reference(x509_token, env,
                                                                AXIS2_TRUE);



---------------------------------------------------------------------
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