summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/authfd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/authfd.h')
-rw-r--r--usr.bin/ssh/authfd.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/authfd.h b/usr.bin/ssh/authfd.h
index 77f92b85b89..f889830b820 100644
--- a/usr.bin/ssh/authfd.h
+++ b/usr.bin/ssh/authfd.h
@@ -13,7 +13,7 @@ Functions to interface with the SSH_AUTHENTICATION_FD socket.
*/
-/* RCSID("$Id: authfd.h,v 1.1 1999/09/26 20:53:33 deraadt Exp $"); */
+/* RCSID("$Id: authfd.h,v 1.2 1999/09/28 04:45:35 provos Exp $"); */
#ifndef AUTHFD_H
#define AUTHFD_H
@@ -69,19 +69,19 @@ void ssh_close_authentication_connection(AuthenticationConnection *ac);
The caller must initialize the integers before the call, and free the
comment after a successful call (before calling ssh_get_next_identity). */
int ssh_get_first_identity(AuthenticationConnection *connection,
- int *bitsp, MP_INT *e, MP_INT *n, char **comment);
+ int *bitsp, BIGNUM *e, BIGNUM *n, char **comment);
/* Returns the next authentication identity for the agent. Other functions
can be called between this and ssh_get_first_identity or two calls of this
function. This returns 0 if there are no more identities. The caller
must free comment after a successful return. */
int ssh_get_next_identity(AuthenticationConnection *connection,
- int *bitsp, MP_INT *e, MP_INT *n, char **comment);
+ int *bitsp, BIGNUM *e, BIGNUM *n, char **comment);
/* Requests the agent to decrypt the given challenge. Returns true if
the agent claims it was able to decrypt it. */
int ssh_decrypt_challenge(AuthenticationConnection *auth,
- int bits, MP_INT *e, MP_INT *n, MP_INT *challenge,
+ int bits, BIGNUM *e, BIGNUM *n, BIGNUM *challenge,
unsigned char session_id[16],
unsigned int response_type,
unsigned char response[16]);
@@ -90,13 +90,13 @@ int ssh_decrypt_challenge(AuthenticationConnection *auth,
be used by normal applications. This returns true if the identity
was successfully added. */
int ssh_add_identity(AuthenticationConnection *connection,
- RSAPrivateKey *key, const char *comment);
+ RSA *key, const char *comment);
/* Removes the identity from the authentication server. This call is
not meant to be used by normal applications. This returns true if the
identity was successfully added. */
int ssh_remove_identity(AuthenticationConnection *connection,
- RSAPublicKey *key);
+ RSA *key);
/* Removes all identities from the authentication agent. This call is not
meant to be used by normal applications. This returns true if the