]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - sshrsa.c
Update docs/usage for 'plink -shareexists'.
[PuTTY.git] / sshrsa.c
index 32694456878fb1d16f42f3b081513ed50ed62409..850204c7ad1fb47f221abbd22c4b9da0a61e7ac9 100644 (file)
--- a/sshrsa.c
+++ b/sshrsa.c
@@ -917,7 +917,8 @@ const struct ssh_signkey ssh_rsa = {
     rsa2_verifysig,
     rsa2_sign,
     "ssh-rsa",
-    "rsa2"
+    "rsa2",
+    NULL,
 };
 
 void *ssh_rsakex_newkey(char *data, int len)
@@ -1057,11 +1058,11 @@ void ssh_rsakex_encrypt(const struct ssh_hash *h, unsigned char *in, int inlen,
 }
 
 static const struct ssh_kex ssh_rsa_kex_sha1 = {
-    "rsa1024-sha1", NULL, KEXTYPE_RSA, NULL, NULL, 0, 0, &ssh_sha1
+    "rsa1024-sha1", NULL, KEXTYPE_RSA, &ssh_sha1, NULL,
 };
 
 static const struct ssh_kex ssh_rsa_kex_sha256 = {
-    "rsa2048-sha256", NULL, KEXTYPE_RSA, NULL, NULL, 0, 0, &ssh_sha256
+    "rsa2048-sha256", NULL, KEXTYPE_RSA, &ssh_sha256, NULL,
 };
 
 static const struct ssh_kex *const rsa_kex_list[] = {