2016-04-20 14:10:22 +00:00
|
|
|
# HG changeset patch
|
|
|
|
# User andrew
|
|
|
|
# Date 1459313680 -3600
|
|
|
|
# Wed Mar 30 05:54:40 2016 +0100
|
|
|
|
# Node ID 9dc0eca5fa8926e6a952fa4f1931e78aa1f52443
|
|
|
|
# Parent 8957aff589013e671f02d38023d5ff245ef27e87
|
|
|
|
PR2899: Don't use WithSeed versions of NSS functions as they don't fully process the seed
|
|
|
|
Contributed-by: Alex Kashchenko <akashche@redhat.com>
|
2017-07-21 12:45:27 +00:00
|
|
|
Updated 2017/07/04 to accomodate 8175110 by Andrew Hughes <gnu.andrew@redhat.com>
|
2016-04-20 14:10:22 +00:00
|
|
|
|
2017-07-21 12:45:27 +00:00
|
|
|
diff -r e5fdbb82bd49 src/share/native/sun/security/ec/ecc_impl.h
|
|
|
|
--- openjdk/jdk/src/share/native/sun/security/ec/ecc_impl.h
|
|
|
|
+++ openjdk/jdk/src/share/native/sun/security/ec/ecc_impl.h
|
2016-04-20 14:10:22 +00:00
|
|
|
@@ -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)
|
2017-07-21 12:45:27 +00:00
|
|
|
-#define ECDSA_SignDigest(a,b,c,d,e,f,g) ECDSA_SignDigestWithSeed(a,b,c,d,e)
|
2016-04-20 14:10:22 +00:00
|
|
|
+#define EC_NewKey(a,b,c,d,e) EC_NewKey(a,b)
|
2017-07-21 12:45:27 +00:00
|
|
|
+#define ECDSA_SignDigest(a,b,c,d,e,f,g) ECDSA_SignDigest(a,b,c)
|
2016-04-20 14:10:22 +00:00
|
|
|
#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
|