J Gsealy
2018-07-26 02:29:50 UTC
Hi all:
I want to add new algorithm to xmlsec (EC algorithm with new curve, and new digest algorithm),
the openssl have modified yet, and use normally.But when I add algorithm to xmlsec, and add new
element <ECKeyValue> and <PublicKey>. I have modified include file <app.h>, <private.h>, <string.h>,
<openssl/crypto.h>, <openssl/symbols.h>. And C file app.c, dl.c, string.c, openssl/crypto.c, openssl/signature.c .
Compile can pass, but canât load âxmlsec1-opensslâ.
There are error info:
________________________________
loading "library openssl"...
name:openssl, filename:libxmlsec1-openssl, function:xmlSecCryptoGetFunctions_openssl....
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=138:obj=unknown:subj=lt_dlopenext:error=7:io function failed:name="libxmlsec1-openssl"; errno=2
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=444:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=401:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed:
Error: unable to load xmlsec-openssl library. Make sure that you have
this it installed, check shared libraries path (LD_LIBRARY_PATH)
envornment variable or use "--crypto" option to specify different
crypto engine.
Error: initialization failed
func=xmlSecCryptoShutdown:file=app.c:line=71:obj=unknown:subj=unknown:error=9:feature is not implemented:details=cryptoShutdown
Error: xmlSecCryptoShutdown failed
Error: xmlsec crypto shutdown failed.
________________________________
Which area should I change?
Thanks.
Gsealy
I want to add new algorithm to xmlsec (EC algorithm with new curve, and new digest algorithm),
the openssl have modified yet, and use normally.But when I add algorithm to xmlsec, and add new
element <ECKeyValue> and <PublicKey>. I have modified include file <app.h>, <private.h>, <string.h>,
<openssl/crypto.h>, <openssl/symbols.h>. And C file app.c, dl.c, string.c, openssl/crypto.c, openssl/signature.c .
Compile can pass, but canât load âxmlsec1-opensslâ.
There are error info:
________________________________
loading "library openssl"...
name:openssl, filename:libxmlsec1-openssl, function:xmlSecCryptoGetFunctions_openssl....
func=xmlSecCryptoDLLibraryCreate:file=dl.c:line=138:obj=unknown:subj=lt_dlopenext:error=7:io function failed:name="libxmlsec1-openssl"; errno=2
func=xmlSecCryptoDLGetLibraryFunctions:file=dl.c:line=444:obj=unknown:subj=xmlSecCryptoDLLibraryCreate:error=1:xmlsec library function failed:crypto=openssl
func=xmlSecCryptoDLLoadLibrary:file=dl.c:line=401:obj=unknown:subj=xmlSecCryptoDLGetLibraryFunctions:error=1:xmlsec library function failed:
Error: unable to load xmlsec-openssl library. Make sure that you have
this it installed, check shared libraries path (LD_LIBRARY_PATH)
envornment variable or use "--crypto" option to specify different
crypto engine.
Error: initialization failed
func=xmlSecCryptoShutdown:file=app.c:line=71:obj=unknown:subj=unknown:error=9:feature is not implemented:details=cryptoShutdown
Error: xmlSecCryptoShutdown failed
Error: xmlsec crypto shutdown failed.
________________________________
Which area should I change?
Thanks.
Gsealy