Hi Guys,

I'm trying to step into openssl modules using visual studio 2008. In
particular I would investigate on ASN1 parse mechanism regarding SMIME type.
I have followed the instruction reported in INSTALL.W32 at section tweaks.
They were generated in out32.dbg both *.pdb and *.lib, this make me think
that symbols were created. Then I have created a VC project from scratch,
including both libeay32.lib and ssleay32.lib. The code is really simple, it
is just a try:

// openssldbg.cpp : Defines the entry point for the console application.
#include "openssl/ssl.h"
#pragma comment(lib, "ws2_32.lib")
#pragma comment(lib,"libeay32.lib")
#pragma comment(lib,"ssleay32.lib")
#include <windows.h>

extern "C"
{
   PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont);
}

int _tmain(int argc, _TCHAR* argv[])
{
p7 = SMIME_read_PKCS7(in, &indata);
}

debugger is not stepping into SMIME_read_PKCS7, any idea?

thx a lot
- Antonio

Reply via email to