Lines Matching refs:resp
409 const NegTokenResp * resp,
426 resp, &buf_len);
478 NegTokenResp resp;
481 resp.negState = malloc(sizeof(*resp.negState));
482 if (resp.negState == NULL) {
486 *(resp.negState) = reject;
488 resp.supportedMech = NULL;
489 resp.responseToken = NULL;
490 resp.mechListMIC = NULL;
492 ret = code_NegTokenArg(minor_status, &resp,
495 free_NegTokenResp(&resp);
508 NegTokenResp resp;
511 memset(&resp, 0, sizeof(resp));
512 resp.negState = malloc(sizeof(*resp.negState));
513 if (resp.negState == NULL) {
517 *(resp.negState) = accept_completed;
519 resp.supportedMech = malloc(sizeof(*resp.supportedMech));
520 if (resp.supportedMech == NULL) {
521 free_NegTokenResp(&resp);
527 resp.supportedMech,
530 free_NegTokenResp(&resp);
535 resp.responseToken = malloc(sizeof(*resp.responseToken));
536 if (resp.responseToken == NULL) {
537 free_NegTokenResp(&resp);
541 resp.responseToken->length = mech_token->length;
542 resp.responseToken->data = mech_token->value;
545 ret = code_NegTokenArg(minor_status, &resp,
548 if (resp.responseToken != NULL) {
549 free(resp.responseToken);
550 resp.responseToken = NULL;
552 free_NegTokenResp(&resp);
1643 NegTokenResp resp;
1705 ret = decode_NegTokenResp(buf + taglen, len, &resp, NULL);
1707 free_NegTokenResp(&resp);
1712 if (resp.negState == NULL ||
1713 *(resp.negState) == reject ||
1714 resp.supportedMech == NULL) {
1715 free_NegTokenResp(&resp);
1721 resp.supportedMech,
1727 free_NegTokenResp(&resp);
1731 if (resp.responseToken != NULL) {
1732 sub_token.length = resp.responseToken->length;
1733 sub_token.value = resp.responseToken->data;
1753 free_NegTokenResp(&resp);
1765 free_NegTokenResp(&resp);