~ubuntu-branches/ubuntu/vivid/ecryptfs-utils/vivid

« back to all changes in this revision

Viewing changes to src/key_mod/ecryptfs_key_mod_tspi.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-04-09 09:54:00 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080409095400-cexrc09wzgqsk9bs
Tags: 43-1
* New upstream release.
* Removing watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
                goto out;
259
259
        }
260
260
        (*to_size) = encdata_size;
 
261
        if (to)
 
262
                memcpy(to, encdata, (*to_size));
261
263
        Tspi_Context_FreeMemory(h_encrypt_ctx, encdata);
262
264
out:
263
265
        pthread_mutex_unlock(&encrypt_lock);