< prev index next >

src/jdk.crypto.ec/share/native/libsunec/impl/ec.c

Print this page
rev 16167 : 8170525: Fix minor issues in awt coding

@@ -256,10 +256,11 @@
     int len;
 
 #if EC_DEBUG
     printf("ec_NewKey called\n");
 #endif
+    k.dp = (mp_digit)0;
 
     if (!ecParams || !privKey || !privKeyBytes || (privKeyLen < 0)) {
         PORT_SetError(SEC_ERROR_INVALID_ARGS);
         return SECFailure;
     }
< prev index next >