/hg/icedtea8-forest/jdk: PR2899: Don't use WithSeed versions of ...

andrew at icedtea.classpath.org andrew at icedtea.classpath.org
Wed Mar 30 04:56:28 UTC 2016


changeset 9dc0eca5fa89 in /hg/icedtea8-forest/jdk
details: http://icedtea.classpath.org/hg/icedtea8-forest/jdk?cmd=changeset;node=9dc0eca5fa89
author: andrew
date: Wed Mar 30 05:54:40 2016 +0100

	PR2899: Don't use WithSeed versions of NSS functions as they don't fully process the seed
	Contributed-by: Alex Kashchenko <akashche at redhat.com>


diffstat:

 src/share/native/sun/security/ec/ecc_impl.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 8957aff58901 -r 9dc0eca5fa89 src/share/native/sun/security/ec/ecc_impl.h
--- a/src/share/native/sun/security/ec/ecc_impl.h	Wed Mar 30 04:48:56 2016 +0100
+++ b/src/share/native/sun/security/ec/ecc_impl.h	Wed Mar 30 05:54:40 2016 +0100
@@ -267,8 +267,8 @@
 
 #ifdef SYSTEM_NSS
 #define EC_DecodeParams(a,b,c) EC_DecodeParams(a,b)
-#define EC_NewKey(a,b,c,d,e) EC_NewKeyFromSeed(a,b,c,d)
-#define ECDSA_SignDigest(a,b,c,d,e,f) ECDSA_SignDigestWithSeed(a,b,c,d,e)
+#define EC_NewKey(a,b,c,d,e) EC_NewKey(a,b)
+#define ECDSA_SignDigest(a,b,c,d,e,f) ECDSA_SignDigest(a,b,c)
 #define ECDSA_VerifyDigest(a,b,c,d) ECDSA_VerifyDigest(a,b,c)
 #define ECDH_Derive(a,b,c,d,e,f) ECDH_Derive(a,b,c,d,e)
 #else


More information about the distro-pkg-dev mailing list