You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by na...@apache.org on 2007/11/22 07:20:03 UTC

svn commit: r597309 - /webservices/rampart/trunk/c/src/util/rampart_context.c

Author: nandika
Date: Wed Nov 21 22:20:01 2007
New Revision: 597309

URL: http://svn.apache.org/viewvc?rev=597309&view=rev
Log:
bug fixed

Modified:
    webservices/rampart/trunk/c/src/util/rampart_context.c

Modified: webservices/rampart/trunk/c/src/util/rampart_context.c
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/src/util/rampart_context.c?rev=597309&r1=597308&r2=597309&view=diff
==============================================================================
--- webservices/rampart/trunk/c/src/util/rampart_context.c (original)
+++ webservices/rampart/trunk/c/src/util/rampart_context.c Wed Nov 21 22:20:01 2007
@@ -1283,12 +1283,18 @@
         return AXIS2_FALSE;
     }
 
+    if(rp_property_get_type(wss,env) == RP_PROPERTY_WSS11)
+{		    
     wss11 = rp_property_get_value(wss,env);
     if(wss11){
         return rp_wss11_get_require_signature_confirmation(wss11, env);
     }else{
         return AXIS2_FALSE;
     }
+}
+else
+	return AXIS2_FALSE;
+
 }
 
 axis2_char_t *AXIS2_CALL