<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
For the record: I found why I had this error. A driver for one of my
smart card <br>
readers uses OpenSSL. At some point I had to had two readers on that box<br>
and the only solution was to install two copies of the driver and do
some black <br>
magic in registry. At some point, I have upgraded the reader driver but
I did <br>
upgrade only one copy because I forgot about the second one by that
time :).<br>
<br>
It turns out that these drivers registered themselves in MS Crypto for
keys and<br>
certificates search. The test that gave me this error did a search for
a cert<br>
(or may be validated a cert - I am not sure which operation caused that
error).<br>
When I executed this test it loaded some driver dlls in the *current
process*<br>
address space (don't ask me why it is needed if the driver is already
sitting <br>
in memory). Unfortunately, the new (upgraded) and old (forgotten)
drivers<br>
were linked agains different OpenSSL versions. Thus one of them had
problems<br>
using the OpenSSL dll loaded for another one.<br>
<br>
Simple un-install of the old driver solved the issue.<br>
<br>
Aleksey<br>
<br>
<br>
<blockquote type="cite" cite="mid3F6C9AF5.80405@aleksey.com"><br>
  <blockquote type="cite" cite="mid009001c37f97$229ab7a0$352ffea9@raven">
    <blockquote type="cite">
      <pre wrap="">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.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
libeay32.dll is the OpenSSL. Something links to it still, perhaps xmlsec
utility has a call or three left?

    </pre>
  </blockquote>
</blockquote>
</body>
</html>