simplessl.c: fix my breakage

This commit is contained in:
Daniel Stenberg 2016-02-11 10:20:48 +01:00
parent 3a6563d668
commit 888e4b6821
1 changed files with 3 additions and 4 deletions

View File

@ -47,7 +47,6 @@
int main(void) int main(void)
{ {
int i;
CURL *curl; CURL *curl;
CURLcode res; CURLcode res;
FILE *headerfile; FILE *headerfile;
@ -55,7 +54,7 @@ int main(void)
static const char *pCertFile = "testcert.pem"; static const char *pCertFile = "testcert.pem";
static const char *pCACertFile="cacert.pem"; static const char *pCACertFile="cacert.pem";
static const char *pHeaderFile = "dumpit" static const char *pHeaderFile = "dumpit";
const char *pKeyName; const char *pKeyName;
const char *pKeyType; const char *pKeyType;
@ -131,10 +130,10 @@ int main(void)
curl_easy_strerror(res)); curl_easy_strerror(res));
/* we are done... */ /* we are done... */
} } while (0);
/* always cleanup */ /* always cleanup */
curl_easy_cleanup(curl); curl_easy_cleanup(curl);
} while(0); }
curl_global_cleanup(); curl_global_cleanup();