Algorithm names should be considered to be case insensitive, yet gnu-crypto is treating them as being case sensitive.
This causes a "NoSuchAlgorithmException" if the algorithm string passed does not match the exact case as the algorithm listed in gnu-crypto. I have traced the issue to gnu.java.security.Engine and its getInstance methods. These methods take the algorithm string passed to them as a key to find the algorithm class in a hashtable. Instead of using the algorithm name as a key, they hashtable needs to be iterated through each algorithm and doing a compare ignoring the case. -- Summary: Algorithm names should be case insensitive Product: classpath Version: 0.92 Status: UNCONFIRMED Severity: normal Priority: P3 Component: crypto AssignedTo: csm at gnu dot org ReportedBy: mwringe at redhat dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28192 _______________________________________________ Bug-classpath mailing list Bug-classpath@gnu.org http://lists.gnu.org/mailman/listinfo/bug-classpath