[Openvpn-devel,v3,2/5] Implement support for signalling IV_SSO to server

Message ID 20200519220004.25136-3-arne@rfc2549.org
State Accepted
Headers show
Series Implement additional two step authentication methods | expand

Commit Message

Arne Schwabe May 19, 2020, noon UTC
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
---
 src/openvpn/ssl.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

David Sommerseth May 27, 2020, 10:47 a.m. UTC | #1
On 20/05/2020 00:00, Arne Schwabe wrote:
> Signed-off-by: Arne Schwabe <arne@rfc2549.org>
> ---
>  src/openvpn/ssl.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c
> index c2e9a4f3..f85ef3eb 100644
> --- a/src/openvpn/ssl.c
> +++ b/src/openvpn/ssl.c
> @@ -2333,7 +2333,9 @@ push_peer_info(struct buffer *buf, struct tls_session *session)
>                  if ((((strncmp(e->string, "UV_", 3)==0
>                         || strncmp(e->string, "IV_PLAT_VER=", sizeof("IV_PLAT_VER=")-1)==0)
>                        && session->opt->push_peer_info_detail >= 2)
> -                     || (strncmp(e->string,"IV_GUI_VER=",sizeof("IV_GUI_VER=")-1)==0))
> +                     || (strncmp(e->string,"IV_GUI_VER=",sizeof("IV_GUI_VER=")-1)==0)
> +                     || (strncmp(e->string,"IV_SSO=",sizeof("IV_SSO=")-1)==0)
> +                     )
>                      && buf_safe(&out, strlen(e->string)+1))
>                  {
>                      buf_printf(&out, "%s\n", e->string);
> 

Acked-By: David Sommerseth <davids@openvpn.net>
Gert Doering June 11, 2020, 8:34 p.m. UTC | #2
Your patch has been applied to the master branch.

commit 1f76bbb5e5111d0a529ec192443e66ed436c83db
Author: Arne Schwabe
Date:   Wed May 20 00:00:01 2020 +0200

     Implement support for signalling IV_SSO to server

     Signed-off-by: Arne Schwabe <arne@rfc2549.org>
     Acked-by: David Sommerseth <davids@openvpn.net>
     Message-Id: <20200519220004.25136-3-arne@rfc2549.org>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg19908.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c
index c2e9a4f3..f85ef3eb 100644
--- a/src/openvpn/ssl.c
+++ b/src/openvpn/ssl.c
@@ -2333,7 +2333,9 @@  push_peer_info(struct buffer *buf, struct tls_session *session)
                 if ((((strncmp(e->string, "UV_", 3)==0
                        || strncmp(e->string, "IV_PLAT_VER=", sizeof("IV_PLAT_VER=")-1)==0)
                       && session->opt->push_peer_info_detail >= 2)
-                     || (strncmp(e->string,"IV_GUI_VER=",sizeof("IV_GUI_VER=")-1)==0))
+                     || (strncmp(e->string,"IV_GUI_VER=",sizeof("IV_GUI_VER=")-1)==0)
+                     || (strncmp(e->string,"IV_SSO=",sizeof("IV_SSO=")-1)==0)
+                     )
                     && buf_safe(&out, strlen(e->string)+1))
                 {
                     buf_printf(&out, "%s\n", e->string);