=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/authfd.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/authfd.h 1999/09/26 20:53:33 1.1 +++ src/usr.bin/ssh/authfd.h 1999/09/28 04:45:35 1.2 @@ -13,7 +13,7 @@ */ -/* 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 @@ 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 @@ 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