version 1.67, 2000/10/03 18:16:47 |
version 1.68, 2000/10/11 20:27:24 |
|
|
options.cipher = SSH_CIPHER_ILLEGAL; |
options.cipher = SSH_CIPHER_ILLEGAL; |
} else { |
} else { |
/* SSH1 only */ |
/* SSH1 only */ |
options.cipher = cipher_number(optarg); |
Cipher *c = cipher_by_name(optarg); |
if (options.cipher == -1) { |
if (c == NULL || c->number < 0) { |
fprintf(stderr, "Unknown cipher type '%s'\n", optarg); |
fprintf(stderr, "Unknown cipher type '%s'\n", optarg); |
exit(1); |
exit(1); |
} |
} |
|
options.cipher = c->number; |
} |
} |
break; |
break; |
case 'p': |
case 'p': |