summaryrefslogtreecommitdiff
path: root/authfile.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-08-24 00:01:05 +0100
committerColin Watson <cjwatson@debian.org>2010-08-24 00:01:05 +0100
commit52745c788ebc20e39c35a735a6355f77476a6644 (patch)
tree21cd35c92df0b863e40a053b2c454855c354aa9b /authfile.c
parent78799892cb1858927be02be9737c594052e3f910 (diff)
unconstify key argument to blacklisted_key_in_file and blacklisted_key
Diffstat (limited to 'authfile.c')
-rw-r--r--authfile.c4
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. */
819static int 819static int
820blacklisted_key_in_file(const Key *key, const char *blacklist_file, char **fp) 820blacklisted_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 */
924int 924int
925blacklisted_key(const Key *key, char **fp) 925blacklisted_key(Key *key, char **fp)
926{ 926{
927 Key *public; 927 Key *public;
928 char *blacklist_file; 928 char *blacklist_file;