Source: ssl-cert
Version: 1.1.2
Severity: normal
Tags: patch
Dear maintainer,
This is the Debian equivalent of
https://bugs.launchpad.net/ubuntu/+source/ssl-cert/+bug/2069330. When
using make-ssl-cert's --expiration-day option, the code wrongly assigns
to the ${opt_expiration_days} variable the index of the option, instead
of its value.
The fix is simple: we need to use ${OPTARG} instead of ${OPTIND} to
obtain the actual value.
I opened the following MR which contains the proposed fix:
https://salsa.debian.org/apache-team/ssl-cert/-/merge_requests/4
Thanks,
--
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
Attachment:
signature.asc
Description: PGP signature