From 52745c788ebc20e39c35a735a6355f77476a6644 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 24 Aug 2010 00:01:05 +0100 Subject: unconstify key argument to blacklisted_key_in_file and blacklisted_key --- debian/patches/ssh-vulnkey.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debian/patches/ssh-vulnkey.patch') diff --git a/debian/patches/ssh-vulnkey.patch b/debian/patches/ssh-vulnkey.patch index ecb6e0c64..9f9db5f4e 100644 --- a/debian/patches/ssh-vulnkey.patch +++ b/debian/patches/ssh-vulnkey.patch @@ -229,7 +229,7 @@ Index: b/authfile.c +/* Scan a blacklist of known-vulnerable keys in blacklist_file. */ +static int -+blacklisted_key_in_file(const Key *key, const char *blacklist_file, char **fp) ++blacklisted_key_in_file(Key *key, const char *blacklist_file, char **fp) +{ + int fd = -1; + char *dgst_hex = NULL; @@ -334,7 +334,7 @@ Index: b/authfile.c + * its fingerprint is returned in *fp, unless fp is NULL. + */ +int -+blacklisted_key(const Key *key, char **fp) ++blacklisted_key(Key *key, char **fp) +{ + Key *public; + char *blacklist_file; @@ -372,7 +372,7 @@ Index: b/authfile.h int key_perm_ok(int, const char *); int key_in_file(Key *, const char *, int); -+int blacklisted_key(const Key *key, char **fp); ++int blacklisted_key(Key *key, char **fp); + #endif Index: b/pathnames.h -- cgit v1.2.3