Malcolm Hogan 0387d39dbb Remove DAYS argument
This commit removes DAYS from certificate requests to avoid the warning

'Ignoring -days without -x509; not generating a certificate'

This argument is not needed with the -new argument. Additionally makes sure
$1 is handled when -nodes is not given. Preventing an uninitialized value
error when the DAYS argument is removed.

Fixes #26595

CLA: trivial

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/27277)

(cherry picked from commit d890ad2b96efea4f5f4b0db190017ce9a3897df7)
2025-04-15 15:25:07 +01:00
..
2025-02-11 14:32:03 +00:00
2023-09-07 09:59:15 +01:00
2025-04-15 15:25:07 +01:00
2024-03-29 14:05:51 +00:00
2024-09-03 14:44:27 +02:00
2023-09-28 14:23:29 +01:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2022-08-23 11:08:11 +10:00
2024-03-20 13:07:54 +01:00
2025-02-11 14:32:03 +00:00
2023-12-12 16:12:32 +00:00
2023-09-07 09:59:15 +01:00
2023-09-28 14:23:29 +01:00
2024-03-20 13:07:54 +01:00
2023-09-28 14:23:29 +01:00
2024-06-04 14:50:58 +02:00
2022-09-20 08:18:25 +01:00
2022-05-03 13:34:51 +01:00
2025-02-11 14:32:03 +00:00
2023-09-07 09:59:15 +01:00
2022-05-03 13:34:51 +01:00
2023-09-28 14:23:29 +01:00
2020-05-13 06:28:36 +02:00
2023-09-07 09:59:15 +01:00
2023-09-07 09:59:15 +01:00
2024-09-03 14:44:27 +02:00
2024-03-20 13:07:54 +01:00
2024-03-20 13:07:54 +01:00
2025-02-11 14:32:03 +00:00
2025-02-11 14:32:03 +00:00
2023-09-07 09:59:15 +01:00
2024-03-20 13:07:54 +01:00