~ubuntu-branches/ubuntu/utopic/trousers/utopic-proposed

« back to all changes in this revision

Viewing changes to src/tspi/tsp_pcr.c

  • Committer: Package Import Robot
  • Author(s): Pierre Chifflier
  • Date: 2013-08-20 18:01:47 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20130820180147-ucz33jh8z2qx47ya
Tags: 0.3.11.2-1
* Imported Upstream version 0.3.11.2
* Upstream license changed to BSD
* Example tools are not shipped anymore
* Remove 05-gcc47.patch, not needed anymore
* Updated symbols file

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                        return TSPERR(TSS_E_OUTOFMEMORY);
117
117
                }
118
118
                /* set the newly allocated bytes to 0 */
119
 
                memset(&select->pcrSelect[select->sizeOfSelect], 0,
120
 
                                bytes_to_hold - select->sizeOfSelect);
 
119
                __tspi_memset(&select->pcrSelect[select->sizeOfSelect], 0,
 
120
                              bytes_to_hold - select->sizeOfSelect);
121
121
                select->sizeOfSelect = bytes_to_hold;
122
122
 
123
123
                /* realloc the pcr array as well */