JNI: remove toUpperCase() in getCurveSizeFromName(), native handles case

pull/2/merge
Chris Conlon 2017-04-05 15:20:17 -06:00
parent a0e6314a63
commit e3414c7e7c
1 changed files with 1 additions and 1 deletions

View File

@ -233,7 +233,7 @@ public class Ecc extends NativeStruct {
public static int getCurveSizeFromName(String curveName) {
/* Ecc object doesn't need to be initialied before call */
return wc_ecc_get_curve_size_from_name(curveName.toUpperCase());
return wc_ecc_get_curve_size_from_name(curveName);
}
public byte[] privateKeyEncodePKCS8() {