]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
certs: drop unused `default_bits` from `.prm` files
authorViktor Szakats <commit@vsz.me>
Wed, 9 Apr 2025 06:10:19 +0000 (08:10 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 9 Apr 2025 23:42:59 +0000 (01:42 +0200)
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

tests/certs/test-ca.prm
tests/certs/test-client-cert.prm
tests/certs/test-localhost-san-first.prm
tests/certs/test-localhost-san-last.prm
tests/certs/test-localhost.nn.prm
tests/certs/test-localhost.prm
tests/certs/test-localhost0h.prm

index cf1b30d23902cbd5efca1090278f124f93642d41..5b9180298115e3af3c86af09a7b1700d28d7d85f 100644 (file)
@@ -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
index 1b3bc43c3592e7d328fb8dd1f50d1b4c376cbc34..e78225c6742ea9381916bd13fa1d92de63d38ac9 100644 (file)
@@ -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
index 1a388993572d9d408521d330421e00f978c38121..40ac4604450619f021650b5a5ca5273a07f3d15b 100644 (file)
@@ -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
index fd2507323e1c5b0c33864e13ea8f8920d1b134e9..2de9dd8bab784eed17b52b1f2230b557f3fd62d5 100644 (file)
@@ -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
index 376fc3a11574f09af99c067840f77a4b49a14526..16411614caa642caa111fd3a3baf0869bbc4ac82 100644 (file)
@@ -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
index 3be9c741bfdb34fb19b0ed3c22c9c14d82e6c982..ca7eced96d7233e7ecfa8338b64d828062e4bc61 100644 (file)
@@ -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
index 4285341763166bbc4832aaa3f19f5ba8e12f5beb..03bd2f12cf9d78c899cf9220a8fd7223fb5690c9 100644 (file)
@@ -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