summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-04-20 07:23:04 -0400
committerRich Salz <rsalz@openssl.org>2015-04-20 07:23:04 -0400
commitfec669388cbde9dea813209fbc3b88ac293db183 (patch)
treeb48b27f9c9af5b128888b92f485cdb1233c96f44 /test
parenta0eed48d37a4b7beea0c966caf09ad46f4a92a44 (diff)
downloadopenssl-new-fec669388cbde9dea813209fbc3b88ac293db183.tar.gz
Use 2K RSA and SHA256 in tests
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'test')
-rw-r--r--test/CAss.cnf2
-rw-r--r--test/CAtsa.cnf2
-rw-r--r--test/P1ss.cnf4
-rw-r--r--test/P2ss.cnf4
-rw-r--r--test/Uss.cnf4
-rw-r--r--test/test.cnf2
6 files changed, 9 insertions, 9 deletions
diff --git a/test/CAss.cnf b/test/CAss.cnf
index 1ec96af332..b4a7030c91 100644
--- a/test/CAss.cnf
+++ b/test/CAss.cnf
@@ -7,7 +7,7 @@ RANDFILE = ./.rnd
####################################################################
[ req ]
-default_bits = 1024
+default_bits = 2048
default_keyfile = keySS.pem
distinguished_name = req_distinguished_name
encrypt_rsa_key = no
diff --git a/test/CAtsa.cnf b/test/CAtsa.cnf
index b497b50452..9bdc614163 100644
--- a/test/CAtsa.cnf
+++ b/test/CAtsa.cnf
@@ -51,7 +51,7 @@ emailAddress = optional
#----------------------------------------------------------------------
[ req ]
-default_bits = 1024
+default_bits = 2048
default_md = sha1
distinguished_name = $ENV::TSDNSECT
encrypt_rsa_key = no
diff --git a/test/P1ss.cnf b/test/P1ss.cnf
index 326cce2ba8..e6118dc816 100644
--- a/test/P1ss.cnf
+++ b/test/P1ss.cnf
@@ -7,11 +7,11 @@ RANDFILE = ./.rnd
####################################################################
[ req ]
-default_bits = 1024
+default_bits = 2048
default_keyfile = keySS.pem
distinguished_name = req_distinguished_name
encrypt_rsa_key = no
-default_md = md2
+default_md = sha256
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
diff --git a/test/P2ss.cnf b/test/P2ss.cnf
index 8b502321b8..d530e31f99 100644
--- a/test/P2ss.cnf
+++ b/test/P2ss.cnf
@@ -7,11 +7,11 @@ RANDFILE = ./.rnd
####################################################################
[ req ]
-default_bits = 1024
+default_bits = 2048
default_keyfile = keySS.pem
distinguished_name = req_distinguished_name
encrypt_rsa_key = no
-default_md = md2
+default_md = sha256
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
diff --git a/test/Uss.cnf b/test/Uss.cnf
index 98b2e054b7..58ac0ca54d 100644
--- a/test/Uss.cnf
+++ b/test/Uss.cnf
@@ -7,11 +7,11 @@ RANDFILE = ./.rnd
####################################################################
[ req ]
-default_bits = 1024
+default_bits = 2048
default_keyfile = keySS.pem
distinguished_name = req_distinguished_name
encrypt_rsa_key = no
-default_md = md2
+default_md = sha256
[ req_distinguished_name ]
countryName = Country Name (2 letter code)
diff --git a/test/test.cnf b/test/test.cnf
index 10834442a1..718b0bf1f2 100644
--- a/test/test.cnf
+++ b/test/test.cnf
@@ -56,7 +56,7 @@ emailAddress = optional
####################################################################
[ req ]
-default_bits = 1024
+default_bits = 2048
default_keyfile = testkey.pem
distinguished_name = req_distinguished_name
encrypt_rsa_key = no