Hi Aleksey,

Trying out nss crypto after much success with openssl. nss tests from
the install worked fine, yet when I try to run testDSig.sh it works for
openssl but not for nss.


Here is nss run ...

--- testDSig started for xmlsec-nss library (20050918_134319)
--- LD_LIBRARY_PATH=
Test: /aleksey-xmldsig-01/enveloping-dsa-x509chain
xmlsec1 verify  --crypto nss --crypto-config /tmp/xmlsec-crypto-config
--trusted-pem /usr/local/src/xmlsec1-1.2.9/tests/keys/cacert.pem
--enabled-key-data
x509 
/usr/local/src/xmlsec1-1.2.9/tests/aleksey-xmldsig-01/enveloping-dsa-x509chain.xml
func=xmlSecNssAppInit:file=app.c:line=76:obj=unknown:subj=NSS_InitReadWrite:error=4:crypto
 library function failed:config=/tmp/xmlsec-crypto-config
func=xmlSecAppCryptoInit:file=crypto.c:line=26:obj=unknown:subj=xmlSecCryptoAppInit:error=1:xmlsec
 library function failed: 
Error: xmlsec crypto intialization failed.
Error: initialization faile


Here is openssl run ... 

--- testDSig started for xmlsec-openssl library (20050918_134200)
--- LD_LIBRARY_PATH=
Test: /aleksey-xmldsig-01/enveloping-dsa-x509chain
xmlsec1 verify  --crypto openssl
--crypto-config /tmp/xmlsec-crypto-config
--trusted-pem /usr/local/src/xmlsec1-1.2.9/tests/keys/cacert.pem
--enabled-key-data
x509 
/usr/local/src/xmlsec1-1.2.9/tests/aleksey-xmldsig-01/enveloping-dsa-x509chain.xml
OK
SignedInfo References (ok/all): 1/1
Manifests References (ok/all): 0/0

Thought it was unset LD-LIBRARY_PATH, but it works fine that way for
openssl.

Thanks,
Ed



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to