From 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 27 Feb 2010 14:05:10 +0000 Subject: Convert to source format 3.0 (quilt). --- debian/patches/no-constraint-fallback.patch | 43 +++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 debian/patches/no-constraint-fallback.patch (limited to 'debian/patches/no-constraint-fallback.patch') diff --git a/debian/patches/no-constraint-fallback.patch b/debian/patches/no-constraint-fallback.patch new file mode 100644 index 000000000..139d1ec73 --- /dev/null +++ b/debian/patches/no-constraint-fallback.patch @@ -0,0 +1,43 @@ +Index: b/authfd.c +=================================================================== +--- a/authfd.c ++++ b/authfd.c +@@ -545,12 +545,6 @@ + return decode_reply(type); + } + +-int +-ssh_add_identity(AuthenticationConnection *auth, Key *key, const char *comment) +-{ +- return ssh_add_identity_constrained(auth, key, comment, 0, 0); +-} +- + /* + * Removes an identity from the authentication server. This call is not + * meant to be used by normal applications. +Index: b/authfd.h +=================================================================== +--- a/authfd.h ++++ b/authfd.h +@@ -75,7 +75,6 @@ + int ssh_get_num_identities(AuthenticationConnection *, int); + Key *ssh_get_first_identity(AuthenticationConnection *, char **, int); + Key *ssh_get_next_identity(AuthenticationConnection *, char **, int); +-int ssh_add_identity(AuthenticationConnection *, Key *, const char *); + int ssh_add_identity_constrained(AuthenticationConnection *, Key *, + const char *, u_int, u_int); + int ssh_remove_identity(AuthenticationConnection *, Key *); +Index: b/ssh-add.c +=================================================================== +--- a/ssh-add.c ++++ b/ssh-add.c +@@ -203,9 +203,6 @@ + if (confirm != 0) + fprintf(stderr, + "The user has to confirm each use of the key\n"); +- } else if (ssh_add_identity(ac, private, comment)) { +- fprintf(stderr, "Identity added: %s (%s)\n", filename, comment); +- ret = 0; + } else { + fprintf(stderr, "Could not add identity: %s\n", filename); + } -- cgit v1.2.3