X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d1622aed96258feca49be59e4459f4b29027492a..421e689af0c5510bdc8d37cef225359294cdabe4:/storage.h diff --git a/storage.h b/storage.h index 4abdac10..779712d2 100644 --- a/storage.h +++ b/storage.h @@ -67,19 +67,19 @@ void enum_settings_finish(void *handle); * be 0 (entry matches database), 1 (entry is absent in database), * or 2 (entry exists in database and is different). */ -int verify_host_key(char *hostname, char *keytype, char *key); +int verify_host_key(char *hostname, int port, char *keytype, char *key); /* * Write a host key into the database, overwriting any previous * entry that might have been there. */ -void store_host_key(char *hostname, char *keytype, char *key); +void store_host_key(char *hostname, int port, char *keytype, char *key); /* ---------------------------------------------------------------------- * Functions to access PuTTY's random number seed file. */ -typedef void (*noise_consumer_t)(void *data, int len); +typedef void (*noise_consumer_t) (void *data, int len); /* * Read PuTTY's random seed file and pass its contents to a noise