Hi,
I'm developing a program that similar to the demos/sign/sign.c
example verifies a digital signature reading the public key from
a X.509 certificate with PEM_ASN1_read().
mX509 = (X509 *)PEM_ASN1_read ((char *(*)())d2i_X509,
PEM_STRING_X509,
fp,
NULL,
NULL);
(Windows NT 4.0 SP3, VC 5.0, OpenSSL 0.9.2b)
The tool was running perfectly until I generated a new
project and copied and included the relevant source files
to the new project. It still compiles without errors or
warnings, but when I run it PEM_ASN1_read() crashes
with an application error (memory reference to 0x00000010)
I tried both the debug and the release version of
libeay32.lib & libeay32.dll -> same thing.
(Some time ago I think I was able to solve the
problem this way, but not anymore and I don't
remember exactly :-(
Of course I checked the compiler and linker options
in the project settings but they're identical.
What's going wrong???
Robert
--------------------------------------
Robert Eiglmaier
iXOS Software AG
Tel: +49-89-4629-1526
Fax: +49-89-4629-331526
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]