JNI: remove toUpperCase() in getCurveSizeFromName(), native handles case
parent
a0e6314a63
commit
e3414c7e7c
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue