]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - putty.h
Const-correctness of name fields in struct ssh_*.
[PuTTY.git] / putty.h
diff --git a/putty.h b/putty.h
index 6351a78f44f18e07f0e7f1f1ff89c9540f3aeec8..60a0b9fca3a2fe2394f57b532645d69ba13a4f56 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -1193,8 +1193,8 @@ void pgp_fingerprints(void);
  *    back via the provided function with a result that's either 0
  *    or +1'.
  */
-int verify_ssh_host_key(void *frontend, char *host, int port, char *keytype,
-                        char *keystr, char *fingerprint,
+int verify_ssh_host_key(void *frontend, char *host, int port,
+                        const char *keytype, char *keystr, char *fingerprint,
                         void (*callback)(void *ctx, int result), void *ctx);
 /*
  * askalg has the same set of return values as verify_ssh_host_key.