]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Allow for CN/username of 64 characters (fixes off-by-one)
authorSteffan Karger <steffan@karger.me>
Thu, 5 Mar 2015 21:37:31 +0000 (22:37 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 6 Mar 2015 18:38:58 +0000 (19:38 +0100)
commitecd934b1ef83eec58eb2df5d3a98309ca56d5812
tree0d8791f469c46a727ffeada17eb36a9e815a12fd
parent63559e142eb71a5e38dfc55d429f35f6e1af0b7c
Allow for CN/username of 64 characters (fixes off-by-one)

This is an alternative patch to fix the issue reported in trac #515 by
Jorge Peixoto. Instead of increasing the TLS_USERNAME_LEN define, do +1 at
the relevant places in the code.

Also see Jorge's original patch and the discussion on the maillinglist:
http://thread.gmane.org/gmane.network.openvpn.devel/9438

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <54F8CC9B.9040104@karger.me>
URL: http://article.gmane.org/gmane.network.openvpn.devel/9508
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl_verify.c