diff options
author | Colin Watson <cjwatson@debian.org> | 2010-08-24 00:01:05 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-08-24 00:01:05 +0100 |
commit | 52745c788ebc20e39c35a735a6355f77476a6644 (patch) | |
tree | 21cd35c92df0b863e40a053b2c454855c354aa9b /debian/patches/ssh-vulnkey.patch | |
parent | 78799892cb1858927be02be9737c594052e3f910 (diff) |
unconstify key argument to blacklisted_key_in_file and blacklisted_key
Diffstat (limited to 'debian/patches/ssh-vulnkey.patch')
-rw-r--r-- | debian/patches/ssh-vulnkey.patch | 6 |
1 files changed, 3 insertions, 3 deletions
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 | |||
229 | 229 | ||
230 | +/* Scan a blacklist of known-vulnerable keys in blacklist_file. */ | 230 | +/* Scan a blacklist of known-vulnerable keys in blacklist_file. */ |
231 | +static int | 231 | +static int |
232 | +blacklisted_key_in_file(const Key *key, const char *blacklist_file, char **fp) | 232 | +blacklisted_key_in_file(Key *key, const char *blacklist_file, char **fp) |
233 | +{ | 233 | +{ |
234 | + int fd = -1; | 234 | + int fd = -1; |
235 | + char *dgst_hex = NULL; | 235 | + char *dgst_hex = NULL; |
@@ -334,7 +334,7 @@ Index: b/authfile.c | |||
334 | + * its fingerprint is returned in *fp, unless fp is NULL. | 334 | + * its fingerprint is returned in *fp, unless fp is NULL. |
335 | + */ | 335 | + */ |
336 | +int | 336 | +int |
337 | +blacklisted_key(const Key *key, char **fp) | 337 | +blacklisted_key(Key *key, char **fp) |
338 | +{ | 338 | +{ |
339 | + Key *public; | 339 | + Key *public; |
340 | + char *blacklist_file; | 340 | + char *blacklist_file; |
@@ -372,7 +372,7 @@ Index: b/authfile.h | |||
372 | int key_perm_ok(int, const char *); | 372 | int key_perm_ok(int, const char *); |
373 | int key_in_file(Key *, const char *, int); | 373 | int key_in_file(Key *, const char *, int); |
374 | 374 | ||
375 | +int blacklisted_key(const Key *key, char **fp); | 375 | +int blacklisted_key(Key *key, char **fp); |
376 | + | 376 | + |
377 | #endif | 377 | #endif |
378 | Index: b/pathnames.h | 378 | Index: b/pathnames.h |