mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8178466: Better RSA parameters
Reviewed-by: mullan, ahgross
This commit is contained in:
parent
c5f521e176
commit
0e8009535c
2 changed files with 2 additions and 3 deletions
|
@ -1804,8 +1804,7 @@ public final class Main {
|
|||
} else if ("RSA".equalsIgnoreCase(keyAlgName)) {
|
||||
keysize = SecurityProviderConstants.DEF_RSA_KEY_SIZE;
|
||||
} else if ("DSA".equalsIgnoreCase(keyAlgName)) {
|
||||
// hardcode for now as DEF_DSA_KEY_SIZE is still 1024
|
||||
keysize = 2048; // SecurityProviderConstants.DEF_DSA_KEY_SIZE;
|
||||
keysize = SecurityProviderConstants.DEF_DSA_KEY_SIZE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue