version 1.40, 2000/05/08 17:12:15 |
version 1.41, 2000/05/22 18:42:01 |
|
|
|
|
case sCiphers: |
case sCiphers: |
cp = strtok(NULL, WHITESPACE); |
cp = strtok(NULL, WHITESPACE); |
|
if (!cp) |
|
fatal("%s line %d: Missing argument.", filename, linenum); |
if (!ciphers_valid(cp)) |
if (!ciphers_valid(cp)) |
fatal("%s line %d: Bad SSH2 cipher spec '%s'.", |
fatal("%s line %d: Bad SSH2 cipher spec '%s'.", |
filename, linenum, cp ? cp : "<NONE>"); |
filename, linenum, cp ? cp : "<NONE>"); |
|
|
case sProtocol: |
case sProtocol: |
intptr = &options->protocol; |
intptr = &options->protocol; |
cp = strtok(NULL, WHITESPACE); |
cp = strtok(NULL, WHITESPACE); |
|
if (!cp) |
|
fatal("%s line %d: Missing argument.", filename, linenum); |
value = proto_spec(cp); |
value = proto_spec(cp); |
if (value == SSH_PROTO_UNKNOWN) |
if (value == SSH_PROTO_UNKNOWN) |
fatal("%s line %d: Bad protocol spec '%s'.", |
fatal("%s line %d: Bad protocol spec '%s'.", |