~ubuntu-branches/ubuntu/vivid/trousers/vivid

« back to all changes in this revision

Viewing changes to src/tcs/rpc/tcstp/rpc_certify.c

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2012-11-10 17:04:44 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121110170444-yvoa372npyp02mwr
Tags: 0.3.10-1
* Imported Upstream version 0.3.10
* Update symbols file
* Force build of tools

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
47
47
                return TCSERR(TSS_E_INTERNAL_ERROR);
48
48
 
 
49
        if ((result = ctx_verify_context(hContext)))
 
50
                goto done;
 
51
 
49
52
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
50
53
 
51
54
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &certHandle, 0, &data->comm))
112
115
                }
113
116
                free(outData);
114
117
        } else
115
 
                initData(&data->comm, 0);
 
118
done:           initData(&data->comm, 0);
116
119
 
117
120
        data->comm.hdr.u.result = result;
118
121