[openssl] master update

beldmit at gmail.com beldmit at gmail.com
Thu Feb 4 08:35:46 UTC 2021


The branch master has been updated
       via  a7246ea645b5d4c5ca7bde3dad4fcd6e63e11896 (commit)
      from  d53b437f9992f974c1623e9b9b9bdf053aefbcc3 (commit)


- Log -----------------------------------------------------------------
commit a7246ea645b5d4c5ca7bde3dad4fcd6e63e11896
Author: Dmitry Belyavskiy <beldmit at gmail.com>
Date:   Fri Jan 22 14:54:09 2021 +0100

    DH/DHX parameter check using pkeyparam
    
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/13930)

-----------------------------------------------------------------------

Summary of changes:
 test/recipes/20-test_dhparam_check.t               | 84 ++++++++++++++++++++++
 .../20-test_dhparam_check_data/valid/dh5114_1.pem  |  8 +++
 .../20-test_dhparam_check_data/valid/dh5114_2.pem  | 14 ++++
 .../20-test_dhparam_check_data/valid/dh5114_3.pem  | 14 ++++
 .../valid/dh_p1024_t1862.pem                       |  8 +++
 .../valid/dh_p2048_t1862.pem                       | 13 ++++
 .../valid/dh_p2048_t1864.pem                       | 13 ++++
 .../valid/dh_p3072_t1862.pem                       | 19 +++++
 .../valid/dhx_p1024_q160_t1862.pem                 |  9 +++
 .../valid/dhx_p1024_q160_t1864.pem                 |  9 +++
 .../valid/dhx_p1024_q224_t1862.pem                 |  9 +++
 .../valid/dhx_p1024_q256_t1862.pem                 | 10 +++
 .../valid/dhx_p2048_q160_t1862.pem                 | 15 ++++
 .../valid/dhx_p2048_q224_t1862.pem                 | 15 ++++
 .../valid/dhx_p2048_q224_t1864.pem                 | 15 ++++
 .../valid/dhx_p2048_q256_t1862.pem                 | 15 ++++
 .../valid/dhx_p2048_q256_t1864.pem                 | 15 ++++
 .../valid/dhx_p3072_q160_t1862.pem                 | 20 ++++++
 .../valid/dhx_p3072_q224_t1862.pem                 | 20 ++++++
 .../valid/dhx_p3072_q256_t1862.pem                 | 20 ++++++
 20 files changed, 345 insertions(+)
 create mode 100644 test/recipes/20-test_dhparam_check.t
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh5114_1.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh5114_2.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh5114_3.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh_p1024_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1864.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dh_p3072_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1864.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q224_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q256_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q160_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1864.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1864.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q160_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q224_t1862.pem
 create mode 100644 test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q256_t1862.pem

diff --git a/test/recipes/20-test_dhparam_check.t b/test/recipes/20-test_dhparam_check.t
new file mode 100644
index 0000000000..97e1506d8a
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check.t
@@ -0,0 +1,84 @@
+#! /usr/bin/env perl
+# Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the Apache License 2.0 (the "License").  You may not use
+# this file except in compliance with the License.  You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
+
+
+use strict;
+use warnings;
+
+use File::Spec;
+use OpenSSL::Glob;
+use OpenSSL::Test qw/:DEFAULT data_file/;
+use OpenSSL::Test::Utils;
+
+setup("test_dhparam_check");
+
+plan skip_all => "DH isn't supported in this build"
+    if disabled("dh");
+
+=pod Generation script
+
+#!/bin/sh
+
+TESTDIR=test/recipes/20-test_dhparam_check_data/valid
+rm -rf $TESTDIR
+mkdir -p $TESTDIR
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt dh_rfc5114:1 -out $TESTDIR/dh5114_1.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt dh_rfc5114:2 -out $TESTDIR/dh5114_2.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt dh_rfc5114:3 -out $TESTDIR/dh5114_3.pem
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt pbits:1024 -pkeyopt type:fips186_2 -out $TESTDIR/dh_p1024_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt pbits:2048 -pkeyopt type:fips186_2 -out $TESTDIR/dh_p2048_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt pbits:2048 -pkeyopt type:fips186_4 -out $TESTDIR/dh_p2048_t1864.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DH -pkeyopt pbits:3072 -pkeyopt type:fips186_2 -out $TESTDIR/dh_p3072_t1862.pem
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:1024 -pkeyopt qbits:160 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p1024_q160_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:1024 -pkeyopt qbits:224 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p1024_q224_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:1024 -pkeyopt qbits:256 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p1024_q256_t1862.pem
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:1024 -pkeyopt qbits:160 -pkeyopt type:fips186_4 -out $TESTDIR/dhx_p1024_q160_t1864.pem
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:2048 -pkeyopt qbits:160 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p2048_q160_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:2048 -pkeyopt qbits:224 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p2048_q224_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:2048 -pkeyopt qbits:256 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p2048_q256_t1862.pem
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:2048 -pkeyopt qbits:224 -pkeyopt type:fips186_4 -out $TESTDIR/dhx_p2048_q224_t1864.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:2048 -pkeyopt qbits:256 -pkeyopt type:fips186_4 -out $TESTDIR/dhx_p2048_q256_t1864.pem
+
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:3072 -pkeyopt qbits:160 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p3072_q160_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:3072 -pkeyopt qbits:224 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p3072_q224_t1862.pem
+./util/opensslwrap.sh genpkey -genparam -algorithm DHX -pkeyopt pbits:3072 -pkeyopt qbits:256 -pkeyopt type:fips186_2 -out $TESTDIR/dhx_p3072_q256_t1862.pem
+
+=cut
+
+my @valid = glob(data_file("valid", "*.pem"));
+#my @invalid = glob(data_file("invalid", "*.pem"));
+
+my $num_tests = scalar @valid;# + scalar @invalid;
+plan tests => 2 * $num_tests;
+
+ SKIP: {
+    skip "Skipping DH tests", $num_tests
+        if disabled('deprecated-3.0');
+
+    foreach (@valid) {
+        ok(run(app([qw{openssl dhparam -noout -check -in}, $_])));
+    }
+
+#    foreach (@invalid) {
+#        ok(!run(app([qw{openssl dhparam -noout -check -in}, $_])));
+#    }
+}
+
+foreach (@valid) {
+    ok(run(app([qw{openssl pkeyparam -noout -check -in}, $_])));
+}
+
+#foreach (@invalid) {
+#    ok(!run(app([qw{openssl pkeyparam -noout -check -in}, $_])));
+#}
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh5114_1.pem b/test/recipes/20-test_dhparam_check_data/valid/dh5114_1.pem
new file mode 100644
index 0000000000..abc5225db8
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh5114_1.pem
@@ -0,0 +1,8 @@
+-----BEGIN DH PARAMETERS-----
+MIIBDAKBgQCxC4+WoIDgHd6S3l6uXVTsUsmfvPsGo8aaap3KUtI7YWBz4oZ1oj0Y
+mDjvHi7mUsAT7LSuqQYRIySXXDzUm4O/rMvdfZDEvXCYSI6cIZpzck7/1vrlZEc4
++qMaT/VbzMChUa9fDci0vUW/N982XBpl5oz9p21NpwjfH7K8LkpDcQKBgQCk0cvV
+w/00EmdlpELvuZkF+BBN0lisUH/WQGz/FCZtMSZv6h5cQVZLd35pD1UE8hMWAhe0
+sBuIal6RVH+eJ0n01/vX07mpLuGQnQ0iY/gKdqaiTAh6CR9THb8KAWm2oorWYqTR
+jnOvoy13nVkY0IvIhY9Nzvl8KiSFXm7rIrOy5QICAKA=
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh5114_2.pem b/test/recipes/20-test_dhparam_check_data/valid/dh5114_2.pem
new file mode 100644
index 0000000000..d1fadc1a90
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh5114_2.pem
@@ -0,0 +1,14 @@
+-----BEGIN DH PARAMETERS-----
+MIICDgKCAQEArRB+HpEjqdDWYPqnlVnFH6INZOVoO5/RtUsVl7YdCnXm+hQd+VpW
+26+aPEB7od8V6z1oijCcGA4d5rhaEnSgpm0/gVKtasISkDfJ7e/aTfjZHo/vVbc5
+S3rVt9C2wSIHyfmNEe002/bGugssi7wnvmoA4KC5xJcIs7+KMXCRiDaBKGEwvImF
+2xYC5xRBXZMwJ4Jzx94x79xzEPcSH9WgdBWYfZrcCkhtzfk6zEQyg4cxXXXhmMZB
+pIDNhqG55YfovmDmnMkosrnFIXLkEwQumyPxCw4W55djybU9z0uoCinj+3PBa451
+uX7zY+L/ox9xz53lOE5xuBwKxN/+DBDmTwKCAQEArEAy708tmuOd8wtcj/2sUGze
+vnuJmYyvdIZqCM/k/+OmgkpOELmm8N2SHwGnDEr6q3OddwDCn1LFfbF8YgqGUr5e
+kAGo1mrXwXZpEBmZAkr00CcnWsE0i7inYtBSG8mK4kcVBCLqHtQJk51U2nRgzbX2
+xrJQcXy+8YDrNBGOmNEZUppF1vg0Vm4wJeMWozDvu3eobwwasVsFGuPUKMj4rLcK
+gTcVC47rEOGD7dGZY93Z4mPkdwWJ72qiHn9fL/OBtTnM40CdE81Wavu0jWwBkYHh
+vP6UswJp7f5y/ptqpL17Wg8ccc//TBnEGOH27AF5gbwIfypwZbOEuJDTGR8r+gIC
+AOA=
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh5114_3.pem b/test/recipes/20-test_dhparam_check_data/valid/dh5114_3.pem
new file mode 100644
index 0000000000..514f7a9bcd
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh5114_3.pem
@@ -0,0 +1,14 @@
+-----BEGIN DH PARAMETERS-----
+MIICDQKCAQEAh6jmHbS2Zjz/u9GcZRlZmYzu9ghmDdDyXSzu1ENeOwDgDfjx1hlX
+1Pr330VhsqowFsPZETQJb6o79Cltgw6afCCeDGSXUXq9WoqdMGvPZ+2R+eZyW0dY
+wCLgse9Cdb97bFv8EdRfkIi5QfVOseWbuLw5oL8SMH9cT9twxYGyP3a2Osrhyqa3
+kC1SUmc1SIoO8TxtmlG/pKs62DR3llJNjvahZ7WkGCXZZ+FE5RQFZCUcysuD5rSG
+9rPKP3lxUGAmwLhX9omWKFbe1AEKvQvmIcOjlgpU5xDDdfJjddcBQQOktUMwwZiv
+EmEW0iduEXFfaTh3+tfvCcrbCUrpHhoVlwKCAQA/syybcxNNCy53UGZg7b1ITKex
+jyHvIFQH9Hk6GguhJRDbwVB3vkY//0/tSqwLtVW+OmwbDGtHsbw3c79+jG9ikBIo
++MKMuxilWuMTQQAKZQGW+THHelfy3fRj5ensFEt3feYqqrioYorDdtKC1u04ZOZ5
+gkKOvIMdFDSPby+Rk7UEWvJ2cWTh38lnwfs/LlWkvRv/6DucgNBSuYXRguoK2yo7
+cxPT/hTISEseBSWIubfSu9LfAWGZ7NBuFVfNCRWzNTu7ZODsN3/QKDcN+StSx4kU
+KM3GfrYYS1I9HbJGwy9jB4SQ8A741kfRSNR5VFFeIyfP75jFgmZLTA9sxBZZAgIB
+AA==
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh_p1024_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dh_p1024_t1862.pem
new file mode 100644
index 0000000000..2104af26e4
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh_p1024_t1862.pem
@@ -0,0 +1,8 @@
+-----BEGIN DH PARAMETERS-----
+MIIBBwKBgQCZn3UjXAFcQBMoIQ3eldBiGymdAHBv4IFlzPlpPln2Lh80Ut0vJ/XF
+JjMWglpQgiZBt14Tt/hCirnsjGAJ/sdCybUSfrgynCvfnangtYUiejWbkjriFrAD
+4fc1UJeZaYh0LFE2KoDbj1WYEatllkAv1YN59Va2BDqhKibRppPvwQKBgCiB+ihI
+wZhXIj77B2uKFXx0fPUgHWmG31X3IZg6qTZhZZ/IhKrwkic/ZDTQ3Sg8xh6X41iB
+oSNrh29uJOV5XQKu1p53jUcnBT4ziA/Z6Sljdjqmisd81RK0ZEj3mBV7gpFId4xX
+mHDqT0234ZAzjd4GutIrnYhr15ysfYG5lPtT
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1862.pem
new file mode 100644
index 0000000000..c8a9b6bbee
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1862.pem
@@ -0,0 +1,13 @@
+-----BEGIN DH PARAMETERS-----
+MIICCgKCAQEA9UZoeQZMPSABt+d35BkXukDZ/sobtVEGpOTCh2xpP4yu+A0fWzc7
+pK25D/JcIsMbx4g1rHTjJCXw0MXZ0r7x3ws7J5UGAC9/XcfrWtFoDMt+8lYLe+uF
++jvx/1T5FOSn/DnJZPriW038lsKvZ4DmBOn1RTniikEfxNdgMRH+tMf0QAMpnep1
+S3DGADLw/NDGdqXbjj27pa0vNEgZkOxsMjlwepaB0GmkyViqY56RM46ZLveYp4BR
+124XaaS5woIF+5oou9HpvR2Zq/4D5b3rXviSfLzWscpWwLpD4qpLcy3CaqzXpMfc
+xOeh27Bke7An3qjkuCu62eB7Oq8+hdQaSQKCAQEAy/tatWepC98OD5Qz1+UExQ4Y
+fRMQma7tdaJ1eCvcuo1hmvxBMl6uYPluIiaoru6LUt+u2GaDPvSKytph7uidTRH4
+kL6NdmHnCU/rpSsEESLmeu5BmkzoCfrFVC7NGTS4rVgQn4kee4LXeBkjqEICstzh
+4+1Zuo0klEYCpKjbgQNJP153vdQpPxfdgyaJf6a8UhAl/NgOzskMb4Ae0v4FjXFu
+tGnJpClSpWwVl5xakDI/P3TFH5fbcEjlsKqLjetUD7bSP78F+toltrzWEgh7+VMS
+rmXmAKV+hC6GGYBl4JwIaQa6cL5hlD+2ZHYKkPAOlDap6uAHQK9KnnuAxeUXZg==
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1864.pem b/test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1864.pem
new file mode 100644
index 0000000000..98940db55f
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh_p2048_t1864.pem
@@ -0,0 +1,13 @@
+-----BEGIN DH PARAMETERS-----
+MIICCQKCAQEAhBkJVh18GbakvREWoFdHcM1zTvUqoPWIS0EKHpipndD8ePM2ZvxC
+ikSpr/DThX15eUODyaXbxusyx+05gnEu6TeNVtA1EUKWXerX3km1aXGv61MqMG1a
+Uobe04AT4wAxH7+pQk1c1GPmMNA1PYA4jzn/oTSvyaM0p+o9g17Uv1I8cTOcPGlL
+CkjumnixrMSBPfIkiqoyeTQiNK+IxzIN34RHQlltzwJrSJhJXz0JGG132zQXVRur
+0A/Bc6YdaszGujg2POhtgueHoK3qatL0jmCwQEbwFx+8dvVVF+5UIO8m70b+WyT5
+WFiBHL3SRO77HMWg12Yj3ZX3/zhoOZ1cuQKCAQB2OF9MwGboK34QjRrptBzfGQc1
+lX82JTwYi7VTvLRKZI9ln6PkVCXaaGV68D6CN+Otz8mfXQdC9I9voMRAMoKBIvQh
+3ySkYLuRy4wcOJC5msj9wnnfXoIhS0rvbjBwmvCiuCTYCRlGBboVI9ZWv7fXj949
+oF4P7CQffyTc/4bZv9CgtODUum+HYKRYsvAsF9OKY62yg4GbSfIN08mAZ9u03YWa
+qPYclJKTRvo4IGZy65f23Jo79Yx4o9jvxnMIstBYrFJLitKqxB6dlNZEu4mv56Sk
+OuCzMwh2Vd4kmNgahBiTlID0UySQqsVHNzFpW/AmQ2D1OmqW5MffWOWLOBDj
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dh_p3072_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dh_p3072_t1862.pem
new file mode 100644
index 0000000000..3aec9ff44d
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dh_p3072_t1862.pem
@@ -0,0 +1,19 @@
+-----BEGIN DH PARAMETERS-----
+MIIDCQKCAYEApg6MBQ/pnZf8LsfYoktwBPjROBuBye90r2l/nhUo1WBeatdkRB09
+6VfxvLw4W67mDOFkRuL8jSJq4qg0J96NfHsTYIl3rN+AWYcT5jz3Jeg0cNRbpdP/
+LCn9EQx1WhYVsym2klhgy58TyaE10jMu6GOfAxqBuBuT2Goq35F2xLYZOTlBNogW
+GdLpa2IT7DB6rb0Q8n0EQzxlgbJv8gUHnYaEj9TVGLxFknQMRB40cxXBOYQelMgw
+VMZvZJrZdQOH8lB6tf8KtGtSJWpILy3kKeSa+1PXQfVDxjeb+Us28YkYw1zFsFMV
+6RbUz6L53E04VZgrgoKo2bO5V6LYbHUINvNqto/ut3EuRZp/uhfGo0KpAfrd7fvU
+R7GadmWmsMJtSEK/qneSEsvd8W4SeQpuGoua6E/lFIGSdG2hjjKrFoaNDJnBcazk
+MkWn+zuDJqheQujmr1HJ+3F6tX8rqfyN1XrYkU1xVTibaVyiGMAYioTFsOiYyFhp
+IzIVfF70kjHfAoIBgA9sS8DTB52/ShiCpYkCW98iIcdYvNSqGTSWmVLMRA2zV1Gq
+clc6Zrxe62BFb8Y/2extYHvbpNdrHryIOdJYnEq6GjTiiDoU0do8y/mTLmyYkKuD
+wYzxtVhQh5Pn0l/3Eq1bfLlseDzo4NrDAJ2BwvAcHuuX0EIA5vG9Hnz0zD18UZb7
+EN1H1dKh1jmKWK/HEB317tPYNbOs9433yecdXwt6i+asEN6NAbBG5qKQrMq9s/UE
+I5R1PRvvPhujTuM4Pkn1tbUcs5psxYafeH8aGipWIHd8faJ0kcG3k/aY3jMRTR/h
+0gpT8ERwx4HnFCfxXKNMnok/YhU5Y1wq/PeFK3v8XQdFQnZHo2DZWuAxVGI7EuP2
+GeHYbzqoMHoh1dq5ePuzRbIZgs+7ah2G+GptfeeUoU8Wxbk25nGLBimPu9PA7nfa
+QzxJP7yvQD7SCm6C6ASY71dN786B8WIbsyG5XOxoEJj1MTjjhMdE1SeSFbPpn1ih
+XeCuEdNLx1dKYfi5VQ==
+-----END DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1862.pem
new file mode 100644
index 0000000000..fbd6a81860
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1862.pem
@@ -0,0 +1,9 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIBOwKBgQDspvt+lBKshK2dJm1ouMYnWvlxV68lrTd8OsJe05BhqM3OCX+WPaZj
+K3YpCfeGDjF3XvCnR546Bwa/XF5/ox0psRhY5yeKn/CHtOerHcYAjFMFZy1I6K7Z
+TZCDsVNNyIzx955tJHsel2B2rWKPXX2cZ9nQf1Zpkpj6vOg7ujw6/QKBgQDPtKmW
+TssY3SmGBQmWkzP73mpZU/x5sV7BWWHR0JJeDjTiVzO40BA9zeQgsI6iJmYNit8t
+d7M25maoMk/7LRochsyFGxgu69kjX5LuTaeVvH1W3sl4kfBDyGckYhFmWWtdfQuf
+VYiWhIe7hjBcP5MMhKZr7Ic66fKrofpUzaLuVQIVANfIaraDgTJH8J3BnR0W3Sq7
+/6N3MBoDFQAmmc91MkRP1Lolw5MzKe/S8C1gyAIBEg==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1864.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1864.pem
new file mode 100644
index 0000000000..242487f46a
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q160_t1864.pem
@@ -0,0 +1,9 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIBOwKBgQCDjSjO0qRsv2C6jEOrtaR5xuVptCVLb6ft5U26tPOCA1efTnAdbJ50
+88sKeMjWuXjPGuyKaPSW55NZe57ggyPLdu1Frp6OmK1Odxlit316wfTWwbIC9nZH
+G0TdsvXvyOKMUOV6nSq3wwVv4hQi/6ExRNEhSgqFnHz3zjmR+s2fFwKBgF0uZFhZ
+uqjT6efnMTbEFboZJ7/dQRvkxQzFuQJXAATK/zvJ69BB+LQ3AqT/Nic/UpGAajpl
+9iOtwbDzOVaMRS25/wM9+wNGSYbsI2x1+JAG06EWq8+Mdq3pPdn2VBuPdXK5+VGk
+cf4XMul9XE+dMU/mpeUuWgjcuVnRqIVq5JUsAhUArW8on8uZ0Tob8bb0LBXnLGBR
+zJ0wGwMVAKgAShO77Ko9HVjhcMfQRClGMckAAgICCQ==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q224_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q224_t1862.pem
new file mode 100644
index 0000000000..3f0b3d8b8e
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q224_t1862.pem
@@ -0,0 +1,9 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIBSgKBgQDEd2y1+pvNNsQ1Wki/LuaTTvkCIdt2QX/UDxV6vWVuJ/rS1hyQhvtd
+sRUM04BkyUzsnzqXWK/Cg/Rw6/J++sMK7jcbs2IDLcBk9s3ukwM1tfyhfAdzappG
+2FGM2jThA91ie+F5NO+Tr+R7mE8SqR/wsIPq9c2Qbll1dDlAitwaHwKBgCk6/NWH
+zinsV7PA0BvIm0nx8JfvjjoghDiGFq4xLKzFszFYcEKyqagAbds/1RmPC8AtVl9b
+deXs7JQOwv+nbYTHyATEFptwV9VnaL+3+Q7TIHmIUgbmpetubZ+7FhfZHZCObOIo
+r/jTpaqAjmSE4yK71sjnEL7m5MthKI0dcnfnAh0A3GFAymHgoouMbaxZ/gxPIHZ6
+66JF1b7doWihyzAiAx0AaAMOgPvnS+AvlCCzdggc3Z2/eLAg5AQOgjpZygIBBA==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q256_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q256_t1862.pem
new file mode 100644
index 0000000000..9f7ab4645f
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p1024_q256_t1862.pem
@@ -0,0 +1,10 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIBUwKBgQDaVuQ2SUrfZoS1h0/vzCqyih6A+fNOVAEyD6TWsHzuzwroJF6Uak/Q
+f9xit78vsr+yOlIIECyKU/ojzJMvQ2PPgOEcV/HyIofDWup3oRlKduxzMH2nfDCi
+fcgY57BF/j1zx77gb61VqUAsv3QBAgYfRI1cV+8rrvYDkOcWsNeRKwKBgGDf2te/
+h28IFmR7vRufuRjNASmw/3sc+CZo4T5/aeYQPKyxAnUgn3wwcZYwUSxrCrBDDb+Z
+vLe7gaNb3pmixFDyzicRC2zvvzvP3mcyjMhOWwFhEaZy+IOP668g28YFvCPEmsyH
+KpiMdrkMu7TUkomrN3la4m1dAHYO5ykR4XDNAiEAnbBbOFKmm5s8ocuLdw+AotyD
+jG5C84mxNrXGs6s+uh0wJwMhAPKGQPS+FuidlXISBx8acOd7v/hDawBOcwE1WRsB
+BbjpAgICGA==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q160_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q160_t1862.pem
new file mode 100644
index 0000000000..0f6bdb0956
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q160_t1862.pem
@@ -0,0 +1,15 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIICPQKCAQEA3PeBtOvlR5Kz7WCTOLcEKruVv1gdXrA7KsqEZm5hr0Ods0C3OV+g
+2J4Z5MNQuuIcfVHNxqSmEc2cEM6hMZHu350IJ4uLygmjk8zATmreP0+f/1wBaSXV
+aOZAYXAN3ppzhl2XwPwfDa1KTwBom7xLNW1BsK+ptM+D6RjBdbfBWtrnk9sPj6+X
+ajPL0bJ48S8AoqJonRIc3RMVe6//DabaADeT3udnGUcWh0QyrtfP6gRCDROR/cEU
+2qR2GSAaevUzHkTDmPTY++V3UeZf5CnEQ2x8iuTctcmLA7ZB8u1Lu7WW5X+1Wx8h
+ulBeAUvLcnvPKchhY9Qgo2BNE6DFy+8ibwKCAQBbmZxQzpVC94EnHq4CrS5ebAMZ
+suMan9H92P6mk90XR4AJAfuPRBvbVv3qki5qmjuS0Rf/R+oJ4FqS8HyR7CpoSK79
+HFfkdNQYe0WSPh5ZFQy1P+aE1BVhApsJVEW+DADSM5AWPybmcQXSbfqfTZoKR8ML
+w8ofyPF+tacUaMG5azIHP5mj1h9qdaSOcbFNiWrvp6yM0Ybzgq7IhkCajv22zhPx
+MVAhlIoTiNlMYDcA6Opg3R0LrPM3mENUjB1LuKZFWkSaEE7u0YoBdiA9kZR0d+pp
+bLtOrVjgjHzTGHo1WcK0ssqD4VkGfXYHyMexpgF3vcM4HjEmqWIj/rkS3QZAAhUA
+u4LBDAAJwMZS9lRrtF10hr1QGQEwGwMVAAihPYRyZpRQLB0qWZytlUduGlCAAgII
+xw==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1862.pem
new file mode 100644
index 0000000000..ec0b67068e
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1862.pem
@@ -0,0 +1,15 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIICTAKCAQEAq3N0G07RbPMxaYSamWfQHLetFXbsNie7On4NvC7uL1KmfaTHNkxr
+EZv/chhTKUlQRX4nTYryheQRvZpi9xp5cDnv14nzle3kA6hEjAA79cf9xJqCHunf
+AL9so9PI7VY7SBr8ANsY6vXB6FNxg2JPCHaQfkGgTSIwqfehroaJicUSG6DkKHu5
+RtKniaRDfQoVwxS7nvBpqG8dhZuP8Xei2c8dIqof6Hw+Z0vGANC/lskVNflaTjKl
+qV2DG9VPcJuXpmGQUzxBQ5uXCYkMYZpO7GI7w0KwCq/kBOduLcuFB2A8/qodyyID
+xr2fP/oWZtQ464HcagGEE4Hy90LenUvVXQKCAQBW/V2Yark/X+Mmq9HJeGEk5OaG
+g55qxV9HDYreH0QsOgAVMVzm126uy77ODdn8qR4fPoWZMVUoThgol54XscBrdM/D
+RRWoqrdocyOdkPOloM4bzdYiazd0bn1+C+xjD42lLxo4StaSvBmIakb7kPt1pQ73
+AgRCRZy0j6OE5gZLZb+fLYvjJOcT2n7AJuzk2/Q0/k2o9owC28dGDwdWBn/CvzBj
+oMF/2R2zbX2lc51rfDzV0qdsplu5SU57b1x8gdjw5kKJgi+kwK7K0fGB5liPb6Pb
+w0eWFpRgUskqIOxVFsQgxwkcL3mqDJnIWlF1WboJqfvN++/oKBasojTrUIBkAh0A
+3Q1tuu//NF8fksO+3IJDkBGZdzM6oCa9Vwc18TAiAx0ADOyRLiKTe0HDW8feHEXt
+HWPv+S5quqP11wlJPAIBPw==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1864.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1864.pem
new file mode 100644
index 0000000000..b30aa9a4ef
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q224_t1864.pem
@@ -0,0 +1,15 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIICTgKCAQEAyWH5+SPDEuhevGc7dh4iVF8ZJO0fryDA1fn2LMbNK5A4N/VPMd7p
+qq9go7ydaEbbPEyOd7xApIaQdn/fmUBL6Xp2X4HW/MkYbnebI+2oZgpt2QmAxsuN
+1KTa6SqAz9ROi7SrSm0aAFAtbzP1vVDnngkjONXo/LU6yy9Smfa5IMSbrow933kk
+EDbgos5inebY7R1owiJhEENL+haib0Axz0rrEQIAg5CtGoc3B8FMvMuAXMHnGS+r
+8uinxeuI+cblyqM0nEKVcPwXYQEgDI6+wO21gXuhTjKOL7C5Qlqyb4W21+w3TZ/U
+TD9Tb2kMi8x33MQPrbqh65Gq+MuX5CStCwKCAQEAog0NkDcZyPFILLucriUqlO9J
+XkthvuaA1SiAiLT22hCSFdkyxLOq2ml7sAUQTfMD0FDjdzZ01CS5yQhEXPOUBXfz
+SyJc0PylVbfmZLqS6s8a37wE0K9QYrPdCR+DK7/hy1d9nlAPiMd41/vEfE0ISbTF
+szg+Lz5Q8eeWaaVaj52iZzy3zTkfAtzlQn1O0dSQ6StnASfeM7EIwPEihoSblX8w
+FqYIaGqg3RHXd5YBwMT72o8Dz1dYc9idL8D+Eb/i5CXW4eogSF1dPE8GjumJ2M2k
+ch5UNb6t/s8PqxjsE36aIGJ9kYVE1IJrtq5VZuiPKHZaNqDXsZRXsWfEL9l9eQId
+AOhB7sFh9bzTxnNxCWhmUWnCDfw5o/q2unO8+y0wIwMdAI+6LavN7KvTx/hjMS8m
+oqA6C+1IhgwGtFlmitACAgEC
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1862.pem
new file mode 100644
index 0000000000..1cfe9c86b8
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1862.pem
@@ -0,0 +1,15 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIICVQKCAQEAhxMwtOxNyUmeaageg/mNU2eOSXQR8EOo/i3kf7KimKu7L0rb0hDb
+8jT6r1jzkLCHjwleD7eAUxMMXbR5e6gBeKy5MbCUL84k2Gu67rgD+DF6SXn0m5or
+wpBRcDBjEaUQE9m0TdS4BGJc+EwYYnjWIKIMtjOscwrx0M9QjmAiMwQN6IdAl3zF
+9nmWFy8Cs0+uLRI4Q4WPRR/iPGQxtxTVtXKL5jMaPYiEdAR2RGkBo+kdi3gKKvIB
+JxP0DlqQTqZcwrVJ5neRw+ZL+UqurKZeSVD5LLhoFgxJNTEy8EhnG5RibhSoFkVN
+AQ2NAITvkudCMOti7WRPD9+NhkakF8GT2QKCAQAiNQFdNwtfvwqhVVdZM4kp+dDg
+driyDQssF1YFL+RJ8wxlanaMs8yPUJ6raANoVKKbJm7LwSJ2uVnXcTWzKIxIa92a
+XK2ZFkXYhLz84/gEikrDU0OHhswy5NkJEIeHJwg9aWBHZTrSTXGY3yTmBqrU81SY
+RC+yoPxS8CInuhYg2fyglpuZCRgqlZXkdlzQUocQ/LwpQS4+4RDrUAEg9xxiTRGx
+qD6CCnsKSPds3AbazBdlplOQ9gkjPbyM3or7f/4i17zuqucTFpZyvwmWGDGzwpWe
++Xw28Hp5gNCNQDQZ+PfQlENvGxfuoOSiKHd1JBN4bMG98HSUtT7v+C0qAh5OAiEA
+iRpMLXg4tQhUO3d9x3NhkzDVbDpizcuXT+iLat186pswJwMhAPo+HQsTrhHlHfND
+TPB8hXdpDowZTe2Hnn2OzTUSD4QLAgIBDQ==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1864.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1864.pem
new file mode 100644
index 0000000000..92ec657d6a
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p2048_q256_t1864.pem
@@ -0,0 +1,15 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIICVQKCAQEAzO57ZqbU71+lYMO5SkCWyVKTb5/+LdGauH060+pY7FmbpItnCOIj
+Af5kgruMsrRFYpP6cUyulMTmsO56yhuJpJICoEo4kgCmDtWsiSAbfya6TlemR/pE
+/sK0AjrnPEs7/shm8f3FsTzOxxRfyjG+awNNaIAd0WrjlRreUdh3iIQfL/SsyAoP
++oAJxkCe8uUfUkYze+jYE7NiDh20LtkIl1WU7M7TDaiYFu/Eu2HBQFoBhVaD+lik
+/3TWj2qR4GrVa/DyiXScGizXJBoLdQ3eN48xaXz4dLqJWaEvmmtjfqKc1HCsnLH/
++8pcCm2YlyDlTEpQEampcMV6S1c+wcbk/QKCAQAdDMAoe1++MBQH6kLZUhykild4
+IyEjegCi5WCHQI0ebmsC/YxxaXcr0U4xETJFU/cd00p8GLJ9YviT20qJ5iEktmPc
+dahijKGOVll+4dN93a6KmYQ47Lcu+tKHgr8yyje5m114XiapmgXwFLvI4PSIW8DP
+ez3iekoZihpvugR1RfuvUIFdR0N8leiW+/J0EvBZRTupUyvBLlT8la/rbhiBBxvB
+xu0Suoz+jzUO9HxKVRvnGA44yR5NMMv49Md4LZZ3EHiMMFBzyVdUh3WlOW9aBLwm
+xDuZXhCd45Iv4gOj+emLgHhmFgObYKwyomohBoKTOr7NQvra7I95v6w7tF6lAiEA
+uHUPOaAMRZBDNqplV4m3RlP1RGz+X6Vl0SPWYx8M0nkwJwMhABYon3NiVQGHX79/
+jyrQpVMxdvlA7NV+Oy8HXv6h/s9NAgIBEA==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q160_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q160_t1862.pem
new file mode 100644
index 0000000000..3ced35c67b
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q160_t1862.pem
@@ -0,0 +1,20 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIDPQKCAYEArnFPoASvJ9zWvwV6HUX4gATE2M2R4aAyV0dTikh8bNZb9sg6JNdd
+zlvRKIRc2aRcoVIrdDMa3GlMOhFW3+7jV3Z/y0/GGn3qxQeVPDMcsE7dqiaEnESw
+FQ+BmRo3G+s/UvjvzekHtd17MEKvGWH8n/BIHJNiP8LYov5DhyHy+TGrUZPDuXCb
+ycIwMM/0adaA5SkAr1GRviK5rPxEeqBj9pWk4iNEg5KTPfEyYVAOYE2O5KSaPYXJ
+rKGpAHuS18QlWmoEVIzOp50KyS6a7hoiFYmE8sE2QwFCoG6UCxpEVpBfmax6KA5L
+H653mR+A+VBg8pnkRb/9nUTXXMyATmQ5F10EdXh5rHhLYqF5IRdluOjEE9Lc5GeE
+P5OMMM0w/KrpnP3gDeB3jzEBUm2+vphQWFypq8mNVQKDhuxVljQjE7iHE/E8P7F3
+I+6TiFOSkrKh7RZ6AOgjaD4yiYj+clv4+J5mdnpBVI+UXwwb8X1K74sVQgw++umk
+F61XvQf9/jT1AoIBgBZT7QTh5UoexXm5rFripXwN70uNMPO5ugveHH9kR4aU95SY
+Qc6mK7sZLoF4DXwZaqtqmh8gGkUtwONTY/fbsq5U4Ezs12RuwQTojoJuDTb3z2zM
+ug1DfCuvVFzJylRjb3JYlABCxeE5Kid7anueC5mhVfj6mWWXxLheKh3OHYLVP5Az
+Xt5BpYlJqKanD414yfubI56aBVSxluzCNtHv/dwwPiTBG1JLsucqxlSo1eKfOMAN
+dr8sE01yNe+CUgmDUruMeYTZaO9LZXm1ZomQcRaEV37q92HnaK66BeY3DdNcStEQ
+DHT9HL+qzpQU/x+gbLib5nie5RbxZLVGLVmb5iQRk4fc1n86dyYP2YlaY/1e9t1x
+UL9FYH3FIQIoBR7AKc0EFOEg98cujhSqVuH1mKN1yCfHuB/bPVA/JjYS2sC+LltZ
+80xjOUchfT8vCLyuZhuQJDIvP0EcSBIdzHS04Tu1PNhj+777g+9rwLMNcArC5dqL
+h5rq7nqE7F2kf8JBVQIVAP/F0VeodM/n4piNkZkZeVz9lf2DMBsDFQAbVeBR/9Wo
+2e2/qzEzqPKni9XgIgICBpw=
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q224_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q224_t1862.pem
new file mode 100644
index 0000000000..cc68515a6d
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q224_t1862.pem
@@ -0,0 +1,20 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIDTgKCAYEAyXngTh3fkOAbcHwvYZ0vfRF6KEZRXVcZtgeYjnKuu3KPa6v+Uqq1
+z9U50V4MLHFAbO1f0hbWGlFUYTFqVwMaKTcKJZH7xkNpHsmZxiElWVTXmGOigdfi
+mu4awQdE+N4E7/9DFBXnnqUzpPRkBP5V0zOUePqYQhpisTKct6OvSJojAiLJb8Jj
+6mO0Oa9t+RIC1Lz6Cum+k3Yidxu/kOGW4WBxIKMML9o6cEMRnU+HZyzXskgL2pZB
+1DXe4OgPU9qvAnUnve0tbwPDUpD66khN/Z1Kaxb2NhTc2xx4d2guucGIP7VsyCbs
+luf3KtOiYPC+LOlgcZDkqDc0N2F6LdXcO0XA/8dI5UiC8L9Pr8Qnu8JaqrxG9PA2
+VQT4GbWvjnNe/e7cZE5XQGRZkdEEVYuxcgFKeW+QAKcRn+fRaWW8RDDnIH6aX+yg
+abLXrmZW1bE3FnLFS3wDcERooaXrpnJ6RcbLPEPJszHV7Nc5LnIpT98rGg0AwYzh
+poHXYcZ1bFkTAoIBgQCgq5PGWWYX2kWvavUaBXrnUihvhvYA57P1onBTYvy3XWx+
+rbVmIFLQsDHKF2HvtpfdZlMLuszfpc0jJN0V5M8e1cZzPwD9adVab2/D07MB5h2+
+R5zzvY6hYJ8fwt5cSBKTdnFzOctmpGe8IXp4704HGGHWlkVJV60VCbkk1a2FfTro
+/CK7RHFilQc16TlHl82M3lRwFxl9nbt79SdmAnHXagWhXk+dU15oYfAD4qS6qiyv
+5gpQEdDas0pfKqBBbkVRojjRE8W7Z4Wg8ShESDkeMvaAKnyug4FDVAV8t/l5F9Ce
+jUhrdtMLsI/gTEP8PrpeikaY+0MFU/Hvjs0yE71sk3PwD1K6VaXUfpoWD1OroMiB
+6Xfpjda/SlYHBACNUkuQTVvjO05rN3ki49cBEXE0MZ1UKLL1ongXMwTBQSODitrB
+HKNEEz87yqQZps2323fw9645aWdnBjbhn2/4lVfBU80mhWj1vz/HP99Lei+cVyjT
+qlQ0OBqIK8y4Tas1tvYCHQDJ8eJhb5zmsjLBxS4l1maNV3l41n9dXMp7PMetMCMD
+HQDiXe5AjJCogFwJ+h/2wRbz953nokPQcY8/pzLCAgICZQ==
+-----END X9.42 DH PARAMETERS-----
diff --git a/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q256_t1862.pem b/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q256_t1862.pem
new file mode 100644
index 0000000000..b8b691e54c
--- /dev/null
+++ b/test/recipes/20-test_dhparam_check_data/valid/dhx_p3072_q256_t1862.pem
@@ -0,0 +1,20 @@
+-----BEGIN X9.42 DH PARAMETERS-----
+MIIDVgKCAYEA7vFyaD61/aB6D3DnJ0zyPm+OjB8fQgP/2CXCPjoISCXzgVZ8JISE
+Sv0OwXTUIG4F9135mFkp3/V3/yx5RqZnzPdHuPM3btQSUHDKYjEjMG2dWFdg7V2d
+Fy4RwQreMfUW+rDH2b8wJPhOj+xvhd7FJ6LQ7m17TmtPW3c9POW4Tl+UwqpNoeMm
+p8kVkWrapeGfNFIJR0xXhZ7BMwlaq+Pbc2PaVX/hBClohpmgsxBtqAU5Ou4Tmmpt
+1LEUxCqJH6w96+uPmpk1Hl3zst7W1ZHkGMPS0ndnHop3FHoojdME4FZdwYhsvTIk
+g/8qY8sLfp0SFx4RutG1tRVda8iVXmDVj6wwKQh7/g3MgEegNnf+tkxUoxW08ExT
+xjgjblzsTuBlOcDOelX5kshZPSdYowGwQT5b/wlOT0iH92CHNZhjQktxqxbA02Du
+HmsdhFSEAirxZUpS4c0xcbaWeb1rSpVRl3HpF/DLSwsRlwg0/tPpo8KjwPogOBST
+kZURpnBweLRlAoIBgQDJu6LVBnp9P5HfzqO0gX4zWxYIl9I9ZFe235KJmyqIDk6g
+njmTlhMKgdF+WUKeI3u3wjZF+TOTQ1tV0CdU3fFd83pAwW5nSiFIEwhbKF8drV55
+H6D17GBVh8bYUyDZvFT6HPbaRCH1/tfoMYZ5QGlusHzGjObkPBNc77CDtfE3XVyT
+iDAXRbmkAMrR9vQ45hJO02vQs+ugtsuwc4p2aR9ctvnqwuBUrHAXbXFHJA63R76a
+Qwl/A2nxNMbH/JWrtObGwdGVLir8/cVBKiyKB83ruCbLa9Mxwlv1pRX5B2mFI4I2
+bfa/E1+w2c66aBcG5dXchxfA0klwb2kKHb6ZOVJkdnrOW04hXxbpdwda9aXn5Hzi
+xFtNogsLeOVKyNRyeknFtNKhGcFTjNYrZErTtL+LCN8et6KrAw5H7ca6b1VoYOGV
+zniFr5zjeVCLP/tur76lzwEbR5zwO3h4h8+Ng8wdvvXXEToewhfhYOwvPsl+BVxC
+iD0F++0jhHSByedZyqYCIQCeC+q7jPwO8lv400d+z03nNgPTGOPXBTPf47M6tMyt
+YTAnAyEAjBNHdTwkQRtyDm9si3a+eaQ6Su8RJx77eChqv6mU9x8CAgHv
+-----END X9.42 DH PARAMETERS-----


More information about the openssl-commits mailing list