[xmlsec] Error in xmlSecCryptoAppInit()

Sam Lee cmlee161 at yahoo.com.hk
Wed Oct 31 22:54:25 PST 2007


Hi all,

I got a problem in executing the xmlsec library with openssl under Centos 5. 

[root at saml examples]#  gcc -g -D__XMLSEC_FUNCTION__=__FUNCTION__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_XKMS=1 -I/usr/local/include/xmlsec1 -I/usr/local/include/libxml2 -I/usr/local/include -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -DXMLSEC_CRYPTO=\"openssl\" -DUNIX_SOCKETS  -g -L/usr/local/lib -ldl -lxmlsec1 -lxslt -lxml2 -lz -lm  sign1.c   -o sign1

[root at saml examples]# ./sign1 sign1-tmpl.xml rsakey.pem

XMLSEC_CRYPTO_DYNAMIC_LOADING = 1 


XMLSEC_CRYPTO = openssl 


xmlSecCryptoDLGetLibraryFunctions returns 0


func=xmlSecOpenSSLAppDefaultKeysMngrAdoptKey:file=app.c:line=1255:obj=unknown:subj=mngr != NULL:error=100:assertion: 
Error: crypto initialization failed.

I traced and found that the error came from the function xmlSecCryptoAppInit().
Do I miss something in configuration? 





      ¹ïYahoo! Mail ¦³¥ô¦ó·N¨£©Î«Øij¡A½Ð«e©¹http://help.yahoo.com/fast/help/hkc/mail/cgi_feedback Ápµ¸§Ú­Ì  
        
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20071031/346f9902/attachment-0002.htm


More information about the xmlsec mailing list