]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Declare `struct RSAKey' so that its implicit declaration in the
authorSimon Tatham <anakin@pobox.com>
Mon, 15 Nov 1999 10:31:06 +0000 (10:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 15 Nov 1999 10:31:06 +0000 (10:31 +0000)
parameter list of verify_ssh_host_key() does not have scope
restricted to that parameter list. Probably unnecessary but let's
not take chances.

[originally from svn r311]

putty.h

diff --git a/putty.h b/putty.h
index 83520f276b7213820f5ebd8cc77e72282bdab060..c2d6362de8de256dc9e5994657f6475212ab632e 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -163,6 +163,8 @@ GLOBAL Config cfg;
 GLOBAL int default_protocol;
 GLOBAL int default_port;
 
+struct RSAKey;                        /* be a little careful of scope */
+
 /*
  * Exports from window.c.
  */