Hi to all, i have a windows MFC application, and i am in need to call from it this set of openssl functions:
PEM_read_X509 X509_get_pubkey PEM_read_PrivateKey EVP_PKEY_decrypt Now, i have downloaded the last openssl source, and compiled it. In my project i have included: /* SSLeay stuff */ #include <openssl/rsa.h> #include <openssl/crypto.h> #include <openssl/x509.h> #include <openssl/pem.h> #include <openssl/ssl.h> #include <openssl/err.h> I copied my \inc32\openssl\ header dir into my vc7\include dir, and they are found correctly. I ve also addedd those lines to my code : #pragma comment(lib, "libeay32.lib") #pragma comment(lib, "ssleay32.lib") which i suppose can load what i need. The compilation is ok, but when i call a function like PEM_read_X509(.. i got an error like "Unhandled exception at 0x7c928fea in TrayClient.exe: 0xC0000005: Access violation writing location 0x00000010.". Can someone tell me what i miss ? thanks ! ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
