]> git.ipfire.org Git - thirdparty/openvpn.git/commit
console: Simplify query_user_add interface
authorFrank Lichtenheld <frank@lichtenheld.com>
Fri, 10 Oct 2025 09:47:44 +0000 (11:47 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 10 Oct 2025 09:51:38 +0000 (11:51 +0200)
commitaea7727f2de8c4f34d71a8c14756bdf395cb5f2f
tree22204b7e5ae2212ba0ba93d4d17e45051fc646d6
parent7579749fee05ee8a06dd6169396fb60f7558925a
console: Simplify query_user_add interface

- Removes unused field prompt_len
- Change field reponse_len to int since that
  is what the code actually expects. Most callers
  user a constant either way.

Change-Id: I04542e678f81d5d4a853b4370d9b8adc4dac1212
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1216
Message-Id: <20251010094753.2825-1-gert@greenie.muc.de>
URL: https://sourceforge.net/p/openvpn/mailman/message/59244794/
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/console.c
src/openvpn/console.h
src/openvpn/console_builtin.c
src/openvpn/misc.c
src/openvpn/pkcs11.c