36 int main(
int argc,
char **argv)
42 const char *pCertFile =
"testcert.pem";
43 const char *pCACertFile=
"cacert.pem";
51 pKeyName =
"rsa_test";
55 pKeyName =
"testkey.pem";
60 const char *pPassphrase =
NULL;
62 headerfile = fopen(
"dumpit",
"w");
78 fprintf(stderr,
"can't set crypto engine\n");
85 fprintf(stderr,
"can't set crypto engine as default\n");
CURLcode curl_global_init(long flags)
Globally initializes cURL given a bitwise set of the different features to initialize.
CURLcode curl_easy_perform(CURL *curl)
CURLcode curl_easy_setopt(CURL *curl, CURLoption option,...)
void curl_global_cleanup(void)
Globally cleanup cURL, uses the value of "init_flags" to determine what needs to be cleaned up and ...
#define CURL_GLOBAL_DEFAULT
int main(int argc, char **argv)
void curl_easy_cleanup(CURL *curl)
CURL * curl_easy_init(void)