Ok, this may be a stupid question but...
I want to make a simple program that will generate a RSA key. Here is what
my code looks like:
------------cut-----------------
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rsa.h>
void main()
{
RSA *rsa = NULL;
rsa = RSA_generate_key(512, RSA_F4, NULL, NULL);
}
-------------cut--------------
gcc gives the following error:
"In function 'main':
undefined reference to 'RSA_generate_key'"
VC++ also gives:
"unresolved external symbol _RSA_generate_key"
All of my headers and libraries are in the correct paths (and in the system
path).
Am I just being stupid and missing something?
Thanks for any replies.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]