On Thu, Mar 17, 2005, [EMAIL PROTECTED] wrote: > 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 ? >
You missed the mailing list descriptions: this should be in openssl-users. You also missed the FAQ. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
