anchor.diff:      UserDir = ?config(priv_dir, Config),
       DataFile = filename:join(UserDir, "rekey.data"),
   
  -    {Pid, Host, Port} = ssh_test_lib:std_daemon(Config,[]),
  -
  -    ConnectionRef = ssh_test_lib:std_connect(Config, Host, Port, [{rekey_limit, 4500}]),
  +    {Pid, Host, Port} = ssh_test_lib:std_daemon(Config,[{max_random_length_padding,0}]),
  +
  +    ConnectionRef = ssh_test_lib:std_connect(Config, Host, Port, [{rekey_limit, 6000},
  +								  {max_random_length_padding,0}]),
       {ok, SftpPid} = ssh_sftp:start_channel(ConnectionRef),
   
       Kex1 = get_kex_init(ConnectionRef),
  
positive.code:     UserDir = ?config(priv_dir, Config),
      DataFile = filename:join(UserDir, "renegotiate1.data"),
  
      {Pid, Host, DPort} = ssh_test_lib:std_daemon(Config,[]),
  
      RPort = ssh_test_lib:inet_port(),
      {ok,RelayPid} = ssh_relay:start_link({0,0,0,0}, RPort, Host, DPort),
  
  
      ConnectionRef = ssh_test_lib:std_connect(Config, Host, RPort, []),
      {ok, SftpPid} = ssh_sftp:start_channel(ConnectionRef),
  
      Kex1 = get_kex_init(ConnectionRef),
  
negative.code:     UserDir = ?config(priv_dir, Config),
      DataFile = filename:join(UserDir, "renegotiate2.data"),
  
      {Pid, Host, DPort} = ssh_test_lib:std_daemon(Config,[{max_random_length_padding,0}]),
  
      RPort = ssh_test_lib:inet_port(),
      {ok,RelayPid} = ssh_relay:start_link({0,0,0,0}, RPort, Host, DPort),
  
      ConnectionRef = ssh_test_lib:std_connect(Config, Host, RPort, [{max_random_length_padding,0}]),
      {ok, SftpPid} = ssh_sftp:start_channel(ConnectionRef),
  
      Kex1 = get_kex_init(ConnectionRef),
  