Lines Matching refs:sspi_status

466   SECURITY_STATUS sspi_status = SEC_E_OK;  in schannel_acquire_credential_handle()  local
803 sspi_status = in schannel_acquire_credential_handle()
843 sspi_status = in schannel_acquire_credential_handle()
856 if(sspi_status != SEC_E_OK) { in schannel_acquire_credential_handle()
859 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_acquire_credential_handle()
861 switch(sspi_status) { in schannel_acquire_credential_handle()
893 SECURITY_STATUS sspi_status = SEC_E_OK; in schannel_connect_step1() local
1074 sspi_status = Curl_pSecFn->InitializeSecurityContext( in schannel_connect_step1()
1081 if(sspi_status != SEC_I_CONTINUE_NEEDED) { in schannel_connect_step1()
1084 switch(sspi_status) { in schannel_connect_step1()
1087 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step1()
1091 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step1()
1106 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step1()
1154 SECURITY_STATUS sspi_status = SEC_E_OK; in schannel_connect_step2() local
1265 sspi_status = Curl_pSecFn->InitializeSecurityContext( in schannel_connect_step2()
1275 if(sspi_status == SEC_E_INCOMPLETE_MESSAGE) { in schannel_connect_step2()
1286 if(sspi_status == SEC_I_INCOMPLETE_CREDENTIALS && in schannel_connect_step2()
1296 if(sspi_status == SEC_I_CONTINUE_NEEDED || sspi_status == SEC_E_OK) { in schannel_connect_step2()
1323 switch(sspi_status) { in schannel_connect_step2()
1326 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step2()
1330 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step2()
1334 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step2()
1349 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_connect_step2()
1375 if(sspi_status == SEC_I_CONTINUE_NEEDED) { in schannel_connect_step2()
1388 if(sspi_status == SEC_I_CONTINUE_NEEDED) { in schannel_connect_step2()
1394 if(sspi_status == SEC_E_OK) { in schannel_connect_step2()
1534 SECURITY_STATUS sspi_status = SEC_E_OK; in schannel_connect_step3() local
1567 sspi_status = in schannel_connect_step3()
1572 if(sspi_status != SEC_E_OK) { in schannel_connect_step3()
1616 sspi_status = in schannel_connect_step3()
1621 if((sspi_status != SEC_E_OK) || !ccert_context) { in schannel_connect_step3()
1776 SECURITY_STATUS sspi_status = SEC_E_OK; in schannel_send() local
1785 sspi_status = Curl_pSecFn->QueryContextAttributes( in schannel_send()
1789 if(sspi_status != SEC_E_OK) { in schannel_send()
1824 sspi_status = Curl_pSecFn->EncryptMessage(&backend->ctxt->ctxt_handle, 0, in schannel_send()
1828 if(sspi_status == SEC_E_OK) { in schannel_send()
1896 else if(sspi_status == SEC_E_INSUFFICIENT_MEMORY) { in schannel_send()
1925 SECURITY_STATUS sspi_status = SEC_E_OK; in schannel_recv() local
2030 while(backend->encdata_offset > 0 && sspi_status == SEC_E_OK && in schannel_recv()
2045 sspi_status = Curl_pSecFn->DecryptMessage(&backend->ctxt->ctxt_handle, in schannel_recv()
2050 if(sspi_status == SEC_E_OK || sspi_status == SEC_I_RENEGOTIATE || in schannel_recv()
2051 sspi_status == SEC_I_CONTEXT_EXPIRED) { in schannel_recv()
2121 if(sspi_status == SEC_I_RENEGOTIATE) { in schannel_recv()
2141 sspi_status = SEC_E_OK; in schannel_recv()
2146 else if(sspi_status == SEC_I_CONTEXT_EXPIRED) { in schannel_recv()
2162 else if(sspi_status == SEC_E_INCOMPLETE_MESSAGE) { in schannel_recv()
2173 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_recv()
2206 if(isWin2k && sspi_status == SEC_E_OK) in schannel_recv()
2327 SECURITY_STATUS sspi_status; in schannel_shutdown() local
2335 sspi_status = Curl_pSecFn->ApplyControlToken(&backend->ctxt->ctxt_handle, in schannel_shutdown()
2338 if(sspi_status != SEC_E_OK) { in schannel_shutdown()
2341 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_shutdown()
2350 sspi_status = Curl_pSecFn->InitializeSecurityContext( in schannel_shutdown()
2364 if((sspi_status == SEC_E_OK) || (sspi_status == SEC_I_CONTEXT_EXPIRED)) { in schannel_shutdown()
2512 SECURITY_STATUS sspi_status; in schannel_pkp_pin_peer_pubkey() local
2518 sspi_status = in schannel_pkp_pin_peer_pubkey()
2523 if((sspi_status != SEC_E_OK) || !pCertContextServer) { in schannel_pkp_pin_peer_pubkey()
2526 Curl_sspi_strerror(sspi_status, buffer, sizeof(buffer))); in schannel_pkp_pin_peer_pubkey()