Return to cipher.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.104, 2017/04/30 23:15:04 | version 1.105, 2017/05/01 00:03:18 | ||
---|---|---|---|
|
|
||
if ((cc = calloc(sizeof(*cc), 1)) == NULL) | if ((cc = calloc(sizeof(*cc), 1)) == NULL) | ||
return SSH_ERR_ALLOC_FAIL; | return SSH_ERR_ALLOC_FAIL; | ||
cc->plaintext = 0; /* XXX */ | cc->plaintext = (cipher->flags & CFLAG_NONE) != 0; | ||
cc->encrypt = do_encrypt; | cc->encrypt = do_encrypt; | ||
if (keylen < cipher->key_len || | if (keylen < cipher->key_len || |