split signkey_type and signature_type for RSA sha1 vs sha256

This commit is contained in:
Matt Johnston
2020-05-17 23:58:31 +08:00
parent 7dc2f36c3e
commit 972d723484
10 changed files with 151 additions and 71 deletions

2
ssh.h
View File

@@ -108,7 +108,7 @@
#define SSH_SIGNKEY_ED25519 "ssh-ed25519"
#define SSH_SIGNKEY_ED25519_LEN 11
/* signature type */
#define SSH_SIGNKEY_RSA_SHA256 "rsa-sha2-256"
#define SSH_SIGNATURE_RSA_SHA256 "rsa-sha2-256"
/* Agent commands. These aren't part of the spec, and are defined
* only on the openssh implementation. */