Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/n8/common/api PR/50898: David Binderman: remove ...
details: https://anonhg.NetBSD.org/src/rev/b2f37b667e27
branches: trunk
changeset: 343950:b2f37b667e27
user: christos <christos%NetBSD.org@localhost>
date: Sun Mar 06 19:42:25 2016 +0000
description:
PR/50898: David Binderman: remove redundant memset.
diffstat:
sys/dev/pci/n8/common/api/n8_rsa.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 0f2f31dcf496 -r b2f37b667e27 sys/dev/pci/n8/common/api/n8_rsa.c
--- a/sys/dev/pci/n8/common/api/n8_rsa.c Sun Mar 06 18:50:06 2016 +0000
+++ b/sys/dev/pci/n8/common/api/n8_rsa.c Sun Mar 06 19:42:25 2016 +0000
@@ -32,7 +32,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-static char const n8_id[] = "$Id: n8_rsa.c,v 1.1 2008/10/30 12:02:15 darran Exp $";
+static char const n8_id[] = "$Id: n8_rsa.c,v 1.2 2016/03/06 19:42:25 christos Exp $";
/*****************************************************************************/
/** @file n8_rsa.c
* @brief Public RSA functions.
@@ -1087,7 +1087,6 @@
*
* padding = digit_size - (pub_key_len % digit_size)
*/
- memset(vAddr, 0x0, padding);
memcpy(&vAddr[padding],
material_p->publicKey.value_p,
material_p->publicKey.lengthBytes);
Home |
Main Index |
Thread Index |
Old Index