diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
commit | 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /security/trousers/files/patch-src_tcs_tcs__aik.c | |
parent | textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff) |
With the power of USES=dos2unix, get rid of most patches and files
with CRLF.
While there, run make makepatch, rename patches to use the new scheme,
and various fixes.
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'security/trousers/files/patch-src_tcs_tcs__aik.c')
-rw-r--r-- | security/trousers/files/patch-src_tcs_tcs__aik.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/security/trousers/files/patch-src_tcs_tcs__aik.c b/security/trousers/files/patch-src_tcs_tcs__aik.c new file mode 100644 index 000000000000..c4e4113c72b7 --- /dev/null +++ b/security/trousers/files/patch-src_tcs_tcs__aik.c @@ -0,0 +1,11 @@ +--- src/tcs/tcs_aik.c.orig 2016-06-20 15:21:26 UTC ++++ src/tcs/tcs_aik.c +@@ -66,7 +66,7 @@ UnloadBlob_SYMMETRIC_KEY(UINT64 *offset, + UnloadBlob_UINT16(offset, &key->size, blob); + + if (key->size > 0) { +- key->data = (BYTE *)malloc(key->size); ++ key->data = malloc(key->size); + if (key->data == NULL) { + LogError("malloc of %hu bytes failed.", key->size); + key->size = 0; |