diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-01-05 10:11:41 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-01-05 10:11:41 +0000 |
commit | 4031104404c6ceed5e57134125dcdb6cac51c564 (patch) | |
tree | 18bd035e58e42180cf416d0d94d4726cd44d9d7f /lib/ssluse.c | |
parent | 9f9cac7402f9f134be6f6d5b7fb830e9946a83d8 (diff) |
Internal symbols that aren't static are now prefixed with 'Curl_'
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index 52229218e..9def3e805 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -62,9 +62,10 @@ static int passwd_callback(char *buf, int num, int verify * from) source from the SSLeay package written by Eric Young * (eay@cryptsoft.com). */ -int SSL_cert_stuff(struct UrlData *data, - char *cert_file, - char *key_file) +static +int cert_stuff(struct UrlData *data, + char *cert_file, + char *key_file) { if (cert_file != NULL) { SSL *ssl; @@ -124,6 +125,7 @@ int SSL_cert_stuff(struct UrlData *data, #endif #ifdef USE_SSLEAY +static int cert_verify_callback(int ok, X509_STORE_CTX *ctx) { X509 *err_cert; @@ -139,7 +141,7 @@ int cert_verify_callback(int ok, X509_STORE_CTX *ctx) /* ====================================================== */ int -UrgSSLConnect (struct UrlData *data) +Curl_SSLConnect (struct UrlData *data) { #ifdef USE_SSLEAY int err; @@ -163,7 +165,7 @@ UrgSSLConnect (struct UrlData *data) RAND_screen(); #else int len; - char *area = MakeFormBoundary(); + char *area = Curl_FormBoundary(); if(!area) return 3; /* out of memory */ @@ -198,7 +200,7 @@ UrgSSLConnect (struct UrlData *data) } if(data->cert) { - if (!SSL_cert_stuff(data, data->cert, data->cert)) { + if (!cert_stuff(data, data->cert, data->cert)) { failf(data, "couldn't use certificate!\n"); return 2; } |