History log of /openbsd/usr.sbin/acme-client/parse.y (Results 1 – 25 of 45)
Revision Date Author Comments
# 4a50067c 15-Dec-2022 florian <florian@openbsd.org>

The argument to ctype functions must be EOF or representable as an
unsigned char.

Casting to int is particularly useless because that's what the
compiler already does. We need to prevent sign extens

The argument to ctype functions must be EOF or representable as an
unsigned char.

Casting to int is particularly useless because that's what the
compiler already does. We need to prevent sign extension, not write
down that we want sign extension.

OK deraadt, kn, miod

show more ...


# e6cfdc77 09-Oct-2022 op <op@openbsd.org>

allow newlines inside the `alternative names' block in acme-client.conf

ok florian


# 08f6ba19 15-Oct-2021 naddy <naddy@openbsd.org>

Don't declare variables as "unsigned char *" that are passed to
functions that take "char *" arguments. Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to uns

Don't declare variables as "unsigned char *" that are passed to
functions that take "char *" arguments. Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to unsigned char.

For OpenBSD's clang, -Wpointer-sign has been disabled by default,
but when the parse.y code was built elsewhere, the compiler would
complain.

With help from millert@
ok benno@ deraadt@

show more ...


# 6736ff2b 14-Sep-2020 florian <florian@openbsd.org>

We need to be able to provide contact information to use the
buypass.com acme api.
From Bartosz Kuzma (bartosz.kuzma AT release11.com), thanks!
OK beck, deraadt


# d0ea1cfc 16-May-2020 sthen <sthen@openbsd.org>

somehow yacc pieces got missed from the "domain name" commit; add them.
ok florian@


# 87f5451d 10-May-2020 benno <benno@openbsd.org>

Allow to have multiple domain ... {} sextions with the same domain
name, by adding a new (optional) config option "domain name".
This can be used to create a rsa and an ecdsa key for the same domain

Allow to have multiple domain ... {} sextions with the same domain
name, by adding a new (optional) config option "domain name".
This can be used to create a rsa and an ecdsa key for the same domain
name.
The old domain name in the 'title' line continues to be used as domain
name in the abscence of the domain name argument, i.e. the change is
backward compatible with current config files.
tested by sthen@
ok florian@ sthen@

show more ...


# f142a2fe 27-Dec-2019 benno <benno@openbsd.org>

make -n stop after parsing the config.
make -nv print the parsed configuration, then stop.
ok sthen@, seems better deraadt@


# 4f8b772f 17-Jun-2019 florian <florian@openbsd.org>

Implement elliptic curve account keys.
OK benno
Input & OK tb


# bc812290 15-Jun-2019 florian <florian@openbsd.org>

Print domain key type in config test mode (-n).


# 65a104fa 14-Jun-2019 florian <florian@openbsd.org>

Track key type (RSA or ECDSA) in an enum and clean up a bit while here.
Originaly from Renaud Allard following input from benno, tweaked by me.
OK benno


# 3e86e78b 12-Jun-2019 gilles <gilles@openbsd.org>

use acme-client to sign certificated with ecdsa keys

diff from Renaud Allard <renaud@allard.it>, ok to get in from florian@


# 2570ecd0 08-Jun-2019 florian <florian@openbsd.org>

Remove A and D flag, they are superfluous.
One could always use them on the command line and acme-client would do
the right thing.


# 915c3f33 13-Feb-2019 deraadt <deraadt@openbsd.org>

(unsigned) means (unsigned int) which on ptrdiff_t or size_t or other
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
ok millert tb benno


# 1e4d2958 29-Jan-2019 benno <benno@openbsd.org>

add an extra check for existing "api ..." line in the config.
move the check of existing "account ..." line from main.c to the parser.
ok deraadt@


# a1533359 01-Nov-2018 sashan <sashan@openbsd.org>

- odd condition/test in PF lexer
(and other lexers too)

This commit rectifies earlier change:

in the lex... even inside quotes, a \ followed by space or tab should
expand to space or tab,

- odd condition/test in PF lexer
(and other lexers too)

This commit rectifies earlier change:

in the lex... even inside quotes, a \ followed by space or tab should
expand to space or tab, and a \ followed by newline should be ignored
(as a line continuation). compatible with the needs of hoststated
(which has the most strict quoted string requirements), and ifstated
(where one commonly does line continuations in strings).

OK deraadt@, OK millert@

show more ...


# ed1b9eb8 07-Sep-2018 miko <miko@openbsd.org>

replace malloc()+strlcpy() with strndup() in cmdline_symset().

"looks good" gilles@ halex@


# 7d83751c 03-Aug-2018 benno <benno@openbsd.org>

return is not a function and if (x) -> if (x != NULL)
From Ross L Richardson, thanks
ok millert@


# 46203dad 03-Aug-2018 benno <benno@openbsd.org>

fix error messages from earlier syntax change
From Ross L Richardson
ok millert@


# 4adf5313 03-Aug-2018 benno <benno@openbsd.org>

correct an error message, from Ross L Richardson
ok millert@


# bcd124f4 29-Jul-2018 deraadt <deraadt@openbsd.org>

remove extra space in output; from Ross L Richardson


# a062aa9d 11-Jul-2018 krw <krw@openbsd.org>

Do for most running out of memory err() what was done for most running
out of memory log_warn(). i.e. ("%s", __func__) instead of manual
function names and redundant verbiage about which wrapper dete

Do for most running out of memory err() what was done for most running
out of memory log_warn(). i.e. ("%s", __func__) instead of manual
function names and redundant verbiage about which wrapper detected the
out of memory condition.

ok henning@

show more ...


# 6a3d55f9 09-Jul-2018 krw <krw@openbsd.org>

No need to mention which memory allocation entry point failed (malloc,
calloc or strdup), we just need to log that we ran out of memory in a
particular function.

Recommended by florian@ and deraadt@

No need to mention which memory allocation entry point failed (malloc,
calloc or strdup), we just need to log that we ran out of memory in a
particular function.

Recommended by florian@ and deraadt@

ok benno@ henning@ tb@

show more ...


# 3c12ada0 08-Jul-2018 krw <krw@openbsd.org>

Be consistent in warn() and log_warn() usage when
running out of memory.

Next step, be correct *and* consistent.

ok dennis@ tb@ benno@ schwarze@


# f3e9965d 17-Jun-2018 denis <denis@openbsd.org>

Fix an off-by-one line count when using include statements.

Thanks to otto@ for the initial diff.

OK benno@


# 16a0a906 26-Apr-2018 krw <krw@openbsd.org>

Plug leak in error case of the common 'varset' implementations.

ok benno@


12