version 1.33, 2000/11/14 23:42:40 |
version 1.34, 2000/12/19 23:17:55 |
|
|
* Session identifier that is used to bind key exchange and authentication |
* Session identifier that is used to bind key exchange and authentication |
* responses to a particular session. |
* responses to a particular session. |
*/ |
*/ |
extern unsigned char session_id[16]; |
extern u_char session_id[16]; |
|
|
/* |
/* |
* The .ssh/authorized_keys file contains public keys, one per line, in the |
* The .ssh/authorized_keys file contains public keys, one per line, in the |
|
|
{ |
{ |
BIGNUM *challenge, *encrypted_challenge; |
BIGNUM *challenge, *encrypted_challenge; |
BN_CTX *ctx; |
BN_CTX *ctx; |
unsigned char buf[32], mdbuf[16], response[16]; |
u_char buf[32], mdbuf[16], response[16]; |
MD5_CTX md; |
MD5_CTX md; |
unsigned int i; |
u_int i; |
int plen, len; |
int plen, len; |
|
|
encrypted_challenge = BN_new(); |
encrypted_challenge = BN_new(); |
|
|
{ |
{ |
char line[8192], file[1024]; |
char line[8192], file[1024]; |
int authenticated; |
int authenticated; |
unsigned int bits; |
u_int bits; |
FILE *f; |
FILE *f; |
unsigned long linenum = 0; |
u_long linenum = 0; |
struct stat st; |
struct stat st; |
RSA *pk; |
RSA *pk; |
|
|