• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/curl-7.21.7/lib/

Lines Matching refs:pvBuffer

221   sspi_recv_token.pvBuffer = NULL;
229 sspi_send_token.pvBuffer = NULL;
279 if(sspi_recv_token.pvBuffer) {
280 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);
281 sspi_recv_token.pvBuffer = NULL;
291 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);
307 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer);
308 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);
314 code = Curl_write_plain(conn, sock, (char *)sspi_send_token.pvBuffer,
320 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer);
321 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);
329 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer);
330 sspi_send_token.pvBuffer = NULL;
332 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);
333 sspi_recv_token.pvBuffer = NULL;
383 sspi_recv_token.pvBuffer = malloc(us_length);
385 if(!sspi_recv_token.pvBuffer) {
392 result = Curl_blockread_all(conn, sock, (char *)sspi_recv_token.pvBuffer,
400 s_pSecFn->FreeContextBuffer(sspi_recv_token.pvBuffer);
493 sspi_w_token[0].pvBuffer = malloc(sspi_sizes.cbSecurityTrailer);
495 if(!sspi_w_token[0].pvBuffer) {
501 sspi_w_token[1].pvBuffer = malloc(1);
502 if(!sspi_w_token[1].pvBuffer){
503 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
508 memcpy(sspi_w_token[1].pvBuffer,&gss_enc,1);
511 sspi_w_token[2].pvBuffer = malloc(sspi_sizes.cbBlockSize);
512 if(!sspi_w_token[2].pvBuffer) {
513 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
514 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
524 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
525 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
526 s_pSecFn->FreeContextBuffer(sspi_w_token[2].pvBuffer);
534 sspi_send_token.pvBuffer = malloc(sspi_send_token.cbBuffer);
535 if(!sspi_send_token.pvBuffer) {
536 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
537 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
538 s_pSecFn->FreeContextBuffer(sspi_w_token[2].pvBuffer);
543 memcpy(sspi_send_token.pvBuffer, sspi_w_token[0].pvBuffer,
545 memcpy((PUCHAR) sspi_send_token.pvBuffer +(int)sspi_w_token[0].cbBuffer,
546 sspi_w_token[1].pvBuffer, sspi_w_token[1].cbBuffer);
547 memcpy((PUCHAR) sspi_send_token.pvBuffer
550 sspi_w_token[2].pvBuffer, sspi_w_token[2].cbBuffer);
552 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
553 sspi_w_token[0].pvBuffer = NULL;
555 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
556 sspi_w_token[1].pvBuffer = NULL;
558 s_pSecFn->FreeContextBuffer(sspi_w_token[2].pvBuffer);
559 sspi_w_token[2].pvBuffer = NULL;
569 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer);
584 code = Curl_write_plain(conn, sock, (char *)sspi_send_token.pvBuffer,
588 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer);
592 s_pSecFn->FreeContextBuffer(sspi_send_token.pvBuffer);
622 sspi_w_token[0].pvBuffer = malloc(us_length);
623 if(!sspi_w_token[0].pvBuffer) {
628 result=Curl_blockread_all(conn, sock, (char *)sspi_w_token[0].pvBuffer,
634 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
645 sspi_w_token[1].pvBuffer = NULL;
654 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
655 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
664 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
665 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
670 memcpy(socksreq,sspi_w_token[1].pvBuffer,sspi_w_token[1].cbBuffer);
671 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
672 s_pSecFn->FreeContextBuffer(sspi_w_token[1].pvBuffer);
678 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);
682 memcpy(socksreq,sspi_w_token[0].pvBuffer,sspi_w_token[0].cbBuffer);
683 s_pSecFn->FreeContextBuffer(sspi_w_token[0].pvBuffer);