mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-05 14:53:19 -04:00
Do not add leading space to pushed options
This makes auth-token push during reneg consistent with regular PUSH_REPLY. Signed-off-by: Selva Nair <selva.nair@gmail.com> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20221130105609.662402-1-selva.nair@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25583.html Signed-off-by: Gert Doering <gert@greenie.muc.de>
This commit is contained in:
parent
c291c95f6c
commit
d0672e7a06
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ send_push_reply_auth_token(struct tls_multi *multi)
|
|||
|
||||
/* Construct a mimimal control channel push reply message */
|
||||
struct buffer buf = alloc_buf_gc(PUSH_BUNDLE_SIZE, &gc);
|
||||
buf_printf(&buf, "%s, %s", push_reply_cmd, e->option);
|
||||
buf_printf(&buf, "%s,%s", push_reply_cmd, e->option);
|
||||
send_control_channel_string_dowork(multi, BSTR(&buf), D_PUSH);
|
||||
gc_free(&gc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue