Aleksey:
  Thanks!! Built/tested on Win32 and it now works like 0.0.10+. This
makes it easy to use and it works .. both nice traits.
Ferrell

-----Original Message-----
From: Aleksey Sanin [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2003 2:07 PM
To: Aleksey Sanin
Cc: Moultrie, Ferrell (ISSAtlanta); [EMAIL PROTECTED]
Subject: Re: [xmlsec] signing failure with 0.0.13 that work with 0.0.10


Fixed in the branch and the trunk (the patch agains 0.0.13 is bellow).
Sorry about that, I've tried to make your patch better :(

Aleksey

Index: apps/xmlsec.c
===================================================================
RCS file: /cvs/gnome/xmlsec/apps/xmlsec.c,v
retrieving revision 1.21.2.5
retrieving revision 1.21.2.6
diff -u -r1.21.2.5 -r1.21.2.6
--- apps/xmlsec.c       5 Feb 2003 17:52:33 -0000       1.21.2.5
+++ apps/xmlsec.c       19 Mar 2003 19:16:49 -0000      1.21.2.6
@@ -1282,10 +1282,12 @@

        xmlXPathFreeContext(ctx);
        xmlXPathFreeObject(obj);
-    } else if(defNodeName != NULL) {
-       cur = xmlSecFindNode(xmlDocGetRootElement(doc), defNodeName, 
defNodeNs);     } else {
        cur = xmlDocGetRootElement(doc);
+    }
+
+    if(defNodeName != NULL) {
+       cur = xmlSecFindNode(cur, defNodeName, defNodeNs);
     }
     return(cur);
 }


_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to