version 1.224, 2014/12/21 22:27:56 |
version 1.225, 2015/01/08 13:44:36 |
|
|
goto parse_string; |
goto parse_string; |
|
|
case oFingerprintHash: |
case oFingerprintHash: |
|
intptr = &options->fingerprint_hash; |
arg = strdelim(&s); |
arg = strdelim(&s); |
if (!arg || *arg == '\0') |
if (!arg || *arg == '\0') |
fatal("%.200s line %d: Missing argument.", |
fatal("%.200s line %d: Missing argument.", |
|
|
if ((value = ssh_digest_alg_by_name(arg)) == -1) |
if ((value = ssh_digest_alg_by_name(arg)) == -1) |
fatal("%.200s line %d: Invalid hash algorithm \"%s\".", |
fatal("%.200s line %d: Invalid hash algorithm \"%s\".", |
filename, linenum, arg); |
filename, linenum, arg); |
if (*activep) |
if (*activep && *intptr == -1) |
options->fingerprint_hash = value; |
*intptr = value; |
break; |
break; |
|
|
case oDeprecated: |
case oDeprecated: |