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 /authfile.c | |
parent | 78799892cb1858927be02be9737c594052e3f910 (diff) |
unconstify key argument to blacklisted_key_in_file and blacklisted_key
Diffstat (limited to 'authfile.c')
-rw-r--r-- | authfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/authfile.c b/authfile.c index deac28f6a..e748ec0a2 100644 --- a/authfile.c +++ b/authfile.c | |||
@@ -817,7 +817,7 @@ key_in_file(Key *key, const char *filename, int strict_type) | |||
817 | 817 | ||
818 | /* Scan a blacklist of known-vulnerable keys in blacklist_file. */ | 818 | /* Scan a blacklist of known-vulnerable keys in blacklist_file. */ |
819 | static int | 819 | static int |
820 | blacklisted_key_in_file(const Key *key, const char *blacklist_file, char **fp) | 820 | blacklisted_key_in_file(Key *key, const char *blacklist_file, char **fp) |
821 | { | 821 | { |
822 | int fd = -1; | 822 | int fd = -1; |
823 | char *dgst_hex = NULL; | 823 | char *dgst_hex = NULL; |
@@ -922,7 +922,7 @@ out: | |||
922 | * its fingerprint is returned in *fp, unless fp is NULL. | 922 | * its fingerprint is returned in *fp, unless fp is NULL. |
923 | */ | 923 | */ |
924 | int | 924 | int |
925 | blacklisted_key(const Key *key, char **fp) | 925 | blacklisted_key(Key *key, char **fp) |
926 | { | 926 | { |
927 | Key *public; | 927 | Key *public; |
928 | char *blacklist_file; | 928 | char *blacklist_file; |