Differences From Artifact [cf96054d0f]:
- File ssh.c — part of check-in [a434996c3e] at 2005-04-12 15:04:56 on branch trunk — Unify GET_32BIT()/PUT_32BIT() et al from numerous source files into misc.h. I've done a bit of testing (not exhaustive), and I don't _think_ I've broken anything... (user: jacob size: 243724)
To Artifact [54d26acb15]:
- File ssh.c — part of check-in [3782733aa1] at 2005-04-14 17:58:29 on branch trunk — Implement my experimental arcfour modes. The 256-bit version is disabled until I can test it against someone else's implementation. (user: ben size: 243827)
| ︙ | |||
4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 | 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 | + + + |
break;
case CIPHER_3DES:
s->preferred_ciphers[s->n_preferred_ciphers++] = &ssh2_3des;
break;
case CIPHER_AES:
s->preferred_ciphers[s->n_preferred_ciphers++] = &ssh2_aes;
break;
case CIPHER_ARCFOUR:
s->preferred_ciphers[s->n_preferred_ciphers++] = &ssh2_arcfour;
break;
case CIPHER_WARN:
/* Flag for later. Don't bother if it's the last in
* the list. */
if (i < CIPHER_MAX - 1) {
s->preferred_ciphers[s->n_preferred_ciphers++] = NULL;
}
break;
|
| ︙ |