APPS/x509: With -CA but both -CAserial and -CAcreateserial not given, use random...
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 30 May 2022 14:53:05 +0000 (16:53 +0200)
committerHugo Landau <hlandau@openssl.org>
Thu, 14 Jul 2022 06:23:58 +0000 (07:23 +0100)
commitec8a3409487c871b440fa52bff7c3ef33378494a
tree0a6b5b97453598924479be779e8004d68796a83b
parent10c7887330bb6ca136cd16fe081639f4462a072e
APPS/x509: With -CA but both -CAserial and -CAcreateserial not given, use random serial.

Also improve openssl-x509.pod.in and error handling of load_serial() in apps.c.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18373)
apps/ca.c
apps/include/apps.h
apps/lib/apps.c
apps/x509.c
doc/man1/openssl-x509.pod.in