diff ssh.h @ 1675:ae41624c2198

split signkey_type and signature_type for RSA sha1 vs sha256
author Matt Johnston <matt@ucc.asn.au>
date Sun, 17 May 2020 23:58:31 +0800
parents ba6fc7afe1c5
children d5cdc60db08e
line wrap: on
line diff
--- a/ssh.h	Mon Apr 06 23:18:26 2020 +0800
+++ b/ssh.h	Sun May 17 23:58:31 2020 +0800
@@ -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. */