1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-27 13:21:11 +03:00

Add basic support for none cipher and MACs

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2020-04-28 11:04:59 +02:00
committed by Andreas Schneider
parent 46499b1b90
commit e6aee24a1e
9 changed files with 85 additions and 6 deletions

View File

@@ -66,6 +66,9 @@ static struct ssh_hmac_struct ssh_hmac_tab[] = {
{ "hmac-sha2-256-etm@openssh.com", SSH_HMAC_SHA256, true },
{ "hmac-sha2-512-etm@openssh.com", SSH_HMAC_SHA512, true },
{ "hmac-md5-etm@openssh.com", SSH_HMAC_MD5, true },
#ifdef WITH_INSECURE_NONE
{ "none", SSH_HMAC_NONE, false },
#endif /* WITH_INSECURE_NONE */
{ NULL, 0, false }
};