[xmlsec] Invalid data char=B; base=10 on verify

Edward Shallow ed.shallow at rogers.com
Mon Nov 10 21:51:52 PST 2003


Thanks,

   Is there any specific characters that cause or are affected by this
problem ? I don't get it for many schemas and documents ?

I have a demo tomorrow and was wandering if I could work around it ?

Ed

-----Original Message-----
From: Aleksey Sanin [mailto:aleksey at aleksey.com] 
Sent: November 11, 2003 12:24 AM
To: Edward Shallow
Cc: xmlsec at aleksey.com
Subject: Re: [xmlsec] Invalid data char=B; base=10 on verify

Sick! Stupid me :( This one line patch bellow should fix it. The patch is
checked in CVS and would be in the next release in a couple days. This code
is not used by OpenSSL thus you have no problems with it.

Thanks for bug report and sorry for inconvinience!
Aleksey


Index: src/bn.c
===================================================================
RCS file: /cvs/gnome/xmlsec/src/bn.c,v
retrieving revision 1.10
diff -u -r1.10 bn.c
--- src/bn.c    26 Sep 2003 16:53:19 -0000      1.10
+++ src/bn.c    11 Nov 2003 05:20:39 -0000
@@ -364,7 +364,7 @@
  */
 xmlChar*
 xmlSecBnToDecString(xmlSecBnPtr bn) {
-    return(xmlSecBnToString(bn, 16));
+    return(xmlSecBnToString(bn, 10));
 }
 
 /**


Edward Shallow wrote:

>I retried the run below with OpenSSL and it works. Problem is unique to 
>--ms-crypto. Can I send you anything else ?
>
>Ed
>
>  
>





More information about the xmlsec mailing list