components/openssh/patches/035-disable_roaming.patch
branchs11u3-sru
changeset 5274 3e37322612d4
equal deleted inserted replaced
5254:ac45b54ae7b5 5274:3e37322612d4
       
     1 diff -rupN old/readconf.c new/readconf.c
       
     2 --- old/readconf.c	2016-01-13 21:04:35.370412170 -0800
       
     3 +++ new/readconf.c	2016-01-13 21:05:52.140509970 -0800
       
     4 @@ -1591,7 +1591,7 @@ initialize_options(Options * options)
       
     5  	options->tun_remote = -1;
       
     6  	options->local_command = NULL;
       
     7  	options->permit_local_command = -1;
       
     8 -	options->use_roaming = -1;
       
     9 +	options->use_roaming = 0;
       
    10  	options->visual_host_key = -1;
       
    11  	options->zero_knowledge_password_authentication = -1;
       
    12  	options->ip_qos_interactive = -1;
       
    13 @@ -1758,8 +1758,7 @@ fill_default_options(Options * options)
       
    14  		options->tun_remote = SSH_TUNID_ANY;
       
    15  	if (options->permit_local_command == -1)
       
    16  		options->permit_local_command = 0;
       
    17 -	if (options->use_roaming == -1)
       
    18 -		options->use_roaming = 1;
       
    19 +	options->use_roaming = 0;
       
    20  	if (options->visual_host_key == -1)
       
    21  		options->visual_host_key = 0;
       
    22  	if (options->zero_knowledge_password_authentication == -1)