From bd3d5a17b49dfdb9029376961f429a21dd045af4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 18 Jun 2004 06:20:43 +0000 Subject: Gisle's "SSL patch" from June 16th 2004, modified by me as discussed on the mailing list. --- src/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 9551cfe26..c759fcc63 100644 --- a/src/main.c +++ b/src/main.c @@ -2572,7 +2572,6 @@ int my_trace(CURL *handle, curl_infotype type, struct Configurable *config = (struct Configurable *)userp; FILE *output=config->errors; const char *text; - (void)handle; /* prevent compiler warning */ if(!config->trace_stream) { @@ -2606,6 +2605,12 @@ int my_trace(CURL *handle, curl_infotype type, case CURLINFO_DATA_IN: text = "<= Recv data"; break; + case CURLINFO_SSL_DATA_IN: + text = "<= Recv SSL data"; + break; + case CURLINFO_SSL_DATA_OUT: + text = "<= Send SSL data"; + break; } dump(text, output, data, size, config->trace_ascii); -- cgit v1.2.3