Lines Matching defs:rc
66 int rc;
97 rc = SSL_Init_Application(&initappstr);
99 if(rc == SSL_ERROR_NOT_REGISTERED) {
104 rc = SSL_Init(&initstr);
107 switch (rc) {
130 failf(data, "SSL_Init(): %s", SSL_Strerror(rc, NULL));
166 int rc;
211 rc = SSL_Handshake(h, SSL_HANDSHAKE_AS_CLIENT);
213 switch (rc) {
237 failf(data, "SSL_Handshake(): %s", SSL_Strerror(rc, NULL));
253 int rc;
255 rc = Curl_qsossl_init_session(data);
257 if(rc == CURLE_OK) {
258 rc = Curl_qsossl_create(conn, sockindex);
260 if(rc == CURLE_OK)
261 rc = Curl_qsossl_handshake(conn, sockindex);
269 if(rc == CURLE_OK) {
275 return rc;
283 int rc;
288 rc = SSL_Destroy(conn->handle);
290 if(rc) {
291 if(rc == SSL_ERROR_IO) {
297 failf(data, "SSL_Destroy() returned error %s", SSL_Strerror(rc, NULL));
333 int rc;
345 rc = 0;
354 rc = -1;
370 rc = -1;
379 return rc;
389 int rc;
391 rc = SSL_Write(conn->ssl[sockindex].handle, (void *) mem, (int) len);
393 if(rc < 0) {
394 switch(rc) {
418 SSL_Strerror(rc, NULL));
423 return (ssize_t) rc; /* number of bytes */