version 1.46, 2017/04/30 23:10:43 |
version 1.47, 2017/04/30 23:15:04 |
|
|
kdfname = "none"; |
kdfname = "none"; |
} else if (ciphername == NULL) |
} else if (ciphername == NULL) |
ciphername = DEFAULT_CIPHERNAME; |
ciphername = DEFAULT_CIPHERNAME; |
else if (cipher_number(ciphername) != SSH_CIPHER_SSH2) { |
|
r = SSH_ERR_INVALID_ARGUMENT; |
|
goto out; |
|
} |
|
if ((cipher = cipher_by_name(ciphername)) == NULL) { |
if ((cipher = cipher_by_name(ciphername)) == NULL) { |
r = SSH_ERR_INTERNAL_ERROR; |
r = SSH_ERR_INVALID_ARGUMENT; |
goto out; |
goto out; |
} |
} |
|
|