Fix all clang scan-build warnings

This commit is contained in:
Trevor Bentley
2017-09-27 11:28:39 +02:00
parent 90209997cc
commit 9a7ccf48fa
7 changed files with 18 additions and 10 deletions
-2
View File
@@ -258,8 +258,6 @@ void strip_DER_encoding_from_ECSIG(CK_BYTE_PTR data, CK_ULONG_PTR len) {
data_ptr++;
memcpy(buf_ptr, data_ptr, elem_len);
data_ptr += elem_len;
buf_ptr += elem_len;
*len = sig_halflen * 2;
memcpy(data, buf, *len);