[xmlsec] xmlsec-mscrypto code review

Aleksey Sanin aleksey at aleksey.com
Sun Sep 21 00:59:24 PDT 2003

For the record: I found why I had this error. A driver for one of my 
smart card
readers uses OpenSSL. At some point I had to had two readers on that box
and the only solution was to install two copies of the driver and do 
some black
magic in registry. At some point, I have upgraded the reader driver but 
I did
upgrade only one copy because I forgot about the second one by that time :).

It turns out that these drivers registered themselves in MS Crypto for 
keys and
certificates search. The test that gave me this error did a search for a 
(or may be validated a cert - I am not sure which operation caused that 
When I executed this test it loaded some driver dlls in the *current 
address space (don't ask me why it is needed if the driver is already 
in memory). Unfortunately, the new (upgraded) and old (forgotten) drivers
were linked agains different OpenSSL versions. Thus one of them had problems
using the OpenSSL dll loaded for another one.

Simple un-install of the old driver solved the issue.


>>>10) Before (and after) the change I am getting an error "The oridinal
>>>1810 could not be located in the dynamic
>>>link library LIBEAY32.dll" in a message dialog when executing one of
>>>x509 tests. I guess it's something
>>>with my environment but if anyone can save me time for investigation I
>>>would appreciate this.
>>libeay32.dll is the OpenSSL. Something links to it still, perhaps xmlsec
>>utility has a call or three left?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20030921/315a9958/attachment.htm

More information about the xmlsec mailing list