~cjwatson/ubuntu/precise/openssh/precise-proposed

« back to all changes in this revision

Viewing changes to debian/patches/no-constraint-fallback.patch

  • Committer: Colin Watson
  • Date: 2010-02-27 14:05:10 UTC
  • mto: (3160.1.286 experimental)
  • mto: This revision was merged to the branch mainline in revision 3194.
  • Revision ID: cjwatson@debian.org-20100227140510-fqpfs9wkxqm0k3bv
Convert to source format 3.0 (quilt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: b/authfd.c
 
2
===================================================================
 
3
--- a/authfd.c
 
4
+++ b/authfd.c
 
5
@@ -545,12 +545,6 @@
 
6
        return decode_reply(type);
 
7
 }
 
8
 
 
9
-int
 
10
-ssh_add_identity(AuthenticationConnection *auth, Key *key, const char *comment)
 
11
-{
 
12
-       return ssh_add_identity_constrained(auth, key, comment, 0, 0);
 
13
-}
 
14
-
 
15
 /*
 
16
  * Removes an identity from the authentication server.  This call is not
 
17
  * meant to be used by normal applications.
 
18
Index: b/authfd.h
 
19
===================================================================
 
20
--- a/authfd.h
 
21
+++ b/authfd.h
 
22
@@ -75,7 +75,6 @@
 
23
 int     ssh_get_num_identities(AuthenticationConnection *, int);
 
24
 Key    *ssh_get_first_identity(AuthenticationConnection *, char **, int);
 
25
 Key    *ssh_get_next_identity(AuthenticationConnection *, char **, int);
 
26
-int     ssh_add_identity(AuthenticationConnection *, Key *, const char *);
 
27
 int     ssh_add_identity_constrained(AuthenticationConnection *, Key *,
 
28
     const char *, u_int, u_int);
 
29
 int     ssh_remove_identity(AuthenticationConnection *, Key *);
 
30
Index: b/ssh-add.c
 
31
===================================================================
 
32
--- a/ssh-add.c
 
33
+++ b/ssh-add.c
 
34
@@ -203,9 +203,6 @@
 
35
                if (confirm != 0)
 
36
                        fprintf(stderr,
 
37
                            "The user has to confirm each use of the key\n");
 
38
-       } else if (ssh_add_identity(ac, private, comment)) {
 
39
-               fprintf(stderr, "Identity added: %s (%s)\n", filename, comment);
 
40
-               ret = 0;
 
41
        } else {
 
42
                fprintf(stderr, "Could not add identity: %s\n", filename);
 
43
        }