vtls: Use bool for Curl_ssl_getsessionid() return type

The return type of this function is a boolean value, and even uses a
bool internally, so use bool in the function declaration as well as
the variables that store the return value, to avoid any confusion.
This commit is contained in:
Steve Holme
2014-12-25 17:15:15 +00:00
parent 38aaf6c380
commit 6cb7b0c0ac
7 changed files with 23 additions and 20 deletions

View File

@@ -509,7 +509,7 @@ schannel_connect_step3(struct connectdata *conn, int sockindex)
struct SessionHandle *data = conn->data;
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
struct curl_schannel_cred *old_cred = NULL;
int incache;
bool incache;
DEBUGASSERT(ssl_connect_3 == connssl->connecting_state);
@@ -550,6 +550,7 @@ schannel_connect_step3(struct connectdata *conn, int sockindex)
incache = FALSE;
}
}
if(!incache) {
result = Curl_ssl_addsessionid(conn, (void *)connssl->cred,
sizeof(struct curl_schannel_cred));