Blame SOURCES/0002-Use-2048-bit-keys-in-tests-to-avoid-issues-with-mode.patch

cd37fb
From 68e2c532e610e1c91dd10ff176b673d6190adef4 Mon Sep 17 00:00:00 2001
cd37fb
From: Jakub Hrozek <jakub.hrozek@posteo.se>
cd37fb
Date: Mon, 6 Aug 2018 21:43:53 +0200
cd37fb
Subject: [PATCH] Use 2048-bit keys in tests to avoid issues with modern
cd37fb
 systems
cd37fb
cd37fb
---
cd37fb
 tests/default_pw_test | 2 +-
cd37fb
 tests/ldap_test       | 2 +-
cd37fb
 2 files changed, 2 insertions(+), 2 deletions(-)
cd37fb
cd37fb
diff --git a/tests/default_pw_test b/tests/default_pw_test
cd37fb
index 6da406cf3f67cee2084e730361d43c88df83b81c..733c85c090e07c87a9a7ef8b58c5396bf5f91197 100755
cd37fb
--- a/tests/default_pw_test
cd37fb
+++ b/tests/default_pw_test
cd37fb
@@ -30,7 +30,7 @@ rm -rf "$workdir"
cd37fb
 mkdir "$workdir"
cd37fb
 
cd37fb
 # Create a SSL key
cd37fb
-/usr/bin/openssl req -newkey rsa:1024 -keyout "$workdir"/key1 -nodes \
cd37fb
+/usr/bin/openssl req -newkey rsa:2048 -keyout "$workdir"/key1 -nodes \
cd37fb
     -x509 -days 2 -out "$workdir"/key3 2>/dev/null <
cd37fb
 .
cd37fb
 .
cd37fb
diff --git a/tests/ldap_test b/tests/ldap_test
cd37fb
index f82c2795ef283e323f49c8a400d6c628b3a3e331..54609b14d54b2c5638445262e7fb25307ba6db4c 100755
cd37fb
--- a/tests/ldap_test
cd37fb
+++ b/tests/ldap_test
cd37fb
@@ -30,7 +30,7 @@ rm -rf "$workdir"
cd37fb
 mkdir "$workdir"
cd37fb
 
cd37fb
 # Create a SSL key
cd37fb
-/usr/bin/openssl req -newkey rsa:1024 -keyout "$workdir"/key1 -nodes \
cd37fb
+/usr/bin/openssl req -newkey rsa:2048 -keyout "$workdir"/key1 -nodes \
cd37fb
     -x509 -days 2 -out "$workdir"/key3 2>/dev/null <
cd37fb
 .
cd37fb
 .
cd37fb
-- 
cd37fb
2.14.4
cd37fb