]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - ssh.h
Const-correctness in struct ssh_hash.
[PuTTY.git] / ssh.h
diff --git a/ssh.h b/ssh.h
index 1924d9f16ee7595d7af7f3bb41061663483119dc..272bc8b94c090a0812b670a9c7e4062a66c2d249 100644 (file)
--- a/ssh.h
+++ b/ssh.h
@@ -335,7 +335,7 @@ struct ssh_mac {
 
 struct ssh_hash {
     void *(*init)(void); /* also allocates context */
-    void (*bytes)(void *, void *, int);
+    void (*bytes)(void *, const void *, int);
     void (*final)(void *, unsigned char *); /* also frees context */
     int hlen; /* output length in bytes */
     char *text_name;