view fsg.sh.in @ 2682:469958c06626

PR3755: Support secp256k1 in the default set of curves 2019-10-07 Andrew John Hughes <gnu_andrew@member.fsf.org> PR3755: Support secp256k1 in the default set of curves * fsg.sh.in: Update patch name. * patches/pr3755.patch: Renamed from pr3758.patch. Retain secp256k1 curve when reducing supported curve set.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Mon, 07 Oct 2019 17:07:29 +0100
parents e9c21aeb5a39
children 2663d0ce795a
line wrap: on
line source

#!/bin/sh

echo "Further liberating OpenJDK..."

# PRx denotes bug x in the IcedTea bug database (http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=x)
# Sx denotes bug x in the Sun/Oracle bug database (https://bugs.openjdk.java.net/browse/JDK-X)

echo "Removing support for proprietary SNMP plug"
rm -rvf openjdk/jdk/src/share/classes/sun/management/snmp
rm -rvf openjdk/jdk/src/share/classes/com/sun/jmx/snmp
rm -rvf openjdk/jdk/test/com/sun/jmx/snmp

echo "Removing EC source code we don't build"
rm -rvf openjdk/jdk/src/share/native/sun/security/ec/impl

if test "x@ENABLE_NON_NSS_CURVES@" = "xno"; then
  echo "Removing non-NSS ECC curves"
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2.h
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_163.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_193.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_233.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_aff.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ec2_mont.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ecp_192.c
  rm -vf openjdk/jdk/src/share/native/sun/security/ec/impl/ecp_224.c
  patch -Np0 < @abs_top_srcdir@/patches/pr3755.patch
fi