[xmlsec] Self-built Windows console app fails to sign

Daniel Taylor saidin at gmail.com
Tue Jun 24 05:30:18 PDT 2014


I've managed to compile libxml2-2.9.1, libxslt-1.1.28, openssl-1.0.1h and
xmlsec1-1.2.20 from source, using the nmake version that comes with VS2013.
The only tweaking I had to do was take out the /OPT:NOWIN98 references
which no longer build.

However, when I run a --sign command using libxmla.exe, I get the following
failure:

func=xmlSecPtrListAdd:file=..\src\list.c:line=305:obj=unknown:subj=xmlSecPtrListIsValid(list):error=100:assertion:
func=xmlSecKeyDataIdsRegister:file=..\src\keysdata.c:line=110:obj=unknown:subj=xmlSecPtrListAdd:error=1:xmlsec
library function failed:dataId=aes
func=xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms:file=..\src\dl.c:line=614:obj=aes:subj=xmlSecKeyDataIdsRegister:error=1:xmlsec
library function failed:
func=xmlSecOpenSSLInit:file=..\src\openssl\crypto.c:line=331:obj=unknown:subj=xmlSecCryptoDLFunctionsRegisterKeyDataAndTransforms:error=1:xmlsec
library function failed:
func=xmlSecAppCryptoInit:file=..\apps\crypto.c:line=34:obj=unknown:subj=xmlSecCryptoInit:error=1:xmlsec
library function failed:
Error: xmlsec crypto intialization failed.
Error: initialization failed

Each makefile (or its configuration) has the /MD flag set and each DLL (and
xmlseca.exe itself) has a dependency on MSVCR120.dll, matching the MD flag.

If it's not caused by a runtime mismatch, what else could be causing this
assert to fail?

-- 
Dan Taylor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20140624/aee1e8ed/attachment.html>


More information about the xmlsec mailing list