Blame SOURCES/ntp-4.2.6p5-rsaexp.patch
|
|
6d3098 |
diff -up ntp-4.2.6p5/util/ntp-keygen.c.rsaexp ntp-4.2.6p5/util/ntp-keygen.c
|
|
|
6d3098 |
--- ntp-4.2.6p5/util/ntp-keygen.c.rsaexp 2015-02-09 12:18:06.627127473 +0100
|
|
|
6d3098 |
+++ ntp-4.2.6p5/util/ntp-keygen.c 2015-02-09 12:28:15.263780280 +0100
|
|
|
6d3098 |
@@ -882,7 +882,7 @@ gen_rsa(
|
|
|
6d3098 |
FILE *str;
|
|
|
6d3098 |
|
|
|
6d3098 |
fprintf(stderr, "Generating RSA keys (%d bits)...\n", modulus);
|
|
|
6d3098 |
- rsa = RSA_generate_key(modulus, 3, cb, "RSA");
|
|
|
6d3098 |
+ rsa = RSA_generate_key(modulus, 65537, cb, "RSA");
|
|
|
6d3098 |
fprintf(stderr, "\n");
|
|
|
6d3098 |
if (rsa == NULL) {
|
|
|
6d3098 |
fprintf(stderr, "RSA generate keys fails\n%s\n",
|
|
|
6d3098 |
@@ -1223,7 +1223,7 @@ gen_gqkey(
|
|
|
6d3098 |
fprintf(stderr,
|
|
|
6d3098 |
"Generating GQ parameters (%d bits)...\n",
|
|
|
6d3098 |
modulus2);
|
|
|
6d3098 |
- rsa = RSA_generate_key(modulus2, 3, cb, "GQ");
|
|
|
6d3098 |
+ rsa = RSA_generate_key(modulus2, 65537, cb, "GQ");
|
|
|
6d3098 |
fprintf(stderr, "\n");
|
|
|
6d3098 |
if (rsa == NULL) {
|
|
|
6d3098 |
fprintf(stderr, "RSA generate keys fails\n%s\n",
|