Module Name:    src
Committed By:   christos
Date:           Sun Mar  6 19:42:25 UTC 2016

Modified Files:
        src/sys/dev/pci/n8/common/api: n8_rsa.c

Log Message:
PR/50898: David Binderman: remove redundant memset.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/pci/n8/common/api/n8_rsa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/n8/common/api/n8_rsa.c
diff -u src/sys/dev/pci/n8/common/api/n8_rsa.c:1.1 src/sys/dev/pci/n8/common/api/n8_rsa.c:1.2
--- src/sys/dev/pci/n8/common/api/n8_rsa.c:1.1	Thu Oct 30 08:02:15 2008
+++ src/sys/dev/pci/n8/common/api/n8_rsa.c	Sun Mar  6 14:42:25 2016
@@ -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 @@ static N8_Status_t initPublicKey(N8_RSAK
        *
        * padding = digit_size - (pub_key_len % digit_size)
        */
-      memset(vAddr, 0x0, padding);
       memcpy(&vAddr[padding],
              material_p->publicKey.value_p,
              material_p->publicKey.lengthBytes);

Reply via email to