diff options
Diffstat (limited to 'authfd.h')
-rw-r--r-- | authfd.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -13,7 +13,7 @@ Functions to interface with the SSH_AUTHENTICATION_FD socket. | |||
13 | 13 | ||
14 | */ | 14 | */ |
15 | 15 | ||
16 | /* RCSID("$Id: authfd.h,v 1.1 1999/10/27 03:42:43 damien Exp $"); */ | 16 | /* RCSID("$Id: authfd.h,v 1.2 1999/11/16 02:37:16 damien Exp $"); */ |
17 | 17 | ||
18 | #ifndef AUTHFD_H | 18 | #ifndef AUTHFD_H |
19 | #define AUTHFD_H | 19 | #define AUTHFD_H |
@@ -62,19 +62,19 @@ void ssh_close_authentication_connection(AuthenticationConnection *ac); | |||
62 | The caller must initialize the integers before the call, and free the | 62 | The caller must initialize the integers before the call, and free the |
63 | comment after a successful call (before calling ssh_get_next_identity). */ | 63 | comment after a successful call (before calling ssh_get_next_identity). */ |
64 | int ssh_get_first_identity(AuthenticationConnection *connection, | 64 | int ssh_get_first_identity(AuthenticationConnection *connection, |
65 | int *bitsp, BIGNUM *e, BIGNUM *n, char **comment); | 65 | BIGNUM *e, BIGNUM *n, char **comment); |
66 | 66 | ||
67 | /* Returns the next authentication identity for the agent. Other functions | 67 | /* Returns the next authentication identity for the agent. Other functions |
68 | can be called between this and ssh_get_first_identity or two calls of this | 68 | can be called between this and ssh_get_first_identity or two calls of this |
69 | function. This returns 0 if there are no more identities. The caller | 69 | function. This returns 0 if there are no more identities. The caller |
70 | must free comment after a successful return. */ | 70 | must free comment after a successful return. */ |
71 | int ssh_get_next_identity(AuthenticationConnection *connection, | 71 | int ssh_get_next_identity(AuthenticationConnection *connection, |
72 | int *bitsp, BIGNUM *e, BIGNUM *n, char **comment); | 72 | BIGNUM *e, BIGNUM *n, char **comment); |
73 | 73 | ||
74 | /* Requests the agent to decrypt the given challenge. Returns true if | 74 | /* Requests the agent to decrypt the given challenge. Returns true if |
75 | the agent claims it was able to decrypt it. */ | 75 | the agent claims it was able to decrypt it. */ |
76 | int ssh_decrypt_challenge(AuthenticationConnection *auth, | 76 | int ssh_decrypt_challenge(AuthenticationConnection *auth, |
77 | int bits, BIGNUM *e, BIGNUM *n, BIGNUM *challenge, | 77 | BIGNUM *e, BIGNUM *n, BIGNUM *challenge, |
78 | unsigned char session_id[16], | 78 | unsigned char session_id[16], |
79 | unsigned int response_type, | 79 | unsigned int response_type, |
80 | unsigned char response[16]); | 80 | unsigned char response[16]); |