mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Centralise definition of GSSAPI check interval.
It was defined separately as 2 minutes in ssh.c and settings.c. Now both of those refer to a single definition in sshgss.h.
This commit is contained in:
parent
e3cc024e38
commit
5788226460
@ -960,7 +960,7 @@ void load_open_settings(void *sesskey, Conf *conf)
|
||||
gprefs(sesskey, "HostKey", "ed25519,ecdsa,rsa,dsa,WARN",
|
||||
hknames, HK_MAX, conf, CONF_ssh_hklist);
|
||||
gppi(sesskey, "RekeyTime", 60, conf, CONF_ssh_rekey_time);
|
||||
gppi(sesskey, "GssapiRekey", 2, conf, CONF_gssapirekey);
|
||||
gppi(sesskey, "GssapiRekey", GSS_DEF_REKEY_MINS, conf, CONF_gssapirekey);
|
||||
gpps(sesskey, "RekeyBytes", "1G", conf, CONF_ssh_rekey_data);
|
||||
{
|
||||
/* SSH-2 only by default */
|
||||
|
1
ssh.c
1
ssh.c
@ -17,7 +17,6 @@
|
||||
#ifndef NO_GSSAPI
|
||||
#include "sshgssc.h"
|
||||
#include "sshgss.h"
|
||||
#define GSS_DEF_REKEY_MINS 2 /* Default minutes between GSS cache checks */
|
||||
#define MIN_CTXT_LIFETIME 5 /* Avoid rekey with short lifetime (seconds) */
|
||||
#define GSS_KEX_CAPABLE (1<<0) /* Can do GSS KEX */
|
||||
#define GSS_CRED_UPDATED (1<<1) /* Cred updated since previous delegation */
|
||||
|
Loading…
Reference in New Issue
Block a user