14 lines
411 B
Diff
14 lines
411 B
Diff
Index: gnupg-2.4.0/g10/keygen.c
|
|
===================================================================
|
|
--- gnupg-2.4.0.orig/g10/keygen.c
|
|
+++ gnupg-2.4.0/g10/keygen.c
|
|
@@ -2461,7 +2461,7 @@ get_keysize_range (int algo, unsigned in
|
|
|
|
default:
|
|
*min = opt.compliance == CO_DE_VS ? 2048: 1024;
|
|
- *max = 4096;
|
|
+ *max = opt.flags.large_rsa == 1 ? 8192 : 4096;
|
|
def = 3072;
|
|
break;
|
|
}
|