[xmlsec] libxml2 --without-http ... and xmlsec

Roumen Petrov xmlsec at roumenpetrov.info
Thu Jul 3 02:11:20 PDT 2003


Hi All,

I have libxml2 build with --without-http --without-ftp for some reasons.

Now (with 20030703 CVS version) I have problems with make check. Results 
from one of test are at end of mail.

I'm try to solve io problem as is shown in attached file 
"xmlsec-20030703-io.patch.gz", but verify fail again. Any idea ?

When my patch is correct it is good io.c to be changed in same way for 
ftp too.


=== before patch:
./apps/xmlsec1 verify   
<XMLSEC_SRC>/tests/merlin-xmldsig-twenty-three/signature-external-b64-dsa.xml
func=xmlSecTransformInputURIOpen:file=<XMLSEC_SRC>/src/io.c:line=423:obj=input-uri:subj=opencallback:error=7:io 
function 
failed:uri=http://www.w3.org/Signature/2002/04/xml-stylesheet.b64;errno=2
func=xmlSecTransformCtxUriExecute:file=<XMLSEC_SRC>/src/transforms.c:line=1096:obj=unknown:subj=xmlSecTransformInputURIOpen:error=1:xmlsec 
library function 
failed:uri=http://www.w3.org/Signature/2002/04/xml-stylesheet.b64
func=xmlSecTransformCtxExecute:file=<XMLSEC_SRC>/src/transforms.c:line=1241:obj=unknown:subj=xmlSecTransformCtxUriExecute:error=1:xmlsec 
library function failed:
func=xmlSecDSigReferenceCtxProcessNode:file=<XMLSEC_SRC>/src/xmldsig.c:line=1564:obj=unknown:subj=xmlSecTransformCtxExecute:error=1:xmlsec 
library function failed:
func=xmlSecDSigCtxProcessSignedInfoNode:file=<XMLSEC_SRC>/src/xmldsig.c:line=804:obj=unknown:subj=xmlSecDSigReferenceCtxProcessNode:error=1:xmlsec 
library function failed:node=Reference
func=xmlSecDSigCtxProcessSignatureNode:file=<XMLSEC_SRC>/src/xmldsig.c:line=547:obj=unknown:subj=xmlSecDSigCtxProcessSignedInfoNode:error=1:xmlsec 
library function failed:
func=xmlSecDSigCtxVerify:file=<XMLSEC_SRC>/src/xmldsig.c:line=366:obj=unknown:subj=xmlSecDSigCtxSigantureProcessNode:error=1:xmlsec 
library function failed:
Error: signature failed
ERROR
SignedInfo References (ok/all): 0/1
Manifests References (ok/all): 0/0
Error: failed to verify file 
<XMLSEC_SRC>/tests/merlin-xmldsig-twenty-three/signature-external-b64-dsa.xml"

=== after patch:
./apps/xmlsec1 verify   
<XMLSEC_SRC>/tests/merlin-xmldsig-twenty-three/signature-external-b64-dsa.xml
func=xmlSecOpenSSLEvpDigestVerify:file=<XMLSEC_SRC>/src/openssl/digests.c:line=164:obj=sha1:subj=unknown:error=12:invalid 
data:data and digest do not match
FAIL
SignedInfo References (ok/all): 0/1
Manifests References (ok/all): 0/0
Error: failed to verify file 
"<XMLSEC_SRC>/tests/merlin-xmldsig-twenty-three/signature-external-b64-dsa.xml"



-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlsec-20030703-io.patch.gz
Type: application/gzip
Size: 647 bytes
Desc: not available
Url : http://www.aleksey.com/pipermail/xmlsec/attachments/20030703/7a19cdb4/xmlsec-20030703-io.patch.bin


More information about the xmlsec mailing list