From: Viktor Szakats Date: Wed, 9 Apr 2025 06:10:19 +0000 (+0200) Subject: certs: drop unused `default_bits` from `.prm` files X-Git-Tag: curl-8_14_0~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c868fbf7fb8bc66a4abce6ea3bc5f5b20afd7f2;p=thirdparty%2Fcurl.git certs: drop unused `default_bits` from `.prm` files Cert generation do not use these default values, some were also low, and they were RSA-specific, and the generator recently switched to ECC. Closes #16999 --- diff --git a/tests/certs/test-ca.prm b/tests/certs/test-ca.prm index cf1b30d239..5b91802981 100644 --- a/tests/certs/test-ca.prm +++ b/tests/certs/test-ca.prm @@ -19,7 +19,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 2048 distinguished_name = req_DN default_md = sha256 string_mask = utf8only diff --git a/tests/certs/test-client-cert.prm b/tests/certs/test-client-cert.prm index 1b3bc43c35..e78225c674 100644 --- a/tests/certs/test-client-cert.prm +++ b/tests/certs/test-client-cert.prm @@ -21,7 +21,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 2048 distinguished_name = req_DN default_md = sha256 string_mask = utf8only diff --git a/tests/certs/test-localhost-san-first.prm b/tests/certs/test-localhost-san-first.prm index 1a38899357..40ac460445 100644 --- a/tests/certs/test-localhost-san-first.prm +++ b/tests/certs/test-localhost-san-first.prm @@ -21,7 +21,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 1024 distinguished_name = req_DN default_md = sha256 string_mask = utf8only diff --git a/tests/certs/test-localhost-san-last.prm b/tests/certs/test-localhost-san-last.prm index fd2507323e..2de9dd8bab 100644 --- a/tests/certs/test-localhost-san-last.prm +++ b/tests/certs/test-localhost-san-last.prm @@ -21,7 +21,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 1024 distinguished_name = req_DN default_md = sha256 string_mask = utf8only diff --git a/tests/certs/test-localhost.nn.prm b/tests/certs/test-localhost.nn.prm index 376fc3a115..16411614ca 100644 --- a/tests/certs/test-localhost.nn.prm +++ b/tests/certs/test-localhost.nn.prm @@ -21,7 +21,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 1024 distinguished_name = req_DN default_md = sha256 string_mask = utf8only diff --git a/tests/certs/test-localhost.prm b/tests/certs/test-localhost.prm index 3be9c741bf..ca7eced96d 100644 --- a/tests/certs/test-localhost.prm +++ b/tests/certs/test-localhost.prm @@ -21,7 +21,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 2048 distinguished_name = req_DN default_md = sha256 string_mask = utf8only diff --git a/tests/certs/test-localhost0h.prm b/tests/certs/test-localhost0h.prm index 4285341763..03bd2f12cf 100644 --- a/tests/certs/test-localhost0h.prm +++ b/tests/certs/test-localhost0h.prm @@ -22,7 +22,6 @@ caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl [ req ] -default_bits = 1024 distinguished_name = req_DN default_md = sha256 string_mask = utf8only