summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/ssh-vulnkey.patch6
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
378Index: b/pathnames.h 378Index: b/pathnames.h