]> git.ipfire.org Git - thirdparty/openssl.git/commit
Remove DAYS argument
authorMalcolm Hogan <rickandmorty850@gmail.com>
Fri, 7 Mar 2025 23:30:43 +0000 (18:30 -0500)
committerMatt Caswell <matt@openssl.org>
Tue, 15 Apr 2025 14:26:13 +0000 (15:26 +0100)
commit8d125be7d4c19ec9b25e33ba7de2ec722a0e9abd
tree6a6f4503bf2d840fd77939154460806973e42ab1
parent743b460e876775cca16c69e0d70b0b71c62605cc
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)
apps/CA.pl.in