]> andersk Git - openssh.git/blobdiff - authfd.h
- (stevesk) [auth1.c] fix password auth for protocol 1 when
[openssh.git] / authfd.h
index b7e88fde8e594b692a5d8277e167657d6d3f2783..e8a0ec88f482a19448e49e85e2713b1e2c3a4541 100644 (file)
--- a/authfd.h
+++ b/authfd.h
@@ -1,3 +1,5 @@
+/*     $OpenBSD: authfd.h,v 1.24 2002/03/21 22:44:05 rees Exp $        */
+
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -11,8 +13,6 @@
  * called by a name other than "ssh" or "Secure Shell".
  */
 
-/* RCSID("$OpenBSD: authfd.h,v 1.20 2001/08/01 22:03:33 markus Exp $"); */
-
 #ifndef AUTHFD_H
 #define AUTHFD_H
 
@@ -42,6 +42,9 @@
 #define SSH_AGENTC_ADD_SMARTCARD_KEY           20
 #define SSH_AGENTC_REMOVE_SMARTCARD_KEY                21
 
+/* extended failure messages */
+#define SSH2_AGENT_FAILURE                     30
+
 /* additional error code for ssh.com's ssh-agent2 */
 #define SSH_COM_AGENT2_FAILURE                  102
 
@@ -64,14 +67,14 @@ Key *ssh_get_next_identity(AuthenticationConnection *, char **, int);
 int     ssh_add_identity(AuthenticationConnection *, Key *, const char *);
 int     ssh_remove_identity(AuthenticationConnection *, Key *);
 int     ssh_remove_all_identities(AuthenticationConnection *, int);
-int     ssh_update_card(AuthenticationConnection *, int, const char *);
+int     ssh_update_card(AuthenticationConnection *, int, const char *, const char *);
 
 int
 ssh_decrypt_challenge(AuthenticationConnection *, Key *, BIGNUM *, u_char[16],
     u_int, u_char[16]);
 
 int
-ssh_agent_sign(AuthenticationConnection *, Key *, u_char **, int *, u_char *,
-    int);
+ssh_agent_sign(AuthenticationConnection *, Key *, u_char **, u_int *, u_char *,
+    u_int);
 
 #endif                         /* AUTHFD_H */
This page took 0.09291 seconds and 4 git commands to generate.