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

« back to all changes in this revision

Viewing changes to src/tcs/rpc/tcstp/rpc_sign.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:
47
47
        if (getData(TCSD_PACKET_TYPE_UINT32, 0, &hContext, 0, &data->comm))
48
48
                return TCSERR(TSS_E_INTERNAL_ERROR);
49
49
 
 
50
        if ((result = ctx_verify_context(hContext)))
 
51
                goto done;
 
52
 
50
53
        LogDebugFn("thread %ld context %x", THREAD_ID, hContext);
51
54
 
52
55
        if (getData(TCSD_PACKET_TYPE_UINT32, 1, &hKey, 0, &data->comm))
99
102
                }
100
103
                free(sig);
101
104
        } else
102
 
                initData(&data->comm, 0);
 
105
done:           initData(&data->comm, 0);
103
106
 
104
107
        data->comm.hdr.u.result = result;
105
108
        return TSS_SUCCESS;