projects
/
curl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9e1440
)
make sure the LASTSOCKET check only checks for SSL status if the socket
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 11 May 2006 05:17:40 +0000
(
05:17
+0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 11 May 2006 05:17:40 +0000
(
05:17
+0000)
truly use SSL
lib/getinfo.c
patch
|
blob
|
history
diff --git
a/lib/getinfo.c
b/lib/getinfo.c
index d74fbcf3cf87f965a3ad7fabccbba0f3de401e86..f884ad1e5b4e0f19a27c2c18bea1dd639655fa21 100644
(file)
--- a/
lib/getinfo.c
+++ b/
lib/getinfo.c
@@
-204,7
+204,7
@@
CURLcode Curl_getinfo(struct SessionHandle *data, CURLINFO info, ...)
sock[FIRSTSOCKET];
/* we have a socket connected, let's determine if the server shut down */
/* determine if ssl */
- if(data->state.connects[data->state.lastconnect]->
protocol & PROT_SSL
) {
+ if(data->state.connects[data->state.lastconnect]->
ssl[FIRSTSOCKET].use
) {
/* use the SSL context */
if (!Curl_ssl_check_cxn(data->state.connects[data->state.lastconnect]))
*param_longp = -1; /* FIN received */