Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/servconf.c
Context not available. | |||||
options->ip_qos_bulk = -1; | options->ip_qos_bulk = -1; | ||||
options->version_addendum = NULL; | options->version_addendum = NULL; | ||||
options->fingerprint_hash = -1; | options->fingerprint_hash = -1; | ||||
options->use_blacklist = -1; | |||||
} | } | ||||
/* Returns 1 if a string option is unset or set to "none" or 0 otherwise. */ | /* Returns 1 if a string option is unset or set to "none" or 0 otherwise. */ | ||||
Context not available. | |||||
options->fwd_opts.streamlocal_bind_unlink = 0; | options->fwd_opts.streamlocal_bind_unlink = 0; | ||||
if (options->fingerprint_hash == -1) | if (options->fingerprint_hash == -1) | ||||
options->fingerprint_hash = SSH_FP_HASH_DEFAULT; | options->fingerprint_hash = SSH_FP_HASH_DEFAULT; | ||||
if (options->use_blacklist == -1) | |||||
options->use_blacklist = 0; | |||||
assemble_algorithms(options); | assemble_algorithms(options); | ||||
Context not available. | |||||
sAuthenticationMethods, sHostKeyAgent, sPermitUserRC, | sAuthenticationMethods, sHostKeyAgent, sPermitUserRC, | ||||
sStreamLocalBindMask, sStreamLocalBindUnlink, | sStreamLocalBindMask, sStreamLocalBindUnlink, | ||||
sAllowStreamLocalForwarding, sFingerprintHash, | sAllowStreamLocalForwarding, sFingerprintHash, | ||||
sUseBlacklist, | |||||
sDeprecated, sUnsupported | sDeprecated, sUnsupported | ||||
} ServerOpCodes; | } ServerOpCodes; | ||||
Context not available. | |||||
{ "streamlocalbindunlink", sStreamLocalBindUnlink, SSHCFG_ALL }, | { "streamlocalbindunlink", sStreamLocalBindUnlink, SSHCFG_ALL }, | ||||
{ "allowstreamlocalforwarding", sAllowStreamLocalForwarding, SSHCFG_ALL }, | { "allowstreamlocalforwarding", sAllowStreamLocalForwarding, SSHCFG_ALL }, | ||||
{ "fingerprinthash", sFingerprintHash, SSHCFG_GLOBAL }, | { "fingerprinthash", sFingerprintHash, SSHCFG_GLOBAL }, | ||||
{ "useblacklist", sUseBlacklist, SSHCFG_GLOBAL }, | |||||
{ "noneenabled", sUnsupported, SSHCFG_ALL }, | { "noneenabled", sUnsupported, SSHCFG_ALL }, | ||||
{ "hpndisabled", sDeprecated, SSHCFG_ALL }, | { "hpndisabled", sDeprecated, SSHCFG_ALL }, | ||||
{ "hpnbuffersize", sDeprecated, SSHCFG_ALL }, | { "hpnbuffersize", sDeprecated, SSHCFG_ALL }, | ||||
Context not available. | |||||
options->fingerprint_hash = value; | options->fingerprint_hash = value; | ||||
break; | break; | ||||
case sUseBlacklist: | |||||
intptr = &options->use_blacklist; | |||||
goto parse_flag; | |||||
case sDeprecated: | case sDeprecated: | ||||
logit("%s line %d: Deprecated option %s", | logit("%s line %d: Deprecated option %s", | ||||
filename, linenum, arg); | filename, linenum, arg); | ||||
Context not available. | |||||
dump_cfg_fmtint(sAllowStreamLocalForwarding, o->allow_streamlocal_forwarding); | dump_cfg_fmtint(sAllowStreamLocalForwarding, o->allow_streamlocal_forwarding); | ||||
dump_cfg_fmtint(sUsePrivilegeSeparation, use_privsep); | dump_cfg_fmtint(sUsePrivilegeSeparation, use_privsep); | ||||
dump_cfg_fmtint(sFingerprintHash, o->fingerprint_hash); | dump_cfg_fmtint(sFingerprintHash, o->fingerprint_hash); | ||||
dump_cfg_fmtint(sUseBlacklist, o->use_blacklist); | |||||
/* string arguments */ | /* string arguments */ | ||||
dump_cfg_string(sPidFile, o->pid_file); | dump_cfg_string(sPidFile, o->pid_file); | ||||
Context not available. |