Self-built Windows console app fails to sign

Daniel Taylor <[email protected]>
Newsgroups gmane.text.xml.xmlsec
Message-ID <CAOuF9Ws8KQBtUPLAOnjzqXpdVoDT_WmWOd0oZ6j_0rjvueAzng@mail.gmail.com>
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

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.