Hi all,

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

[EMAIL PROTECTED] 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

[EMAIL PROTECTED] 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 
有任何意見或建議,請前往http://help.yahoo.com/fast/help/hkc/mail/cgi_feedback 聯絡我們  
        
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to